Function at 0x1018b380
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
call fcn.1018d100
cmp dword [0x1034d16c], 0
nop
jne 0x1018b413
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x1034d16c], eax
xor eax, eax
mov ecx, 0x1034d170
xchg dword [ecx], eax
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0xc]
mov dword [esi + 0xc], eax
test edi, edi
je 0x1018b458
mov eax, dword ds:[edi + 4]
test eax, eax
je 0x1018b44d
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0x10]
mov dword [esi + 0x10], eax
test edi, edi
je 0x1018b493
mov eax, dword [edi + 4]
test eax, eax
je 0x1018b488
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0x14]
mov dword [esi + 0x14], eax
test edi, edi
je 0x1018b4c9
mov eax, dword [edi + 4]
test eax, eax
je 0x1018b4be
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0x18]
mov dword [esi + 0x18], eax
test edi, edi
je 0x1018b4ff
mov eax, dword [edi + 4]
test eax, eax
je 0x1018b4f4
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x1c], eax
test edi, edi
je 0x1018b538
mov eax, dword ds:[edi + 4]
test eax, eax
je 0x1018b52d
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0x20]
mov dword [esi + 0x20], eax
test edi, edi
je 0x1018b573
mov eax, dword [edi + 4]
test eax, eax
je 0x1018b568
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0x24]
mov dword [esi + 0x24], eax
test edi, edi
je 0x1018b5a9
mov eax, dword [edi + 4]
test eax, eax
je 0x1018b59e
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0x28]
mov dword [esi + 0x28], eax
test edi, edi
je 0x1018b5df
mov eax, dword [edi + 4]
test eax, eax
je 0x1018b5d4
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0x2c]
mov dword [esi + 0x2c], eax
test edi, edi
je 0x1018b618
mov eax, dword ds:[edi + 4]
test eax, eax
je 0x1018b60d
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0x30]
mov dword [esi + 0x30], eax
test edi, edi
je 0x1018b653
mov eax, dword [edi + 4]
test eax, eax
je 0x1018b648
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0x34]
mov dword [esi + 0x34], eax
test edi, edi
je 0x1018b689
mov eax, dword [edi + 4]
test eax, eax
je 0x1018b67e
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], eax
test edi, edi
je 0x1018b6bf
mov eax, dword [edi + 4]
test eax, eax
je 0x1018b6b4
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
push 8
call fcn.1009882d
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x3c], eax
test edi, edi
je 0x1018b6f8
mov eax, dword ds:[edi + 4]
test eax, eax
je 0x1018b6ed
push eax
call fcn.1009885d
add esp, 4
push 8
push edi
call fcn.1009838d
add esp, 8
mov eax, dword [0x1034973c]
mov ecx, dword [esi + 0xc]
push dword [eax + 0xc]
call fcn.1018db40
mov eax, dword [0x1034973c]
mov ecx, dword [esi + 0x10]
push dword [eax + 8]
call fcn.1018db40
mov eax, dword [0x1034973c]
mov ecx, dword [esi + 0x14]
push dword [eax + 0x18]
call fcn.1018db40
mov eax, dword [0x1034973c]
mov ecx, dword [esi + 0x1c]
push dword [eax + 0x28]
call fcn.1018db40
mov eax, dword [0x1034973c]
mov ecx, dword [esi + 0x18]
push dword [eax + 4]
call fcn.1018db40
mov eax, dword [0x10357ef4]
mov edi, dword [esi + 0x24]
test eax, eax
jne 0x1018b76d
push str.shaderapidx9.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0xbc40
call eax
mov eax, dword [eax]
mov dword [0x10357ef4], eax
push eax
mov ecx, edi
call fcn.1018db40
mov eax, dword [0x1034973c]
mov ecx, dword [esi + 0x28]
push dword [eax + 0x24]
call fcn.1018db40
mov eax, dword [0x1034973c]
mov ecx, dword [esi + 0x2c]
push dword [eax + 0x4c]
call fcn.1018db40
mov eax, dword [0x1034973c]
mov ecx, dword [esi + 0x30]
push dword [eax + 0x50]
call fcn.1018db40
mov eax, dword [0x1034973c]
mov ecx, dword [esi + 0x34]
push dword [eax + 0x5c]
call fcn.1018db40
mov eax, dword [0x1034973c]
mov ecx, dword [esi + 0x38]
push dword [eax + 0x64]
call fcn.1018db40
mov eax, dword [0x1034973c]
mov ecx, dword [esi + 0x3c]
push dword [eax + 0x14]
call fcn.1018db40
push 0
push 0
push 0
push 0x1018b800
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov eax, esi
pop esi
ret