Function at 0x43c580
Capabilities:
Capture screenshot

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [0x502034]
xor eax, esp
mov dword [esp + 0x74], eax
cmp dword [0x5052bc], 0
jne 0x43c5c6
push str.dwmapi.dll
call fcn.0043bfb0
add esp, 4
mov dword [0x5052bc], eax
test eax, eax
je 0x43c5bf
push str.DwmGetWindowAttribute
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x43c5c1
xor eax, eax
mov dword [0x5052c0], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
je 0x43c7f9
mov esi, eax
mov eax, dword [0x5052c0]
test eax, eax
je 0x43c614
lea ecx, [esp + 0x38]
push 0x10
push ecx
push 9
push dword [esp + 0x98]
call eax
test eax, eax
js 0x43c614
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 0x43c672
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 0x43c81f
mov ebp, eax
push ebx
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
je 0x43c84e
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 0x43c87a
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 0x43c8a3
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.004397d0
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 0x43c77e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043d3e0
add esp, 4
push eax
push str.GetDIBits__get_data_:__s
call fcn.00438d90
add esp, 8
mov ebx, eax
push 0x4e9ba5
mov ebp, dword [esp + 0x94]
push ebp
call fcn.004b155b
add esp, 8
test eax, eax
je 0x43c8c8
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.004b1911
add esp, 0x10
push ebp
push 0x28
push 1
lea eax, [esp + 0x54]
push eax
call fcn.004b1911
add esp, 0x10
push ebp
push dword [esp + 8]
push 1
push edi
call fcn.004b1911
add esp, 0x10
push ebp
call fcn.004b0e50
add esp, 4
jmp 0x43c8d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043d3e0
add esp, 4
xor edi, edi
push eax
push str.GetDC_window_:__s
call fcn.00438d90
add esp, 8
mov ebx, eax
jmp 0x43c8f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043d3e0
add esp, 4
push eax
push str.CreateCompatibleDC_desktop_window_dc_:__s
call fcn.00438d90
add esp, 8
mov ebx, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor edi, edi
jmp 0x43c8f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043d3e0
add esp, 4
push eax
push str.CreateCompatibleBitmap:__s
call fcn.00438d90
add esp, 8
mov ebx, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor edi, edi
jmp 0x43c8ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043d3e0
add esp, 4
xor edi, edi
push eax
push str.SelectObject:__s
call fcn.00438d90
add esp, 8
mov ebx, eax
mov ebp, esi
mov esi, dword [esp + 8]
jmp 0x43c8db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043d3e0
add esp, 4
xor edi, edi
push eax
push str.BitBlt:__s
call fcn.00438d90
add esp, 8
mov ebx, eax
mov esi, ebp
jmp 0x43c8d8
push ebp
push str._s:_unable_to_open_file
call fcn.00438d90
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.00439860
add esp, 4
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0049fc40
mov eax, ebx
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret