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

Disassembly:
mov eax, 0x74
call fcn.10228380
mov eax, dword [0x1033b254]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
xor ecx, ecx
movsd xmm2, qword [esp + 0x88]
mov edx, 6
mov dword [esp + 0x28], eax
xorps xmm4, xmm4
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x94]
test eax, eax
push esi
mov esi, dword [esp + 0x80]
cmovns edx, eax
comisd xmm4, xmm2
push edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x38], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
jbe 0x1006d3fa
mov dword [esp + 0x18], 0x2d
jmp 0x1006d422
mov eax, dword [esp + 0xa0]
test al, 2
je 0x1006d40f
mov dword [esp + 0x18], 0x2b
jmp 0x1006d422
test al, 4
mov ecx, 0x20
mov eax, 0
cmovne eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xa4]
movsd xmm1, qword [0x10286c98]
movsd xmm3, qword [0x10286c90]
cmp ecx, 2
jne 0x1006d49f
ucomisd xmm2, xmm4
lahf
test ah, 0x44
jp 0x1006d452
mov dword [esp + 0x20], 0
jmp 0x1006d4af
movsd xmm0, qword [0x10286c80]
comisd xmm0, xmm2
jbe 0x1006d46a
mov dword [esp + 0x20], 1
jmp 0x1006d4af
test edx, edx
jne 0x1006d476
comisd xmm2, xmm1
jae 0x1006d495
test edx, edx
jle 0x1006d448
push edx
call fcn.1006deb0
movsd xmm1, qword [0x10286c98]
add esp, 4
fstp qword [esp + 8]
comisd xmm2, xmmword [esp + 8]
jb 0x1006d448
mov dword [esp + 0x20], 1
jmp 0x1006d4af
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
test ecx, ecx
je 0x1006d55e
ucomisd xmm2, xmm4
movaps xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1006d4ef
xor eax, eax
comisd xmm3, xmm2
jbe 0x1006d4d3
mulsd xmm0, xmm1
dec eax
comisd xmm3, xmm0
ja 0x1006d4c4
mov dword [esp + 0x10], eax
comisd xmm0, xmm1
jbe 0x1006d4ef
nop dword [eax]
divsd xmm0, xmm1
inc eax
comisd xmm0, xmm1
ja 0x1006d4e0
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
cmp ecx, 2
jne 0x1006d549
test edx, edx
mov eax, 1
mov ecx, edx
cmove ecx, eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1006d542
or eax, 0xffffffff
sub eax, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x28], ecx
jns 0x1006d55e
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
push esi
push edi
call fcn.1006d2b0
add esp, 0x14
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1022836f
add esp, 0x74
ret
dec ecx
mov dword [esp + 0x28], ecx
jmp 0x1006d54d
mov eax, dword [esp + 0x20]
cmp eax, 1
jne 0x1006d55e
movaps xmm2, xmm0
movsd qword [esp + 0x90], xmm2
comisd xmm4, xmm2
jbe 0x1006d574
xorps xmm2, xmmword [0x10286cc0]
movsd qword [esp + 0x90], xmm2
comisd xmm2, xmmword [0x10286ca0]
jae 0x1006d51b
movaps xmm0, xmm2
call fcn.10228941
movsd xmm3, qword [0x10286c90]
mov ecx, 9
movsd xmm2, qword [0x10286c98]
movaps xmm1, xmm3
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x28], eax
mov ecx, eax
test eax, eax
je 0x1006d5be
mulsd xmm1, xmm2
sub ecx, 1
jne 0x1006d5b5
movsd xmm4, qword [0x10286c88]
cvttsd2si edx, xmm1
movd xmm0, edx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
comisd xmm1, xmm4
jb 0x1006d5dd
inc edx
mov ecx, eax
test eax, eax
je 0x1006d5ec
mulsd xmm3, xmm2
sub ecx, 1
jne 0x1006d5e3
mov eax, dword [esp + 0x1c]
movsd xmm1, qword [esp + 0x90]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10286cb0]
subsd xmm1, xmm0
mulsd xmm1, xmm3
cvttsd2si eax, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
comisd xmm1, xmm4
jb 0x1006d62c
inc eax
mov ecx, eax
sub ecx, edx
cmp eax, edx
cmovb ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
lea esi, [ecx + 1]
cmovb esi, ecx
xor ecx, ecx
mov eax, 0xcccccccd
mov dword [esp + 0x1c], ecx
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub esi, eax
mov al, byte [esi + str.0123456789]
mov esi, edx
mov byte [esp + ecx + 0x64], al
inc ecx
test esi, esi
je 0x1006d670
cmp ecx, 0x14
jl 0x1006d645
mov eax, dword [esp + 0x1c]
cmp eax, 0x13
mov esi, dword [esp + 0x38]
cmovne eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
cmp eax, 0x14
jae 0x1006da8e
mov byte [esp + eax + 0x64], 0
xor eax, eax
cmp dword [esp + 0x28], eax
jle 0x1006d71b
nop dword [eax]
cmp dword [esp + 0xa4], 2
jne 0x1006d6e0
test eax, eax
jne 0x1006d6e0
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x2c]
shr edx, 3
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
jne 0x1006d6dc
mov eax, dword [esp + 0x28]
mov ecx, edx
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
test eax, eax
mov eax, dword [esp + 0x24]
jmp 0x1006d69a
mov ecx, dword [esp + 0x2c]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
mov al, byte [ecx + str.0123456789]
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x50], al
mov eax, ecx
inc eax
mov ecx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
cmp eax, dword [esp + 0x28]
jl 0x1006d6a0
cmp eax, 0x14
jae 0x1006da8e
cmp dword [esp + 0x20], 1
mov byte [esp + eax + 0x50], 0
jne 0x1006d78c
mov eax, dword [esp + 0x10]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
mov dword [esp + 0x2c], ecx
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
lea eax, [ecx + ecx*4]
add eax, eax
sub edx, eax
mov al, byte [edx + str.0123456789]
mov edx, dword [esp + 0x14]
mov byte [esp + edx + 0x3c], al
inc edx
mov dword [esp + 0x14], edx
test ecx, ecx
jle 0x1006d777
cmp edx, 0x14
jl 0x1006d736
jmp 0x1006d51b
cmp edx, 1
jne 0x1006d78e
mov edx, 2
mov byte [esp + 0x3d], 0x30
mov dword [esp + 0x14], edx
jmp 0x1006d78e
xor edx, edx
mov esi, dword [esp + 0x98]
xor eax, eax
cmp dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
setne al
sub esi, eax
xor eax, eax
test ecx, ecx
setg al
sub esi, eax
sub esi, dword [esp + 0x1c]
sub esi, ecx
cmp dword [esp + 0x20], 1
jne 0x1006d7c3
mov eax, 0xfffffffe
sub eax, edx
add esi, eax
mov eax, ecx
mov ecx, 0
sub eax, dword [esp + 0x24]
cmovns ecx, eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
test esi, esi
cmovns ecx, esi
mov edx, ecx
neg edx
and al, 1
cmove edx, ecx
test byte [esp + 0xa0], 0x10
mov dword [esp + 0xc], edx
je 0x1006d859
test edx, edx
jle 0x1006d859
mov eax, dword [esp + 0x18]
mov esi, edx
test eax, eax
je 0x1006d82f
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
je 0x1006d52f
dec esi
mov dword [esp + 0x18], 0
test esi, esi
jle 0x1006d884
push 0x30
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
je 0x1006d52f
dec esi
test esi, esi
jg 0x1006d833
jmp 0x1006d884
mov esi, edx
test edx, edx
jle 0x1006d884
nop
push 0x20
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
je 0x1006d52f
dec esi
test esi, esi
jg 0x1006d860
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006d8aa
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
je 0x1006d52f
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x1006d8e2
dec eax
mov dword [esp + 0x1c], eax
movsx eax, byte [esp + eax + 0x64]
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
je 0x1006d52f
mov eax, dword [esp + 0x1c]
test eax, eax
jg 0x1006d8b2
cmp dword [esp + 0x28], 0
jg 0x1006d8f3
test byte [esp + 0xa0], 8
je 0x1006d950
push 0x2e
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
je 0x1006d52f
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x1006d950
nop word [eax + eax]
dec eax
mov dword [esp + 0x24], eax
movsx eax, byte [esp + eax + 0x50]
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
je 0x1006d52f
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x1006d920
cmp dword [esp + 0x2c], 0
jle 0x1006d98c
nop word [eax + eax]
push 0x30
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
je 0x1006d52f
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
test eax, eax
jg 0x1006d960
cmp dword [esp + 0x20], 1
jne 0x1006da50
mov eax, dword [esp + 0xa0]
not eax
and eax, 0x20
or eax, 0x45
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
je 0x1006d52f
cmp dword [esp + 0x10], 0
jge 0x1006d9f7
push 0x2d
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
jne 0x1006da16
pop edi
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1022836f
add esp, 0x74
ret
push 0x2b
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
je 0x1006d52f
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x1006da50
nop
dec eax
mov dword [esp + 0x14], eax
movsx eax, byte [esp + eax + 0x3c]
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
je 0x1006d52f
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x1006da20
test esi, esi
jns 0x1006da78
push 0x20
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x44]
push edi
call fcn.1006d2b0
add esp, 0x14
test eax, eax
je 0x1006d52f
add esi, 1
js 0x1006da54
mov ecx, dword [esp + 0x78]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.1022836f
add esp, 0x74
ret
call fcn.102284ce
int3