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

Disassembly:
push 0xffffffffffffffff
push 0x69f650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push edi
mov edi, ecx
call fcn.00471090
cmp eax, 2
mov dword [esp + 0x1c], eax
jge 0x471601
pop edi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x18
lea ecx, [esp + 0x34]
call fcn.00575430
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0
call fcn.00575430
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x64]
push eax
mov eax, dword [esp + 0x68]
push ecx
push edx
push eax
push 0
push 0
mov byte [esp + 0x6c], 1
call fcn.00465fb0
add esp, 0x18
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, edi
call fcn.004714c0
fld dword [esp + 0x60]
fadd dword [esp + 0x68]
push ecx
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov edx, dword [esp + 0x14]
fstp dword [esp]
fld dword [esp + 0x60]
fadd dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x1c]
fstp dword [esp]
push ebx
push ebp
push ecx
push edx
call fcn.004aedc0
fcomp dword [esp + 0x24]
add esp, 0x18
fnstsw ax
test ah, 0x41
jne 0x4716ca
lea ecx, [esp + 0x40]
mov byte [esp + 0x54], 0
call fcn.00470ab0
lea ecx, [esp + 0x34]
mov dword [esp + 0x54], 0xffffffff
call fcn.00470ab0
pop edi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x18
fld dword [esp + 0xc]
fadd st(0), st(0)
push esi
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
fstp dword [esp + 0x1c]
fld dword [esp + 0x70]
fadd dword [esp + 0x78]
push ecx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
fstp dword [esp]
fld dword [esp + 0x70]
fadd dword [esp + 0x78]
push ecx
fstp dword [esp]
push ebx
push ebp
push edx
push eax
call fcn.00466020
fld dword [esp + 0x34]
fmul dword [esp + 0x8c]
fld dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov esi, 1
fsub st(1)
add esp, 0x24
cmp eax, esi
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fmul dword [esp + 0x6c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fsub dword [esp + 0x1c]
fstp dword [esp + 0x28]
fadd dword [esp + 0x14]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fadd dword [esp + 0x18]
fstp dword [esp + 0x1c]
jle 0x4717e1
mov ecx, dword [edi + 0x18]
lea ebx, [esp + 0x18]
push 0
push ebx
lea ebx, [esp + 0x1c]
mov edx, dword [ecx + esi*4]
push ebx
mov ebx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x34]
mov edx, dword [edx]
lea eax, [ecx + esi*4]
mov ecx, dword [edi + 0xc]
push ebx
mov ebx, dword [esp + 0x3c]
mov eax, dword [eax - 4]
mov ebp, dword [ecx + esi*4]
lea ecx, [ecx + esi*4]
mov eax, dword [eax]
push ebx
mov ebx, dword [esp + 0x44]
mov ecx, dword [ecx - 4]
push ebx
push edx
mov edx, dword [ebp]
mov ecx, dword [ecx]
push edx
push eax
push ecx
call fcn.004660f0
add esp, 0x2c
test al, al
je 0x4717d0
lea edx, [esp + 0x14]
push 1
push edx
lea ecx, [esp + 0x40]
call fcn.00687a50
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x4c]
call fcn.00687a50
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x47175f
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0x3c]
xor esi, esi
test eax, eax
jle 0x47190b
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + esi*4]
mov ecx, dword [edx + esi*4]
lea edx, [esp + 0x34]
mov eax, dword [eax]
mov ecx, dword [ecx]
push edx
lea edx, [esp + 0x34]
push edx
push eax
push ecx
push ebx
push ebp
call fcn.00465fb0
fld dword [esp + 0x48]
fmul dword [esp + 0x80]
add esp, 0x18
fcomp dword [0x6c8a88]
fnstsw ax
test ah, 1
jne 0x471844
fld dword [esp + 0x34]
fmul dword [esp + 0x6c]
fcomp dword [0x6c8a88]
fnstsw ax
test ah, 1
je 0x47185d
push 1
push esi
lea ecx, [esp + 0x40]
call fcn.00491160
push 1
push esi
lea ecx, [esp + 0x4c]
call fcn.00491160
dec esi
mov eax, dword [esp + 0x3c]
inc esi
cmp esi, eax
jl 0x4717ef
test eax, eax
jle 0x47190b
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
push ebx
push ebp
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x78]
mov dword [ecx], edx
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx]
mov dword [esi], edx
mov ecx, dword [ecx]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov edx, dword [eax]
push ecx
push edx
call fcn.004ae4f0
mov eax, dword [esp + 0x4c]
mov esi, 1
fstp dword [esp + 0x74]
add esp, 0x10
cmp eax, esi
jle 0x47190b
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + esi*4]
mov ecx, dword [ecx + esi*4]
push ebx
push ebp
mov eax, dword [eax]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.004ae4f0
fst dword [esp + 0x20]
fcomp dword [esp + 0x74]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
add esp, 0x10
fnstsw ax
test ah, 1
je 0x471902
mov eax, dword [ecx + esi*4]
mov edi, dword [esp + 0x70]
mov eax, dword [eax]
mov dword [edi], eax
mov eax, dword [edx + esi*4]
mov edi, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
inc esi
cmp esi, eax
jl 0x4718b7
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00691930
lea ecx, [esp + 0x38]
call fcn.005758b0
lea ecx, [esp + 0x44]
call fcn.00691930
lea ecx, [esp + 0x44]
call fcn.005758b0
test esi, esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], 0
setg bl
call fcn.00470ab0
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], 0xffffffff
call fcn.00470ab0
mov ecx, dword [esp + 0x50]
pop esi
pop edi
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x18