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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], 0
lea eax, [edi + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
fld dword [esp + 0x38]
mov edx, dword [eax + 4]
fmul dword [esp + 0xa0]
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], edx
fld dword [esp + 0x3c]
fmul dword [esp + 0xa0]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xd0]
test eax, eax
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fmul dword [esp + 0xa0]
fstp dword [esp + 0x40]
fadd dword [edi + 4]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fadd dword [edi + 8]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fadd dword [edi + 0xc]
fstp dword [esp + 0x40]
jle 0x473f0e
mov edx, dword [edi + 0xd8]
mov ecx, dword [0x6833d0]
mov eax, dword [edx + esi*4]
mov ecx, dword [ecx + 0x424]
push eax
call fcn.00603f70
test eax, eax
je 0x473f03
mov edx, dword [eax]
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call dword [edx + 0x23c]
fld dword [esp + 0x14]
fadd dword [eax]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [eax + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fadd dword [eax + 8]
fstp dword [esp + 0x1c]
mov eax, dword [edi + 0xd0]
inc esi
cmp esi, eax
jl 0x473eb5
fild dword [edi + 0xd0]
fld dword [esp + 0x14]
mov edx, dword [edi]
push 1
fdiv st(1)
mov ecx, edi
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fdiv st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fdiv st(1)
fstp dword [esp + 0x20]
fstp st(0)
call dword [edx + 0x94]
test eax, eax
jne 0x473f57
mov ebx, dword [edi + 4]
mov esi, dword [edi + 0xc]
mov ebp, dword [edi + 8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], esi
jmp 0x473f63
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
cmp dword [edi + 0xf8], 8
jne 0x473fb4
mov ecx, dword [edi + 0xb8]
test ecx, ecx
je 0x473fb4
mov edx, dword [edi + 0xd0]
mov eax, dword [ecx]
push edx
mov edx, dword [edi + 0xd8]
push edx
push esi
push ebx
call dword [eax + 0x130]
cmp eax, 1
jne 0x473fb4
sub esp, 0xc
mov eax, dword [edi]
mov ecx, esp
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], esi
mov ecx, edi
call dword [eax + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4
fld dword [edi + 0x10]
fabs
fld dword [edi + 0x18]
fabs
fcompp
mov byte [esp + 0x13], 1
fnstsw ax
test ah, 0x41
jne 0x473fd1
mov byte [esp + 0x13], 0
mov eax, dword [edi + 0xd0]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x44], 0x7f7fffff
jle 0x474101
mov ebp, 0x68ba98
mov edx, dword [0x6833d0]
mov eax, dword [edi + 0xd8]
mov ecx, dword [edx + 0x424]
mov edx, dword [eax + ebx*4]
push edx
call fcn.00603f70
mov esi, eax
test esi, esi
je 0x4740f2
cmp byte [esp + 0x13], 1
jne 0x47403a
mov eax, dword [esi]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call dword [eax + 0x23c]
fld dword [eax + 8]
fsub dword [esp + 0x1c]
jmp 0x474052
mov edx, dword [esi]
lea eax, [esp + 0x90]
push eax
mov ecx, esi
call dword [edx + 0x23c]
fld dword [eax]
fsub dword [esp + 0x14]
fabs
fld dword [edi + 0x118]
fmul dword [0x634598]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x47407d
mov ecx, dword [esi + 4]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x34]
inc ecx
add ebp, 4
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x38]
lea eax, [esp + 0x84]
push edx
mov edx, dword [esi]
push eax
lea eax, [esp + 0x74]
push eax
mov ecx, esi
call dword [edx + 0x23c]
mov ecx, eax
call fcn.005e8590
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
fld dword [esp + 0x2c]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fstp dword [esp + 0x20]
fld st(0)
fmulp st(1)
fadd dword [esp + 0x20]
fsqrt
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 1
je 0x4740f2
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x4c], ecx
fadd dword [esp + 0x20]
fsqrt
fstp dword [esp + 0x44]
mov eax, dword [edi + 0xd0]
inc ebx
cmp ebx, eax
jl 0x473ff6
mov ebx, dword [esp + 0x34]
or ebp, 0xffffffff
cmp ebx, 1
jne 0x474113
mov ebp, dword [0x68ba98]
test ebx, ebx
mov dword [esp + 0x30], 0x7f7fffff
jle 0x474256
mov edx, dword [esp + 0x34]
mov dword [esp + 0x50], 0x7f7fffff
mov ebx, 0x68ba98
mov dword [esp + 0x48], edx
mov eax, dword [0x6833d0]
mov edx, dword [ebx]
push edx
mov ecx, dword [eax + 0x424]
call fcn.00603f70
mov esi, eax
test esi, esi
je 0x474240
mov edx, dword [esi]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x70]
lea eax, [esp + 0x88]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x23c]
mov ecx, eax
call fcn.005e8590
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
fld dword [esp + 0x2c]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fstp dword [esp + 0x20]
fld st(0)
fmulp st(1)
fadd dword [esp + 0x20]
fsqrt
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 1
je 0x474240
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
mov edx, dword [esi]
mov ebp, dword [ebx]
lea eax, [esp + 0x90]
mov ecx, esi
fadd dword [esp + 0x20]
push eax
fsqrt
fstp dword [esp + 0x54]
call dword [edx + 0x23c]
fld dword [eax + 8]
fsub dword [esp + 0x1c]
mov edx, dword [esi]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
fstp dword [esp + 0x34]
call dword [edx + 0x23c]
fld dword [eax + 8]
fsub dword [esp + 0x1c]
mov edx, dword [esi]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
fmul dword [esp + 0x34]
fstp dword [esp + 0x24]
call dword [edx + 0x23c]
fld dword [eax]
fsub dword [esp + 0x14]
mov edx, dword [esi]
lea eax, [esp + 0x54]
push eax
mov ecx, esi
fstp dword [esp + 0x34]
call dword [edx + 0x23c]
fld dword [eax]
fsub dword [esp + 0x14]
fmul dword [esp + 0x30]
fadd dword [esp + 0x20]
fsqrt
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x48]
add ebx, 4
dec eax
mov dword [esp + 0x48], eax
jne 0x474138
mov ebx, dword [esp + 0x34]
mov ecx, dword [0x6833d0]
push ebp
mov ecx, dword [ecx + 0x424]
call fcn.00603f70
mov esi, eax
test esi, esi
je 0x4742db
lea edx, [esp + 0x38]
lea eax, [esp + 0x54]
push edx
mov edx, dword [esi]
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call dword [edx + 0x23c]
mov ecx, eax
call fcn.005e8590
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
test ebx, ebx
mov eax, dword [eax + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fsqrt
jne 0x4742f5
mov ecx, dword [esi + 8]
fld dword [ecx + 0x34]
fadd st(0), st(0)
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4742f5
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 0x41
jne 0x4742f7
mov edx, dword [0x6833d0]
mov ebp, dword [esp + 0x4c]
push ebp
mov ecx, dword [edx + 0x424]
call fcn.00603f70
mov esi, eax
jmp 0x4742f7
fstp st(0)
cmp ebp, 0xffffffff
je 0x474336
test esi, esi
je 0x474336
lea ecx, [edi + 0x130]
call fcn.00470130
mov eax, dword [esi]
mov ebx, dword [edi]
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call dword [eax + 0x23c]
mov ecx, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [edx + 8], eax
call dword [ebx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4