Function at 0x66d2cb0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x672d0a1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x350
mov eax, dword [0x6740080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], 0
push 0x3e
mov edx, 0x6740b3c
mov dword [ebp - 0x35c], edi
lea ecx, [ebp - 0x21c]
call fcn.066d2830
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x18], edi
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
push 0xa8
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 2
push edi
push eax
call fcn.0670a1b0
add esp, 4
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x2c8]
push eax
call fcn.066d8e80
xorps xmm0, xmm0
mov dword [ebp - 0xc0], edi
xor eax, eax
mov dword [ebp - 0xbc], 7
movups xmmword [ebp - 0xd0], xmm0
mov word [ebp - 0xd0], ax
push ecx
lea edx, [ebp - 0xd0]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c8]
call fcn.066dcbd0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x66d2ed4
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x66d2eaf
cmp dword [ebp - 0xbc], 7
lea esi, [ebp - 0xd0]
cmova esi, dword [ebp - 0xd0]
cmp eax, 1
jne 0x66d2de5
mov ecx, 0x673894c
mov edx, eax
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x66d2de5
add ecx, 2
sub edx, 1
jne 0x66d2dd0
xor al, al
jmp 0x66d2de7
mov al, 1
test al, al
je 0x66d2eaf
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
push eax
call fcn.066d9490
lea ecx, [ebp - 0x68]
call fcn.066d2a40
add esp, 0x18
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
je 0x66d2e54
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [ebp - 0x1c], 0x18
jmp 0x66d2e5e
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.066dd100
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x54]
cmp ecx, 7
jbe 0x66d2e9c
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x66d2e92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x66d312b
push ecx
push edx
call fcn.067085a2
add esp, 8
push 0xffff
sub esp, 8
lea ecx, [ebp - 0x2c8]
call fcn.066d9060
push ecx
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0x2c8]
call fcn.066dcbd0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x66d2da0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x338], 0
push 0x6738948
lea ecx, [ebp - 0x348]
mov dword [ebp - 0x334], 0
movups xmmword [ebp - 0x348], xmm0
call fcn.066dbaf0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x330]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x320], 0
push 0x6738948
movups xmmword [ebp - 0x330], xmm0
mov dword [ebp - 0x31c], 0
call fcn.066dbaf0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x310]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x318], 0x1bb
push 0x6738948
mov dword [ebp - 0x314], 0x7530
movups xmmword [ebp - 0x310], xmm0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
call fcn.066dbaf0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2e8]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x2f8], 0x7530
push 0x6738948
mov dword [ebp - 0x2f4], 0x2710
mov dword [ebp - 0x2f0], 1
mov dword [ebp - 0x2ec], 0
movups xmmword [ebp - 0x2e8], xmm0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
call fcn.066dbaf0
mov dword [ebp - 0x2d0], 0x1388
mov dword [ebp - 0x2cc], 0
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebx + 8]
mov ecx, esp
push eax
call fcn.066d9490
call fcn.066ec660
mov dword [ebp - 0x2cc], eax
lea ecx, [ebp - 0x348]
mov eax, dword [ebp - 0x20]
add esp, 0x18
cmp ecx, eax
je 0x66d307c
cmp dword [eax + 0x14], 7
mov ecx, eax
jbe 0x66d3027
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x334]
cmp eax, edx
ja 0x66d3062
lea esi, [eax + eax]
mov dword [ebp - 0x338], eax
cmp edx, 7
lea edi, [ebp - 0x348]
push esi
cmova edi, dword [ebp - 0x348]
push ecx
push edi
call fcn.06709c30
xor eax, eax
add esp, 0xc
mov word [edi + esi], ax
xor edi, edi
jmp 0x66d307c
push ecx
mov byte [ebp - 0x350], 0
lea ecx, [ebp - 0x348]
push dword [ebp - 0x350]
push eax
call fcn.066dbd50
push ecx
mov edx, 0x6740b7c
lea ecx, [ebp - 0x68]
call fcn.066d2bb0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x330]
cmp eax, esi
je 0x66d30ff
mov ecx, dword [ebp - 0x31c]
cmp ecx, 7
jbe 0x66d30d5
mov edx, dword [ebp - 0x330]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x66d30cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x66d312b
push ecx
push edx
call fcn.067085a2
add esp, 8
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x330], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x320], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x54]
cmp ecx, 7
jbe 0x66d313a
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x66d3130
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x66d3130
call fcn.0670d38a
push ecx
push edx
call fcn.067085a2
add esp, 8
push ecx
mov edx, str..vvo
lea ecx, [ebp - 0x68]
call fcn.066d2bb0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x310]
cmp eax, esi
je 0x66d31bd
mov ecx, dword [ebp - 0x2fc]
cmp ecx, 7
jbe 0x66d3193
mov edx, dword [ebp - 0x310]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x66d3189
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x66d31e9
push ecx
push edx
call fcn.067085a2
add esp, 8
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x310], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x300], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x54]
cmp ecx, 7
jbe 0x66d31f8
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x66d31ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x66d31ee
call fcn.0670d38a
push ecx
push edx
call fcn.067085a2
add esp, 8
push ecx
mov edx, 0x6740b9c
lea ecx, [ebp - 0x68]
call fcn.066d2bb0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2e8]
cmp eax, esi
je 0x66d327b
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 7
jbe 0x66d3251
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x66d3247
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x66d32a7
push ecx
push edx
call fcn.067085a2
add esp, 8
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2e8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2d8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x54]
cmp ecx, 7
jbe 0x66d32b6
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x66d32ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x66d32ac
call fcn.0670d38a
push ecx
push edx
call fcn.067085a2
add esp, 8
push dword [ebp - 0x2f0]
mov edx, dword [ebp - 0x2cc]
lea ecx, [ebp - 0x50]
call fcn.066ed3c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 7
mov eax, dword [ebp - 0x40]
cmova ecx, dword [ebp - 0x50]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x50]
cmova ecx, dword [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.066db2a0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x38]
call fcn.066d98b0
cmp dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x28]
cmova ecx, dword [ebp - 0x38]
call fcn.066d27e0
movups xmm0, xmmword [ebp - 0x38]
mov byte [ebp - 0x38], 0
movups xmmword [ebp - 0x204], xmm0
movq xmm0, qword [ebp - 0x28]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x54]
movq qword [ebp - 0x1f4], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
cmp ecx, 0xf
jbe 0x66d3371
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x66d3367
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x66d33a1
push ecx
push edx
call fcn.067085a2
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x66d33b0
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x66d33a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x66d33a6
call fcn.0670d38a
push ecx
push edx
call fcn.067085a2
add esp, 8
xor eax, eax
mov dword [ebp - 0xa8], 0
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0xf
movups xmmword [ebp - 0xb8], xmm0
mov byte [ebp - 0xb8], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 0xd
nop dword [eax + eax]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push 0x6738948
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
call fcn.066dbaf0
lea eax, [ebp - 0x348]
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x318]
lea ecx, [ebp - 0x1ec]
push eax
call fcn.066d9490
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1d4], esi
call fcn.066d9490
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x66d34b7
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x66d34ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x66d312b
push ecx
push edx
call fcn.067085a2
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x330]
mov ecx, esp
push eax
call fcn.066d9490
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.066ded50
sub esp, 0x18
mov byte [ebp - 0x349], al
lea eax, [ebp - 0x348]
mov ecx, esp
push eax
call fcn.066d9490
lea ecx, [ebp - 0x68]
call fcn.066d2a40
add esp, 0x18
mov byte [ebp - 4], 0x12
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x66d3518
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.066dce60
add esp, 4
push eax
call fcn.066db3b0
mov byte [ebp - 4], 0x11
add esp, 4
mov ecx, dword [ebp - 0x54]
cmp ecx, 7
jbe 0x66d356a
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x66d3560
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x66d312b
push ecx
push edx
call fcn.067085a2
add esp, 8
cmp byte [ebp - 0x349], 0
jne 0x66d3686
inc edi
mov dword [ebp - 0x354], edi
cmp edi, 9
jle 0x66d363b
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x20]
sub ecx, edi
mov esi, dword [ebp - 0x35c]
imul ecx
inc esi
mov dword [ebp - 0x354], 0
sar edx, 2
lea ecx, [ebp - 0x348]
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x35c], eax
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
cmp ecx, eax
je 0x66d362a
cmp dword [eax + 0x14], 7
mov ecx, eax
jbe 0x66d35d7
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x334]
cmp eax, edx
ja 0x66d3610
lea esi, [eax + eax]
mov dword [ebp - 0x338], eax
cmp edx, 7
lea edi, [ebp - 0x348]
push esi
cmova edi, dword [ebp - 0x348]
push ecx
push edi
call fcn.06709c30
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
jmp 0x66d362a
push ecx
mov byte [ebp - 0x358], 0
lea ecx, [ebp - 0x348]
push dword [ebp - 0x358]
push eax
call fcn.066dbd50
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x354]
push 0
push 0x67388fc
lea ecx, [ebp - 0xb8]
call fcn.066da3b0
cmp dword [ebp - 0x8c], 7
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
cmova eax, dword [ebp - 0xa0]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 7
mov dword [ebp - 0x88], ecx
cmova eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], ecx
jmp 0x66d36f3
sub esp, 0x18
lea eax, [ebp - 0xb8]
mov ecx, esp
push eax
call fcn.066d98b0
lea ecx, [ebp - 0x348]
call fcn.066e18d0
push 0
push 0x67388fc
lea ecx, [ebp - 0xb8]
call fcn.066da3b0
cmp dword [ebp - 0x8c], 7
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
cmova eax, dword [ebp - 0xa0]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 7
mov dword [ebp - 0x88], ecx
cmova eax, dword [ebp - 0x80]
xor edi, edi
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x354], edi
mov word [eax], cx
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0xd
call fcn.066d3ea0
cmp byte [ebp - 0x349], 0
je 0x66d3420
mov esi, dword [ebp - 0x2ec]
test esi, esi
jle 0x66d3b8c
mov dword [ebp - 0x350], 0
push 0x10c
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x66d3b07
xor eax, eax
mov dword [ebp - 0x110], 0
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0xf
movups xmmword [ebp - 0x120], xmm0
mov byte [ebp - 0x120], 0
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xf8], 0
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1b8]
push eax
push 0x6738948
movups xmmword [ebp - 0x1b8], xmm0
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], eax
call fcn.066dbaf0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1a0]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x190], 0
push 0x67388fc
movups xmmword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x18c], 0
call fcn.066dbbf0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x17c]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x188], 0
push 0x67388fc
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
call fcn.066dbbf0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x164]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x154], 0
push 0x67388fc
movups xmmword [ebp - 0x164], xmm0
mov dword [ebp - 0x150], 0
call fcn.066dbbf0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x14c]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
push 0x6738948
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x138], 0
call fcn.066dbaf0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x2cc]
xorps xmm0, xmm0
push 0
mov dword [ebp - 0x188], eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0x6738948
call fcn.066dbaf0
lea eax, [ebp - 0x348]
mov byte [ebp - 4], 0x19
mov esi, dword [ebp - 0x318]
lea ecx, [ebp - 0x1ec]
push eax
call fcn.066d9490
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1d4], esi
call fcn.066d9490
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x66d3992
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x66d3988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x66d312b
push ecx
push edx
call fcn.067085a2
add esp, 8
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.066e7c80
mov byte [ebp - 4], 0x1d
sub esp, 0x18
lea eax, [ebp - 0x330]
mov ecx, esp
push eax
call fcn.066d9490
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.066ded50
test al, al
je 0x66d39a5
sub esp, 0x18
lea eax, [ebp - 0x120]
mov ecx, esp
push eax
call fcn.066d98b0
lea ecx, [ebp - 0x1b8]
call fcn.066e58e0
push 0
push 0x67388fc
lea ecx, [ebp - 0x120]
call fcn.066da3b0
cmp dword [ebp - 0xf4], 7
lea eax, [ebp - 0x108]
mov dword [ebp - 0xf8], 0
cmova eax, dword [ebp - 0x108]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xe8]
cmp dword [ebp - 0xd4], 7
mov dword [ebp - 0xf0], ecx
cmova eax, dword [ebp - 0xe8]
mov dword [ebp - 0xd8], ecx
mov word [eax], cx
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0xec], ecx
mov ecx, edi
push eax
call fcn.066d40c0
lea eax, [ebp - 0x348]
push eax
lea ecx, [edi + 0x8c]
call fcn.066d4200
lea eax, [ebp - 0x124]
push eax
push 0
push edi
push 0x66d43a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x24]
test eax, eax
je 0x66d3b1e
cmp ecx, 0xf
jbe 0x66d3aca
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x66d3ac0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x66d312b
push ecx
push edx
call fcn.067085a2
add esp, 8
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.066d3ea0
lea ecx, [ebp - 0x1b8]
call fcn.066d3f40
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xd
call fcn.066d3db0
mov esi, dword [ebp - 0x2ec]
mov eax, dword [ebp - 0x350]
inc eax
mov dword [ebp - 0x350], eax
cmp eax, esi
jl 0x66d3730
jmp 0x66d3b86
cmp ecx, 0xf
jbe 0x66d3b4f
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x66d3b45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x66d312b
push ecx
push edx
call fcn.067085a2
add esp, 8
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.066d3ea0
lea ecx, [ebp - 0x1b8]
call fcn.066d3f40
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xd
call fcn.066d3db0
mov edi, dword [ebp - 0x354]
call fcn.0670d837
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mov eax, dword [ebp - 0x2f4]
add eax, 0xfffffc18
movd xmm0, eax
divsd xmm1, qword [0x6739008]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [0x6739000]
cvttsd2si eax, xmm1
add eax, dword [ebp - 0x2f8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x66d3420