Function at 0x414aec
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x45d06c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
mov ebx, ecx
lea eax, [esp + 0x68]
push edi
push eax
xorps xmm0, xmm0
mov dword [esp + 0x1c], ebx
push dword [ebx + 0xc]
movups xmmword [esp + 0x74], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x6c]
lea esi, [esp + 0x6c]
mov edx, dword [esp + 0x74]
lea edi, [esp + 0x5c]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0x20]
mov eax, edi
mov esi, dword [esp + 0x6c]
sub eax, ecx
add eax, edx
mov dword [esp + 0x38], edi
add edx, dword [ebx + 0x28]
sub ecx, edi
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x30], eax
sub eax, dword [esp + 0x64]
add esi, eax
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x30]
sub dword [esp + 0x74], eax
mov eax, dword [ebx + 0x2c]
add dword [esp + 0x7c], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x78], edx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
push 0
mov dword [esp + 0x34], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push 0xc
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 0x20
jl 0x414d58
mov ecx, dword [esp + 0x78]
sub ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [ebx + 0x10]
mov dword [esp + 0x40], eax
call fcn.004152b8
lea ecx, [ebx + 0x10]
mov dword [esp + 0x24], eax
call fcn.00415309
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov eax, edx
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x10], edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, ecx
sub eax, dword [esp + 0x70]
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x14]
sar ebx, 1
sub edx, eax
sub edx, dword [esp + 0x6c]
sub ecx, ebx
sub ecx, dword [esp + 0x70]
push ebx
push eax
mov dword [esp + 0x30], ecx
xor ecx, ecx
push ecx
push ecx
push ebx
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x38]
push esi
mov dword [esp + 0x34], edx
lea ecx, [ecx + 0x10]
call fcn.004155cb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push ebx
push eax
push 0
sub ecx, eax
push ecx
push ebx
push eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x30]
push 0
push dword [esp + 0x30]
push esi
lea ecx, [ecx + 0x10]
call fcn.004155cb
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub edx, eax
push eax
push ecx
push edx
push 0
mov dword [esp + 0x30], edx
push eax
push ecx
mov ecx, dword [esp + 0x30]
push ebx
push 0
push esi
lea ecx, [ecx + 0x10]
call fcn.004155cb
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push eax
push edx
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push eax
push edx
push ebx
mov ebx, dword [esp + 0x34]
push dword [esp + 0x30]
push esi
lea ecx, [ebx + 0x10]
call fcn.004155cb
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push 0x440328
push edx
push ecx
sub eax, edx
push esi
dec eax
push eax
mov eax, dword [esp + 0x50]
sub eax, ecx
dec eax
push eax
push edx
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x6c]
xor eax, eax
mov edx, dword [esp + 0x70]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
sub eax, ecx
mov dword [esp + 0x1c], 0x1ff0000
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
push 1
sub eax, edx
mov dword [esp + 0x58], ecx
push esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_SetLayout]
push 2
lea eax, [esp + 0x20]
push eax
push 0
lea eax, [esp + 0x50]
push eax
push esi
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x6c]
push eax
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [esp + 0x40]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
je 0x414d54
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0x30]
test esi, esi
je 0x414d63
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00429462
mov esp, ebp
pop ebp
ret