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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x618028
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x69e3d4]
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.005775a4
add ebx, 0x1c
push ebx
lea ecx, [esp + 0x40]
push ecx
mov edi, eax
call dword [sym.imp.user32.dll_CopyRect]
mov edx, dword [0x6bd8e0]
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 [0x6bd8b8]
mov eax, dword [0x6bd8c4]
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.005783fa
mov edx, dword [0x6bd8b4]
push edx
push 1
push 0
lea ecx, [esp + 0x30]
call fcn.00577a0d
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov dword [esp + 0x6c], 0
call fcn.00577951
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 0x4a8907
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.005772bb
mov edx, dword [esp + 0x38]
add edx, 0xffffffff
push edx
push ebx
mov ecx, edi
call fcn.00576d6a
mov eax, dword [esi + 0xa0]
mov ecx, dword [esp + 0x34]
add ebx, eax
sub ecx, eax
cmp ebx, ecx
jle 0x4a88d0
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 0x4a8955
mov edx, dword [esp + 0x2c]
push ebx
add edx, 1
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.005772bb
mov ecx, dword [esp + 0x34]
add ecx, 0xffffffff
push ebx
push ecx
mov ecx, edi
call fcn.00576d6a
mov eax, dword [esi + 0xa4]
mov edx, dword [esp + 0x38]
add ebx, eax
sub edx, eax
cmp ebx, edx
jle 0x4a891e
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.00577951
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4a8a5d
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
call fcn.005778fe
cmp dword [esi + 0x78], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
jle 0x4a8a4c
cmp dword [esi + 0x7c], 0
mov dword [esp + 0x14], 0
jle 0x4a8a34
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.0048dfc0
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x4a8a20
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.0057804a
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esi + 0x7c]
mov dword [esp + 0x14], eax
jl 0x4a89a4
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esi + 0x78]
mov dword [esp + 0x18], eax
jl 0x4a8992
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a8a53
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
call fcn.005778fe
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CPen.0
call fcn.00424fa0
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