Function at 0x477250
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x4fd328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
push eax
call fcn.004e74f6
mov ebp, eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov dword [esp + 0x18], ebp
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
call fcn.004ecef3
mov edi, eax
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x40]
push edx
push eax
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x158]
xor ebx, ebx
test ecx, ecx
lea ecx, [esp + 0x30]
sete bl
call fcn.004eca65
lea ecx, [esp + 0x28]
mov dword [esp + 0x90], 0
call fcn.00465020
test edi, edi
mov byte [esp + 0x90], 1
jne 0x4772dc
xor eax, eax
jmp 0x4772df
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call fcn.004ecf01
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
sub eax, ecx
mov ecx, dword [esp + 0x48]
sub ecx, edx
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x2c]
call fcn.004ed1fe
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.004ed287
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push 1
push ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
sub ecx, ebx
push ecx
sub edx, eax
push edx
push 0
push 0
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.00475b80
mov ecx, esi
call fcn.00475c40
push eax
mov dword [esp + 0x20], eax
call fcn.004ed1f0
push eax
mov ecx, edi
call fcn.004ecc59
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x54]
jle 0x4773b9
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
call fcn.004ecd21
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.004ec9ba
mov ecx, dword [esi + 0x98]
mov eax, 0x14
cmp ecx, eax
jne 0x4773d3
push 1
push 0
lea ecx, [esp + 0x38]
push ecx
jmp 0x4773ef
cmp dword [esi + 0x94], eax
jne 0x4773e6
push 2
push 0
lea edx, [esp + 0x38]
push edx
jmp 0x4773ef
push 0
push 0
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.004769f0
mov ecx, dword [esi + 0x98]
mov eax, 8
cmp ecx, eax
jne 0x477410
push 1
push 2
lea ecx, [esp + 0x38]
push ecx
jmp 0x47742c
cmp dword [esi + 0x94], eax
jne 0x477423
push 2
push 2
lea edx, [esp + 0x38]
push edx
jmp 0x47742c
push 0
push 2
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.004769f0
mov ecx, dword [esi + 0x98]
mov eax, 9
cmp ecx, eax
jne 0x47744d
push 1
push 1
lea ecx, [esp + 0x38]
push ecx
jmp 0x477469
cmp dword [esi + 0x94], eax
jne 0x477460
push 2
push 1
lea edx, [esp + 0x38]
push edx
jmp 0x477469
push 0
push 1
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.004769f0
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call ebx
push 0x32
mov ebp, eax
call ebx
mov ecx, dword [esi + 4]
push 0
push 0
push 0x7f
push ecx
mov ebx, eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4774da
push 0
push ebx
push ebp
push 1
push eax
call dword [sym.imp.USER32.dll_CopyImage]
mov edi, eax
test edi, edi
je 0x4774d6
mov edx, dword [esi + 0x130]
mov eax, dword [esp + 0x34]
push 3
push 0
push 0
push ebx
push ebp
push edi
push 5
add edx, 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [esp + 0x10]
jmp 0x47750b
mov edi, dword [esp + 0x10]
lea eax, [esi + 0x10]
test eax, eax
je 0x47750b
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x47750b
mov eax, dword [esi + 0x130]
mov edx, dword [esi + 0x14]
push 0
mov ecx, 5
push ecx
mov ecx, dword [esp + 0x3c]
add eax, 2
push eax
push ecx
push 0
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x47767b
mov eax, dword [esi + 0x28]
mov ecx, dword [eax - 0xc]
test ecx, ecx
lea ebx, [esi + 0x28]
jne 0x47752d
mov ecx, dword [esp + 0x14]
push ebx
call fcn.004e7fd5
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], vtable.CFont.0
push str.Arial
push 0x20
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xe
mov byte [esp + 0xc8], 2
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x24]
call fcn.004ed1fe
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
call dword [edx + 0x28]
push 1
lea ecx, [esp + 0x34]
mov ebp, eax
call fcn.004ec8dd
mov eax, dword [esi + 0x158]
test eax, eax
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x30]
je 0x4775ae
mov eax, dword [esi + 0x144]
jmp 0x4775b4
mov eax, dword [esi + 0x148]
push eax
call dword [edx + 0x30]
lea eax, [esi + 0x30]
test eax, eax
je 0x4775c6
mov eax, dword [eax + 4]
test eax, eax
jne 0x4775ca
xor edx, edx
jmp 0x4775ff
xor ecx, ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x80], ecx
push 0x18
mov dword [esp + 0x88], ecx
push eax
mov dword [esp + 0x90], ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0x74]
mov eax, dword [esi + 0xa0]
mov ecx, dword [esi + 0x12c]
sub eax, edx
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x48]
mov edx, dword [esi + 0x140]
mov esi, dword [esi + 0x13c]
mov dword [esp + 0x68], eax
mov eax, dword [ebx]
mov dword [esp + 0x64], edx
push 0x40024
mov dword [esp + 0x70], ecx
lea edx, [esp + 0x64]
mov dword [esp + 0x64], esi
mov ecx, dword [eax - 0xc]
push edx
push ecx
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x40]
call dword [eax + 0x68]
mov edx, dword [esp + 0x30]
push ebp
lea ecx, [esp + 0x34]
call dword [edx + 0x28]
lea ecx, [esp + 0x20]
call fcn.004ed255
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 1
mov dword [esp + 0x20], vtable.CGdiObject.0
call fcn.004ed255
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
push 0xcc0020
push 0
push 0
push edx
sub eax, ebx
push eax
mov eax, dword [edi + 4]
sub ecx, esi
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4776b8
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.004ed287
lea ecx, [esp + 0x28]
call fcn.004ed255
lea ecx, [esp + 0x30]
call fcn.004ecf69
push 0
mov ecx, edi
call fcn.004ecc59
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1c]
push edx
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 0
call fcn.00465040
lea ecx, [esp + 0x30]
mov dword [esp + 0x90], 0xffffffff
call fcn.004ecf7f
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret