Function at 0x4159a0
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x455def
call fcn.00434704
sub esp, 0x94
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00449956
push dword [0x46645c]
mov ebx, dword [ebp + 8]
sub ebx, dword [esi + 0xd4]
mov edi, eax
mov eax, dword [ebp + 0xc]
push dword [0x466458]
sub eax, dword [esi + 0xd8]
add ebx, dword [esi + 0xcc]
push dword [edi + 4]
add eax, dword [esi + 0xd0]
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
push ebx
push edi
call fcn.004043f9
push 1
mov ecx, esi
push dword [esi + 0x5c]
push dword [ebp - 0x18]
push ebx
push edi
call fcn.004042b1
mov eax, dword [esi + 0xd0]
mov ecx, dword [0x46645c]
mov edx, dword [0x466458]
lea ecx, [eax + ecx - 1]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0xcc]
push dword [ebp - 0x10]
lea edx, [ecx + edx - 1]
push edx
push eax
lea eax, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [0x46645c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [0x466458]
lea eax, [eax + edx - 1]
lea ecx, [ecx + ebx - 1]
push eax
push ecx
push edx
lea eax, [ebp - 0xa0]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x415cb3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x68]
cmp eax, ecx
mov dword [ebp - 0x7c], eax
jg 0x415ab2
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x60]
cmp eax, ecx
mov dword [ebp - 0x74], eax
jl 0x415ac2
mov dword [ebp - 0x74], ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jne 0x415ae6
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
jmp 0x415aea
mov dword [ebp - 0x38], ecx
dec eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
jle 0x415b0b
mov dword [ebp - 0x5c], ecx
dec eax
jmp 0x415b15
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x54], eax
call fcn.004498b4
xor eax, eax
cmp edi, eax
mov dword [ebp - 4], eax
je 0x415b2c
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0044996b
mov eax, dword [esi + 0x60]
test eax, eax
je 0x415b4d
push eax
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
sub eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
inc ecx
push 0xcc0020
push edx
inc eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x48]
push eax
push ecx
push dword [ebp - 0x14]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
sub eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
inc ecx
push 0xcc0020
push edx
inc eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x4c]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x48]
push eax
push ecx
push dword [ebp - 0x10]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [edi + 4]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x90]
call fcn.004498b4
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
neg eax
sbb eax, eax
and eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x90]
call fcn.0044996b
cmp dword [ebp - 0x2c], 0
je 0x415c28
push dword [ebp - 0x2c]
push dword [ebp - 0x8c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x64]
mov edi, eax
sub edx, dword [ebp - 0x6c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x60]
sub ecx, eax
sub eax, dword [ebp - 0x9c]
sub edi, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0xa0]
inc edx
push 0xcc0020
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x4c]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x48]
push eax
push ecx
push edx
push dword [ebp - 0x10]
push dword [ebp - 0x70]
push dword [ebp - 0x8c]
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [ebp - 0x90]
call fcn.004499d3
lea ecx, [ebp - 0x4c]
call fcn.004499d3
and byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.004499e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004499e9
jmp 0x415cd8
push 1
mov ecx, esi
push dword [esi + 0x60]
push dword [esi + 0xd0]
push dword [esi + 0xcc]
push edi
call fcn.004042b1
push dword [edi + 4]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esi + 0x60]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xd0], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xd4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd8], eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8