Function at 0x1001c350
Capabilities:
Create thread
Query environment variable

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
sub esp, 0x88
mov eax, dword [0x10122064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x68]
mov edi, edx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x74], edi
mov esi, ecx
push eax
mov dword [ebp - 0x68], esi
call fcn.10020bc0
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x1001c3b5
cmp esi, dword [eax + 0x10]
jb 0x1001c3b5
mov eax, 0xe0000004
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a020
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x7c]
push eax
push esi
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
test eax, eax
jne 0x1001c3de
mov eax, 0xe0000006
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a020
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0xc8
call fcn.100a1290
mov esi, eax
add esp, 4
mov dword [ebp - 0x6c], esi
test esi, esi
jne 0x1001c40c
mov eax, 0xe0000003
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a020
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x94
lea eax, [esi + 0x34]
mov dword [esi + 4], 0
push 0
push eax
call fcn.1008d070
movups xmm0, xmmword [edi]
mov eax, dword [ebp - 0x68]
add esp, 0xc
mov dword [esi], eax
mov eax, dword [edi + 0x28]
mov edx, eax
movups xmmword [esi + 8], xmm0
mov ecx, edx
mov dword [ebp - 0x20], 0
movups xmm0, xmmword [edi + 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [edi + 0x20]
movq qword [esi + 0x28], xmm0
mov dword [esi + 0x30], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c466
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.1001de90
cmp dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmovae eax, dword [ebp - 0x20]
push 0
push 0
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
call edi
mov esi, eax
test esi, esi
je 0x1001c50c
mov ecx, dword [ebp - 0x28]
cmp esi, ecx
ja 0x1001c4c7
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], esi
cmovae ecx, dword [ebp - 0x38]
mov byte [ecx + esi], 0
jmp 0x1001c4d6
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x38]
push 0
push eax
call fcn.1001df80
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
push esi
cmovae ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
cmp dword [ebp - 0xc], 0x10
push ecx
cmovae eax, dword [ebp - 0x20]
push eax
call edi
test eax, eax
jne 0x1001c50c
cmp dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x20]
push dword [ebp - 0x10]
cmovae eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
push eax
call fcn.1001de90
push 8
push str.indicium
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
call fcn.1001de90
sub esp, 0x18
mov byte [ebp - 0x5c], 0
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.1001db50
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x64]
call fcn.10026660
mov eax, dword [ebp - 0x3c]
add esp, 0x1c
cmp eax, 0x10
jb 0x1001c58d
mov ecx, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
cmp eax, 0x1000
jb 0x1001c583
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10017080
mov eax, dword [ebp - 0x54]
add esp, 8
mov ecx, dword [ebp - 0x58]
push eax
push ecx
call fcn.1008ab90
add esp, 8
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x1001c5c6
mov ecx, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
cmp eax, 0x1000
jb 0x1001c5bc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10017080
mov eax, dword [ebp - 0x58]
add esp, 8
mov ecx, dword [ebp - 0x54]
push eax
push ecx
call fcn.1008ab90
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp eax, 0x10
jb 0x1001c611
mov ecx, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
cmp eax, 0x1000
jb 0x1001c607
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10017080
mov eax, dword [ebp - 0x58]
add esp, 8
mov ecx, dword [ebp - 0x54]
push eax
push ecx
call fcn.1008ab90
add esp, 8
call fcn.1001be40
mov esi, eax
push esi
mov dword [ebp - 0x58], esi
call fcn.10088320
add esp, 4
test eax, eax
jne 0x1001c93b
mov ecx, dword [esi + 0x94]
mov edi, 1
mov eax, dword [ecx]
cmp eax, ecx
je 0x1001c653
nop dword [eax]
mov edx, dword [eax + 0x20]
mov esi, edi
add edx, 0x2c
xchg dword [edx], esi
mov eax, dword [eax]
cmp eax, ecx
jne 0x1001c640
mov esi, dword [ebp - 0x58]
push esi
mov dword [esi + 0xd4], edi
call fcn.10088340
mov eax, dword [ebp - 0x64]
add esp, 4
add eax, 0x30
xchg dword [eax], edi
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x24], 0
je 0x1001c69a
mov edi, dword [ebp - 0x60]
test edi, edi
je 0x1001c681
lock inc dword [edi + 4]
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
call fcn.1001be40
sub esp, 8
mov ecx, esp
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov ecx, eax
call fcn.1001bc50
push 8
push str.indicium
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
call fcn.1001de90
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x10]
call fcn.1001c050
sub esp, 0x18
mov ecx, esp
mov edi, dword [eax]
push 3
push 0x10104360
mov eax, dword [edi]
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov esi, dword [eax + 4]
call fcn.1001de90
lea eax, [ebp - 0x84]
mov ecx, edi
push eax
call esi
or edi, 0xffffffff
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
test esi, esi
je 0x1001c741
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1001c741
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1001c741
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x1001c767
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1001c767
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1001c767
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x1001c78d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1001c78d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1001c78d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1001c7c6
mov ecx, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
cmp eax, 0x1000
jb 0x1001c7bc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10017080
mov eax, dword [ebp - 0x58]
add esp, 8
mov ecx, dword [ebp - 0x54]
push eax
push ecx
call fcn.1008ab90
add esp, 8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, dword [ebp - 0x6c]
mov dword [esi + 0xb8], eax
cmp eax, 0xffffffff
je 0x1001c8aa
test eax, eax
je 0x1001c8aa
mov ecx, dword [ebp - 0x64]
push 0x3d
push str.Indicium_engine_initialized__attempting_to_launch_main_thread
push 2
sub esp, 0xc
mov dword [ebp - 0x14], 0
mov eax, esp
mov dword [ebp - 0x10], 0
movq xmm0, qword [ebp - 0x14]
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.10019590
push 0
push 0
push esi
push 0x10032170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
movq xmm0, qword [ebp - 0x14]
mov dword [esi + 0xb4], eax
test eax, eax
jne 0x1001c87e
push 0x2e
push str.Could_not_create_main_thread__library_unusable
push 4
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.10019590
mov ecx, 0xe0000002
jmp 0x1001c8fb
push str.Main_thread_created_successfully
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.10027200
lea eax, [ebp - 0x68]
push eax
call fcn.1001cec0
mov ecx, 0x20000000
mov dword [eax], esi
jmp 0x1001c8fb
mov esi, dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
mov ecx, esi
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x14], 0
movq xmm0, qword [ebp - 0x18]
push eax
sub esp, 0x10
mov dword [ebp - 0x78], str.Failed_to_create_the_Engine_Cancellation_Event:_
mov eax, esp
mov dword [ebp - 0x74], 0x32
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.10027f60
mov ecx, 0xe0000008
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x54], ecx
test esi, esi
je 0x1001c926
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1001c926
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1001c923
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [ebp - 0x54]
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1008a020
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push eax
call fcn.10087020
int3