Function at 0x10009f20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100114f5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10017040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1000a199
sub eax, 1
jne 0x1000a210
push 0x100128c0
lea ecx, [ebp - 0x34]
call fcn.10004520
mov ecx, dword [ebp - 0x20]
cmp ecx, 7
jbe 0x10009fa0
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009f96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a00b
push ecx
push edx
call fcn.1000cccd
add esp, 8
call fcn.1000c740
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push str.hook.ini
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x34], xmm0
call fcn.100049f0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x100178f8
call fcn.10005c90
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1000a01b
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a011
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a011
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000cccd
add esp, 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.TIMER
push str.GLOBAL
mov ecx, 0x100178f8
call fcn.10006ee0
cmp eax, 1
jne 0x1000a210
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 0x30
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1000cc9d
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x34]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push str.hook.ini
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
call fcn.100049f0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1c]
call fcn.10005c90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1000a0e9
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a0df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a0df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000cccd
add esp, 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xa
push eax
push str.TIMESPLIT
push str.TIMER
lea ecx, [ebp - 0x1c]
call fcn.10006ee0
mov dword [0x100178d4], eax
mov ecx, 0x100170ac
mov al, 1
xchg byte [ecx], al
push 4
call fcn.1000cc9d
mov dword [ebp - 0x14], eax
mov dword [eax], 0x10009ac0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x10009e30
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x1000a18a
cmp dword [0x100178f4], 0
je 0x1000a159
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x38]
mov dword [0x100178f4], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x100178f0], ecx
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.10005090
push 0x30
push dword [ebp - 0x1c]
call fcn.1000cccd
add esp, 8
jmp 0x1000a210
push 6
mov dword [ebp - 0x38], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.TIMER
push str.GLOBAL
mov ecx, 0x100178f8
call fcn.10006ee0
cmp eax, 1
jne 0x1000a210
xor al, al
mov ecx, 0x100170ac
xchg byte [ecx], al
cmp dword [0x100178f4], 0
je 0x1000a210
call dword [sym.imp.MSVCP140.dll__Thrd_id]
mov ecx, dword [0x100178f4]
cmp ecx, eax
jne 0x1000a1e7
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0
push ecx
push dword [0x100178f0]
call dword [sym.imp.MSVCP140.dll__Thrd_join]
add esp, 0xc
test eax, eax
je 0x1000a205
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
xorps xmm0, xmm0
movlpd qword [0x100178f0], xmm0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000cc8a
mov esp, ebp
pop ebp
ret 0xc