Function at 0x43f870
Capabilities:
Capture screenshot

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [0x483038]
xor eax, esp
mov dword [esp + 0x74], eax
cmp dword [0x4862a0], 0
jne 0x43f8b6
push str.dwmapi.dll
call fcn.00432610
add esp, 4
mov dword [0x4862a0], eax
test eax, eax
je 0x43f8af
push str.DwmGetWindowAttribute
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x43f8b1
xor eax, eax
mov dword [0x4862a4], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
je 0x43fae9
mov esi, eax
mov eax, dword [0x4862a4]
test eax, eax
je 0x43f904
lea ecx, [esp + 0x38]
push 0x10
push ecx
push 9
push dword [esp + 0x98]
call eax
test eax, eax
js 0x43f904
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov dword [esp], eax
sub edi, eax
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ecx
sub ebx, ecx
jmp 0x43f962
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
push 7
push esi
call dword [sym.imp.GDI32.dll_GetCurrentObject]
lea ecx, [esp + 0x20]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov dword [esp], 0
mov dword [esp + 4], 0
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
je 0x43fb0f
mov ebp, eax
push ebx
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
je 0x43fb3e
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
push eax
mov esi, ebp
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x43fb6a
push 0xcc0020
push dword [esp + 8]
push dword [esp + 8]
mov ebp, dword [esp + 0x14]
push ebp
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
mov dword [esp], esi
je 0x43fb93
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x48], 0x28
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 0x200001
mov dword [esp + 0x58], 0
imul edi, ebx
shl edi, 2
push 0
push 1
mov dword [esp + 0xc], edi
push edi
call fcn.004306d0
add esp, 0xc
mov edi, eax
lea eax, [esp + 0x48]
push 0
push eax
push edi
push ebx
push 0
push dword [esp + 0x20]
push ebp
call dword [sym.imp.GDI32.dll_GetDIBits]
xor ebx, ebx
test eax, eax
mov esi, ebp
jne 0x43fa6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004333f0
add esp, 4
push eax
push str.GetDIBits__get_data_:__s
call fcn.004301c0
add esp, 8
mov ebx, eax
push 0x477fca
mov ebp, dword [esp + 0x94]
push ebp
call fcn.00450d6a
add esp, 8
test eax, eax
je 0x43fbb8
mov word [esp + 0x10], 0x4d42
mov ecx, dword [esp + 4]
add ecx, 0x36
mov dword [esp + 0x12], ecx
mov dword [esp + 0x1a], 0x36
lea ecx, [esp + 0x10]
push eax
push 0xe
push 1
push ecx
mov ebp, eax
call fcn.004510f3
add esp, 0x10
push ebp
push 0x28
push 1
lea eax, [esp + 0x54]
push eax
call fcn.004510f3
add esp, 0x10
push ebp
push dword [esp + 8]
push 1
push edi
call fcn.004510f3
add esp, 0x10
push ebp
call fcn.004507de
add esp, 4
jmp 0x43fbc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004333f0
add esp, 4
xor edi, edi
push eax
push str.GetDC_window_:__s
call fcn.004301c0
add esp, 8
mov ebx, eax
jmp 0x43fbe5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004333f0
add esp, 4
push eax
push str.CreateCompatibleDC_desktop_window_dc_:__s
call fcn.004301c0
add esp, 8
mov ebx, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor edi, edi
jmp 0x43fbe5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004333f0
add esp, 4
push eax
push str.CreateCompatibleBitmap:__s
call fcn.004301c0
add esp, 8
mov ebx, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor edi, edi
jmp 0x43fbde
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004333f0
add esp, 4
xor edi, edi
push eax
push str.SelectObject:__s
call fcn.004301c0
add esp, 8
mov ebx, eax
mov ebp, esi
mov esi, dword [esp + 8]
jmp 0x43fbcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004333f0
add esp, 4
xor edi, edi
push eax
push str.BitBlt:__s
call fcn.004301c0
add esp, 8
mov ebx, eax
mov esi, ebp
jmp 0x43fbc8
push ebp
push str._s:_unable_to_open_file
call fcn.004301c0
add esp, 8
mov ebx, eax
mov ebp, dword [esp]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call fcn.00430760
add esp, 4
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00441724
mov eax, ebx
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret