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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ed900
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x10], 0
mov eax, dword [edi + 8]
test eax, eax
jle 0x484d1c
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x48]
test eax, eax
jle 0x484c29
mov dword [esp + 0xc], ebx
lea edx, [esp + 0x64]
push ebx
push edx
lea ecx, [esi + 0x40]
call fcn.00416560
mov eax, dword [esp + 0x70]
mov dword [esp + 0xb0], 0
cmp eax, 0xa
je 0x484bfe
cmp eax, 2
je 0x484bfe
cmp eax, 4
je 0x484bfe
cmp eax, 8
je 0x484bfe
fld qword [ebp + 8]
fmul qword [0x4f67f8]
fld qword [ebp + 0x10]
fmul qword [0x4f67f8]
fild dword [esp + 0x68]
mov edi, dword [esi + 0x44]
mov edx, dword [esp + 0xc]
add edi, edx
fmul st(2)
fdiv st(1)
fstp qword [esp + 0x34]
fild dword [esp + 0x6c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
fmul st(2)
fdiv st(1)
fstp qword [esp + 0x2c]
fstp st(0)
fstp st(0)
call fcn.00434930
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x2c]
mov edi, dword [esi + 0x44]
push edx
push eax
add edi, ecx
call fcn.00434930
add esp, 0x10
call sub.MSVCRT.dll__ftol
mov dword [edi + 8], eax
mov edi, dword [ebp + 0x18]
lea ecx, [esp + 0x64]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004ba050
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x48]
inc ebx
add ecx, 0x14
cmp ebx, eax
mov dword [esp + 0xc], ecx
jl 0x484b55
mov eax, dword [esi + 0x5c]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0xc], ebx
jle 0x484d01
fld qword [ebp + 8]
fmul qword [0x4f67f8]
fstp qword [esp + 0x24]
fld qword [ebp + 0x10]
fmul qword [0x4f67f8]
fstp qword [esp + 0x34]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x78]
push ecx
push edx
lea ecx, [esi + 0x54]
call fcn.0040b280
fild dword [esp + 0x7c]
mov edx, dword [esi + 0x58]
mov edi, ebx
mov dword [esp + 0xb0], 1
add edi, edx
fmul qword [esp + 0x24]
fdiv qword [esp + 0x34]
fstp qword [esp + 0x44]
fild dword [esp + 0x80]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
fmul qword [esp + 0x2c]
fdiv qword [esp + 0x3c]
fstp qword [esp + 0x64]
call fcn.00434930
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x68]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esi + 0x58]
mov edi, ebx
push edx
push eax
add edi, ecx
call fcn.00434930
add esp, 0x10
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x78]
mov dword [edi + 8], eax
mov dword [esp + 0xb0], 0xffffffff
call fcn.00456e80
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x5c]
inc eax
add ebx, 0x30
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x484c54
mov edi, dword [ebp + 0x18]
mov ecx, esi
call fcn.0045afe0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x484b3a
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [edi + 8]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
jle 0x484dbc
mov eax, dword [edi + 4]
lea edx, [esp + 0x24]
push 1
push edx
mov ecx, dword [eax + esi*4]
call fcn.0045c9d0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x38]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004336b0
mov edx, dword [eax]
add esp, 0x24
mov dword [esp + 0x14], edx
inc esi
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
cmp esi, eax
jl 0x484d36
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_PtInRect]
mov eax, 0x7fff
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push ecx
lea eax, [esp + 0x50]
push edx
push eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call esi
test eax, eax
je 0x484e1b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
lea eax, [esp + 0x50]
push edx
push eax
call esi
test eax, eax
je 0x484e1b
xor ax, ax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
mov ax, 0xfff7
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14