Function at 0x1000a400
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011945
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10017040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
cmp eax, 1
jne 0x1000a4a8
push 4
call fcn.1000d101
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 0x10009dd0
push 0
push 0
call esi
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000a499
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1000a491
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x1000a491
mov dword [ebp - 4], 0xffffffff
jmp 0x1000a4ba
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 0x1000a6cc
sub eax, 1
jne 0x1000a69b
call fcn.1000cc20
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 0x1000a535
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a52b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a52b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000d131
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.10006e10
cmp eax, 1
jne 0x1000a69b
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 0x30
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1000d101
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 0x1000a603
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a5f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a5f9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000d131
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.10006e10
mov dword [0x100178d4], eax
mov ecx, 0x100170ac
mov al, 1
xchg byte [ecx], al
push 4
call fcn.1000d101
mov dword [ebp - 0x14], eax
mov dword [eax], 0x10009a60
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
push ecx
push 0
push eax
push 0x10009dd0
push 0
push 0
call esi
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x1000a6bd
cmp dword [0x100178ec], 0
je 0x1000a66f
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.1000d131
add esp, 8
mov eax, 1
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.1000d0ee
mov esp, ebp
pop ebp
ret 0xc
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.10006e10
cmp eax, 1
jne 0x1000a743
xor al, al
mov ecx, 0x100170ac
xchg byte [ecx], al
cmp dword [0x100178ec], 0
je 0x1000a743
call dword [sym.imp.MSVCP140.dll__Thrd_id]
mov ecx, dword [0x100178ec]
cmp ecx, eax
jne 0x1000a71a
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 0x1000a738
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
xorps xmm0, xmm0
movlpd qword [0x100178e8], xmm0
mov edi, dword [sym.imp.GDI32.dll_RemoveFontResourceExA]
nop dword [eax]
push 0x10012578
push str.FONTFILENAME
push str.FONT
lea eax, [ebp - 0x54]
mov ecx, 0x100178f0
push eax
call fcn.10006990
cmp dword [eax + 0x14], 0xf
jbe 0x1000a775
mov eax, dword [eax]
push 0
push 0x20
push eax
call edi
mov ecx, dword [ebp - 0x40]
mov esi, eax
cmp ecx, 0xf
jbe 0x1000a7b2
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a7a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a525
push ecx
push edx
call fcn.1000d131
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
test esi, esi
je 0x1000a69b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x10012a40
push 0x10002580
call fcn.10002360
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x1000a750