Function at 0x1000a580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092b69
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x100bf594]
xor eax, ebp
mov dword [ebp - 0x10], eax
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 - 0x48], esi
lea eax, [edi + 0x200c4]
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movlpd qword [ebp - 0x64], xmm0
push eax
mov dword [ebp - 0x64], eax
call fcn.1001f75f
add esp, 4
test eax, eax
je 0x1000a5e3
push eax
call fcn.1001fb68
add esp, 4
mov byte [ebp - 0x60], 1
cmp dword [edi + 0x200c0], 0
mov byte [ebp - 4], 3
jne 0x1000a6ba
push 0
push 0
push edi
push 0x1000d500
push 0
push 0
call fcn.10070db0
add esp, 0x18
mov dword [edi + 0x200c0], eax
test eax, eax
jne 0x1000a6ba
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.10007ca0
mov ecx, edi
call fcn.10044fd0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x58]
movq qword [ebp - 0x58], xmm0
call fcn.1000c650
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.10017ad0
push esi
lea ecx, [ebp - 0x58]
call fcn.100172e0
lea ecx, [ebp - 0x44]
call fcn.1000c9b0
lea ecx, [ebp - 0x58]
call fcn.1000cc00
mov byte [ebp - 4], 6
lea eax, [edi + 0x200c4]
jmp 0x1000a911
push 0x14
call fcn.1002be13
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x1000a715
sub esp, 0x18
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov ecx, esp
lea eax, [ebp + 0x58]
mov dword [ebp - 0x5c], esp
push eax
call fcn.1000c350
push dword [ebp + 0x54]
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.1000c350
push dword [ebp - 0x48]
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.1000ab80
mov dword [ebp - 0x48], eax
jmp 0x1000a71c
mov dword [ebp - 0x48], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.1002be13
add esp, 4
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x1000a74c
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.1000c650
jmp 0x1000a74e
xor eax, eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x5c], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
movlpd qword [ebp - 0x54], xmm0
call fcn.100172e0
cmp dword [edi + 4], 0
je 0x1000a80a
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
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x44], 0xa
call fcn.10017ad0
lea eax, [ebp - 0x54]
mov dword [esi], 0
cmp esi, eax
je 0x1000a7c9
mov eax, dword [ebp - 0x54]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x50]
mov byte [esi + 4], al
jmp 0x1000a7cc
mov edi, dword [ebp - 0x54]
lea ecx, [ebp - 0x44]
mov byte [esi + 4], 1
call fcn.1000c9b0
mov byte [ebp - 4], 0xd
test edi, edi
je 0x1000a801
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1000a801
mov ecx, dword [edi + 0xa8]
test ecx, ecx
je 0x1000a7f9
mov eax, dword [ecx]
push edi
jmp 0x1000a7ff
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov byte [ebp - 4], 0xe
jmp 0x1000a90e
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0xa4], 0x1000a250
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x1000a851
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [eax]
call eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x11
push eax
call fcn.1000b700
mov ecx, dword [ebp - 0x70]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x1000a893
mov edx, dword [ecx]
lea eax, [ebp - 0x94]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [edi + 0x20098]
call fcn.10017600
lea eax, [ebp - 0x54]
mov dword [esi], 0
cmp esi, eax
je 0x1000a8c2
mov eax, dword [ebp - 0x54]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x50]
mov byte [esi + 4], al
jmp 0x1000a8c5
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov byte [esi + 4], 1
test ecx, ecx
je 0x1000a8e1
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 0x1000a90a
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1000a90a
mov ecx, dword [edi + 0xa8]
test ecx, ecx
je 0x1000a902
mov eax, dword [ecx]
push edi
jmp 0x1000a908
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x64]
push eax
call fcn.1001f784
add esp, 4
test eax, eax
je 0x1000a927
push eax
call fcn.1001fb68
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x1000a946
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.10004ce0
lea ecx, [ebp + 0x58]
call fcn.10004ce0
mov eax, esi
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.1002c1b4
mov esp, ebp
pop ebp
ret 0x68