Function at 0x10010a80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055efd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1007e0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x1007f48c], 0
je 0x10010d63
call fcn.10014c60
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.100105c0
cmp byte [0x1007f497], 0
mov edi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
je 0x10010b71
mov ecx, dword [esi + 0x10]
call fcn.10014b20
test al, al
je 0x10010b71
cmp byte [0x1007e198], 0
je 0x10010b0c
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
mov dword [ebp - 0x28], edx
call edi
add esp, 8
mov byte [0x1007e198], 0
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x7d1
idiv ecx
sub esp, 0x18
xorps xmm0, xmm0
lea ecx, [edx + 0x1388]
mov edx, esp
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0xb
mov dword [edx + 0x14], 0xf
movq xmm0, qword [str.ReviveDelay]
movq qword [edx], xmm0
mov ax, word [0x10076b48]
mov word [edx + 8], ax
mov al, byte [0x10076b4a]
mov byte [edx + 0xa], al
mov byte [edx + 0xb], 0
call fcn.10016970
add esp, 0x18
test al, al
je 0x10010b71
mov ecx, str._restart_here
call fcn.100149e0
cmp byte [0x1007f498], 0
je 0x10010b8d
mov ecx, dword [esi + 0x10]
call fcn.10014b20
test al, al
jne 0x10010b8d
mov cl, 1
call fcn.10018990
cmp byte [0x1007f499], 0
je 0x10010c3c
mov ecx, dword [esi + 0x10]
call fcn.10014b20
test al, al
jne 0x10010c3c
cmp byte [0x1007e198], 0
mov eax, dword [0x1007e130]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1007e134]
mov dword [ebp - 0x24], eax
je 0x10010bdb
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
mov dword [ebp - 0x28], edx
call edi
add esp, 8
mov byte [0x1007e198], 0
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, dword [ebp - 0x20]
sub esp, 0x18
mov edi, dword [ebp - 0x24]
xorps xmm0, xmm0
sub ecx, edi
cdq
inc ecx
idiv ecx
lea ecx, [edi + edx]
mov edx, esp
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0xb
mov dword [edx + 0x14], 0xf
movq xmm0, qword [str.PickupDelay]
movq qword [edx], xmm0
mov ax, word [0x10076b64]
mov word [edx + 8], ax
mov al, byte [0x10076b66]
mov byte [edx + 0xa], al
mov byte [edx + 0xb], 0
call fcn.10016970
add esp, 0x18
test al, al
je 0x10010c3c
call fcn.10010850
cmp byte [0x1007f49a], 0
je 0x10010d63
mov ecx, dword [esi + 0x10]
call fcn.10014b20
test al, al
jne 0x10010d63
push dword [0x1007e138]
mov edx, 0x20
lea ecx, [ebp - 0x2c]
call fcn.10014e40
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp esi, eax
je 0x10010d58
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [eax]
mov ecx, dword [esi + 0x14]
call fcn.10014ce0
cmp eax, 2
jne 0x10010d44
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0x1c]
call fcn.10014b90
mov ecx, dword [0x1007f534]
mov edx, dword [0x1007f538]
cmp ecx, edx
je 0x10010d00
movss xmm1, dword [ebp - 0x14]
movss xmm2, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x1c]
nop dword [eax + eax]
movss xmm0, dword [ecx]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10010cf9
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10010cf9
movss xmm0, dword [ecx + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10010d44
add ecx, 0xc
cmp ecx, edx
jne 0x10010cd0
cmp edx, dword [0x1007f53c]
je 0x10010d20
movq xmm0, qword [ebp - 0x1c]
movq qword [edx], xmm0
mov eax, dword [ebp - 0x14]
mov dword [edx + 8], eax
add dword [0x1007f538], 0xc
jmp 0x10010d2a
lea eax, [ebp - 0x1c]
push eax
push edx
call fcn.100108d0
cmp byte [0x1007f49b], 0
je 0x10010d44
push 0
push 0
push 0
push 0x100116e0
push 0
push 0
call edi
lea ecx, [ebp - 0x20]
call fcn.10006730
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x2c]
jne 0x10010c90
lea eax, [ebp - 0x2c]
push eax
mov ecx, eax
call fcn.10016170
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.1001a4bb
mov esp, ebp
pop ebp
ret