Function at 0x1000ba60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100123e0
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x10018040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10018194], 0
mov edi, dword [ebp + 8]
je 0x1000babe
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.sub_9F5239_started
call fcn.1000d540
push 0x1000d760
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_____]
mov byte [0x10018194], 0
mov eax, 0x9f7097
mov ecx, edi
call eax
mov eax, dword [0x100187f8]
mov ecx, edi
mov dword [eax], 0x10
mov eax, 0x9f6d77
call eax
mov eax, 0x9f6d97
mov ecx, edi
call eax
cmp dword [edi + 4], 0
jne 0x1000bb14
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.failed_to_create_game_window...trying_again...
call fcn.1000d540
push 0x1000d760
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_____]
call fcn.1000b970
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 0x9f9e53
call eax
mov eax, 0x9f6f27
mov ecx, edi
call eax
mov eax, 0x9f9e98
call eax
mov eax, 0x9fa0cb
call eax
mov eax, 0x9f9eee
call eax
xor edx, edx
mov ecx, edi
call dword [0x100137e0]
mov eax, 0x9f7a3b
mov ecx, edi
call eax
xor edx, edx
mov ecx, edi
call dword [0x10013800]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x12c
call esi
mov eax, 0x9f82bc
mov ecx, edi
call eax
push 0x12c
call esi
mov eax, 0x9f8b61
mov ecx, edi
call eax
mov eax, 0x9f7034
mov ecx, edi
call eax
mov eax, 0x538c98
call eax
mov ebx, eax
mov eax, 0x49ea33
push 0
push 0
mov ecx, ebx
call eax
mov eax, 0x9f9da6
call eax
mov edx, 0x406abd
mov ecx, eax
call edx
mov eax, 0x9f9dfc
call eax
mov eax, 0x9f9f87
call eax
mov edx, 0x636f4e
mov ecx, eax
call edx
mov eax, 0x9f9ac2
call eax
mov esi, eax
mov eax, 0x71d8df
mov ecx, esi
call eax
test eax, eax
jne 0x1000bc12
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.sub_9F5239_exception
mov dword [ebp - 0x11c], 0x22000006
call fcn.1000d540
push 0x1000d760
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_____]
push 0xb44760
lea eax, [ebp - 0x11c]
push eax
mov eax, 0xa60bb7
call eax
mov eax, 0x723341
mov ecx, esi
call eax
mov eax, 0x7247a1
mov ecx, esi
call eax
mov eax, 0x9f9b73
call eax
mov esi, 0x68487c
mov ecx, eax
call esi
test eax, eax
jne 0x1000bc72
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.sub_9F5239_exception
mov dword [ebp - 0x120], 0x22000006
call fcn.1000d540
push 0x1000d760
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_____]
push 0xb44760
lea eax, [ebp - 0x120]
push eax
mov eax, 0xa60bb7
call eax
mov eax, 0x9fa078
call eax
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push eax
call dword [0x100137d4]
lea eax, [ebp - 0x114]
push eax
mov eax, 0x9f9644
call eax
lea eax, [ebp - 0x114]
push eax
mov eax, 0x9f9621
call eax
add esp, 0xc
mov dword [ebp - 0x118], 0
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
mov eax, 0x414617
lea ecx, [ebp - 0x118]
call eax
push dword [ebp - 0x118]
mov eax, 0x49ccf3
mov ecx, ebx
call eax
push 0x38
mov eax, 0x403065
mov ecx, 0xbf0b00
call eax
mov esi, eax
test esi, esi
je 0x1000bd11
mov eax, 0x62ece2
mov ecx, esi
call eax
push 0
push esi
jmp 0x1000bd15
push 0
push 0
mov eax, 0x777347
call eax
add esp, 8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp byte [0x100180cd], 0
je 0x1000bd3a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x1000bd78
lea ecx, [eax - 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000bd78
call fcn.1000d300
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x1000bd6e
add ecx, 0xfffffff4
jmp 0x1000bd70
xor ecx, ecx
push ecx
mov ecx, eax
call fcn.1000d240
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10010b59
mov esp, ebp
pop ebp
ret 8