Function at 0x4394e0
Capabilities:
Capture screenshot

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [0x50302c]
xor eax, esp
mov dword [esp + 0x74], eax
cmp dword [0x5050c4], 0
jne 0x439526
push str.dwmapi.dll
call fcn.00438ec0
add esp, 4
mov dword [0x5050c4], eax
test eax, eax
je 0x43951f
push str.DwmGetWindowAttribute
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x439521
xor eax, eax
mov dword [0x5050c8], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
je 0x43975b
mov esi, eax
mov eax, dword [0x5050c8]
test eax, eax
je 0x439574
lea ecx, [esp + 0x38]
push 0x10
push ecx
push 9
push dword [esp + 0x98]
call eax
test eax, eax
js 0x439574
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 0x4395d2
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 0x439781
mov ebp, eax
push ebx
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
je 0x4397b0
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 0x4397dc
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 0x439805
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.00436250
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 0x4396de
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043a050
add esp, 4
push eax
push str.GetDIBits__get_data_:__s
call fcn.00435810
add esp, 8
mov ebx, eax
push 0
push 0x4e9694
mov ebp, dword [esp + 0x98]
push ebp
call fcn.00447c20
add esp, 0xc
test eax, eax
je 0x43982a
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.004afe8e
add esp, 0x10
push ebp
push 0x28
push 1
lea eax, [esp + 0x54]
push eax
call fcn.004afe8e
add esp, 0x10
push ebp
push dword [esp + 8]
push 1
push edi
call fcn.004afe8e
add esp, 0x10
push ebp
call fcn.004af49b
add esp, 4
jmp 0x439843
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043a050
add esp, 4
xor edi, edi
push eax
push str.GetDC_window_:__s
call fcn.00435810
add esp, 8
mov ebx, eax
jmp 0x439860
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043a050
add esp, 4
push eax
push str.CreateCompatibleDC_desktop_window_dc_:__s
call fcn.00435810
add esp, 8
mov ebx, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor edi, edi
jmp 0x439860
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043a050
add esp, 4
push eax
push str.CreateCompatibleBitmap:__s
call fcn.00435810
add esp, 8
mov ebx, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor edi, edi
jmp 0x439859
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043a050
add esp, 4
xor edi, edi
push eax
push str.SelectObject:__s
call fcn.00435810
add esp, 8
mov ebx, eax
mov ebp, esi
mov esi, dword [esp + 8]
jmp 0x439846
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043a050
add esp, 4
xor edi, edi
push eax
push str.BitBlt:__s
call fcn.00435810
add esp, 8
mov ebx, eax
mov esi, ebp
jmp 0x439843
push ebp
call fcn.00433aa0
add esp, 4
push eax
push str._s:_unable_to_open_file
call fcn.00435810
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.004362e0
add esp, 4
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0049e0f0
mov eax, ebx
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret