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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x238
push ebx
push edi
lea eax, [esp + 0x80]
lea ecx, [esp + 0xd0]
mov edi, esi
call fcn.00468010
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 0x264]
test eax, eax
jne 0x4681dd
lea eax, [esp + 0xd0]
push eax
call fcn.00463c30
mov ecx, dword [edi + 0x264]
mov dword [esp + 0xac], ecx
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
call dword [edx + 8]
fld dword [eax + 4]
mov ecx, dword [esi + 0x10]
fsubr dword [esp + 0xd4]
fld dword [eax + 8]
fsubr dword [esp + 0xd8]
fld dword [esp + 0xd0]
fsub dword [eax]
fstp dword [esp + 0x30]
fxch st(1)
fstp dword [esp + 0x34]
fstp dword [esp + 0x38]
mov eax, dword [ecx]
call dword [eax + 8]
fld dword [eax + 4]
fsubr dword [esp + 0xd4]
fld dword [eax + 8]
fsubr dword [esp + 0xd8]
fld dword [esp + 0xd0]
fsub dword [eax]
fstp dword [esp + 0x20]
fxch st(1)
fstp dword [esp + 0x24]
fstp dword [esp + 0x28]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
lea eax, [esp + 0x1c0]
push eax
lea eax, [esp + 0x184]
push eax
call dword [edx + 0x38]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
lea eax, [esp + 0x200]
push eax
lea eax, [esp + 0x134]
push eax
call dword [edx + 0x38]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x1c4]
push edx
lea eax, [esp + 0x148]
push eax
call fcn.0059a0e0
fld dword [esp + 0x14c]
fadd dword [esp + 0x18c]
lea edx, [esp + 0x2c]
fld dword [esp + 0x150]
push edx
fadd dword [esp + 0x194]
lea eax, [esp + 0x210]
fld dword [esp + 0x158]
push eax
fadd dword [esp + 0x19c]
fstp dword [esp + 0x1bc]
mov ecx, dword [esp + 0x1bc]
fxch st(1)
mov dword [esp + 0x12c], ecx
fstp dword [esp + 0x124]
lea ecx, [esp + 0x174]
push ecx
fstp dword [esp + 0x12c]
call fcn.0059a0e0
fld dword [esp + 0x178]
fadd dword [esp + 0x148]
add esp, 0x14
fld dword [esp + 0x168]
lea edx, [esp + 0x84]
fadd dword [esp + 0x138]
fld dword [esp + 0x16c]
fadd dword [esp + 0x13c]
fstp dword [esp + 0x1ec]
fxch st(1)
fstp dword [esp + 0x224]
fld dword [esp + 0x1ec]
fld dword [esp + 0x224]
fsub dword [esp + 0x114]
fstp dword [esp + 0xe4]
fxch st(1)
fsub dword [esp + 0x118]
fstp dword [esp + 0xe8]
fsub dword [esp + 0x11c]
fstp dword [esp + 0xec]
fld dword [esp + 0xe4]
fmul dword [esp + 0x84]
fld dword [esp + 0x8c]
fmul dword [esp + 0xec]
faddp st(1)
fld dword [esp + 0x88]
fmul dword [esp + 0xe8]
faddp st(1)
fst dword [esp + 0x14]
fchs
fstp dword [esp]
push edx
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0xbc]
push ecx
call fcn.00599fc0
fld dword [esp + 0x20]
fcomp dword [0x6bda00]
add esp, 0x10
fnstsw ax
test ah, 1
je 0x468d2c
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
call dword [edx + 0x6c]
fstp dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x6c]
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x468413
mov ecx, dword [esp + 0x18]
fstp st(0)
mov dword [esp + 0x7c], ecx
jmp 0x468417
fstp dword [esp + 0x7c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esi + 0x10]
push esi
call fcn.00468d40
test al, al
je 0x46843f
fld dword [0x6a93ac]
fmul dword [esp + 0x7c]
fstp dword [esp + 0x7c]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
call dword [edx + 0x58]
fstp dword [esp + 0x1c]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x58]
fstp dword [esp + 0x18]
fld dword [esp + 0x7c]
mov ecx, dword [esi + 0xc]
fadd dword [0x6bda18]
mov edx, dword [ecx]
fmul dword [esp + 0x10]
fchs
fstp dword [esp + 0x5c]
call dword [edx + 0x5c]
mov edi, eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1b8]
push edx
call fcn.0059a0e0
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x1e0]
push edi
push ecx
call fcn.00598540
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1ec]
push eax
lea ecx, [esp + 0x170]
push ecx
call fcn.0059a0e0
fld dword [esp + 0x3c]
fadd dword [esp + 0x40]
mov ecx, dword [esi + 0x10]
fld dword [esp + 0x174]
mov edx, dword [ecx]
fmul dword [esp + 0xa4]
add esp, 0x24
faddp st(1)
fld dword [esp + 0x158]
fmul dword [esp + 0x88]
faddp st(1)
fld dword [esp + 0x154]
fmul dword [esp + 0x84]
faddp st(1)
fstp dword [esp + 0x10]
call dword [edx + 0x5c]
mov edi, eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1f8]
push edx
call fcn.0059a0e0
lea eax, [esp + 0x1fc]
push eax
lea ecx, [esp + 0x220]
push edi
push ecx
call fcn.00598540
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x190]
push ecx
call fcn.0059a0e0
fld dword [esp + 0x194]
fmul dword [esp + 0xa4]
add esp, 0x24
fld dword [esp + 0x178]
fmul dword [esp + 0x88]
faddp st(1)
fld dword [esp + 0x174]
fmul dword [esp + 0x84]
faddp st(1)
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x1c]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4685a0
fld dword [esp + 0x1c]
jmp 0x4685a4
fld dword [esp + 0x18]
fdivr dword [0x6f2274]
fld dword [esp + 0x5c]
fdiv dword [esp + 0x10]
fst dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4685c5
fstp dword [esp + 0x14]
jmp 0x4685c7
fstp st(0)
fld dword [esp + 0x80]
mov ecx, dword [esi + 0x10]
fmul dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x94]
fstp dword [esp + 0x94]
push eax
fld dword [esp + 0x8c]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x9c]
fld dword [esp + 0x90]
fmul dword [esp + 0x1c]
fstp dword [esp + 0xa0]
mov edx, dword [ecx]
call dword [edx + 0x48]
fstp dword [esp + 0x10]
fld dword [esp + 0x90]
lea eax, [esp + 0x30]
fchs
push eax
fld dword [esp + 0x98]
lea eax, [esp + 0x94]
fchs
push eax
fld dword [esp + 0xa0]
fchs
fstp dword [esp + 0x240]
mov ecx, dword [esp + 0x240]
fxch st(1)
mov dword [esp + 0xa0], ecx
mov ecx, dword [esi + 0xc]
fstp dword [esp + 0x98]
fstp dword [esp + 0x9c]
mov edx, dword [ecx]
call dword [edx + 0x48]
fcom dword [0x6be030]
fnstsw ax
test ah, 0x44
jnp 0x468d2a
fld dword [esp + 0x10]
fcomp dword [0x6be030]
fnstsw ax
test ah, 0x44
jnp 0x468d2a
fcom dword [0x6bda00]
mov dword [esp + 0x5c], 1
fnstsw ax
test ah, 5
jp 0x4686aa
fchs
jmp 0x4686cf
fld dword [esp + 0x10]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 5
jp 0x4686c7
fld dword [esp + 0x10]
fchs
fstp dword [esp + 0x10]
jmp 0x4686cf
mov dword [esp + 0x5c], 0
fcom dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x4686e3
fstp dword [esp + 0xa8]
jmp 0x4686f0
mov ecx, dword [esp + 0x10]
fstp st(0)
mov dword [esp + 0xa8], ecx
fld dword [esp + 0xa8]
mov ecx, dword [esi + 0xc]
fmul dword [esp + 0x14]
mov edx, dword [ecx]
fstp dword [esp + 0x10]
call dword [edx + 0x70]
mov ecx, dword [esi + 0x10]
fstp dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x70]
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x46872a
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ecx
jmp 0x46872e
fst dword [esp + 0x78]
fld dword [esp + 0x1c]
xor bl, bl
fcomp dword [0x6bda00]
xor edi, edi
fnstsw ax
test ah, 0x44
jp 0x468774
fcomp dword [0x6bda10]
fnstsw ax
test ah, 0x44
jp 0x468776
mov ecx, dword [esi + 0x10]
mov al, byte [ecx + 0x15]
test al, al
jne 0x468776
mov edx, dword [ecx]
call dword [edx + 0x14]
fld dword [eax + 0x28]
fcomp dword [0x6bdc64]
fnstsw ax
test ah, 0x41
jne 0x468776
mov edi, dword [esi + 0x10]
jmp 0x4687ba
fstp st(0)
fld dword [esp + 0x18]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x44
jp 0x4687c4
fld dword [esp + 0x14]
fcomp dword [0x6bda10]
fnstsw ax
test ah, 0x44
jp 0x4687c4
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x15]
test al, al
jne 0x4687c4
mov eax, dword [ecx]
call dword [eax + 0x14]
fld dword [eax + 0x28]
fcomp dword [0x6bdc64]
fnstsw ax
test ah, 0x41
jne 0x4687c4
mov edi, dword [esi + 0xc]
mov dword [esp + 0x78], 0x3dcccccd
mov bl, 1
fld dword [esp + 0xb8]
fmul dword [esp + 0xb8]
fld dword [esp + 0xb4]
fmul dword [esp + 0xb4]
faddp st(1)
fld dword [esp + 0xb0]
fmul dword [esp + 0xb0]
faddp st(1)
fsqrt
fstp dword [esp + 0x18]
fld dword [esp + 0x78]
fmul dword [esp + 0x10]
fld dword [esp + 0x18]
fcomp dword [0x6f2280]
fnstsw ax
test ah, 5
jp 0x46881b
fdiv dword [0x6f2280]
fmul dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp dword [0x6bdcb0]
fnstsw ax
test ah, 0x41
jne 0x46886a
fld dword [0x6bdaf8]
fdiv dword [esp + 0x18]
fmulp st(1)
fld dword [esp + 0xb0]
fmul st(1)
fstp dword [esp + 0xc0]
fld dword [esp + 0xb4]
fmul st(1)
fstp dword [esp + 0xc4]
fld dword [esp + 0xb8]
fmul st(1)
fstp dword [esp + 0xc8]
jmp 0x46888b
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov eax, dword [esp + 0xac]
fstp st(0)
fld dword [esp + 0x80]
fmul dword [esp + 0x10]
fstp dword [esp + 0x90]
fld dword [esp + 0x84]
fmul dword [esp + 0x10]
fstp dword [esp + 0x94]
fld dword [esp + 0x88]
fmul dword [esp + 0x10]
fstp dword [esp + 0x98]
call fcn.00463000
test al, al
fld dword [esp + 0xc8]
je 0x4688e0
fmul dword [0x6a93bc]
test bl, bl
fld dword [esp + 0xc0]
fadd dword [esp + 0x90]
fstp dword [esp + 0x40]
fld dword [esp + 0xc4]
fadd dword [esp + 0x94]
fstp dword [esp + 0x44]
fld dword [esp + 0x98]
fadd st(1)
fstp dword [esp + 0x48]
fstp st(0)
fld dword [esp + 0x40]
fchs
fstp dword [esp + 0x60]
fld dword [esp + 0x44]
fchs
fstp dword [esp + 0x64]
fld dword [esp + 0x48]
fchs
fstp dword [esp + 0x68]
je 0x468aef
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
fld dword [eax + 4]
fld dword [eax + 8]
mov ecx, dword [eax]
fld st(0)
mov dword [esp + 0xf0], ecx
fmulp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fld dword [esp + 0xf0]
fmul dword [esp + 0xf0]
faddp st(1)
fsqrt
fst dword [esp + 0x14]
fcomp dword [0x6bdd28]
fnstsw ax
test ah, 0x41
jne 0x468aed
fld dword [0x6a93b4]
fchs
fld dword [esp + 0x14]
fmul st(1)
fld dword [0x6a93b0]
fchs
fcompp
fnstsw ax
test ah, 0x41
jne 0x4689b1
fstp st(0)
fld dword [0x6bdaf8]
fdiv dword [esp + 0x14]
fmul dword [0x6a93b0]
fld dword [esp + 0xf0]
fmul st(1)
fstp dword [esp + 0xf0]
fmulp st(1)
fld dword [esp + 0x1c]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x44
jp 0x468a67
fld dword [esp + 0x48]
mov edx, dword [esp + 0x48]
fmul dword [esp + 0x48]
mov dword [esp + 0x48], edx
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
faddp st(1)
fsqrt
fstp dword [esp + 0x10]
fld dword [esp + 0xf0]
fadd dword [esp + 0x40]
fstp dword [esp + 0x40]
fadd dword [esp + 0x44]
fstp dword [esp + 0x44]
fld dword [esp + 0x10]
fadd dword [esp + 0x14]
fcomp dword [0x6bda18]
fnstsw ax
test ah, 0x41
jne 0x468aef
fld dword [esp + 0x14]
fdiv dword [0x6a93b8]
fadd dword [esp + 0x10]
fdivr dword [esp + 0x10]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x28]
jmp 0x468aed
fld dword [esp + 0x68]
mov eax, dword [esp + 0x68]
fmul dword [esp + 0x68]
mov dword [esp + 0x68], eax
fld dword [esp + 0x64]
fmul dword [esp + 0x64]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x60]
faddp st(1)
fsqrt
fstp dword [esp + 0x10]
fld dword [esp + 0xf0]
fadd dword [esp + 0x60]
fstp dword [esp + 0x60]
fadd dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x10]
fadd dword [esp + 0x14]
fcomp dword [0x6bda18]
fnstsw ax
test ah, 0x41
jne 0x468aef
fld dword [esp + 0x14]
fdiv dword [0x6a93b8]
fadd dword [esp + 0x10]
fdivr dword [esp + 0x10]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fstp st(0)
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0xac]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0xd8]
push eax
push edi
call fcn.00462320
mov eax, dword [edi + 0x10]
test eax, eax
je 0x468c49
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x19c], ecx
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x468bb4
mov eax, dword [eax + 0x140]
cmp dword [eax + 0x3cc], 4
jne 0x468bb4
fld dword [eax + 0xb0]
fld dword [eax + 0xb4]
fld dword [eax + 0xb8]
fst dword [esp + 0x108]
fmul dword [esp + 0x38]
fld st(1)
fmul dword [esp + 0x34]
faddp st(1)
fld st(2)
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x10]
fxch st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x120]
fmul dword [esp + 0x10]
fld dword [esp + 0x108]
fmul dword [esp + 0x10]
fld dword [esp + 0x30]
fsub dword [esp + 0x120]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fsub st(2)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fsub st(1)
fstp dword [esp + 0x38]
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x19c]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x468c49
mov eax, dword [eax + 0x140]
cmp dword [eax + 0x3cc], 4
jne 0x468c49
fld dword [eax + 0xb0]
fld dword [eax + 0xb4]
fld dword [eax + 0xb8]
fst dword [esp + 0x108]
fmul dword [esp + 0x28]
fld st(1)
fmul dword [esp + 0x24]
faddp st(1)
fld st(2)
fmul dword [esp + 0x20]
faddp st(1)
fstp dword [esp + 0x10]
fxch st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x120]
fmul dword [esp + 0x10]
fld dword [esp + 0x108]
fmul dword [esp + 0x10]
fld dword [esp + 0x20]
fsub dword [esp + 0x120]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fsub st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fsub st(1)
fstp dword [esp + 0x28]
fstp st(0)
fstp st(0)
mov eax, dword [esi + 0xc]
mov dl, byte [eax + 0x15]
xor edi, edi
test dl, dl
jne 0x468c6c
mov ecx, dword [esi + 0x10]
cmp byte [ecx + 0x15], 1
jne 0x468c6c
mov ebx, dword [ecx + 0x130]
test ebx, ebx
jle 0x468c6c
mov edi, eax
jmp 0x468c87
mov ecx, dword [esi + 0x10]
mov bl, byte [ecx + 0x15]
test bl, bl
jne 0x468c87
cmp dl, 1
jne 0x468c87
mov edx, dword [eax + 0x130]
test edx, edx
jle 0x468c87
mov edi, ecx
cmp eax, edi
jne 0x468cb6
fld dword [esp + 0x68]
fmul dword [0x6a93c0]
fld dword [0x6bda00]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x468cb0
fstp st(0)
mov dword [esp + 0x68], 0
jmp 0x468ce3
fstp dword [esp + 0x68]
jmp 0x468ce3
cmp ecx, edi
jne 0x468ce3
fld dword [esp + 0x48]
fmul dword [0x6a93c0]
fld dword [0x6bda00]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x468cdf
fstp st(0)
mov dword [esp + 0x48], 0
jmp 0x468ce3
fstp dword [esp + 0x48]
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x44]
push eax
call dword [edx + 0x4c]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x64]
push eax
call dword [edx + 0x4c]
fld dword [esp + 0xa8]
fcomp dword [0x6bda18]
fnstsw ax
test ah, 0x44
jnp 0x468d2c
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x468250
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
pop edi
pop ebx
mov esp, ebp
pop ebp
ret