Function at 0x1011b990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f4b6
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x1030e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
push 0x200823
xor edx, edx
mov dword [ebp - 0x50], 0
mov ecx, str.Demos
call fcn.100580c0
add esp, 4
test al, al
je 0x1011c0c4
mov ecx, dword [0x10317358]
mov eax, dword [ecx + 0x3f34]
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x3f34]
cmp byte [eax + 0xe4], 0
jne 0x1011ba47
movss xmm0, dword [ecx + 0x386c]
movss xmm1, dword [eax + 0x154]
addss xmm0, xmm0
addss xmm0, dword [ecx + 0x3c9c]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0x160]
movss dword [eax + 0x154], xmm1
maxss xmm0, dword [ecx + 0x386c]
movss dword [eax + 0x160], xmm0
mov al, byte [esi + 0x38]
test al, al
je 0x1011ba60
push str.Searching_for_demo_files...
call fcn.100bda30
add esp, 4
jmp 0x1011c0bf
mov ecx, dword [0x10317358]
mov eax, dword [ecx + 0x3f34]
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x3f34]
cmp byte [eax + 0xe4], 0
jne 0x1011bac2
movss xmm0, dword [ecx + 0x386c]
movss xmm1, dword [eax + 0x154]
addss xmm0, xmm0
addss xmm0, dword [ecx + 0x3c9c]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0x160]
movss dword [eax + 0x154], xmm1
maxss xmm0, dword [ecx + 0x386c]
movss dword [eax + 0x160], xmm0
cmp dword [esi + 0x4c], 0
jne 0x1011bae1
mov ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x2c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x1011bae7
mov eax, dword [esi + 0x98]
push eax
push str._d_demos_found_
call fcn.100bda30
movss xmm1, dword [0x102f3b68]
add esp, 8
xorps xmm0, xmm0
call fcn.1005efa0
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str._Add_path
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.10012a80
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0xb
push str._Refresh
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.10012a80
mov byte [ebp - 4], 1
mov ecx, dword [0x10317358]
movss xmm2, dword [ecx + 0x3c9c]
mov eax, dword [ecx + 0x3f34]
movaps xmm1, xmm2
mulss xmm2, dword [0x102f39e4]
mulss xmm1, dword [0x102f3964]
movaps xmm0, xmm2
movss dword [ebp - 0x68], xmm2
mulss xmm0, dword [0x102f39d8]
movss dword [ebp - 0x64], xmm1
comiss xmm0, dword [eax + 0x4c]
jbe 0x1011bd91
cmp dword [ebp - 0x30], 0xf
lea edi, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
movaps xmm0, xmm1
cmova edi, dword [ebp - 0x44]
movss dword [ebp - 0x60], xmm0
movss dword [ebp - 0x68], xmm0
movss dword [ebp - 0x64], xmm1
cmp eax, 1
jb 0x1011bc03
add eax, edi
sub eax, edi
push eax
push 0x20
push edi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1011bc03
nop dword [eax]
cmp byte [ecx], 0x20
je 0x1011bd82
mov eax, dword [ebp - 0x34]
inc ecx
add eax, edi
sub eax, ecx
push eax
push 0x20
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x1011bbe0
or ecx, 0xffffffff
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x34], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
cmovb ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x30], 0xf
push ecx
cmova eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x80]
push eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.10012a80
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x50], 1
call fcn.100126b0
movups xmm0, xmmword [ebp - 0x80]
mov edi, 1
mov byte [ebp - 0x80], 0
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x70]
mov dword [ebp - 0x50], edi
and edi, 0xfffffffe
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.100126b0
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmova ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], ecx
cmp eax, 1
jb 0x1011bcdb
add eax, ecx
sub eax, ecx
push eax
push 0x20
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1011bcdb
cmp byte [ecx], 0x20
je 0x1011bd89
mov eax, dword [ebp - 0x1c]
inc ecx
add eax, dword [ebp - 0x4c]
sub eax, ecx
push eax
push 0x20
push ecx
call sub.VCRUNTIME140.dll_memchr
mov esi, dword [ebp - 0x54]
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x1011bcb4
or ecx, 0xffffffff
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x1c], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x98], xmm0
cmovb ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0xf
push ecx
cmova eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x98]
push eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
call fcn.10012a80
or edi, 2
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], edi
call fcn.100126b0
movups xmm0, xmmword [ebp - 0x98]
and edi, 0xfffffffd
mov byte [ebp - 0x98], 0
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x88]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.100126b0
mov ecx, dword [0x10317358]
movss xmm2, dword [ebp - 0x60]
jmp 0x1011bd94
sub ecx, edi
jmp 0x1011bc06
sub ecx, dword [ebp - 0x4c]
jmp 0x1011bcde
mov edi, dword [ebp - 0x50]
mov eax, dword [ecx + 0x3f34]
mulss xmm2, dword [0x102f3988]
movss xmm1, dword [eax + 0x4c]
subss xmm1, xmm2
subss xmm1, dword [ecx + 0x3878]
subss xmm1, dword [ecx + 0x3834]
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x3f34]
mov cl, 1
movss xmm0, dword [eax + 0x44]
subss xmm0, dword [eax + 0xac]
mov byte [eax + 0x169], 1
addss xmm0, xmm1
movss dword [eax + 0x128], xmm0
call fcn.1005b970
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
push 0
cmova ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x68]
call fcn.100bead0
mov eax, dword [0x10317358]
add esp, 4
mov edx, dword [eax + 0x478c]
dec dword [eax + 0x48a0]
mov ecx, dword [eax + 0x48a0]
dec word [eax + 0x5b70]
mov eax, dword [eax + 0x48a8]
shr edx, 2
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [0x10317358]
mov dword [ecx + 0x478c], eax
test dl, 1
je 0x1011be53
test al, 4
jne 0x1011be53
mov eax, dword [ecx + 0x5b6c]
mov dword [ecx + 0x382c], eax
movss xmm1, dword [0x102f3b68]
xorps xmm0, xmm0
call fcn.1005efa0
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
push 0
cmova ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x68]
call fcn.100bead0
add esp, 4
test al, al
je 0x1011bf43
mov al, 1
lea ecx, [esi + 0x38]
xchg byte [ecx], al
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
push 4
call fcn.1013cffa
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x14], eax
push ecx
push 0
push eax
push 0x1011da30
push 0
or edi, 4
mov dword [eax], esi
push 0
mov dword [ebp - 0x50], edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1011bf34
and edi, 0xfffffffb
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x1011bf2c
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x1011bf2c
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x58], eax
je 0x1011bf07
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
call fcn.1005af70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100126b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.100126b0
jmp 0x1011c0c4
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x58], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, esi
call fcn.1011b650
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x54], eax
cmp eax, dword [esi + 0x1c]
jae 0x1011c0a4
imul edi, eax, 0x34
mov dword [ebp - 0x14], edi
nop
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x20]
neg eax
sbb eax, eax
add ecx, edi
and eax, 0x20
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1002b200
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0xf
jbe 0x1011bf90
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov ecx, dword [0x10317358]
mov eax, dword [ecx + 0x3f34]
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x3f34]
mov dword [ebp - 0x60], eax
cmp byte [eax + 0xe4], 0
je 0x1011bfbb
mov byte [ebp - 0x45], 0
jmp 0x1011c013
mov ecx, dword [eax + 0x11c]
xor edx, edx
mov eax, dword [eax + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x4c]
call fcn.1004bb50
mov ecx, dword [ebp - 0x60]
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, dword [ecx]
cmp dword [ecx + 0x3f68], eax
jne 0x1011bffe
push ecx
push dword [ebp - 0x4c]
mov edx, 0xb
mov ecx, eax
call fcn.1007a060
mov eax, dword [ebp - 0x64]
add esp, 8
mov edx, dword [ebp - 0x58]
mov ecx, eax
push 0
push dword [ebp - 0x4c]
call fcn.100d2fb0
add esp, 8
mov byte [ebp - 0x45], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.100126b0
cmp byte [ebp - 0x45], 0
je 0x1011c08e
mov eax, dword [esi + 0x20]
cmp byte [eax + edi + 0x30], 0
je 0x1011c0df
mov ecx, dword [ebp - 0x14]
mov edi, dword [eax + edi + 0x18]
cmp edi, dword [eax + ecx + 0x1c]
jae 0x1011c076
mov edx, dword [ebp - 0x14]
imul ecx, edi, 0x34
mov dword [ebp - 0x4c], ecx
nop dword [eax]
add eax, ecx
cmp byte [eax + 0x30], 0
je 0x1011c066
push eax
mov ecx, esi
call fcn.1011b0c0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x20]
inc edi
add ecx, 0x34
mov dword [ebp - 0x4c], ecx
cmp edi, dword [eax + edx + 0x1c]
jb 0x1011c050
mov edi, dword [ebp - 0x14]
mov eax, dword [esi + 0x20]
mov ecx, esi
add eax, 0x20
add eax, edi
push eax
call fcn.1011ae90
call fcn.100d3d60
mov eax, dword [ebp - 0x54]
add edi, 0x34
inc eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x54], eax
cmp eax, dword [esi + 0x1c]
jb 0x1011bf60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100126b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.100126b0
call fcn.1005af70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret
push str.Search_path_is_empty.
call fcn.100bda30
add esp, 4
jmp 0x1011c079