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

Disassembly:
push 0xffffffffffffffff
push 0x47e300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.0045c2a0
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
xor ebx, ebx
push 0x10
mov dword [esp + 0x78], ebx
call ebp
mov esi, eax
cmp dword [0x4aae88], 7
mov dword [esp + 0x10], esi
jne 0x41433d
call fcn.004120e0
test eax, eax
je 0x414356
fld qword [0x4856f8]
sub esp, 8
fstp qword [esp]
push esi
call fcn.00411b70
add esp, 0xc
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x7c]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x54]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
call edi
push eax
lea ecx, [esp + 0x28]
call fcn.0045c97e
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x28]
push esi
push edx
call fcn.0045cd36
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], eax
call fcn.0045c2a0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CBrush.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], vtable.CBitmap.0
push ebx
mov byte [esp + 0x78], 3
call edi
push eax
lea ecx, [esp + 0x38]
call fcn.0045c97e
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call fcn.0045cc7b
push 0xf
call ebp
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x18]
call fcn.0045cc7b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.0045cd36
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], edx
push ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esp + 0x38]
mov ebp, dword [sym.imp.GDI32.dll_GetPixel]
push 1
push 1
push ecx
call ebp
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0045ccd2
test esi, esi
je 0x414458
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x38]
push esi
push edx
call fcn.0045cd36
mov eax, dword [esp + 0x58]
xor edi, edi
test eax, eax
jle 0x4144a8
mov eax, dword [esp + 0x5c]
xor esi, esi
test eax, eax
jle 0x41449f
mov eax, dword [esp + 0x28]
push esi
push edi
push eax
call ebp
cmp eax, ebx
je 0x414496
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
push ecx
push esi
push edi
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x5c]
inc esi
cmp esi, eax
jl 0x414477
mov ecx, dword [esp + 0x58]
inc edi
cmp edi, ecx
jl 0x414471
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4144b3
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.0045cd36
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 2
mov dword [esp + 0x1c], esi
call fcn.0045ccd2
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 1
mov dword [esp + 0x14], esi
call fcn.0045ccd2
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0
call fcn.0045c9fc
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045c9fc
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4