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

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x70aca9
sub esp, 0xb0
mov dword [esp], 0x32
call fcn.005b47b0
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x70a5bf
mov dword [ebx + eax*4 - 4], ecx
mov esi, dword [esp + 0x64]
lea ecx, [esi + 1]
mov ebp, eax
mov eax, dword [esp + 0x50]
cmp ecx, eax
jge 0x70a635
mov dword [esp + 0x64], ecx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], ebp
mov dword [esp], 0x64
call fcn.005b47b0
mov eax, dword [esp + 0x68]
inc eax
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x6c]
cmp edx, eax
jb 0x70a5f6
mov ebx, dword [esp + 0x74]
jmp 0x70a5ae
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x74b1a0]
mov dword [esp + 0x10], eax
call fcn.004488c0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
jmp 0x70a5ae
cmp esi, 0xffffffff
jne 0x70a70a
call fcn.0070aef0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040a670
mov eax, dword [esp + 8]
lea ecx, [0x74af60]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea eax, [0x70ae80]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 1
lea eax, [esp + 0x98]
mov dword [esp + 0xa4], eax
mov eax, dword [0x8fd2f0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
call fcn.006ea640
mov dword [esp], 0x14
call fcn.005b47b0
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, 1
xor edx, edx
jmp 0x70a72c
inc ecx
mov eax, dword [esp + 0x48]
cmp ecx, eax
jge 0x70a742
mov ebx, edx
cdq
idiv ecx
test edx, edx
jne 0x70a73e
lea edx, [ebx + ecx]
jmp 0x70a727
mov edx, ebx
jmp 0x70a727
cmp edx, 0xffffffff
jne 0x70a817
call fcn.0070b180
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040a670
mov eax, dword [esp + 8]
lea ecx, [0x74af60]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea eax, [0x70ae10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 1
lea eax, [esp + 0x90]
mov dword [esp + 0xa4], eax
mov eax, dword [0x8fd2f0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
call fcn.006ea640
nop
mov dword [esp + 0x21], 0xfbbc597a
mov dword [esp + 0x24], 0xfcecf7fb
mov dword [esp + 0x28], 0xa8125b5f
xor eax, eax
jmp 0x70a840
movzx ebp, byte [esp + eax + 0x21]
add ebx, ebp
mov byte [esp + eax + 0x21], bl
inc eax
cmp eax, 0xb
jge 0x70a856
lea edx, [0x788c2d]
movzx ebx, byte [edx + eax]
jb 0x70a834
jmp 0x70ac9e
mov dword [esp], 0
lea eax, [esp + 0x21]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xb
call fcn.0044b7a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [0x8fd5d4], eax
mov eax, dword [0x93d218]
test eax, eax
je 0x70a89a
call fcn.0045f0e0
mov dword [edi], ecx
mov eax, dword [0x8fd5d0]
mov dword [edi + 4], eax
mov dword [0x8fd5d0], ecx
call fcn.005b47f0
movsd xmm0, qword [esp]
movsd qword [esp + 0x40], xmm0
call fcn.005b47f0
movsd xmm0, qword [esp]
movsd qword [esp + 0x34], xmm0
call fcn.005b47f0
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, xmm0
movsd xmm1, qword [esp + 0x34]
mulsd xmm1, xmm1
subsd xmm0, xmm1
movsd xmm1, qword [0x7d9654]
mulsd xmm0, xmm1
mulsd xmm0, qword [esp]
movsd xmm1, qword [0x7d9664]
ucomisd xmm1, xmm0
jne 0x70a9d2
jp 0x70a9d2
call fcn.0070b260
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040a670
mov eax, dword [esp + 8]
lea ecx, [0x74af60]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea eax, [0x70ada0]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 1
lea eax, [esp + 0x88]
mov dword [esp + 0xa4], eax
mov eax, dword [0x8fd2f0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
call fcn.006ea640
call fcn.0070b5b0
mov eax, dword [esp]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp], 0x14
call fcn.005b47b0
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, 2
jmp 0x70aa06
inc ecx
mov eax, dword [esp + 0x2c]
mov edx, eax
shr edx, 0x1f
add edx, eax
sar edx, 1
cmp ecx, edx
jge 0x70aa1a
cdq
idiv ecx
test edx, edx
jne 0x70aa01
mov dword [esp], 0x64
call fcn.005b47b0
mov eax, dword [esp + 4]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*8]
cmp eax, 0xffffffff
jne 0x70ab05
call fcn.0070b680
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040a670
mov eax, dword [esp + 8]
lea ecx, [0x74af60]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea eax, [0x70ad30]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 1
lea eax, [esp + 0x80]
mov dword [esp + 0xa4], eax
mov eax, dword [0x8fd2f0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
call fcn.006ea640
mov eax, 1
jmp 0x70ab3d
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.00709180
mov dword [esp], 0xfc23ac00
mov dword [esp + 4], 6
call fcn.0045d3b0
mov eax, dword [esp + 0x30]
inc eax
cmp eax, 0x989680
jle 0x70ab0c
call fcn.005b47f0
movsd xmm0, qword [esp]
movsd qword [esp + 0x54], xmm0
call fcn.005b47f0
movsd xmm0, qword [esp]
movsd qword [esp + 0x5c], xmm0
call fcn.005b47f0
movsd xmm0, qword [esp]
movsd xmm1, qword [esp + 0x5c]
movsd xmm2, qword [esp + 0x54]
movsd xmm3, xmm1
addsd xmm1, xmm2
addsd xmm1, xmm0
movsd xmm4, qword [0x7d9644]
mulsd xmm1, xmm4
movsd xmm4, xmm1
subsd xmm1, xmm2
mulsd xmm1, xmm4
movsd xmm2, xmm4
subsd xmm4, xmm3
mulsd xmm1, xmm4
subsd xmm2, xmm0
mulsd xmm2, xmm1
sqrtsd xmm0, xmm2
movsd xmm1, qword [0x7d9664]
ucomisd xmm0, xmm1
jne 0x70ac8b
jp 0x70ac8b
call fcn.0070b760
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040a670
mov eax, dword [esp + 8]
lea ecx, [0x74af60]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea eax, [0x70acc0]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 1
lea eax, [esp + 0x78]
mov dword [esp + 0xa4], eax
mov eax, dword [0x8fd2f0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
call fcn.006ea640
mov dword [esp], 1
call fcn.0059b2e0
add esp, 0xb0
ret
mov ecx, 0xb
call fcn.0045f150
nop
call fcn.0045dcb0
jmp fcn.0070a570