Function at 0x4a62f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60ff68
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
push eax
call fcn.0056fa15
add ebx, 0x1c
push ebx
lea ecx, [esp + 0x40]
push ecx
mov edi, eax
call dword [sym.imp.user32.dll_CopyRect]
mov edx, dword [0x6b4b00]
mov ecx, dword [edi + 4]
push edx
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.user32.dll_FillRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.user32.dll_InflateRect]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xa0]
imul eax, dword [esi + 0x78]
mov ebx, ecx
add eax, ecx
mov ecx, dword [esi + 0xa4]
imul ecx, dword [esi + 0x7c]
add ecx, edx
push 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], ecx
push 1
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
call dword [sym.imp.user32.dll_InflateRect]
mov edx, dword [0x6b4ad8]
mov eax, dword [0x6b4ae4]
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.0057086b
mov edx, dword [0x6b4ad4]
push edx
push 1
push 0
lea ecx, [esp + 0x30]
call fcn.0056fe7e
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov dword [esp + 0x6c], 0
call fcn.0056fdc2
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xa0]
lea ebx, [eax + ecx]
sub edx, eax
cmp ebx, edx
jg 0x4a6457
lea ecx, [ecx]
mov eax, dword [esp + 0x30]
add eax, 1
push eax
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0056f72c
mov edx, dword [esp + 0x38]
add edx, 0xffffffff
push edx
push ebx
mov ecx, edi
call fcn.0056f1db
mov eax, dword [esi + 0xa0]
mov ecx, dword [esp + 0x34]
add ebx, eax
sub ecx, eax
cmp ebx, ecx
jle 0x4a6420
mov eax, dword [esi + 0xa4]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
lea ebx, [eax + edx]
sub ecx, eax
cmp ebx, ecx
jg 0x4a64a5
mov edx, dword [esp + 0x2c]
push ebx
add edx, 1
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0056f72c
mov ecx, dword [esp + 0x34]
add ecx, 0xffffffff
push ebx
push ecx
mov ecx, edi
call fcn.0056f1db
mov eax, dword [esi + 0xa4]
mov edx, dword [esp + 0x38]
add ebx, eax
sub edx, eax
cmp ebx, edx
jle 0x4a646e
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.0056fdc2
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4a65ad
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
call fcn.0056fd6f
cmp dword [esi + 0x78], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
jle 0x4a659c
cmp dword [esi + 0x7c], 0
mov dword [esp + 0x14], 0
jle 0x4a6584
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c]
push edx
push eax
push ecx
call dword [sym.imp.gdi32.dll_GetPixel]
push eax
xor ebx, ebx
call fcn.0048c7a0
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x4a6570
mov edx, dword [esi + 0xa0]
mov eax, dword [esi + 0xa4]
imul eax, dword [esp + 0x14]
add eax, dword [esp + 0x30]
mov ecx, edx
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
add edx, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0xa4]
mov dword [esp + 0x58], edx
push 0xffffffffffffffff
lea edx, [esp + 0x54]
add ecx, eax
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], ecx
call dword [sym.imp.user32.dll_InflateRect]
push ebx
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.005704bb
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esi + 0x7c]
mov dword [esp + 0x14], eax
jl 0x4a64f4
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esi + 0x78]
mov dword [esp + 0x18], eax
jl 0x4a64e2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a65a3
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
call fcn.0056fd6f
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CPen.0
call fcn.00423d70
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4