Function at 0x10002cb0
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 0x1005d0a1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x350
mov eax, dword [0x10070080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ecx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x354], ecx
mov edx, 0x10070b40
push 0xa6
lea ecx, [ebp - 0x21c]
xor edi, edi
call fcn.10002830
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.1003a1b0
add esp, 4
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x2c8]
push eax
call fcn.10008ea0
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.1000cbf0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10002ee4
nop word [eax + eax]
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x10002ebf
cmp dword [ebp - 0xbc], 7
lea esi, [ebp - 0xd0]
cmova esi, dword [ebp - 0xd0]
cmp eax, 1
jne 0x10002df5
mov ecx, 0x1006894c
mov edx, eax
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x10002df5
add ecx, 2
sub edx, 1
jne 0x10002de0
xor al, al
jmp 0x10002df7
mov al, 1
test al, al
je 0x10002ebf
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
push eax
call fcn.100094b0
lea ecx, [ebp - 0x68]
call fcn.10002a40
add esp, 0x18
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
je 0x10002e64
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 0x10002e6e
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.1000d120
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x54]
cmp ecx, 7
jbe 0x10002eac
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002ea2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000313b
push ecx
push edx
call fcn.100385a2
add esp, 8
push 0xffff
sub esp, 8
lea ecx, [ebp - 0x2c8]
call fcn.10009080
push ecx
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0x2c8]
call fcn.1000cbf0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10002db0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x338], 0
push 0x10068948
lea ecx, [ebp - 0x348]
mov dword [ebp - 0x334], 0
movups xmmword [ebp - 0x348], xmm0
call fcn.1000bb10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x330]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x320], 0
push 0x10068948
movups xmmword [ebp - 0x330], xmm0
mov dword [ebp - 0x31c], 0
call fcn.1000bb10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x310]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x318], 0x1bb
push 0x10068948
mov dword [ebp - 0x314], 0x7530
movups xmmword [ebp - 0x310], xmm0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
call fcn.1000bb10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2e8]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x2f8], 0x7530
push 0x10068948
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.1000bb10
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.100094b0
call fcn.1001c660
mov dword [ebp - 0x2cc], eax
lea ecx, [ebp - 0x348]
mov eax, dword [ebp - 0x20]
add esp, 0x18
cmp ecx, eax
je 0x1000308c
mov ecx, eax
cmp dword [ecx + 0x14], 7
jbe 0x10003037
mov eax, dword [eax]
mov ecx, dword [ecx + 0x10]
mov edx, dword [ebp - 0x334]
cmp ecx, edx
ja 0x10003072
lea esi, [ecx + ecx]
mov dword [ebp - 0x338], ecx
cmp edx, 7
lea edi, [ebp - 0x348]
push esi
cmova edi, dword [ebp - 0x348]
push eax
push edi
call fcn.10039c30
xor eax, eax
add esp, 0xc
mov word [edi + esi], ax
xor edi, edi
jmp 0x1000308c
push eax
mov byte [ebp - 0x350], 0
push dword [ebp - 0x350]
push ecx
lea ecx, [ebp - 0x348]
call fcn.1000bd70
push ecx
mov edx, 0x10070be8
lea ecx, [ebp - 0x68]
call fcn.10002bb0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x330]
cmp eax, esi
je 0x1000310f
mov ecx, dword [ebp - 0x31c]
cmp ecx, 7
jbe 0x100030e5
mov edx, dword [ebp - 0x330]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100030db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000313b
push ecx
push edx
call fcn.100385a2
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 0x1000314a
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003140
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003140
call fcn.1003d38a
push ecx
push edx
call fcn.100385a2
add esp, 8
push ecx
mov edx, str..vvo
lea ecx, [ebp - 0x68]
call fcn.10002bb0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x310]
cmp eax, esi
je 0x100031cd
mov ecx, dword [ebp - 0x2fc]
cmp ecx, 7
jbe 0x100031a3
mov edx, dword [ebp - 0x310]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003199
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100031f9
push ecx
push edx
call fcn.100385a2
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 0x10003208
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100031fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100031fe
call fcn.1003d38a
push ecx
push edx
call fcn.100385a2
add esp, 8
push ecx
mov edx, 0x10070c08
lea ecx, [ebp - 0x68]
call fcn.10002bb0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2e8]
cmp eax, esi
je 0x1000328b
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 7
jbe 0x10003261
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003257
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100032b7
push ecx
push edx
call fcn.100385a2
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 0x100032c6
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100032bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100032bc
call fcn.1003d38a
push ecx
push edx
call fcn.100385a2
add esp, 8
push dword [ebp - 0x2f0]
mov edx, dword [ebp - 0x2cc]
lea ecx, [ebp - 0x50]
call fcn.1001d3c0
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.1000b2c0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x38]
call fcn.100098d0
cmp dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x28]
cmova ecx, dword [ebp - 0x38]
call fcn.100027e0
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 0x10003381
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003377
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100033b1
push ecx
push edx
call fcn.100385a2
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x100033c0
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100033b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100033b6
call fcn.1003d38a
push ecx
push edx
call fcn.100385a2
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 0x10068948
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
call fcn.1000bb10
lea eax, [ebp - 0x348]
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x318]
lea ecx, [ebp - 0x1ec]
push eax
call fcn.100094b0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1d4], esi
call fcn.100094b0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x100034c7
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100034bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000313b
push ecx
push edx
call fcn.100385a2
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x330]
mov ecx, esp
push eax
call fcn.100094b0
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.1000ed70
sub esp, 0x18
mov byte [ebp - 0x349], al
lea eax, [ebp - 0x348]
mov ecx, esp
push eax
call fcn.100094b0
lea ecx, [ebp - 0x68]
call fcn.10002a40
add esp, 0x18
mov byte [ebp - 4], 0x12
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x10003528
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.1000ce80
add esp, 4
push eax
call fcn.1000b3d0
mov byte [ebp - 4], 0x11
add esp, 4
mov ecx, dword [ebp - 0x54]
cmp ecx, 7
jbe 0x1000357a
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003570
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000313b
push ecx
push edx
call fcn.100385a2
add esp, 8
cmp byte [ebp - 0x349], 0
jne 0x100036a4
inc edi
mov dword [ebp - 0x358], edi
cmp edi, 9
jle 0x10003659
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
sub ecx, esi
inc dword [ebp - 0x354]
imul ecx
mov dword [ebp - 0x350], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x354], eax
jb 0x1000371a
xor edi, edi
mov dword [ebp - 0x354], 0
lea eax, [ebp - 0x348]
mov dword [ebp - 0x358], edi
cmp eax, esi
je 0x1000364e
mov eax, esi
cmp dword [eax + 0x14], 7
jbe 0x100035f4
mov esi, dword [esi]
mov dword [ebp - 0x350], esi
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x334]
cmp eax, ecx
ja 0x10003634
lea esi, [eax + eax]
mov dword [ebp - 0x338], eax
cmp ecx, 7
lea edi, [ebp - 0x348]
push esi
cmova edi, dword [ebp - 0x348]
push dword [ebp - 0x350]
push edi
call fcn.10039c30
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, eax
jmp 0x1000364e
push esi
mov byte [ebp - 0x35c], 0
lea ecx, [ebp - 0x348]
push dword [ebp - 0x35c]
push eax
call fcn.1000bd70
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x100688fc
lea ecx, [ebp - 0xb8]
call fcn.1000a3d0
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 0x10003711
sub esp, 0x18
lea eax, [ebp - 0xb8]
mov ecx, esp
push eax
call fcn.100098d0
lea ecx, [ebp - 0x348]
call fcn.100118d0
push 0
push 0x100688fc
lea ecx, [ebp - 0xb8]
call fcn.1000a3d0
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 - 0x358], edi
mov word [eax], cx
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0xd
call fcn.10003ec0
cmp byte [ebp - 0x349], 0
je 0x10003430
mov esi, dword [ebp - 0x2ec]
test esi, esi
jle 0x10003ba6
mov dword [ebp - 0x350], 0
nop
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 0x10003b27
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 0x10068948
movups xmmword [ebp - 0x1b8], xmm0
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], eax
call fcn.1000bb10
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1a0]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x190], 0
push 0x100688fc
movups xmmword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x18c], 0
call fcn.1000bc10
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x17c]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x188], 0
push 0x100688fc
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.1000bc10
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x164]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x154], 0
push 0x100688fc
movups xmmword [ebp - 0x164], xmm0
mov dword [ebp - 0x150], 0
call fcn.1000bc10
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x14c]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
push 0x10068948
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x138], 0
call fcn.1000bb10
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 0x10068948
call fcn.1000bb10
lea eax, [ebp - 0x348]
mov byte [ebp - 4], 0x19
mov esi, dword [ebp - 0x318]
lea ecx, [ebp - 0x1ec]
push eax
call fcn.100094b0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1d4], esi
call fcn.100094b0
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x100039b2
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100039a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000313b
push ecx
push edx
call fcn.100385a2
add esp, 8
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10017c80
mov byte [ebp - 4], 0x1d
sub esp, 0x18
lea eax, [ebp - 0x330]
mov ecx, esp
push eax
call fcn.100094b0
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.1000ed70
test al, al
je 0x100039c5
sub esp, 0x18
lea eax, [ebp - 0x120]
mov ecx, esp
push eax
call fcn.100098d0
lea ecx, [ebp - 0x1b8]
call fcn.100158e0
push 0
push 0x100688fc
lea ecx, [ebp - 0x120]
call fcn.1000a3d0
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.100040e0
lea eax, [ebp - 0x348]
push eax
lea ecx, [edi + 0x8c]
call fcn.10004220
lea eax, [ebp - 0x124]
push eax
push 0
push edi
push 0x100043c0
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 0x10003b3e
cmp ecx, 0xf
jbe 0x10003aea
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003ae0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000313b
push ecx
push edx
call fcn.100385a2
add esp, 8
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.10003ec0
lea ecx, [ebp - 0x1b8]
call fcn.10003f60
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xd
call fcn.10003dd0
mov esi, dword [ebp - 0x2ec]
mov eax, dword [ebp - 0x350]
inc eax
mov dword [ebp - 0x350], eax
cmp eax, esi
jl 0x10003750
jmp 0x10003ba6
cmp ecx, 0xf
jbe 0x10003b6f
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003b65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000313b
push ecx
push edx
call fcn.100385a2
add esp, 8
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.10003ec0
lea ecx, [ebp - 0x1b8]
call fcn.10003f60
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xd
call fcn.10003dd0
call fcn.1003d837
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mov eax, dword [ebp - 0x2f4]
add eax, 0xfffffc18
movd xmm0, eax
divsd xmm1, qword [0x10069000]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm1, qword [0x10068ff8]
cvttsd2si eax, xmm1
add eax, dword [ebp - 0x2f8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x358]
jmp 0x10003430