Function at 0x43c080
Capabilities:
Capture screenshot

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [0x500034]
xor eax, esp
mov dword [esp + 0x74], eax
cmp dword [0x5032bc], 0
jne 0x43c0c6
push str.dwmapi.dll
call fcn.0043baa0
add esp, 4
mov dword [0x5032bc], eax
test eax, eax
je 0x43c0bf
push str.DwmGetWindowAttribute
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x43c0c1
xor eax, eax
mov dword [0x5032c0], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
je 0x43c2f9
mov esi, eax
mov eax, dword [0x5032c0]
test eax, eax
je 0x43c114
lea ecx, [esp + 0x38]
push 0x10
push ecx
push 9
push dword [esp + 0x98]
call eax
test eax, eax
js 0x43c114
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 0x43c172
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 0x43c31f
mov ebp, eax
push ebx
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
je 0x43c34e
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 0x43c37a
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 0x43c3a3
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.004392c0
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 0x43c27e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043cee0
add esp, 4
push eax
push str.GetDIBits__get_data_:__s
call fcn.00438880
add esp, 8
mov ebx, eax
push 0x4e7cd7
mov ebp, dword [esp + 0x94]
push ebp
call fcn.004afc5b
add esp, 8
test eax, eax
je 0x43c3c8
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.004b0011
add esp, 0x10
push ebp
push 0x28
push 1
lea eax, [esp + 0x54]
push eax
call fcn.004b0011
add esp, 0x10
push ebp
push dword [esp + 8]
push 1
push edi
call fcn.004b0011
add esp, 0x10
push ebp
call fcn.004af550
add esp, 4
jmp 0x43c3d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043cee0
add esp, 4
xor edi, edi
push eax
push str.GetDC_window_:__s
call fcn.00438880
add esp, 8
mov ebx, eax
jmp 0x43c3f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043cee0
add esp, 4
push eax
push str.CreateCompatibleDC_desktop_window_dc_:__s
call fcn.00438880
add esp, 8
mov ebx, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor edi, edi
jmp 0x43c3f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043cee0
add esp, 4
push eax
push str.CreateCompatibleBitmap:__s
call fcn.00438880
add esp, 8
mov ebx, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor edi, edi
jmp 0x43c3ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043cee0
add esp, 4
xor edi, edi
push eax
push str.SelectObject:__s
call fcn.00438880
add esp, 8
mov ebx, eax
mov ebp, esi
mov esi, dword [esp + 8]
jmp 0x43c3db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043cee0
add esp, 4
xor edi, edi
push eax
push str.BitBlt:__s
call fcn.00438880
add esp, 8
mov ebx, eax
mov esi, ebp
jmp 0x43c3d8
push ebp
push str._s:_unable_to_open_file
call fcn.00438880
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.00439350
add esp, 4
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0049e340
mov eax, ebx
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret