Function at 0x1000a350
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011945
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]
cmp eax, 1
jne 0x1000a3f4
push 4
call fcn.1000d0fb
mov dword [ebp - 0x14], eax
mov dword [eax], sym.FONTCHANGER.dll_void___cdecl_stratmessage_void_
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10009ce0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000a3e5
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1000a3dd
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x1000a3dd
mov dword [ebp - 4], 0xffffffff
jmp 0x1000a406
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x18], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
sub eax, 0
je 0x1000a5ff
sub eax, 1
jne 0x1000a676
call fcn.1000cc80
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.10004850
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 2
push eax
mov ecx, 0x100178f0
call fcn.10005bf0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1000a481
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a477
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a477
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000d12b
add esp, 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push str.TIMER
push str.GLOBAL
mov ecx, 0x100178f0
call fcn.10006d50
cmp eax, 1
jne 0x1000a676
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 0x30
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1000d0fb
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], 3
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.10004850
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1c]
call fcn.10005bf0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1000a54f
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a545
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a545
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000d12b
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.10006d50
mov dword [0x100178d4], eax
mov ecx, 0x100170ac
mov al, 1
xchg byte [ecx], al
push 4
call fcn.1000d0fb
mov dword [ebp - 0x14], eax
mov dword [eax], 0x10009970
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
push ecx
push 0
push eax
push 0x10009ce0
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 0x1000a5f0
cmp dword [0x100178ec], 0
je 0x1000a5bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x38]
mov dword [0x100178ec], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x100178e8], ecx
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.10004ff0
push 0x30
push dword [ebp - 0x1c]
call fcn.1000d12b
add esp, 8
jmp 0x1000a676
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, 0x100178f0
call fcn.10006d50
cmp eax, 1
jne 0x1000a676
xor al, al
mov ecx, 0x100170ac
xchg byte [ecx], al
cmp dword [0x100178ec], 0
je 0x1000a676
call dword [sym.imp.MSVCP140.dll__Thrd_id]
mov ecx, dword [0x100178ec]
cmp ecx, eax
jne 0x1000a64d
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0
push ecx
push dword [0x100178e8]
call dword [sym.imp.MSVCP140.dll__Thrd_join]
add esp, 0xc
test eax, eax
je 0x1000a66b
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
xorps xmm0, xmm0
movlpd qword [0x100178e8], 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.1000d0e8
mov esp, ebp
pop ebp
ret 0xc