Function at 0x4c4400
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57ea28
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x4c442a
call fcn.0055feeb
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4c4439
lea ecx, [edi + 0x10]
call fcn.00560a62
mov ebx, dword [esp + 0x90]
lea eax, [esp + 0x20]
push ebx
push eax
mov ecx, edi
call fcn.004c3f20
test ebx, ebx
jne 0x4c4455
xor eax, eax
jmp 0x4c4458
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.0055fe83
mov eax, dword [esp + 0xa0]
mov ebp, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov esi, dword [esp + 0x94]
sub eax, ebp
sub ecx, esi
push eax
push ecx
mov ecx, dword [ebx + 4]
lea esi, [edi + 0x10]
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.00560a0b
test esi, esi
je 0x4c44a9
mov esi, dword [esi + 4]
mov edx, dword [edi + 4]
push esi
push edx
call fcn.0055ffc4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa4]
push eax
lea ecx, [esp + 0x34]
call fcn.00560ac8
test eax, eax
je 0x4c44cf
mov eax, dword [eax + 4]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x94]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x30], vtable.CGdiObject.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x88], 0
call fcn.00560a62
mov esi, dword [esp + 0x9c]
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0xa0]
mov ecx, esi
mov dword [esp + 0x88], 0xffffffff
sub ecx, ebp
cmp eax, ecx
jge 0x4c458f
mov ecx, dword [esp + 0x98]
mov edx, ebx
sub edx, ecx
mov ecx, dword [esp + 0x24]
cmp ecx, edx
jge 0x4c458f
sub esi, eax
sub esi, ebp
mov dword [esp + 0x90], esi
fild dword [esp + 0x90]
fmul qword [0x5899d8]
call fcn.005418dc
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0x24]
sub ebx, ecx
mov esi, eax
sub ebx, ebp
mov dword [esp + 0x90], ebx
fild dword [esp + 0x90]
fmul qword [0x5899d8]
call fcn.005418dc
mov ecx, dword [esp + 0x20]
add ecx, esi
jmp 0x4c467e
mov edx, dword [esp + 0x98]
mov eax, esi
fld qword [0x589a58]
sub eax, ebp
sub ebx, edx
test eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x3ff00000
je 0x4c45ca
fild dword [esp + 0x20]
fidiv dword [esp + 0x30]
fstp qword [esp + 0x18]
test ebx, ebx
je 0x4c45d8
fstp st(0)
fild dword [esp + 0x24]
fidiv dword [esp + 0x34]
fld qword [esp + 0x18]
fcomp st(1)
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
fnstsw ax
test ah, 0x41
jne 0x4c4611
fld qword [esp + 0x18]
fcomp qword [0x58a368]
fnstsw ax
test ah, 0x40
jne 0x4c4635
fdiv qword [esp + 0x18]
fimul dword [esp + 0x34]
call fcn.005418dc
mov dword [esp + 0x2c], eax
jmp 0x4c4637
fcom qword [0x58a368]
fnstsw ax
test ah, 0x40
jne 0x4c4635
fld qword [esp + 0x18]
fdiv st(1)
fimul dword [esp + 0x30]
call fcn.005418dc
fstp st(0)
mov dword [esp + 0x28], eax
jmp 0x4c4637
fstp st(0)
sub esi, dword [esp + 0x28]
sub esi, ebp
mov dword [esp + 0x90], esi
fild dword [esp + 0x90]
fmul qword [0x5899d8]
call fcn.005418dc
mov ebp, dword [esp + 0x2c]
mov esi, eax
sub ebx, ebp
mov dword [esp + 0x90], ebx
fild dword [esp + 0x90]
fmul qword [0x5899d8]
call fcn.005418dc
mov edx, dword [esp + 0x28]
lea ecx, [esi + edx]
push 0
lea edx, [eax + ebp]
sub esp, 0x10
mov ebx, esp
push edi
mov dword [ebx], esi
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ecx, edi
mov dword [ebx + 0xc], edx
call fcn.004c3e40
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c46a6
mov eax, dword [eax + 4]
push eax
mov eax, dword [edi + 4]
push eax
call fcn.0055ffc4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c46c6
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x90], eax
jne 0x4c46cd
xor eax, eax
jmp 0x4c48f3
xor esi, esi
xor ebp, ebp
push esi
push esi
push esi
push str.DISPLAY
mov dword [esp + 0xb4], esi
call dword [sym.imp.GDI32.dll_CreateDCA]
mov ebx, eax
push 0xe
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xc
push ebx
mov edi, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
imul edi, eax
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp edi, 1
jg 0x4c47f4
mov ebx, 1
mov ebp, 1
mov cl, bl
shl ebp, cl
shl ebp, 2
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0x40]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x44]
mov eax, ebx
and eax, 0xffff
mov edi, dword [esp + 0x48]
imul eax, ecx
add eax, 0x1f
mov word [esp + 0x66], bx
cdq
and edx, 0x1f
mov dword [esp + 0x58], 0x28
add eax, edx
mov dword [esp + 0x5c], ecx
mov ebx, eax
mov dword [esp + 0x60], edi
sar ebx, 5
imul ebx, edi
shl ebx, 2
mov word [esp + 0x64], 1
mov dword [esp + 0x68], esi
lea eax, [ebx + ebp + 0x28]
mov dword [esp + 0x6c], esi
push eax
push 0x42
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, 0xa
lea esi, [esp + 0x58]
mov edi, eax
push 0xf
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, eax
test esi, esi
je 0x4c4826
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
mov dword [esp + 0xa8], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp 0x4c482a
cmp edi, 4
jg 0x4c4803
mov ebx, 4
jmp 0x4c4718
cmp edi, 8
jg 0x4c4812
mov ebx, 8
jmp 0x4c4718
xor ebx, ebx
cmp edi, 0x10
setg bl
dec ebx
and ebx, 0xfffffff8
add ebx, 0x18
jmp 0x4c4724
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x90]
push 0
lea ecx, [esi + ebp + 0x28]
push esi
push ecx
push edx
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x4c4871
push 1
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ebx, [ebx + ebp + 0x36]
xor eax, eax
add ebp, 0x36
mov word [esp + 0x30], 0x4d42
lea ecx, [ebx + 0xe]
mov dword [esp + 0x32], ebx
push ecx
push 0x42
mov word [esp + 0x3e], ax
mov word [esp + 0x40], ax
mov dword [esp + 0x42], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x30]
mov edx, eax
lea edi, [eax + 0xe]
push ebp
mov dword [edx], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], ecx
mov cx, word [esp + 0x40]
mov word [edx + 0xc], cx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
mov edi, dword [esp + 0x18]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, ebp
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x7c
ret 0x18