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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11b4
call fcn.10230be0
mov eax, dword [0x102d4a48]
xor eax, esp
mov dword [esp + 0x11b0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x3c], eax
lea eax, [ebp + 0x1c]
push eax
push ebx
push dword [ebp + 0x18]
lea eax, [esp + 0x1c4]
mov dword [esp + 0x3c], 0
push 0x1000
push eax
mov dword [esp + 0x40], ebx
call fcn.10059d00
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100911e1
lea edx, [esp + 0x1d4]
add esp, 0x1c
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x100660e0
sub edx, ecx
mov dword [esp + 0x28], edx
je 0x10066739
mov eax, dword [0x10406abc]
mov ecx, dword [eax + 0x4c]
mov esi, dword [eax + 0x50]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], esi
test ecx, ecx
je 0x10066739
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10066739
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x60], ecx
test esi, esi
je 0x10066739
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10066739
test ecx, ecx
je 0x10066739
mov eax, dword [eax + 0x14]
mov dword [esp + 0x68], eax
test eax, eax
je 0x10066739
mov ecx, 0x32
lea edi, [esp + 0xf0]
mov esi, 0x10405b00
rep movsd dword es:[edi], dword [esi]
mov edi, edx
shl edi, 7
push edi
call fcn.10092b15
mov esi, dword [esp + 0x2c]
add esp, 4
shl esi, 3
mov dword [esp + 0x34], eax
push esi
call fcn.10092b15
add esp, 4
mov dword [esp + 0x38], eax
push edi
call fcn.10092b15
add esp, 4
mov dword [esp + 0x24], eax
push esi
call fcn.10092b15
mov edi, eax
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x20], eax
cmp dword [esp + 0x28], eax
jbe 0x1006662c
mov ecx, dword [ebp + 0x14]
movss xmm3, dword [0x102d0be4]
mov esi, dword [esp + 0x14]
shl ecx, 0x18
or ecx, 0xffffff
mov dword [esp + 0x50], 0xa
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x1c], ecx
lea edx, [ecx + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [0x10405e84]
mov dword [esp + 0x58], edx
mov edx, dword [0x10406d3c]
mov dword [esp + 0x5c], edx
nop word [eax + eax]
mov al, byte [esp + eax + 0x1b8]
mov byte [esp + 0x13], al
movsx eax, al
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov dword [esp + 0x78], 0
movzx ebx, byte [eax + 0x10407180]
mov eax, 0x86186187
mov edi, ebx
mov dword [esp + 0x7c], 0x3f800000
mul ebx
sub edi, edx
shr edi, 1
add edi, edx
mov edx, ebx
shr edi, 4
imul eax, edi, 0x15
sub edx, eax
cmp dword [esp + 0x50], edx
mov dword [esp + 0x40], edx
sbb edx, edx
and edx, 0xfffffff5
sub edx, eax
mov eax, esi
shr eax, 0x1f
add edx, ebx
cmp edx, 0xa
sbb esi, esi
addsd xmm0, qword [eax*8 + 0x102d0c90]
mov eax, dword [esp + 0x14]
and esi, 8
add esi, 0x10
add eax, esi
cvtpd2ps xmm4, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102d0c90]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm5, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movss dword [esp + 0x70], xmm5
addsd xmm0, qword [eax*8 + 0x102d0c90]
mov eax, dword [esp + 0x18]
cvtpd2ps xmm6, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movss dword [esp + 0x74], xmm6
addsd xmm0, qword [eax*8 + 0x102d0c90]
mov eax, 0xa
cmp eax, dword [esp + 0x40]
lea eax, [edx + edx*2]
mov edx, dword [esp + 0x54]
sbb ecx, ecx
cvtpd2ps xmm7, xmm0
and ecx, 8
lea eax, [ecx + eax*8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102d0c90]
cvtpd2ps xmm2, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
mulss xmm2, xmm3
addsd xmm0, qword [esi*8 + 0x102d0c90]
cvtpd2ps xmm1, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
shr edi, 0x1f
mulss xmm1, xmm3
addsd xmm0, qword [edi*8 + 0x102d0c90]
addss xmm1, xmm2
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x102d0bec]
movaps xmm3, xmm0
addss xmm3, dword [0x102d0bec]
cmp byte [esp + 0x13], 0xa
mov eax, dword [esp + 0x58]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 0
movss dword [esp + 0x88], xmm1
mov al, byte [eax + ebx]
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x90], xmm5
movss dword [esp + 0x94], xmm7
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x3f800000
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], 0
movss dword [esp + 0xa8], xmm1
movss dword [esp + 0xac], xmm3
movss dword [esp + 0xb0], xmm4
movss dword [esp + 0xb4], xmm7
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0x3f800000
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], 0
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0xcc], xmm3
movss dword [esp + 0xd0], xmm4
movss dword [esp + 0xd4], xmm6
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0x3f800000
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], 0
movss dword [esp + 0xe8], xmm2
movss dword [esp + 0xec], xmm0
jne 0x10066496
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
add ecx, 0x18
add dword [esp + 0x18], 0x18
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ecx
jmp 0x10066609
mov esi, dword [esp + 0x14]
movsx ecx, al
sar al, 5
and ecx, 0x1f
movsx eax, al
add ecx, eax
lea esi, [esi + ecx*2]
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x5c]
jbe 0x100664d7
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add ecx, 0x18
mov esi, dword [esp + 0x3c]
add dword [esp + 0x18], 0x18
dec eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ecx
jmp 0x1006660d
cmp dword [esp + 0x40], 0xa
ja 0x100665be
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
movss dword [eax], xmm5
movss dword [eax + 4], xmm6
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x3f800000
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 0
movss dword [eax + 0x18], xmm1
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x20], xmm5
movss dword [eax + 0x24], xmm7
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0x3f800000
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], 0
movss dword [eax + 0x38], xmm1
movss dword [eax + 0x3c], xmm3
movss dword [eax + 0x40], xmm4
movss dword [eax + 0x44], xmm7
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0x3f800000
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], 0
movss dword [eax + 0x58], xmm2
movss dword [eax + 0x5c], xmm3
movss dword [eax + 0x60], xmm4
movss dword [eax + 0x64], xmm6
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0x3f800000
mov dword [eax + 0x70], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 0x74], 0
movss dword [eax + 0x78], xmm2
movss dword [eax + 0x7c], xmm0
mov word [edx + ecx*2], cx
inc ecx
mov word [edx + ecx*2], cx
inc ecx
mov word [edx + ecx*2], cx
inc ecx
mov word [edx + ecx*2], cx
inc ecx
sub eax, 0xffffff80
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], eax
jmp 0x10066605
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x10066605
cmp dword [esp + 0x24], 0
je 0x10066605
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x70]
mov ebx, dword [esp + 0x48]
mov ecx, 0x20
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov word [edx + eax*2], ax
inc eax
mov word [edx + eax*2], ax
inc eax
mov word [edx + eax*2], ax
inc eax
mov word [edx + eax*2], ax
inc eax
sub ebx, 0xffffff80
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
movss xmm3, dword [0x102d0be4]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x28]
jb 0x10066210
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x4c]
xor ecx, ecx
call fcn.10065f80
mov esi, dword [esp + 0x30]
mov dword [0x103f7d34], 1
mov dword [0x10405b24], 0
test esi, esi
je 0x10066696
mov ecx, dword [esp + 0x60]
mov eax, dword [ebp + 0x10]
push ecx
push dword [ecx + 0x8c]
mov dword [ecx + 0x88], eax
push 0
push 0
push 0
call fcn.1005d310
add esp, 0x14
mov edx, 3
push 1
push 0
push dword [esp + 0x6c]
lea ecx, [edx + 4]
push esi
push dword [esp + 0x48]
push esi
mov esi, dword [esp + 0x4c]
push esi
call fcn.10065c70
add esp, 0x1c
jmp 0x1006669a
mov esi, dword [esp + 0x34]
test ebx, ebx
je 0x100666df
mov eax, dword [esp + 0x68]
mov ecx, dword [ebp + 0x10]
push eax
push dword [eax + 0x8c]
mov dword [eax + 0x88], ecx
push 0
push 0
push 0
call fcn.1005d310
add esp, 0x14
mov edx, 3
push 1
push 0
push dword [esp + 0x74]
lea ecx, [edx + 4]
push ebx
push edi
push ebx
push dword [esp + 0x3c]
call fcn.10065c70
add esp, 0x1c
push esi
mov dword [0x103f7d34], 0
call fcn.10092afa
add esp, 4
push dword [esp + 0x38]
call fcn.10092afa
add esp, 4
push dword [esp + 0x24]
call fcn.10092afa
add esp, 4
push edi
call fcn.10092afa
add esp, 4
lea ecx, [esp + 0xf0]
call fcn.100656c0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x11b0]
xor ecx, esp
call fcn.1008a9cb
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x11bc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008a9cb
mov esp, ebp
pop ebp
ret