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

Disassembly:
sub esp, 0x6c
push esi
mov esi, ecx
mov ecx, dword [esi + 0x4c8]
test ecx, ecx
je 0x6e03f6
push esi
push 1
lea edx, [esp + 0x24]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, dword [ecx]
push edx
call dword [eax + 0xec]
test al, al
je 0x6e03f6
mov ecx, dword [esi + 0x4c8]
mov eax, dword [esi]
push ecx
push 1
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call dword [eax + 0xf0]
test al, al
je 0x6e03f6
fld dword [esp + 0x1c]
mov ax, word [esi + 0x22]
cmp ax, 0x20d
fsub dword [esp + 0x10]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fsub dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fsub dword [esp + 0x18]
fstp dword [esp + 0x30]
je 0x6e0100
cmp ax, 0x213
jne 0x6e0119
movzx ecx, word [0x8d313c]
movzx eax, word [esi + 0x86c]
sub ecx, 0x64
cmp eax, ecx
jg 0x6e03f6
mov ecx, dword [esi + 0x4c8]
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x6e012b
add eax, 0x30
jmp 0x6e012e
lea eax, [ecx + 4]
fld dword [esp + 0x1c]
fsub dword [eax]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fsub dword [eax + 4]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fsub dword [eax + 8]
mov eax, dword [esi + 0x14]
test eax, eax
fstp dword [esp + 0x24]
je 0x6e015a
add eax, 0x30
jmp 0x6e015d
lea eax, [esi + 4]
fld dword [esp + 0x10]
sub esp, 0xc
fsub dword [eax]
mov edx, esp
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fsub dword [eax + 4]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fsub dword [eax + 8]
mov eax, dword [esp + 0x28]
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 4], eax
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
lea edx, [esp + 0x4c]
push edx
call fcn.00542ce0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
lea edx, [esp + 0x58]
mov dword [eax + 8], ecx
push edx
mov ecx, esi
call fcn.00542ce0
fld dword [esp + 0x40]
fsub dword [esp + 0x4c]
mov al, byte [esp + 0x74]
test al, al
fstp dword [esp + 4]
fld dword [esp + 0x44]
fsub dword [esp + 0x50]
fstp dword [esp + 8]
fld dword [esp + 0x48]
fsub dword [esp + 0x54]
fstp dword [esp + 0xc]
jne 0x6e0293
mov eax, dword [esi + 0x4c8]
fld dword [eax + 0x8c]
mov al, byte [esp + 0x78]
test al, al
fadd dword [esi + 0x8c]
fdivr dword [esi + 0x8c]
fsubr dword [0x858624]
fmul dword [0x871df8]
fld dword [esp + 4]
fmul st(1)
fstp dword [esp + 4]
fld dword [esp + 8]
fmul st(1)
fstp dword [esp + 8]
fld dword [esp + 0xc]
fmul st(1)
fstp dword [esp + 0xc]
fstp st(0)
je 0x6e0293
mov ecx, dword [0xb7cb5c]
push ecx
push 0x3f800000
call fcn.00420800
fstp dword [esp + 4]
mov eax, dword [0x871dfc]
add esp, 4
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.0040fe90
add esp, 0xc
push eax
lea edx, [esp + 0x30]
push edx
call fcn.004119d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
add esp, 0xc
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x4c8]
cmp dword [eax + 0x594], 0xb
jne 0x6e02e8
cmp dword [eax + 0x9ec], 0xc47a0000
jne 0x6e02e8
mov eax, dword [eax + 0x14]
fld dword [esp + 0xc]
fmul dword [eax + 0x28]
add eax, 0x20
fld dword [esp + 8]
push eax
fmul dword [eax + 4]
push ecx
lea ecx, [esp + 0x6c]
faddp st(1)
fld dword [esp + 0xc]
fmul dword [eax]
faddp st(1)
fstp dword [esp]
push ecx
call fcn.0040fe90
add esp, 0xc
push eax
lea ecx, [esp + 8]
call fcn.00406d70
mov eax, dword [esi + 0x14]
lea edx, [esi + 0xa4]
push edx
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.0059c790
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
add esp, 0xc
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.0059c910
fld dword [esp + 0x10]
fsub dword [esp + 0x58]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x2c]
fstp dword [esp + 0x2c]
push eax
fld dword [esp + 0x1c]
lea ecx, [esp + 0x6c]
fsub dword [esp + 0x64]
push ecx
fstp dword [esp + 0x38]
fld dword [esp + 0x24]
fsub dword [esp + 0x6c]
fstp dword [esp + 0x3c]
call fcn.0059c730
fld dword [eax + 8]
fld dword [eax + 4]
mov ecx, dword [esp + 0x20]
fld dword [eax]
mov eax, dword [esp + 0x1c]
fld st(0)
add esp, 0xc
fmul st(1)
push 1
fld st(2)
sub esp, 0xc
fmul st(3)
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x28]
faddp st(1)
mov dword [edx + 4], ecx
fld st(3)
mov dword [edx + 8], eax
fmul st(4)
sub esp, 0xc
mov ecx, esp
faddp st(1)
fdiv dword [esi + 0x90]
fld dword [0x858624]
fdiv dword [esi + 0x8c]
faddp st(1)
fdivr dword [0x858624]
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
fld dword [esp + 0x24]
mov dword [ecx], edx
fmul st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x4c]
fstp st(0)
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, esi
call fcn.00542b50
mov byte [esi + 0xb8], 0
pop esi
add esp, 0x6c
ret 8