Function at 0x1000a420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011af5
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 0x1000a65b
sub eax, 1
jne 0x1000a6d2
call fcn.1000cc20
call sym.FONTCHANGER.dll_void___cdecl_stratmessage_void_
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.10004960
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x100178f8
call fcn.10005d00
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1000a4dd
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a4d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a4d3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000d20d
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.10006e60
cmp eax, 1
jne 0x1000a6d2
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 0x30
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1000d1dd
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.10004960
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1c]
call fcn.10005d00
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1000a5ab
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a5a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a5a1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000d20d
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.10006e60
mov dword [0x100178d4], eax
mov ecx, 0x100170ac
mov al, 1
xchg byte [ecx], al
push 4
call fcn.1000d1dd
mov dword [ebp - 0x14], eax
mov dword [eax], 0x10009a40
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x10009db0
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 0x1000a64c
cmp dword [0x100178f4], 0
je 0x1000a61b
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.10005100
push 0x30
push dword [ebp - 0x1c]
call fcn.1000d20d
add esp, 8
jmp 0x1000a6d2
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.10006e60
cmp eax, 1
jne 0x1000a6d2
xor al, al
mov ecx, 0x100170ac
xchg byte [ecx], al
cmp dword [0x100178f4], 0
je 0x1000a6d2
call dword [sym.imp.MSVCP140.dll__Thrd_id]
mov ecx, dword [0x100178f4]
cmp ecx, eax
jne 0x1000a6a9
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 0x1000a6c7
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.1000d1ca
mov esp, ebp
pop ebp
ret 0xc