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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53ae50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [ebp + 0xc]
push ebx
mov edx, eax
push esi
push edi
mov esi, dword [edx]
mov dword [esp + 0x60], esi
mov ecx, dword [edx + 4]
mov dword [esp + 0x64], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x6c], edx
mov edx, dword [0x5b0808]
cmp edx, 2
jge 0x42a202
mov eax, dword [ebp + 0x1c]
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.00522dd5
jmp 0x42a43b
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x54], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], edi
mov edi, dword [ebp + 0x10]
sub ecx, esi
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x14]
sub ecx, edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x18], ecx
mov ecx, eax
and ecx, 0xff
add edx, edi
mov dword [esp + 0xc], ecx
xor ecx, ecx
fild dword [esp + 0xc]
mov cl, ah
mov dword [esp + 0x58], edx
and ecx, 0xff
fst qword [esp + 0x34]
shr eax, 0x10
mov dword [esp + 0xc], ecx
and eax, 0xff
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x18]
mov ecx, eax
fst qword [esp + 0x2c]
fild dword [esp + 0xc]
and ecx, 0xff
mov dword [esp + 0xc], ecx
xor ecx, ecx
fst qword [esp + 0x24]
fild dword [esp + 0xc]
mov cl, ah
and ecx, 0xff
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
shr eax, 0x10
and eax, 0xff
fstp qword [esp + 0x3c]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fild dword [esp + 0x18]
fld st(5)
fsub st(3)
fdiv st(1)
fstp qword [esp + 0xc]
fld st(4)
fsub qword [esp + 0x3c]
fdiv st(1)
fstp qword [esp + 0x3c]
fld st(3)
fsub st(2)
fdiv st(1)
fstp qword [esp + 0x44]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.004fa6b4
xor ebx, ebx
mov bh, al
call fcn.004fa6b4
mov bl, al
shl ebx, 8
call fcn.004fa6b4
mov esi, dword [ebp + 8]
and eax, 0xff
or ebx, eax
lea edx, [esp + 0x50]
push ebx
push edx
mov ecx, esi
call fcn.00522dd5
mov eax, dword [esi]
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call dword [eax + 0x50]
cmp eax, 2
jl 0x42a337
cmp eax, 3
jg 0x42a337
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x50]
cmp ecx, eax
jge 0x42a327
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jle 0x42a337
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
lea eax, [edx + edi]
cmp eax, ecx
jge 0x42a43b
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
fld qword [esp + 0x34]
fsub qword [esp + 0xc]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], eax
lea ebx, [eax + 1]
mov eax, dword [esi]
push ecx
mov ecx, esi
fstp qword [esp + 0x38]
fld qword [esp + 0x30]
fsub qword [esp + 0x40]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x5c], ebx
fstp qword [esp + 0x30]
fld qword [esp + 0x28]
fsub qword [esp + 0x48]
fstp qword [esp + 0x28]
call dword [eax + 0x58]
test eax, eax
je 0x42a42d
xor eax, eax
mov dword [esp + 0x1c], vtable.CBrush.0
mov dword [esp + 0x20], eax
fld qword [esp + 0x24]
mov dword [esp + 0x88], eax
call fcn.004fa6b4
fld qword [esp + 0x2c]
xor ebx, ebx
mov bh, al
call fcn.004fa6b4
fld qword [esp + 0x34]
mov bl, al
shl ebx, 8
call fcn.004fa6b4
and eax, 0xff
or ebx, eax
push ebx
call edi
push eax
lea ecx, [esp + 0x20]
call fcn.0051a6c7
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x50]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x1c], vtable.CGdiObject.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x88], 1
call fcn.0051a71e
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x68]
mov eax, ebx
cmp eax, ecx
jl 0x42a350
mov ecx, dword [esp + 0x80]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret