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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov edi, dword [edx + 0xb0]
cmp edi, 0x7ffffffe
jbe 0x1006a15d
mov dword [esp + 0x18], ecx
mov ecx, 0x3fa63c0
mov edx, 6
call fcn.1000b320
test eax, eax
mov esi, 1
mov ecx, 0x3fa63c6
mov edx, 0x12
cmove eax, esi
mov dword [esp + 0xb0], eax
call fcn.1000b320
test eax, eax
lea edi, [0x3fa6385]
mov ecx, 0xfffffff9
cmove eax, esi
lea esi, [0x3fa6386]
xor ebx, ebx
mov dword [esp + 0x1c], eax
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [edi]
mov edi, esi
mov dh, dl
add dh, 0xd0
cmp dh, 0xa
jb 0x1006a115
or dl, 0x20
mov dh, dl
add dh, 0x9f
cmp dh, 6
jae 0x1006aa4d
add dl, 0xa9
mov dh, dl
mov esi, eax
movzx edx, dh
shl esi, 4
or edx, esi
lea esi, [edi + 1]
test ecx, ecx
cmove esi, edi
je 0x1006a134
shld ebx, eax, 4
inc ecx
test edi, edi
mov eax, edx
jne 0x1006a0f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xb0]
mov esi, dword [esp + 0x1c]
xor edx, 0xa8
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
jmp 0x1006a970
lea ebx, [edi + 1]
lea esi, [edx + 0xb4]
lea eax, [edx + 0xb0]
mov dword [esp + 0xb0], edx
mov dword [edx + 0xb0], ebx
mov dword [esp + 0x64], esi
lea esi, [0x3fa6385]
lea ebx, [0x3fa6386]
mov edx, 0xfffffff9
mov dword [esp + 0x1c], eax
nop word cs:[eax + eax]
nop dword [eax]
movzx eax, byte [esi]
mov esi, ebx
mov ah, al
add ah, 0xd0
cmp ah, 0xa
jb 0x1006a1bb
or al, 0x20
add al, 0x9f
cmp al, 6
jae 0x1006aa4d
lea ebx, [esi + 1]
test edx, edx
cmove ebx, esi
je 0x1006a1ca
inc edx
test esi, esi
jne 0x1006a1a0
mov eax, dword [esp + 0xb0]
cmp byte [eax + 0xdd], 2
jne 0x1006a3d8
mov dword [eax + 0xb0], edi
mov dword [esp + 0x18], ecx
mov edx, dword [eax]
mov ecx, dword [edx + 0x14c]
test ecx, ecx
je 0x1006aa66
mov edi, dword [edx + 0xc]
mov esi, dword [edx + 8]
lea eax, [ecx - 1]
add eax, esi
mov ebx, edi
adc ebx, 0
jb 0x1006aa66
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
sub eax, esi
sbb ebx, edi
mov dword [esp + 0x118], ecx
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], edi
lea esi, [esp + 0x84]
mov edi, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 4
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov word [esp + 0x9c], 0
mov dword [esp + 0x74], 0xff
mov dword [esp + 0x78], 0x400
test edi, edi
je 0x1006a3eb
mov ecx, dword [esp + 0xc]
sub ecx, edi
jbe 0x1006a43e
cmp eax, ecx
ja 0x1006a43e
lea ecx, [esp + 0x34]
mov edx, 3
mov dword [esp + 0x7c], edi
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x3c], 0
call fcn.1002b9a0
mov ebx, dword [esp + 0x34]
cmp al, 8
jne 0x1006a67b
mov eax, dword [esp + 0x39]
movzx edx, byte [esp + 0x38]
mov ecx, dword [esp + 0x3c]
test ebx, ebx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc3], ecx
je 0x1006a6b2
mov ecx, dword [esp + 0xc3]
mov eax, dword [esp + 0xc0]
lea edi, [esp + 0x108]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6d], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x6c], dl
lea ecx, [esp + 0x34]
lea edx, [esp + 0x74]
push eax
push dword [esp + 0x10]
push edi
call fcn.10045c20
add esp, 0xc
cmp dword [esp + 0x34], 0
je 0x1006a978
movzx eax, byte [esp + 0x3c]
movzx ecx, word [esp + 0x3d]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov edx, 4
mov dword [esp + 0xa0], eax
movzx eax, byte [esp + 0x3f]
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov ecx, 0x18
mov dword [esp + 0x14], eax
push dword [esp + 0x70]
call fcn.10009680
add esp, 4
test eax, eax
je 0x1006a6bb
mov ecx, dword [0x3fa8000]
push edx
push eax
push dword [esp + 0x70]
push 0x3fa78d4
call dword [ecx + 0x10]
add esp, 0x10
jmp 0x1006a6bb
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jmp 0x1006a96a
mov byte [esp + 0x9c], 1
mov dword [esp + 0x14], eax
mov ecx, 4
xor edx, edx
xor edi, edi
movsd xmm1, qword [esi + 8]
movsd xmm0, qword [esi]
movzx eax, byte [esi + 0x18]
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [esi + 0x10]
mov byte [esp + 0x60], al
movsd qword [esp + 0x48], xmm0
mov esi, 0xff
xor eax, eax
movsd qword [esp + 0x58], xmm1
cmp dl, 2
mov dword [esp + 0xc], edi
jne 0x1006a743
jmp 0x1006a485
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 0x18]
movsd xmm0, qword [esi + 0x10]
movq xmm2, qword [esi]
movsd xmm1, qword [esi + 8]
mov ecx, 4
mov esi, 0xff
xor edx, edx
mov byte [esp + 0x60], al
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x50], xmm1
movq qword [esp + 0x48], xmm2
xor eax, eax
cmp dl, 2
mov dword [esp + 0xc], edi
jne 0x1006a743
mov dword [esp + 0xa0], eax
movzx eax, al
shl ecx, 8
mov dword [esp + 0x2c], esi
xor ebx, ebx
lea edx, [0x3fa6385]
lea edi, [0x3fa6386]
xor esi, esi
or ecx, eax
mov eax, 0xfffffff9
mov dword [esp + 0x10], ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ecx, byte [edx]
mov edx, edi
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x1006a4e5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1006aa4d
add cl, 0xa9
mov ch, cl
mov edi, ebx
movzx ecx, ch
shl edi, 4
or ecx, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x1006a504
shld esi, ebx, 4
inc eax
test edx, edx
mov ebx, ecx
jne 0x1006a4c0
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x1006a516
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jmp 0x1006a533
mov eax, dword [esp + 0xa0]
xor ecx, 0xb9
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ecx
mov byte [esp + 0x24], al
mov dword [esp + 0x20], edx
xor edi, edi
lea edx, [0x3fa6385]
lea ebx, [0x3fa6386]
mov eax, 0xfffffff9
mov dword [esp + 0xb0], 0
nop word cs:[eax + eax]
nop
movzx ecx, byte [edx]
mov edx, ebx
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x1006a585
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1006aa4d
add cl, 0xa9
mov ch, cl
mov ebx, edi
movzx esi, ch
shl ebx, 4
or esi, ebx
lea ebx, [edx + 1]
test eax, eax
cmove ebx, edx
je 0x1006a5a9
shld dword [esp + 0xb0], edi, 4
inc eax
test edx, edx
mov edi, esi
jne 0x1006a560
xor esi, 0xba
xor ebx, ebx
cmp dword [esp + 0x20], 0
mov eax, 0x3fa4894
mov edi, 0x3fa489e
mov ecx, 0x3fa48a7
mov edx, 0xa
sete bl
cmove edi, eax
add ebx, 9
call fcn.1000b320
mov ecx, edi
mov edx, ebx
mov dword [esp + 0xb0], eax
call fcn.1000b320
movd xmm1, dword [esp + 0xb0]
movd xmm0, eax
pxor xmm2, xmm2
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov eax, dword [0x3fa8000]
lea ecx, [esp + 0x74]
punpckldq xmm1, xmm0
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
pcmpeqd xmm2, xmm1
movdqa xmm0, xmm2
psrld xmm2, 0x1f
pandn xmm0, xmm1
por xmm2, xmm0
movdqa xmmword [esp + 0xb0], xmm2
push 4
push 8
push 0x3fa78d4
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x74], 0
je 0x1006a658
lea ecx, [esp + 0x48]
call fcn.10005440
xor eax, eax
jmp 0x1006a661
mov eax, dword [esp + 0x78]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0x18]
movaps xmm0, xmmword [esp + 0xb0]
movlps qword [ecx], xmm0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
jmp 0x1006a970
mov edx, 4
mov dword [esp + 0xa0], eax
mov ecx, 0x18
push dword [esp + 0x3c]
call fcn.10009680
add esp, 4
test eax, eax
je 0x1006a6b9
mov ecx, dword [0x3fa8000]
push edx
push eax
push ebx
push 0x3fa78d4
call dword [ecx + 0x10]
add esp, 0x10
jmp 0x1006a6b9
mov dword [esp + 0xa0], edx
xor esi, esi
mov edx, 1
mov ecx, 1
push dword [esp + 0x8c]
call fcn.10009680
add esp, 4
test eax, eax
je 0x1006a6f2
mov ecx, dword [0x3fa8000]
push edx
push eax
push dword [esp + 0x8c]
push 0x3fa78d4
call dword [ecx + 0x10]
add esp, 0x10
mov edx, 4
mov ecx, 0x2c
push dword [esp + 0x98]
call fcn.10009680
add esp, 4
test eax, eax
je 0x1006a729
mov ecx, dword [0x3fa8000]
push edx
push eax
push dword [esp + 0x98]
push 0x3fa78d4
call dword [ecx + 0x10]
add esp, 0x10
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x10]
mov dl, 2
cmp dl, 2
mov dword [esp + 0xc], edi
je 0x1006a485
movsd xmm1, qword [esp + 0x50]
mov dword [esp + 0x20], esi
mov byte [esp + 0x24], al
movzx eax, byte [esp + 0x60]
movsd xmm0, qword [esp + 0x48]
mov word [esp + 0x25], cx
shr ecx, 0x10
mov dword [esp + 0x28], edx
lea edx, [0x3fa6386]
mov byte [esp + 0x27], cl
lea ecx, [0x3fa6385]
movsd qword [esp + 0xd0], xmm1
movsd xmm1, qword [esp + 0x58]
mov byte [esp + 0xe0], al
mov eax, 0xfffffff9
movsd qword [esp + 0xc8], xmm0
movsd qword [esp + 0xd8], xmm1
nop word cs:[eax + eax]
nop
movzx ebx, byte [ecx]
mov ecx, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x1006a7ce
or bl, 0x20
add bl, 0x9f
cmp bl, 6
jae 0x1006aa4d
lea edx, [ecx + 1]
test eax, eax
cmove edx, ecx
je 0x1006a7dd
inc eax
test ecx, ecx
jne 0x1006a7b0
movzx eax, byte [esp + 0xe0]
movsd xmm0, qword [esp + 0xd8]
movq xmm1, qword [esp + 0xc8]
movq xmm2, qword [esp + 0xd0]
mov ebx, dword [esp + 0x1c]
movsd xmm3, qword [esp + 0x20]
movq qword [esp + 0xe8], xmm1
movq qword [esp + 0xf0], xmm2
movsd qword [esp + 0xf8], xmm0
mov byte [esp + 0x100], al
cmp dword [ebx], 0
jne 0x1006aa7f
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xc]
mov eax, 0xffffffff
mov dword [esi + 0xb0], 0xffffffff
cmp byte [esi + 0xdd], 2
je 0x1006a8d4
mov edx, 1
movaps xmmword [esp + 0xa0], xmm3
mov ecx, 1
push dword [esi + 0xcc]
call fcn.10009680
add esp, 4
test eax, eax
je 0x1006a895
mov ecx, dword [0x3fa8000]
push edx
push eax
push dword [esi + 0xc4]
push 0x3fa78d4
call dword [ecx + 0x10]
add esp, 0x10
mov edx, 4
mov ecx, 0x2c
push dword [esi + 0xd8]
call fcn.10009680
add esp, 4
test eax, eax
je 0x1006a8ca
mov ecx, dword [0x3fa8000]
push edx
push eax
push dword [esi + 0xd0]
push 0x3fa78d4
call dword [ecx + 0x10]
add esp, 0x10
mov eax, dword [ebx]
movaps xmm3, xmmword [esp + 0xa0]
mov ecx, dword [esp + 0x14]
movlps qword [esi + 0xb4], xmm3
mov dword [esi + 0xbc], edi
movzx edi, word [esp + 0x32]
lea edx, [eax + 1]
cmp edx, 0x7fffffff
mov dword [esi + 0xc0], ecx
movsd xmm0, qword [esp + 0xe8]
movq xmm1, qword [esp + 0xf0]
movsd qword [esi + 0xc4], xmm0
movq qword [esi + 0xcc], xmm1
movsd xmm0, qword [esp + 0xf8]
movsd qword [esi + 0xd4], xmm0
movzx ecx, byte [esp + 0x100]
mov byte [esi + 0xdc], cl
mov ecx, dword [esp + 0x28]
mov byte [esi + 0xdd], cl
mov word [esi + 0xde], di
mov dword [esi + 0xb0], edx
jae 0x1006aa99
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
add eax, 2
mov dword [ebx], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esp + 0x9c], 1
mov edx, 4
mov ecx, 0x18
mov eax, dword [esp + 0x74]
movsd xmm0, qword [esi]
movzx ebx, byte [esp + 0x7b]
movsd xmm1, qword [esi + 8]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x78]
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [esi + 0x10]
shl ebx, 0x10
movsd qword [esp + 0x50], xmm1
mov dword [esp + 0xa0], eax
movzx eax, word [esp + 0x79]
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x10], eax
movzx eax, byte [esi + 0x18]
mov byte [esp + 0x60], al
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x9d]
mov dword [esp + 0x28], eax
movzx eax, word [esp + 0x9e]
mov word [esp + 0x32], ax
push dword [esp + 0x70]
call fcn.10009680
add esp, 4
test eax, eax
je 0x1006aa26
mov ecx, dword [0x3fa8000]
push edx
push eax
push dword [esp + 0x70]
push 0x3fa78d4
call dword [ecx + 0x10]
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
or ecx, ebx
cmp dl, 2
mov dword [esp + 0xc], edi
je 0x1006a485
jmp 0x1006a743
mov ecx, 0x3fa6484
mov edx, 0xe
push 0x3f9fdfc
call fcn.10007180
add esp, 4
ud2
mov ecx, 0x3fa7af8
mov edx, 0x2b
push 0x3fa640c
call fcn.10007180
add esp, 4
ud2
lea eax, [esp + 0x74]
mov ecx, 0x3fa7a08
mov edx, 0x10
push 0x3fa641c
push 0x3fa643c
jmp 0x1006aab1
lea eax, [esp + 0x74]
mov ecx, 0x3fa6508
mov edx, 0x18
push 0x3fa642c
push 0x3fa644c
push eax
call fcn.100079d0
add esp, 0xc
ud2