Function at 0x4c4c80
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
push edi
mov edi, ecx
lea eax, [esp + 0x20]
xor ebx, ebx
mov ecx, dword [edi + 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 esi
mov eax, dword [edi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
mov edx, dword [eax + 4]
push 0x1004
push edx
call ebp
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x70], ebx
mov edx, dword [ecx + 4]
push eax
push ebx
push 0x100e
push edx
call ebp
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov edx, dword [ecx + 4]
lea eax, [esp + 0x60]
push eax
push edx
call esi
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edx
cmp eax, 0xa
jl 0x4c5226
cmp dword [esp + 0x1c], ebx
jle 0x4c5226
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
sub eax, ebp
sub ecx, esi
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jle 0x4c4d56
cmp dword [edi + 0x54], ebx
jne 0x4c523d
jmp 0x4c522b
fild dword [esp + 0x1c]
cmp dword [edi + 0x54], ebx
fidiv dword [esp + 0x18]
fstp qword [esp + 0x80]
je 0x4c4d79
mov edx, dword [edi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi + 0x54], ebx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, ebp
push eax
push ecx
push esi
mov dword [esp + 0x68], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x1c]
mov esi, eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi + 0x44]
mov dword [esp + 0x58], eax
mov eax, dword [edx]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x50], ebx
cmp dword [eax], ebx
je 0x4c4e5f
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 0x4c4e28
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
jmp 0x4c4e2c
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0xcc0020
push edx
mov edx, dword [esp + 0x2c]
push ebx
sub eax, edx
mov edx, dword [esp + 0x2c]
push 0
push 0
push esi
sub ecx, edx
push eax
push ecx
push 0
push 0
push ebp
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x4c4e63
mov ebx, dword [esp + 0x30]
mov edx, dword [edi + 0x38]
mov eax, dword [edx]
test eax, eax
je 0x4c4f0b
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 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 0x4c4ebb
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
jmp 0x4c4ebf
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + 0x58]
mov dword [esp + 0x14], ebx
test eax, eax
mov dword [esp + 0x50], ebx
mov eax, 0x55555556
je 0x4c4ee9
imul ecx
mov ecx, edx
push 0xcc0020
shr ecx, 0x1f
add edx, ecx
push edx
push ebx
lea eax, [edx + edx]
push eax
jmp 0x4c4efb
imul ecx
mov ecx, edx
push 0xcc0020
shr ecx, 0x1f
add edx, ecx
push edx
push ebx
push 0
push 0
push esi
push edx
push ebx
push 0
push 0
push ebp
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [edi + 0x3c]
mov eax, dword [edx]
test eax, eax
je 0x4c4fc0
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 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 0x4c4f63
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
jmp 0x4c4f67
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x5c]
add edx, ebx
test eax, eax
mov dword [esp + 0x14], edx
mov eax, 0x55555556
je 0x4c4f93
imul ecx
mov ecx, edx
push 0xcc0020
shr ecx, 0x1f
add edx, ecx
push edx
push ebx
lea eax, [edx + edx]
push eax
jmp 0x4c4fa5
imul ecx
mov eax, edx
push 0xcc0020
shr eax, 0x1f
add edx, eax
push edx
push ebx
push 0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push 0
push esi
sub ecx, ebx
push edx
push ebx
sub ecx, eax
push 0
push ecx
push ebp
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4c51a9
mov edx, dword [edi + 0x40]
cmp dword [edx], 0
je 0x4c51a9
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], 0x1c
mov dword [esp + 0x8c], 0x17
mov edx, dword [eax + 4]
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
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 + 0x20]
mov dword [esp + 0x18], eax
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x28]
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 [edi + 0x40]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 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 0x4c50b4
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
jmp 0x4c50b8
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x10], ebx
jge 0x4c50c2
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
sub edx, eax
sub edx, dword [esp + 0x14]
dec edx
cmp dword [esp + 0x10], edx
jle 0x4c50db
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
push 0xcc0020
push ecx
push 2
push 0
mov dword [edi + 0x4c], edx
mov edx, dword [esp + 0x60]
push 0
push esi
push ecx
add eax, edx
push 2
push 0
push eax
push ebp
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [edi + 0x60]
test eax, eax
mov eax, 0x55555556
je 0x4c5143
imul dword [esp + 0x34]
mov eax, edx
push 0xcc0020
shr eax, 0x1f
add edx, eax
lea ecx, [ebx - 4]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [edx + edx]
push eax
push 2
push esi
push edx
mov edx, dword [esp + 0x30]
add ecx, 0xfffffffc
push ecx
add edx, 2
push 0
push edx
jmp 0x4c5170
imul dword [esp + 0x34]
mov eax, edx
push 0xcc0020
shr eax, 0x1f
add edx, eax
lea ecx, [ebx - 4]
push edx
mov eax, dword [esp + 0x1c]
push ecx
push 0
push 2
push esi
push edx
mov edx, dword [esp + 0x2c]
add edx, 0xfffffffc
add eax, 2
push edx
push 0
push eax
push ebp
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push 0xcc0020
push eax
push 2
add ebx, 0xfffffffe
push 0
push ebx
push esi
push eax
mov eax, dword [esp + 0x6c]
add ecx, edx
push 2
push 0
lea ecx, [ecx + eax - 2]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
push 0xcc0020
sub edx, eax
mov eax, dword [esp + 0x2c]
push 0
push 0
push ebp
sub eax, ecx
push edx
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x58]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x54]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_DeleteDC]
call ebp
push esi
call ebp
mov eax, dword [edi + 4]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4c5216
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x94
ret
cmp dword [edi + 0x54], ebx
jne 0x4c523d
mov ecx, dword [edi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi + 0x54], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x94
ret