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

Disassembly:
mov eax, dword [0x5bcccc]
sub esp, 0x644
cmp eax, 2
mov edx, 1
je 0x4a324d
cmp eax, edx
jne 0x4a37ac
fld dword [ecx + 8]
cmp eax, edx
mov eax, dword [ecx + 4]
sete byte [esp + 3]
cmp eax, 2
jne 0x4a3269
fsubr qword [0x552510]
fchs
jmp 0x4a326f
fsubr qword [0x552510]
fld dword [0x576cc0]
fadd dword [0x576cc4]
push ebx
push ebp
push esi
push edi
fmul qword [0x552540]
lea ebp, [ecx + 0xc]
mov dword [esp + 0x40], 4
fstp dword [esp + 0x24]
fld dword [0x576cc4]
fsub dword [0x576cc0]
fsub qword [0x55d3f0]
fmul qword [0x552540]
fstp dword [esp + 0x18]
fld dword [0x576cd0]
fadd st(1)
fstp dword [esp + 0x1c]
fld dword [0x576cd4]
fadd st(1)
fstp dword [esp + 0x14]
fstp st(0)
mov eax, dword [ebp]
test eax, eax
je 0x4a3796
mov ecx, dword [0x5bec1c]
mov bl, 1
cmp eax, ecx
jne 0x4a32f3
mov dword [esp + 0x20], 2
mov dword [esp + 0x28], 0
jmp 0x4a3325
cmp eax, dword [0x5bec18]
jne 0x4a3305
mov dword [esp + 0x28], 0
jmp 0x4a3321
cmp eax, dword [0x5bec14]
jne 0x4a3317
mov dword [esp + 0x28], 0x3c23d70a
jmp 0x4a3321
mov dword [esp + 0x28], 0x3be56042
xor bl, bl
mov dword [esp + 0x20], edx
lea ecx, [esp + 0xb8]
call fcn.0046ed10
mov eax, dword [ebp]
push 0
push eax
lea ecx, [esp + 0xc0]
call fcn.0046fa40
lea ecx, [esp + 0x9c]
call fcn.004699d0
lea ecx, [esp + 0x9c]
push 0
push ecx
lea ecx, [esp + 0x178]
call fcn.0046b750
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0xa4], 0x41600000
mov dword [esp + 0xa8], 0x41600000
mov dword [esp + 0x30], edx
call fcn.005220a0
lea ecx, [esp + 0x174]
push eax
push ecx
call fcn.0046b8d0
add esp, 0xc
test bl, bl
je 0x4a3594
mov al, byte [esp + 0x13]
test al, al
je 0x4a347f
fild dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
sub esp, 8
mov eax, edx
mov dword [esp + 0x4c], edx
fmul dword [esp + 0x20]
mov dword [esp + 0xcc], eax
fadd st(0), st(0)
fadd dword [esp + 0x24]
fstp dword [esp + 0x38]
fld dword [esp + 0x20]
fadd dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0xd4], edx
fstp dword [esp + 0x3c]
fld dword [esp + 0x2c]
fsub dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xd8], eax
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fadd dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xd0], ecx
lea ecx, [esp + 0x8c]
fstp dword [esp + 4]
fld dword [esp + 0x38]
fadd dword [esp + 0x24]
fstp dword [esp]
call fcn.0045e750
fld dword [esp + 0x88]
fmul dword [0x55244c]
sub esp, 8
lea ecx, [esp + 0x9c]
fstp dword [esp + 4]
fld dword [esp + 0x8c]
fmul dword [0x55244c]
fstp dword [esp]
call fcn.0045e750
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], edx
fild dword [esp + 0x20]
mov ecx, dword [esp + 0x9c]
xor eax, eax
fmul dword [esp + 0x18]
mov edx, dword [ecx + 4]
test edx, edx
fadd st(0), st(0)
fadd dword [esp + 0x28]
fadd dword [esp + 0x1c]
fst dword [esp + 0x1c]
ja 0x4a34aa
mov eax, 0x1c
mov ecx, dword [ecx + 8]
lea eax, [eax + eax*4]
lea edi, [esp + 0x148]
mov dword [esp + 0x8c], 0
lea esi, [ecx + eax*8]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x7c]
fld dword [esp + 0x24]
mov edx, dword [esp + 0x160]
mov eax, dword [esp + 0x164]
mov esi, dword [esp + 0x16c]
add eax, edx
add eax, esi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x170]
fild dword [esp + 0x2c]
lea edx, [esp + 0x7c]
push ecx
push edx
lea ecx, [esp + 0x178]
fmul dword [esp + 0xac]
mov dword [esp + 0x98], 0
fmul dword [0x55c0d0]
fmul qword [0x552540]
fsubp st(1)
fstp dword [esp + 0x88]
call dword [eax + 8]
mov ecx, dword [esp + 0x17c]
mov edx, dword [esp + 0x180]
mov dword [esp + 0x54], ecx
mov eax, ecx
mov dword [esp + 0x58], edx
mov ecx, edx
lea edx, [esp + 0x1b4]
mov dword [esp + 0x5c0], ecx
mov ecx, dword [esp + 0x5b8]
push edx
mov dword [esp + 0x5cc], 8
mov dword [esp + 0x5c0], eax
call fcn.00469af0
fadd dword [esp + 0x1c]
fadd dword [0x55d3ec]
fstp dword [esp + 0x1c]
jmp 0x4a3749
mov ecx, dword [esp + 0x5b8]
lea eax, [esp + 0x1b4]
push eax
call fcn.00469af0
mov ecx, dword [esp + 0x9c]
xor eax, eax
fsubr dword [esp + 0x14]
mov edx, dword [ecx + 4]
test edx, edx
fst dword [esp + 0x14]
ja 0x4a35c5
mov eax, 0x1c
lea edx, [eax + eax*4]
mov eax, dword [ecx + 8]
mov ecx, 0xa
lea edi, [esp + 0x120]
lea esi, [eax + edx*8]
lea eax, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x74]
fld dword [esp + 0x24]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov edi, dword [esp + 0x144]
add edx, ecx
add edx, edi
lea ecx, [esp + 0x74]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x170]
fild dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x178]
mov dword [esp + 0x74], 0
fmul dword [esp + 0xac]
mov dword [esp + 0x78], 0
fmul dword [0x55c0d0]
fmul qword [0x552540]
fsubp st(1)
fstp dword [esp + 0x80]
call dword [edx + 8]
fild dword [esp + 0x20]
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x180]
mov dword [esp + 0x5c], eax
mov edx, eax
fmul dword [esp + 0x18]
mov eax, ecx
mov dword [esp + 0x5c8], 8
mov dword [esp + 0x5c0], eax
mov al, byte [esp + 0x13]
fadd st(0), st(0)
fld dword [esp + 0x14]
fld dword [esp + 0x28]
fadd st(2)
test al, al
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5bc], edx
fsubp st(1)
fstp dword [esp + 0x14]
je 0x4a3739
fld dword [esp + 0x14]
fadd st(1)
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov edx, ecx
mov dword [esp + 0xc4], edx
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
fstp st(0)
fld dword [esp + 0x18]
fadd dword [esp + 0x24]
mov dword [esp + 0xcc], ecx
fstp dword [esp + 0x3c]
fld dword [esp + 0x24]
fsub dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xd0], edx
fstp dword [esp + 0x50]
fld dword [esp + 0x38]
fadd dword [esp + 0x14]
fld dword [esp + 0x50]
fadd dword [esp + 0x3c]
fxch st(1)
fmul dword [0x55244c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc8], eax
fstp dword [esp + 0x64]
mov eax, dword [esp + 0x64]
fmul dword [0x55244c]
fstp dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
jmp 0x4a373b
fstp st(0)
fld dword [esp + 0x14]
fsub dword [0x55d3ec]
fstp dword [esp + 0x14]
mov al, byte [esp + 0x13]
mov ecx, 0x5bcccc
test al, al
je 0x4a3760
lea edx, [esp + 0xb8]
push edx
jmp 0x4a3768
lea eax, [esp + 0x170]
push eax
call fcn.0046a270
lea ecx, [esp + 0x170]
call fcn.0046b810
lea ecx, [esp + 0x9c]
call fcn.00469a00
lea ecx, [esp + 0xb8]
call fcn.0046eda0
mov edx, 1
mov eax, dword [esp + 0x40]
add ebp, 4
dec eax
mov dword [esp + 0x40], eax
jne 0x4a32ca
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x644
ret