Function at 0x4c5250
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x94
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
push esi
mov esi, ecx
lea eax, [esp + 0x1c]
push edi
xor ebx, ebx
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call ebp
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
mov edx, dword [eax + 4]
push 0x1004
push edx
call edi
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x60], ebx
mov edx, dword [ecx + 4]
push eax
push ebx
push 0x100e
push edx
call edi
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov ecx, dword [esi + 0x20]
sub edi, edx
imul edi, dword [esp + 0x1c]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov edx, dword [ecx + 4]
lea eax, [esp + 0x70]
push eax
push edx
mov dword [esp + 0x20], edi
call ebp
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sub eax, edx
cmp eax, 0xa
jge 0x4c530a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x94
ret
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
sub eax, edx
cmp eax, edi
mov dword [esp + 0x1c], eax
jle 0x4c5340
cmp dword [esi + 0x54], ebx
jne 0x4c5333
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x54], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x94
ret
fild dword [esp + 0x1c]
cmp dword [esi + 0x54], ebx
fidiv dword [esp + 0x18]
fstp qword [esp + 0x80]
je 0x4c5363
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x54], ebx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, ebp
push eax
push ecx
push edi
mov dword [esp + 0x68], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x1c]
mov edi, eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0x44]
mov dword [esp + 0x58], eax
mov eax, dword [edx]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x50], ebx
cmp dword [eax], ebx
je 0x4c5449
mov eax, dword [eax]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
lea edx, [esp + 0x38]
mov dword [esp + 0x40], ecx
push edx
mov dword [esp + 0x48], ecx
push 0x18
mov dword [esp + 0x50], ecx
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x58], ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4c5412
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
jmp 0x4c5416
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0xcc0020
push ebx
push edx
mov edx, dword [esp + 0x30]
push 0
sub eax, edx
mov edx, dword [esp + 0x30]
push 0
push edi
sub ecx, edx
push eax
push ecx
push 0
push 0
push ebp
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x4c544d
mov ebx, dword [esp + 0x34]
mov edx, dword [esi + 0x38]
mov eax, dword [edx]
test eax, eax
je 0x4c54f7
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x38]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
lea edx, [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
push edx
mov dword [esp + 0x4c], ecx
push 0x18
push eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x58], ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4c54a5
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
jmp 0x4c54a9
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x58]
mov dword [esp + 0x14], ebx
test eax, eax
mov dword [esp + 0x50], ebx
mov eax, 0x55555556
je 0x4c54d5
imul ecx
mov ecx, edx
push 0xcc0020
shr ecx, 0x1f
add edx, ecx
push ebx
push edx
push 0
lea eax, [edx + edx]
push eax
jmp 0x4c54e9
imul ecx
mov ecx, edx
push 0xcc0020
shr ecx, 0x1f
add edx, ecx
push ebx
push edx
push 0
push 0
push edi
push ebx
push edx
push 0
push 0
push ebp
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esi + 0x3c]
mov eax, dword [edx]
test eax, eax
je 0x4c55ae
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x3c]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
lea edx, [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
push edx
mov dword [esp + 0x4c], ecx
push 0x18
push eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x58], ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4c554f
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
jmp 0x4c5553
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x5c]
add edx, ebx
test eax, eax
mov dword [esp + 0x14], edx
mov eax, 0x55555556
je 0x4c5581
imul ecx
mov ecx, edx
push 0xcc0020
shr ecx, 0x1f
add edx, ecx
push ebx
push edx
push 0
lea eax, [edx + edx]
push eax
jmp 0x4c5595
imul ecx
mov eax, edx
push 0xcc0020
shr eax, 0x1f
add edx, eax
push ebx
push edx
push 0
push 0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
sub ecx, ebx
push edi
push ebx
sub ecx, eax
push edx
push ecx
push 0
push ebp
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4c5786
mov edx, dword [esi + 0x40]
cmp dword [edx], 0
je 0x4c5786
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], 0x1c
mov dword [esp + 0x8c], 0x17
mov edx, dword [eax + 4]
push ecx
push 1
push edx
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fidiv dword [esp + 0x94]
fimul dword [esp + 0x9c]
fadd qword [0x4fc010]
call fcn.004df408
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
sub eax, edx
sub eax, 2
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [esp + 0x80]
call fcn.004df408
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x40]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
lea edx, [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
push edx
mov dword [esp + 0x4c], ecx
push 0x18
push eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x58], ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4c56a2
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
jmp 0x4c56a6
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x10], ebx
jge 0x4c56b0
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
sub edx, eax
sub edx, dword [esp + 0x14]
dec edx
cmp dword [esp + 0x10], edx
jle 0x4c56c9
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
push 0xcc0020
push 2
push ecx
mov dword [esi + 0x4c], edx
mov edx, dword [esp + 0x5c]
push 0
push 0
push edi
add eax, edx
push 2
push ecx
push eax
push 0
push ebp
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4c5727
mov eax, 0x55555556
lea ecx, [ebx - 4]
imul dword [esp + 0x30]
mov eax, edx
push 0xcc0020
shr eax, 0x1f
add edx, eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
lea eax, [edx + edx]
push 2
push eax
add ecx, 0xfffffffc
push edi
push ecx
push edx
jmp 0x4c5743
mov ecx, dword [esp + 0x10]
lea eax, [ebx - 4]
push 0xcc0020
push eax
mov eax, dword [esp + 0x38]
add ecx, 0xfffffffc
push eax
push 2
push 0
push edi
push ecx
push eax
mov edx, dword [esp + 0x34]
add edx, 2
push edx
push 0
push ebp
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x30]
push 0xcc0020
mov ecx, dword [esp + 0x1c]
push 2
add ebx, 0xfffffffe
push eax
mov edx, dword [esp + 0x5c]
push ebx
push 0
push edi
push 2
push eax
mov eax, dword [esp + 0x30]
add eax, ecx
lea eax, [eax + edx - 2]
push eax
push 0
push ebp
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push 0xcc0020
push 0
push 0
sub ecx, ebx
mov ebx, dword [esp + 0x68]
push ebp
sub edx, eax
push ecx
push edx
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x58]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x54]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_DeleteDC]
call ebp
push edi
call ebp
mov edx, dword [esi + 4]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4c57f3
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x94
ret