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

Disassembly:
mov eax, dword [0xb6f03c]
sub esp, 0x54
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x712345
add eax, 0x30
jmp 0x71234a
mov eax, 0xb6f02c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
mov eax, dword [0xb72914]
test eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jne 0x712632
mov ecx, dword [0xc6a8a4]
cmp ecx, 6
jge 0x712632
mov al, byte [0xb70153]
cmp al, 0x16
jae 0x712632
cmp al, 5
jbe 0x712632
mov edx, dword [0xb7cb4c]
and edx, 0x1ff
cmp edx, 6
jne 0x712632
mov eax, 7
sub eax, ecx
push eax
push 1
call fcn.00407180
fld dword [0xb6f10c]
fcomp dword [0x858ca4]
mov esi, eax
add esp, 8
fnstsw ax
test ah, 5
jp 0x7123cf
xor ebx, ebx
jmp 0x7123f1
cmp word [0xc81314], 4
jne 0x712426
mov edx, dword [0xc6a8a4]
mov eax, 3
sub eax, edx
cmp esi, eax
mov ebx, 1
jl 0x7123f1
mov esi, eax
test esi, esi
jle 0x712632
call fcn.00821b1e
call fcn.00821b1e
mov eax, ebx
sub eax, 0
je 0x712446
dec eax
je 0x71242d
push 0x41200000
push 0x40000000
call fcn.0041bd90
mov dword [esp + 0x18], 0x42200000
jmp 0x71245d
mov ebx, 2
jmp 0x7123f1
push 0x41c80000
push 0x41700000
call fcn.0041bd90
mov dword [esp + 0x18], 0x42a00000
jmp 0x71245d
push 0x41500000
push 0x40800000
call fcn.0041bd90
mov dword [esp + 0x18], 0x42340000
fadd dword [esp + 0x38]
add esp, 8
fst dword [esp + 0x14]
fcomp dword [0x858c80]
fnstsw ax
test ah, 0x41
jne 0x712632
call fcn.00821b1e
test al, 1
je 0x71249f
call fcn.00821b1e
and eax, 0xff
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x859c44]
jmp 0x712523
mov ecx, dword [0xb6f9ac]
mov eax, dword [0xb6f9b4]
mov edx, dword [0xb6f9b0]
mov dword [esp + 0x34], ecx
fld dword [esp + 0x34]
fcomp dword [0x858b50]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0
fnstsw ax
test ah, 0x44
jp 0x7124dd
mov dword [esp + 0x34], 0x3c23d70a
lea ecx, [esp + 0x34]
call fcn.0059c910
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
call fcn.00821b1e
and eax, 0xff
sub eax, 0x80
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x859aa0]
fld dword [esp + 0x1c]
fld dword [esp + 0x20]
fpatan
fxch st(1)
fxch st(1)
faddp st(1)
fld st(0)
mov eax, dword [esp + 0x14]
fsin
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
mov edx, eax
push edx
mov dword [esp + 0x64], eax
fmul dword [esp + 0x20]
fadd dword [esp + 0x38]
fstp dword [esp + 0x5c]
mov ebp, dword [esp + 0x5c]
fcos
fmul dword [esp + 0x20]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x60]
mov edi, dword [esp + 0x60]
push edi
push ebp
call fcn.006e8580
add esp, 0x18
test al, al
je 0x712584
fld dword [esp + 0x24]
fadd dword [0x858b90]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x712632
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov ecx, dword [0xb6f9b0]
mov dword [esp + 0x3c], edx
mov edx, dword [0xb6f9b4]
mov dword [esp + 0x34], eax
mov eax, dword [0xb6f9ac]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0
call fcn.0059c910
fld dword [esp + 0x40]
fmul dword [0x859000]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x44]
push 1
fmul dword [0x859000]
push ebx
fxch st(1)
push esi
fadd dword [esp + 0x34]
mov dword [esp + 0x48], eax
sub esp, 0xc
mov ecx, esp
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
fld dword [esp + 0x50]
mov dword [ecx], edx
mov edx, dword [esp + 0x54]
fadd st(1)
sub esp, 0xc
fstp dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
fstp st(0)
mov ecx, dword [esp + 0x78]
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
call fcn.00711ef0
add esp, 0x24
mov eax, dword [0xb7cb4c]
xor edx, edx
mov ecx, 6
div ecx
imul edx, edx, 0x44
cmp byte [edx + 0xc6a8ef], 1
jne 0x712695
fld dword [edx + 0xc6a8b4]
fsub dword [esp + 0x2c]
fld dword [edx + 0xc6a8b0]
fsub dword [esp + 0x28]
fld dword [edx + 0xc6a8e4]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fld st(1)
fmul st(2)
fcompp
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 5
fstp st(0)
jp 0x712695
mov eax, dword [0xc6a8a4]
dec eax
mov byte [edx + 0xc6a8ef], 0
mov dword [0xc6a8a4], eax
mov edx, dword [0xb7cb84]
mov ecx, 0xc6a8c4
cmp byte [ecx + 0x2b], 1
jne 0x7127f3
movzx eax, byte [ecx + 0x24]
dec eax
jne 0x7127f3
cmp edx, dword [ecx + 0x14]
jbe 0x7127f3
mov al, byte [ecx + 0x2c]
test al, al
je 0x7126fd
fld dword [0xb7cb5c]
fmul dword [0x858f44]
fld dword [ecx + 4]
fld dword [ecx + 8]
fld st(2)
fsin
fxch st(3)
fcos
fld st(0)
fmul st(3)
fld st(4)
fmul st(3)
faddp st(1)
fstp dword [ecx + 4]
fmul st(1)
fxch st(3)
fmul st(2)
fsubp st(3)
fxch st(2)
fstp dword [ecx + 8]
fstp st(1)
fstp st(0)
fld dword [0xb7cb5c]
lea eax, [ecx + 4]
fmul dword [0x858b38]
mov esi, dword [eax]
fld dword [0x858b8c]
mov dword [esp + 0x34], esi
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
fmul st(1)
fld dword [0x858624]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x71273f
fstp st(0)
fld dword [0x858624]
fld dword [esp + 0x34]
lea eax, [ecx - 8]
fmul st(1)
mov esi, eax
fld dword [esp + 0x38]
fmul st(2)
fstp dword [esp + 0x2c]
fld dword [esp + 0x3c]
fmul st(2)
fstp dword [esp + 0x30]
fld dword [0x858624]
fsub st(2)
fld st(0)
fmul dword [eax]
fstp dword [esp + 0x4c]
fld st(0)
fmul dword [ecx - 4]
fstp dword [esp + 0x50]
fmul dword [ecx]
fstp dword [esp + 0x54]
fld dword [esp + 0x4c]
fadd st(1)
fstp dword [esp + 0x40]
mov edi, dword [esp + 0x40]
mov dword [esi], edi
fstp st(0)
fstp st(0)
fld dword [esp + 0x50]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x44]
fld dword [esp + 0x54]
mov edi, dword [esp + 0x44]
fadd dword [esp + 0x30]
mov dword [esi + 4], edi
fstp dword [esp + 0x48]
mov edi, dword [esp + 0x48]
fld st(0)
mov dword [esi + 8], edi
fmul dword [eax]
fld st(1)
fmul dword [ecx - 4]
fstp dword [esp + 0x5c]
fxch st(1)
fmul dword [ecx]
fstp dword [esp + 0x60]
fadd dword [ecx - 0x14]
fstp dword [ecx - 0x14]
fld dword [esp + 0x5c]
fadd dword [ecx - 0x10]
fstp dword [ecx - 0x10]
fld dword [esp + 0x60]
fadd dword [ecx - 0xc]
fstp dword [ecx - 0xc]
fld dword [esp + 0x34]
fld dword [esp + 0x38]
fpatan
fstp dword [ecx + 0x10]
add ecx, 0x44
cmp ecx, 0xc6aa5c
jl 0x7126a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret