Function at 0x434010
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4747c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], 0
cmp dword [0x478ca8], edi
jne 0x43406b
push str.dwmapi.dll
call fcn.00434ff0
add esp, 4
mov dword [0x478ca8], eax
test eax, eax
je 0x434064
push str.DwmGetWindowAttribute
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x434066
xor eax, eax
mov dword [0x478cac], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
jne 0x43409a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00435050
push eax
push str.GetDC_window_:__s
call fcn.00432de0
add esp, 0xc
mov edi, eax
jmp 0x4342f6
mov eax, dword [0x478cac]
test eax, eax
je 0x4340ca
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 9
push ebx
call eax
test eax, eax
js 0x4340ca
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, ecx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x54], ecx
sub ebx, edx
mov dword [ebp - 0x64], edx
jmp 0x4340fe
lea eax, [ebp - 0x84]
xorps xmm0, xmm0
push eax
push 0x18
push 7
push esi
movups xmmword [ebp - 0x84], xmm0
movq qword [ebp - 0x74], xmm0
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x7c]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x54], edi
push esi
mov dword [ebp - 0x58], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x434139
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00435050
push eax
push str.CreateCompatibleDC_desktop_window_dc_:__s
call fcn.00432de0
add esp, 0xc
mov edi, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4342f6
push ebx
push dword [ebp - 0x58]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x43417b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00435050
push eax
push str.CreateCompatibleBitmap:__s
call fcn.00432de0
add esp, 0xc
mov edi, eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4342f1
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
jne 0x4341aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00435050
push eax
push str.SelectObject:__s
call fcn.00432de0
add esp, 0xc
mov edi, eax
jmp 0x4342dd
push 0xcc0020
push dword [ebp - 0x64]
push dword [ebp - 0x54]
push esi
push ebx
push dword [ebp - 0x58]
push 0
push 0
push dword [ebp - 0x5c]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x4341ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00435050
push eax
push str.BitBlt:__s
call fcn.00432de0
add esp, 0xc
mov edi, eax
jmp 0x4342dd
mov eax, dword [ebp - 0x58]
mov ecx, ebx
imul ecx, eax
xorps xmm0, xmm0
push 0
push 1
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
shl ecx, 2
push ecx
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x50], 0x28
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0x200001
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x54], ecx
call fcn.004344b0
add esp, 0xc
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x50]
push 0
push ecx
push eax
push ebx
push 0
push dword [ebp - 0x6c]
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x434267
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00435050
push eax
push str.GetDIBits__get_data_:__s
call fcn.00432de0
add esp, 0xc
mov edi, eax
push 0x45d3cc
push dword [ebp - 0x68]
call fcn.0043b346
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x434291
push dword [ebp - 0x68]
push str._s:_unable_to_open_file
call fcn.00432de0
add esp, 8
mov edi, eax
jmp 0x4342dd
mov eax, 0x4d42
mov dword [ebp - 0x1a], 0x36
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x54]
push ebx
add eax, 0x36
push 0xe
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.0043d8a7
push ebx
push 0x28
lea eax, [ebp - 0x50]
push 1
push eax
call fcn.0043d8a7
push ebx
push dword [ebp - 0x54]
push 1
push dword [ebp - 0x60]
call fcn.0043d8a7
push ebx
call fcn.0043b25f
add esp, 0x34
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x6c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x5c]
call esi
push dword [ebp - 0x60]
call fcn.00434320
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00437271
mov esp, ebp
pop ebp
ret