Function at 0x4cd0f0
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5da7ba
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x41c]
test eax, eax
je 0x4cd120
mov ebp, dword [esi + 0x34c]
jmp 0x4cd126
mov ebp, dword [esi + 0x354]
mov eax, dword [esp + 0x74]
lea ecx, [esi + 0x380]
push eax
call fcn.005b48a8
mov ecx, dword [esp + 0x78]
push ecx
lea ecx, [esi + 0x384]
call fcn.005b48a8
mov eax, dword [esi + 0x36c]
test eax, eax
jne 0x4cd187
push str.MS_Sans_Serif
lea ecx, [esp + 0x14]
call fcn.005b482a
push 1
lea edx, [esp + 0x14]
push 0x18
push edx
mov ecx, esi
mov dword [esp + 0x78], 0
call fcn.004cd740
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005b4761
mov eax, dword [esi + 0x370]
test eax, eax
jne 0x4cd1c8
push str.MS_Sans_Serif
lea ecx, [esp + 0x14]
call fcn.005b482a
push 1
lea eax, [esp + 0x14]
push 0x12
push eax
mov ecx, esi
mov dword [esp + 0x78], 1
call fcn.004cd7e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005b4761
mov eax, dword [esi + 0x364]
test eax, eax
je 0x4cd1e9
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x4cd424
test eax, eax
jne 0x4cd2d6
push 0x1c
call fcn.005b449a
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
mov dword [esp + 0x6c], 2
je 0x4cd2ce
mov ecx, dword [esi + 0x414]
mov edx, dword [esi + 0x34c]
mov dword [esp + 0x10], ecx
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.005b74ed
lea ebx, [edi + 0x10]
mov byte [esp + 0x6c], 3
mov ecx, ebx
call fcn.004493e0
mov dword [ebx], 0x5e7c28
mov byte [esp + 0x6c], 4
mov dword [edi], method.CDC.virtual_0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005b0c08
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005b758f
test eax, eax
mov dword [esp + 0x84], eax
je 0x4cd26e
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.005b75a4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.005b7f6c
push ebx
mov ecx, edi
call fcn.004d1840
mov dword [edi + 0x18], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005b0c08
mov edx, dword [esp + 0x84]
mov ecx, dword [edx + 4]
mov edx, dword [eax + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4cd2d0
xor edi, edi
mov dword [esi + 0x364], edi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], vtable.CPen.0
push 8
mov dword [esp + 0x70], 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [esi + 0x364]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
call fcn.005b7738
test ebp, ebp
mov dword [esp + 0x84], eax
jle 0x4cd3b6
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push ebp
push edi
push ecx
push edx
call fcn.004d1010
add esp, 0x10
lea ecx, [esp + 0x18]
push eax
call fcn.005b807f
test ebx, ebx
mov byte [esp + 0x6c], 6
jne 0x4cd357
mov ecx, dword [esi + 0x364]
lea eax, [esp + 0x18]
push eax
call fcn.005b7738
mov ebx, eax
jmp 0x4cd367
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x364]
call fcn.005b7738
mov eax, dword [esi + 0x414]
mov ecx, dword [esi + 0x364]
inc eax
lea edx, [edi + 2]
push eax
mov eax, dword [ecx + 4]
push edx
push 0
push edi
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [esi + 0x364]
push ebx
call fcn.005b7738
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 7
call fcn.005b7fc3
inc edi
mov byte [esp + 0x6c], 5
cmp edi, ebp
jl 0x4cd319
mov ecx, dword [esi + 0x364]
push ebx
call fcn.005b7738
mov ecx, dword [esp + 0x84]
push ecx
mov ecx, dword [esi + 0x364]
call fcn.005b7738
cmp dword [esi + 0x420], 3
jne 0x4cd403
mov edx, dword [esi + 0x438]
mov eax, dword [esi + 0x434]
mov ecx, dword [esi + 0x414]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x364]
push ebp
push 0
push 0
call fcn.005c9ffc
mov dword [esp + 0x20], vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], 8
call fcn.005b7fc3
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esi + 0x368]
test eax, eax
jne 0x4cd536
push 0x1c
call fcn.005b449a
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
mov dword [esp + 0x6c], 9
je 0x4cd51d
mov edx, dword [esi + 0x414]
mov eax, dword [esi + 0x34c]
mov ecx, edi
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], eax
call fcn.005b74ed
lea ebx, [edi + 0x10]
mov byte [esp + 0x6c], 0xa
mov ecx, ebx
call fcn.004493e0
mov dword [ebx], 0x5e7c28
mov byte [esp + 0x6c], 0xb
mov dword [edi], method.CDC.virtual_0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005b0c08
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005b758f
test eax, eax
mov dword [esp + 0x84], eax
je 0x4cd4ba
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.005b75a4
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.005b7f6c
push ebx
mov ecx, edi
call fcn.004d1840
mov dword [edi + 0x18], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005b0c08
mov ecx, dword [esp + 0x84]
mov eax, dword [eax + 0x1c]
mov edx, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4cd51f
xor edi, edi
push 1
mov ecx, edi
mov dword [esp + 0x70], 0xffffffff
mov dword [esi + 0x368], edi
call fcn.005b77ad
mov ecx, dword [esi + 0x368]
mov eax, dword [esi + 0x36c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x28]
mov edx, dword [esi + 0x368]
mov edi, dword [sym.imp.GDI32.dll_GetTextMetricsW]
lea ecx, [esp + 0x28]
mov eax, dword [edx + 8]
push ecx
push eax
call edi
mov edx, dword [esi + 0x364]
mov eax, dword [esi + 0x414]
mov ecx, dword [esi + 0x368]
test edx, edx
je 0x4cd578
mov edx, dword [edx + 4]
mov ecx, dword [ecx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ebp
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 0x368]
mov eax, dword [esi + 0x42c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
mov edx, dword [esp + 0x74]
mov ecx, dword [esi + 0x368]
mov eax, dword [edx]
mov edx, dword [ecx]
mov ebx, dword [eax - 8]
push ebx
mov ebx, dword [esp + 0x34]
push eax
mov eax, dword [esi + 0x414]
sub eax, ebx
mov ebx, dword [esp + 0x34]
sub eax, ebx
sub eax, 4
push eax
push 4
call dword [edx + 0x5c]
mov ecx, dword [esi + 0x368]
mov eax, dword [esi + 0x370]
push eax
mov edx, dword [ecx]
call dword [edx + 0x28]
mov ecx, dword [esi + 0x368]
mov eax, dword [esi + 0x430]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
mov edx, dword [esi + 0x368]
lea ecx, [esp + 0x28]
push ecx
mov eax, dword [edx + 8]
push eax
call edi
mov edi, dword [esp + 0x78]
lea ecx, [esp + 0x18]
push ecx
mov eax, dword [edi]
mov edx, dword [eax - 8]
push edx
push eax
mov eax, dword [esi + 0x368]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [edi]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esi + 0x368]
mov edi, dword [eax - 8]
push edi
mov edi, dword [esp + 0x30]
push eax
mov eax, dword [esi + 0x414]
mov edx, dword [ecx]
sub eax, ebx
sub eax, edi
mov edi, dword [esp + 0x20]
sub ebp, edi
sub eax, 4
sub ebp, 4
push eax
push ebp
call dword [edx + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14