Function at 0x10011fd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fafd9
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x10146fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4c], esi
lea ebx, [edi + 0x200c4]
mov dword [ebp - 4], 2
push ebx
mov dword [ebp - 0x60], ebx
call fcn.10075ea0
add esp, 4
test eax, eax
je 0x1001202c
push eax
call fcn.100762a9
add esp, 4
mov byte [ebp - 0x5c], 1
cmp dword [edi + 0x200c0], 0
mov byte [ebp - 4], 3
jne 0x100120ef
push 0
push 0
push edi
push 0x10009680
push 0
push 0
call fcn.100d6371
add esp, 0x18
mov dword [edi + 0x200c0], eax
test eax, eax
jne 0x100120ef
sub esp, 0x18
mov ecx, esp
push 0x11
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push str.begin_thread_fail
mov byte [ecx], al
call fcn.1000af60
mov ecx, edi
call fcn.1009d6e0
lea ecx, [ebp - 0x58]
call fcn.10013d40
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 9
call fcn.10019420
push esi
lea ecx, [ebp - 0x58]
call fcn.10019210
lea ecx, [ebp - 0x44]
call fcn.10013f00
lea ecx, [ebp - 0x58]
call fcn.10014140
mov byte [ebp - 4], 6
push ebx
jmp 0x1001231c
push 0x14
call fcn.100a94c0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 4], 7
test ebx, ebx
je 0x1001213d
sub esp, 0x18
lea eax, [ebp + 0x58]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.10007990
push dword [ebp + 0x54]
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10007990
push ebx
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.10006d30
mov dword [ebp - 0x4c], eax
jmp 0x10012144
mov dword [ebp - 0x4c], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.100a94c0
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x10012168
mov ecx, eax
call fcn.10013d40
mov ebx, eax
jmp 0x1001216a
xor ebx, ebx
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.10019210
cmp dword [edi + 4], 0
je 0x1001221a
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xb
push eax
mov ecx, ebx
mov dword [ebp - 0x44], 0xa
call fcn.10019420
lea eax, [ebp - 0x54]
mov dword [esi], 0
cmp esi, eax
je 0x100121d9
mov eax, dword [ebp - 0x54]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x50]
mov byte [esi + 4], al
jmp 0x100121dc
mov edi, dword [ebp - 0x54]
lea ecx, [ebp - 0x44]
mov byte [esi + 4], 1
call fcn.10013f00
mov byte [ebp - 4], 0xd
test edi, edi
je 0x10012211
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10012211
mov ecx, dword [edi + 0xa8]
test ecx, ecx
je 0x10012209
mov eax, dword [ecx]
push edi
jmp 0x1001220f
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov byte [ebp - 4], 0xe
jmp 0x10012319
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0xa0], 0x10011550
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x1001225c
mov eax, dword [ecx]
lea edx, [ebp - 0x90]
push edx
call dword [eax]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
push eax
call fcn.10012ab0
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x1001229e
mov edx, dword [ecx]
lea eax, [ebp - 0x90]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [edi + 0x20098]
call fcn.1000bea0
lea eax, [ebp - 0x54]
mov dword [esi], 0
cmp esi, eax
je 0x100122cd
mov eax, dword [ebp - 0x54]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x50]
mov byte [esi + 4], al
jmp 0x100122d0
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov byte [esi + 4], 1
test ecx, ecx
je 0x100122ec
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 4], 0x14
test edi, edi
je 0x10012315
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10012315
mov ecx, dword [edi + 0xa8]
test ecx, ecx
je 0x1001230d
mov eax, dword [ecx]
push edi
jmp 0x10012313
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov byte [ebp - 4], 0x15
push dword [ebp - 0x60]
call fcn.10075ec5
add esp, 4
test eax, eax
je 0x10012331
push eax
call fcn.100762a9
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x10012350
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
lea ecx, [ebp + 0x3c]
call fcn.100087a0
lea ecx, [ebp + 0x58]
call fcn.100087a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2ecd
mov esp, ebp
pop ebp
ret 0x68