Function at 0x10081490
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bc5dd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10248f44]
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 dword [ebp - 0x28], edi
lea eax, [edi + 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call fcn.1018d19b
add esp, 4
test eax, eax
jne 0x100816a4
mov byte [ebp - 0x18], 1
mov dword [ebp - 4], eax
mov edi, dword [edi + 0x3c]
test edi, edi
je 0x10081678
lea esi, [edi + 8]
push esi
call fcn.1018d19b
add esp, 4
test eax, eax
jne 0x100816aa
mov eax, dword [edi + 0x40]
mov edi, dword [edi + 0x44]
push esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], edi
call fcn.1018d1c0
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, dword [ebp + 8]
jne 0x10081678
cmp edi, dword [ebp + 0xc]
jne 0x10081678
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x34], eax
mov edi, dword [ecx + 0x3c]
call fcn.10070e10
test eax, eax
je 0x1008154f
mov eax, dword [eax + 0xfc]
mov dword [ebp - 0x34], eax
lea esi, [edi + 8]
mov byte [ebp - 0x24], 0
push esi
mov byte [ebp - 0x1d], 0
call fcn.1018d19b
add esp, 4
test eax, eax
jne 0x100816b0
mov eax, dword [ebp - 0x34]
mov ecx, dword [edi + 0x38]
cmp eax, 5
jne 0x10081591
cmp ecx, 1
je 0x100815c5
mov eax, dword [ebp - 0x24]
cmp ecx, 3
movzx eax, al
mov edx, 1
cmove eax, edx
mov dword [ebp - 0x24], eax
jmp 0x100815d0
cmp eax, 7
jne 0x100815b1
cmp ecx, 1
je 0x100815c5
mov eax, dword [ebp - 0x24]
cmp ecx, 3
movzx eax, al
mov edx, 1
cmove eax, edx
mov byte [ebp - 0x24], al
jmp 0x100815d0
cmp ecx, 1
jne 0x100815d6
push esi
mov dword [edi + 0x38], 2
call fcn.1018d1c0
jmp 0x10081600
mov dword [edi + 0x38], 3
mov byte [ebp - 0x24], 1
mov al, byte [edi + 0x3c]
mov byte [ebp - 0x1d], al
push esi
call fcn.1018d1c0
add esp, 4
cmp byte [ebp - 0x24], 0
je 0x10081603
push 1
mov ecx, edi
call fcn.1007d000
cmp byte [ebp - 0x1d], 0
je 0x10081603
lea eax, [edi + 0x1e4]
push eax
call fcn.1018caeb
add esp, 4
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
push 0x18
mov dword [ebp - 0x4c], 0x493e0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], eax
call fcn.1018a730
movups xmm0, xmmword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [eax + 0x10], xmm0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x10085ff0
push 0
push 0
call fcn.1019d81f
add esp, 0x1c
mov dword [ebp - 0x30], eax
test eax, eax
je 0x100816bb
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.10066520
cmp dword [ebp - 0x2c], 0
jne 0x100816b6
lea eax, [esi + 0xc]
jmp 0x1008167e
mov eax, dword [ebp - 0x28]
add eax, 0xc
push eax
call fcn.1018d1c0
add esp, 4
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.1018a722
mov esp, ebp
pop ebp
ret 8
push eax
call fcn.1018ce33
push eax
call fcn.1018ce33
push eax
call fcn.1018ce33
call fcn.1019d8b0
push 6
mov dword [ebp - 0x2c], 0
call fcn.1018ce60
int3