Function at 0x435207
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
call fcn.00433a2d
mov dword [ebp - 8], eax
call fcn.00433a56
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov esi, 0x461088
lea edi, [ebp - 0x24]
mov eax, dword [ebx + 0x344]
neg eax
sbb eax, eax
and eax, 0x4000
mov dword [ebp - 0xc], eax
mov eax, dword [0x461094]
add eax, 0x18
push eax
mov eax, dword [0x461090]
add eax, 0x30
movsd dword es:[edi], dword [esi]
push eax
mov eax, dword [0x46108c]
add eax, 0xffffffe8
movsd dword es:[edi], dword [esi]
push eax
mov eax, dword [0x461088]
add eax, 0xffffffd0
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x34]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SetRect]
xor edi, edi
push edi
push ebx
call fcn.00432fd5
add dword [ebp - 0x24], eax
push edi
push ebx
call fcn.00432fd5
sub dword [ebp - 0x1c], eax
mov esi, dword [ebp + 0x10]
add esp, 0x10
lea eax, [ebp - 0x34]
push dword [ebp + 0x14]
push esi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4352a4
mov eax, dword [0x461098]
jmp 0x4352c5
sub esi, dword [0x461080]
mov eax, dword [ebp - 0x24]
cmp esi, eax
mov dword [ebp + 8], esi
jge 0x4352b7
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x4610b4]
cmp dword [ebp + 8], eax
jle 0x4352c8
mov dword [ebp + 8], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowDC]
push 1
push ebx
push edi
mov dword [ebp + 0x10], eax
push dword [ebp + 0xc]
call fcn.00433c3b
mov esi, eax
mov eax, dword [ebp - 0x40]
sub esi, 4
add esp, 0x10
neg esi
sbb esi, esi
neg eax
push eax
mov eax, dword [ebp - 0x44]
neg eax
push eax
lea eax, [ebp - 0x24]
push eax
inc esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
sub eax, dword [ebp - 0x24]
push dword [ebp + 0x10]
sub edi, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
sub dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov dword [ebp + 0x14], eax
push dword [ebp - 0x4c]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 0x14], eax
push dword [ebp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x24]
push edi
push eax
push 0
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor eax, eax
cmp esi, eax
je 0x435389
push eax
push eax
push eax
lea eax, [ebp - 0x34]
push 2
push eax
push dword [ebx + 0x340]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.00433cbb
add esp, 0x20
jmp 0x43539e
push dword [ebp - 4]
lea eax, [ebp - 0x34]
push dword [ebp - 8]
push eax
push dword [ebp + 0x14]
call fcn.00433a5f
add esp, 0x10
mov eax, dword [0x4610b4]
push edi
sub eax, dword [ebp - 0x24]
push dword [ebp - 0x4c]
add eax, dword [ebp + 8]
push 0
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor eax, eax
cmp esi, eax
je 0x4353df
push eax
push eax
push eax
lea eax, [ebp - 0x34]
push 3
push eax
push dword [ebx + 0x340]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.00433cbb
add esp, 0x20
jmp 0x4353f4
push dword [ebp - 4]
lea eax, [ebp - 0x34]
push dword [ebp - 8]
push eax
push dword [ebp + 0x14]
call fcn.00433a5f
add esp, 0x10
mov eax, dword [0x4610b4]
push edi
sub eax, dword [ebp - 0x24]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x24]
push 0
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_SetRect]
test esi, esi
je 0x43543a
push 0
push 1
push 1
lea eax, [ebp - 0x34]
push 5
push eax
push dword [ebx + 0x340]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.00433cbb
add esp, 0x20
jmp 0x43546c
cmp dword [ebx + 0x344], 0
je 0x43545a
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x14]
call fcn.00433b1a
jmp 0x435469
push dword [ebp - 0xc]
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x14]
call fcn.00432eae
add esp, 0xc
push 0xcc0020
push 0
push 0
push dword [ebp + 0x14]
push edi
push dword [ebp - 0x4c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x10]
push dword [ebp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x14]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
test eax, eax
jle 0x4354e2
mov ecx, dword [ebp - 0x1c]
sub eax, dword [ebx + 0x18]
sub ecx, dword [0x4610b4]
sub ecx, dword [ebp - 0x24]
inc eax
push ecx
push eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4354e8
mov esi, dword [ebp + 8]
sub esi, dword [ebp - 0x24]
cmp esi, dword [0x44ef5c]
je 0x435507
push esi
push 5
mov dword [ebx + 0x20], esi
push dword [0x4610c4]
push dword [ebp + 0xc]
call fcn.00434c45
add esp, 0x10
push 2
push ebx
push dword [ebp + 0x14]
mov dword [0x44ef5c], esi
push dword [ebp + 0xc]
call fcn.00433c3b
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret