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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x50fbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x65d4c0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
xor esi, esi
cmp ecx, esi
jbe 0x48a7db
cmp ecx, 1
jne 0x48a795
fldz
mov ecx, dword [edi]
fcom qword [ecx]
fnstsw ax
test ah, 0x44
jnp 0x48a7d9
cmp dword [ecx + 8], esi
je 0x48a7d9
mov ecx, dword [ebp + 0x14]
fstp qword [esp + 0x1c]
lea eax, [esp + 0x1c]
push eax
call fcn.0047a250
jmp 0x48ab43
cmp ecx, 2
jne 0x48a814
mov edx, dword [edi]
cmp dword [edx + 0x18], esi
jne 0x48a814
fld qword [edx + 0x10]
fdiv qword [edx]
fchs
fldz
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x48a7f0
fld qword [ebp + 0xc]
fchs
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x48a7c5
fstp st(1)
jmp 0x48a7f2
mov ecx, dword [edx + 8]
fstp st(0)
and ecx, 0x80000001
jns 0x48a7d7
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x48a7f2
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
fild dword [edx + 8]
fld1
fdivrp st(1)
call fcn.004d2150
fstp qword [esp + 0x1c]
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x1c]
push edx
call fcn.0047a250
jmp 0x48ab43
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
xor ebx, ebx
mov dword [esp + 0x80], esi
cmp ecx, esi
jbe 0x48a8da
mov eax, dword [edi]
mov ecx, dword [eax + esi + 8]
fld qword [eax + esi]
add eax, esi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
test eax, eax
je 0x48a850
inc dword [eax + 4]
mov byte [esp + 0x80], 1
test ecx, ecx
je 0x48a8ab
fimul dword [esp + 0x24]
dec ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x3c]
fstp qword [esp + 0x20]
call fcn.00489b20
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x80], 0
test ecx, ecx
je 0x48a8a0
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x48a898
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x28], 0
inc ebx
add esi, 0x10
cmp ebx, dword [edi + 8]
jb 0x48a833
jmp 0x48a8cc
fstp st(0)
mov byte [esp + 0x80], 0
test eax, eax
je 0x48a8cc
dec dword [eax + 4]
cmp dword [eax + 4], 0
jg 0x48a8cc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
xor eax, eax
cmp dword [esp + 0x40], eax
ja 0x48a91b
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x80], 0xffffffff
je 0x48a906
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0047a8b0
push ecx
push 0x10
push eax
call fcn.004cec6d
push esi
call fcn.004ae2c3
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
fld qword [ebp + 0xc]
lea edx, [esp + 0x2c]
push edx
sub esp, 8
lea eax, [esp + 0x44]
fstp qword [esp]
push eax
mov byte [esp + 0x90], 2
call fcn.0048a730
add esp, 0x10
test eax, eax
jne 0x48aa2a
mov ecx, dword [esp + 0x34]
inc ecx
push ecx
lea ecx, [esp + 0x30]
call fcn.00479460
fldz
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
fstp qword [eax + edx*8]
inc dword [esp + 0x34]
fld qword [ebp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
sub esp, 8
fstp qword [esp]
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x4c]
push eax
xor eax, eax
call fcn.0047a420
add esp, 0x18
test eax, eax
je 0x48a9f1
mov esi, dword [ebp + 0x14]
mov ecx, dword [esi + 8]
inc ecx
push ecx
mov ecx, esi
call fcn.00479460
fld qword [esp + 0x1c]
mov edx, dword [esi + 8]
mov eax, dword [esi]
fstp qword [eax + edx*8]
mov eax, dword [esp + 0x2c]
inc dword [esi + 8]
test eax, eax
je 0x48a9c9
push eax
call fcn.004ae2c3
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
test eax, eax
je 0x48ab43
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0047a8b0
push ecx
jmp 0x48ab32
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48aa02
push eax
call fcn.004ae2c3
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
test eax, eax
je 0x48a906
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0047a8b0
push edx
jmp 0x48a8f5
fld qword [ebp + 0xc]
lea eax, [esp + 0x1c]
push eax
sub esp, 8
fstp qword [esp]
push 1
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x4c]
push edx
xor eax, eax
call fcn.0047a420
mov esi, dword [ebp + 0x14]
add esp, 0x18
test eax, eax
je 0x48aa70
mov eax, dword [esi + 8]
inc eax
push eax
mov ecx, esi
call fcn.00479460
fld qword [esp + 0x1c]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
fstp qword [edx + ecx*8]
inc dword [esi + 8]
xor ebx, ebx
cmp dword [esp + 0x34], ebx
jbe 0x48aae4
fld qword [ebp + 0xc]
lea eax, [esp + 0x1c]
push eax
sub esp, 8
fstp qword [esp]
push 0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x4c]
push edx
mov eax, ebx
call fcn.0047a420
add esp, 0x18
test eax, eax
je 0x48aadd
mov ecx, dword [esi + 8]
test ecx, ecx
jbe 0x48aac5
mov eax, dword [esi]
fld qword [esp + 0x1c]
fsub qword [eax + ecx*8 - 8]
lea eax, [eax + ecx*8 - 8]
fabs
fld qword [ebp + 0xc]
fadd st(0), st(0)
fcompp
fnstsw ax
test ah, 0x41
je 0x48aadd
inc ecx
push ecx
mov ecx, esi
call fcn.00479460
fld qword [esp + 0x1c]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
fstp qword [edx + ecx*8]
inc dword [esi + 8]
inc ebx
cmp ebx, dword [esp + 0x34]
jb 0x48aa78
cmp dword [esi + 8], 0
mov eax, dword [esp + 0x2c]
ja 0x48ab06
test eax, eax
je 0x48aafb
push eax
call fcn.004ae2c3
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
jmp 0x48a8dc
test eax, eax
je 0x48ab13
push eax
call fcn.004ae2c3
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
test eax, eax
je 0x48ab43
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0047a8b0
push edx
push 0x10
push eax
call fcn.004cec6d
push esi
call fcn.004ae2c3
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret