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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x114
mov eax, dword [ebp + 0x10]
fld dword [eax + 8]
push ebx
fld dword [eax + 4]
push esi
fld dword [eax]
push edi
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fcom dword [0x6a9418]
fnstsw ax
test ah, 5
jp 0x462835
fstp dword [esp + 0x1c]
jmp 0x462840
mov eax, dword [0x6a9418]
fstp st(0)
mov dword [esp + 0x1c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
mov ecx, dword [eax + 0x258]
mov bl, byte [ecx + 0x15]
xor esi, esi
test bl, bl
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
jne 0x462861
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0x25c]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x462872
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x462880
mov edx, dword [ebp + 8]
lea ecx, [ecx]
mov ebx, dword [esp + eax*4 + 0x48]
test ebx, ebx
je 0x462e2f
mov cl, byte [0x77be14]
test cl, cl
jne 0x4628a4
mov ecx, dword [0x72afc0]
test ecx, ecx
je 0x46294b
test eax, eax
fld dword [0x6a9420]
je 0x4628b9
mov ecx, dword [edx + 0x64]
mov eax, dword [ecx + 0x258]
jmp 0x4628c2
mov eax, dword [edx + 0x64]
mov eax, dword [eax + 0x25c]
test eax, eax
je 0x4628ef
cmp byte [eax + 0x15], 4
jne 0x4628ef
mov eax, dword [eax + 0x140]
test eax, eax
je 0x4628ef
mov eax, dword [eax + 0xc]
cmp eax, 0x24cebc53
je 0x4628e7
cmp eax, 0x427a6453
jne 0x4628ef
fstp st(0)
fld dword [0x6a9424]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 1
jne 0x46294b
mov eax, dword [ebx + 0x140]
mov ecx, dword [eax + 0x28]
mov esi, 1
cmp ecx, esi
jne 0x462950
mov edi, dword [eax + 0x868]
test edi, edi
mov byte [eax + 0x874], 1
je 0x462930
cmp byte [edi + 8], 1
je 0x462930
mov byte [edi + 8], 1
call fcn.00569020
mov ecx, dword [ebx + 0x140]
mov edx, dword [ecx + 0x34]
mov eax, dword [edx + 0x48]
mov edx, dword [ebp + 8]
mov dword [eax + 0x8c], 0x3fc00000
jmp 0x462950
mov esi, 1
fld dword [esp + 0x1c]
fcomp dword [0x6a9414]
fnstsw ax
test ah, 1
jne 0x462e2f
mov ecx, dword [ebx + 0x140]
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x462e2f
mov eax, dword [edx + 0x64]
mov ecx, dword [eax + 0x258]
cmp byte [ecx + 0x15], 0
jne 0x462992
mov eax, dword [eax + 0x25c]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x4629a1
mov eax, edx
call fcn.00462ed0
test al, al
je 0x462e2f
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], esi
mov eax, dword [ebx + 0x140]
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x38], esi
mov dword [eax + 0x4cc], 0
cmp dword [ecx + 4], esi
jne 0x4629d8
mov dl, byte [ecx + 0x734]
test dl, dl
jne 0x4629d8
mov edx, dword [0x72ca18]
mov dword [eax + 0x4c8], edx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
fld dword [eax + 4]
mov edi, dword [ebp + 0xc]
fsubr dword [edi + 4]
fld dword [eax + 8]
fsubr dword [edi + 8]
fld dword [edi]
fsub dword [eax]
mov eax, dword [esp + 0x40]
test eax, eax
mov eax, dword [ebp + 0x10]
fstp dword [esp + 0x20]
fxch st(1)
fstp dword [esp + 0x24]
fstp dword [esp + 0x28]
jne 0x462a21
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
jmp 0x462a4b
fld dword [eax]
fchs
fld dword [eax + 4]
fchs
fld dword [eax + 8]
fchs
fstp dword [esp + 0xa8]
mov ecx, dword [esp + 0xa8]
fxch st(1)
mov dword [esp + 0x38], ecx
fstp dword [esp + 0x30]
fstp dword [esp + 0x34]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.00599e10
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
mov dword [esp + 0x58], eax
call dword [edx + 0xc]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.00599e10
fld dword [esp + 0x78]
mov edx, dword [esp + 0x80]
fld dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
fmul st(1)
mov dword [esp + 0x70], edx
fld dword [esp + 0x70]
fmul dword [esp + 0x60]
mov dword [esp + 0x6c], ecx
add esp, 8
faddp st(1)
fld dword [esp + 0x64]
fmul dword [esp + 0x54]
faddp st(1)
fst dword [esp + 0x18]
fcomp dword [0x6a940c]
fnstsw ax
test ah, 5
jp 0x462b99
fmul dword [esp + 0x18]
lea ecx, [esp + 0x30]
fld dword [esp + 0x64]
push ecx
fmul dword [esp + 0x1c]
lea edx, [esp + 0x34]
fld dword [esp + 0x6c]
push edx
fmul dword [esp + 0x20]
fstp dword [esp + 0xe0]
fxch st(1)
fstp dword [esp + 0x98]
fstp dword [esp + 0x9c]
fld dword [esp + 0xe0]
fld dword [esp + 0x58]
fsub dword [esp + 0x98]
fld dword [esp + 0x5c]
fsub dword [esp + 0x9c]
fld dword [esp + 0x60]
fsub st(3)
fstp dword [esp + 0xc0]
mov eax, dword [esp + 0xc0]
fxch st(1)
fstp dword [esp + 0x38]
mov dword [esp + 0x40], eax
fstp dword [esp + 0x3c]
fstp st(0)
call fcn.00599e10
fld dword [esp + 0x20]
mov eax, dword [ebx]
fabs
add esp, 8
fmul dword [0x6a93f0]
lea ecx, [esp + 0x20]
push ecx
fmul dword [esp + 0x20]
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
fchs
mov dword [esp + 0x40], 0
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
call dword [eax + 0x4c]
jmp 0x462b9b
fstp st(0)
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
fld dword [edi]
fsub dword [eax]
mov edx, dword [ebx]
fld dword [eax + 4]
fsubr dword [edi + 4]
fld dword [eax + 8]
fsubr dword [edi + 8]
fstp dword [esp + 0xc8]
mov ecx, dword [esp + 0xc8]
fxch st(1)
fstp dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov ecx, ebx
fstp dword [esp + 0x24]
call dword [edx + 0x14]
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.00598550
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00598540
fld dword [esp + 0x2c]
fcomp dword [0x6a940c]
add esp, 0x14
mov dword [esp + 0x28], 0
fnstsw ax
test ah, 5
jp 0x462c81
mov edi, dword [0x72b010]
mov ecx, dword [edi + 0x2d0]
mov eax, ecx
xor edx, edx
mov esi, 0x64
div esi
xor ecx, 0x1d872b41
mov eax, ecx
shr eax, 5
xor eax, ecx
mov esi, eax
shl esi, 0x1b
xor esi, eax
xor esi, ecx
mov dword [edi + 0x2d0], esi
cmp edx, 0x32
jb 0x462c5e
fld dword [esp + 0x20]
fmul dword [0x6a9404]
fchs
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fabs
fcomp dword [0x6a9408]
fnstsw ax
test ah, 0x41
jne 0x462cf0
fld dword [esp + 0x24]
fmul dword [0x6bdbb0]
fstp dword [esp + 0x24]
jmp 0x462cf0
mov eax, dword [ebp + 8]
call fcn.00462ea0
test al, al
je 0x462d8c
mov ecx, dword [ebx + 0x140]
mov eax, dword [ecx + 0x20]
fld dword [eax + 0x14]
fsub dword [eax + 0x44]
fabs
fmul dword [0x6a93fc]
fmul dword [0x6bda38]
fld dword [esp + 0x24]
fmul dword [0x6a93fc]
fst dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x462ccb
fstp dword [esp + 0x24]
jmp 0x462ce2
fchs
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x462ce0
fstp dword [esp + 0x24]
jmp 0x462ce2
fstp st(0)
fld dword [esp + 0x20]
fmul dword [0x6a9400]
fstp dword [esp + 0x20]
mov eax, dword [ebx]
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call dword [eax + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00598540
mov al, byte [0x77be14]
add esp, 0xc
test al, al
jne 0x462d1c
mov eax, dword [0x72afc0]
test eax, eax
je 0x462d24
fld dword [0x6a941c]
jmp 0x462d2a
fld dword [0x6bda18]
fld dword [0x6a93f4]
mov dword [esp + 0x34], 0
fmul st(1)
mov dword [esp + 0x30], 0
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
fld dword [esp + 0x44]
fchs
push edx
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x24]
fabs
fmul dword [0x6a93f8]
fmul dword [esp + 0x28]
fmul st(1)
fstp dword [esp]
fstp st(0)
call fcn.00401be0
mov eax, dword [ebx]
fstp dword [esp + 0x44]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
call dword [eax + 0x4c]
mov al, byte [0x77be15]
test al, al
jne 0x462e2f
mov eax, dword [0x72afbc]
test eax, eax
jne 0x462e2f
mov eax, dword [ebp + 8]
call fcn.00462ea0
test al, al
je 0x462e2f
fld dword [esp + 0x1c]
fcomp dword [0x6a9410]
fnstsw ax
test ah, 1
jne 0x462e2f
mov edi, dword [ebx + 0x140]
mov eax, edi
call fcn.004234d0
test eax, eax
je 0x462e2f
mov edi, dword [edi + 0x18]
mov eax, dword [edi + 0x60]
cmp eax, 6
je 0x462e2f
cmp eax, 7
je 0x462e2f
mov esi, edi
call fcn.0042ac20
test al, al
je 0x462e2f
push 1
push 1
push 0
push 6
mov ecx, edi
call fcn.0042c250
test al, al
jne 0x462e09
call fcn.0042adb0
jmp 0x462e2f
mov eax, dword [ebx + 0x140]
mov edi, dword [eax + 0x868]
test edi, edi
je 0x462e2f
mov eax, edi
call fcn.005690e0
cmp byte [edi + 8], 1
je 0x462e2f
mov byte [edi + 8], 1
call fcn.00569020
mov eax, dword [esp + 0x40]
inc eax
cmp eax, 2
mov dword [esp + 0x40], eax
jl 0x46287a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc