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

Disassembly:
sub esp, 0x5c
push edi
xor eax, eax
mov edi, ecx
mov al, byte [edi + 2]
not eax
test al, 4
jne 0x4a6c60
mov eax, dword [0x7a1974]
push ebx
push esi
xor esi, esi
cmp eax, esi
je 0x4a6c5e
mov ecx, dword [0x7b92a0]
mov edx, dword [ecx]
call dword [edx + 0xa8]
test al, al
je 0x4a6c5e
fld dword [0x78e574]
fcomp dword [0x73e798]
fnstsw ax
test ah, 5
jp 0x4a690a
mov eax, dword [0x78e574]
mov dword [esp + 0xc], eax
jmp 0x4a6912
mov dword [esp + 0xc], 0x3dcccccd
mov eax, dword [0x831e8c]
test al, 1
jne 0x4a6941
or eax, 1
mov dword [0x831e8c], eax
mov dword [0x831e80], 0
mov dword [0x831e84], 0
mov dword [0x831e88], 0
test al, 2
jne 0x4a696b
or eax, 2
mov dword [0x831e8c], eax
mov dword [0x831e74], 0
mov dword [0x831e78], 0
mov dword [0x831e7c], 0
test al, 4
jne 0x4a6995
or eax, 4
mov dword [0x831e8c], eax
mov dword [0x831e68], 0
mov dword [0x831e6c], 0
mov dword [0x831e70], 0
test al, 8
jne 0x4a69bf
or eax, 8
mov dword [0x831e8c], eax
mov dword [0x831e5c], 0
mov dword [0x831e60], 0
mov dword [0x831e64], 0
test al, 0x10
jne 0x4a69e9
or eax, 0x10
mov dword [0x831e8c], eax
mov dword [0x831e50], 0
mov dword [0x831e54], 0
mov dword [0x831e58], 0
mov ebx, dword [esp + 0x6c]
lea ecx, [ebx + 0x18]
push ecx
call fcn.004ab100
mov edx, dword [edi + 0x10]
mov eax, dword [0x831e44]
imul edx, edx, 0x54
add esp, 4
fld dword [edx + eax + 0x24]
mov dword [esp + 0x6c], 0x3f800000
fstp dword [esp + 0x18]
fcom dword [0x743264]
fnstsw ax
test ah, 0x41
jne 0x4a6a2d
fld dword [0x743264]
fdiv st(1)
fstp dword [esp + 0x6c]
mov eax, dword [edi + 0xc]
fstp st(0)
cmp eax, esi
mov dword [esp + 0x28], esi
jle 0x4a6c5e
push ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [edi + 0x3c]
mov edx, dword [esi + ecx]
lea eax, [esi + ecx]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov dword [0x831e58], edx
mov eax, dword [edi + 0x3c]
mov edx, dword [eax + esi + 0x10]
add eax, esi
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
fld dword [esp + 0x24]
mov dword [esp + 0x28], edx
fadd dword [esp + 0x14]
push 0x3f800000
push 0x831e50
lea eax, [esp + 0x5c]
fmul dword [0x73e9ac]
push eax
mov ecx, ebx
fstp dword [0x831e50]
fld dword [esp + 0x34]
fadd dword [esp + 0x24]
fmul dword [0x73e9ac]
fstp dword [0x831e54]
call fcn.004a5950
fld dword [esp + 0x70]
push ebp
fmul dword [eax]
push 0x831e50
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
fld dword [esp + 0x78]
fmul dword [eax + 4]
fstp dword [esp + 0x48]
fld dword [esp + 0x78]
mov edx, dword [esp + 0x48]
fmul dword [eax + 8]
mov dword [0x831e68], ecx
lea ecx, [esp + 0x68]
push ecx
fstp dword [esp + 0x50]
mov eax, dword [esp + 0x50]
mov ecx, ebx
mov dword [0x831e6c], edx
mov dword [0x831e70], eax
call fcn.004a6440
mov edx, dword [eax]
mov dword [0x831e5c], edx
mov ecx, dword [eax + 4]
mov dword [0x831e60], ecx
mov edx, dword [eax + 8]
mov dword [0x831e64], edx
mov eax, dword [edi + 0x3c]
fld dword [esi + eax + 0x24]
fld dword [esi + eax + 0x28]
mov dword [0x831e88], 0
fstp dword [esp + 0x20]
fld dword [esp + 0x14]
fsub st(1)
fstp dword [0x831e80]
fld dword [esp + 0x18]
fsub dword [esp + 0x20]
fstp dword [0x831e84]
fld dword [0x831e68]
fadd dword [0x831e80]
fld dword [0x831e6c]
fadd dword [0x831e84]
fld dword [0x831e70]
fstp dword [esp + 0x50]
fxch st(1)
fadd dword [0x831e5c]
fstp dword [esp + 0x30]
fld dword [0x831e60]
mov eax, dword [esp + 0x30]
fadd st(1)
mov dword [0x831e74], eax
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
fstp st(0)
mov dword [0x831e78], ecx
fld dword [0x831e64]
fadd dword [esp + 0x50]
fstp dword [esp + 0x38]
fld dword [esp + 0x30]
mov edx, dword [esp + 0x38]
fcomp dword [0x73d700]
mov dword [0x831e7c], edx
fnstsw ax
test ah, 0x44
jp 0x4a6be8
fld dword [esp + 0x34]
fcomp dword [0x73d700]
fnstsw ax
test ah, 0x44
jp 0x4a6be8
fld dword [esp + 0x38]
fcomp dword [0x73d700]
fnstsw ax
test ah, 0x44
jnp 0x4a6c44
fld dword [esp + 0x30]
mov eax, dword [edi + 0x3c]
fmul dword [0x7a1978]
fmul dword [esp + 0x1c]
fmul dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [0x7a1978]
fmul dword [esp + 0x1c]
fmul dword [esp + 0x10]
fadd dword [esp + 0x20]
fld st(1)
fstp dword [esi + eax + 0x24]
mov ecx, dword [edi + 0x3c]
fst dword [esi + ecx + 0x28]
mov edx, dword [edi + 0x3c]
fxch st(1)
fsub dword [esp + 0x14]
fadd dword [esp + 0x24]
fstp dword [esi + edx + 0x18]
mov eax, dword [edi + 0x3c]
fsub dword [esp + 0x18]
fadd dword [esp + 0x28]
fstp dword [esi + eax + 0x1c]
jmp 0x4a6c46
fstp st(0)
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
inc eax
add esi, 0x30
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x4a6a43
pop ebp
pop esi
pop ebx
pop edi
add esp, 0x5c
ret 4