Function at 0x100236f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10050410
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x1007ff50]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007ff50]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
xor ebp, ebp
cmp byte [esp + 0x148], 0
mov dword [esp + 0xd0], 3
je 0x10023bd7
mov dword [esp + 0x30], ebp
call fcn.1004b610
cmp dword [esp + 0x108], ebp
mov dword [esp + 0x34], eax
je 0x10023bd7
cmp dword [esp + 0xf0], 0x10
mov eax, dword [esp + 0xdc]
jae 0x10023778
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMStringConvert::CharToGMString_char_const__]
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x98]
push edx
mov byte [esp + 0xe0], 4
call dword [sym.imp.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMFileName::GetDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xa0]
push ecx
mov byte [esp + 0xe8], 6
call dword [sym.imp.K8Common.dll__GetAllSons_GMFilePathUtils_GameMgr__SAXABV__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__AA]
add esp, 0x18
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x24]
cmp esi, ebp
je 0x10023b09
mov ecx, dword [esp + 0x28]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x10023b09
mov edx, dword [esp + 0x1c]
lea eax, [edx + esi]
push eax
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov edx, dword [esp + 0x6c]
cmp edx, 8
mov edi, dword [esp + 0x58]
mov byte [esp + 0xd0], 7
mov eax, edi
jae 0x1002382d
lea eax, [esp + 0x58]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x10023830
sub eax, esi
sar eax, 1
cmp edx, 8
mov ebx, eax
mov eax, edi
jae 0x1002384c
lea eax, [esp + 0x58]
push str..gmz
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
cmp eax, ebp
je 0x100238ec
mov ebp, dword [esp + 0x6c]
cmp ebp, 8
mov ecx, dword [esp + 0x58]
jae 0x10023874
lea ecx, [esp + 0x58]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10023877
sub ecx, esi
sar ecx, 1
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x10023890
sub eax, esi
sar eax, 1
mov esi, eax
mov eax, str..gmz
lea edi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x100238b0
sub eax, edi
sar eax, 1
sub eax, esi
add eax, ecx
cmp ebp, 8
mov ebx, eax
mov eax, dword [esp + 0x58]
jae 0x100238d2
lea eax, [esp + 0x58]
lea eax, [eax + ebx*2]
push str..gmz
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x10023863
mov ebp, dword [esp + 0x6c]
cmp ebp, 8
mov eax, dword [esp + 0x58]
jae 0x100238fd
lea eax, [esp + 0x58]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10023900
sub eax, edx
mov ecx, str..gmz
sar eax, 1
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10023917
sub ecx, esi
sar ecx, 1
cmp eax, ecx
jb 0x100239ad
mov eax, str..gmz
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10023936
sub eax, edx
sar eax, 1
cmp ebp, 8
mov edi, eax
mov eax, dword [esp + 0x58]
jae 0x10023954
lea eax, [esp + 0x58]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10023957
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, str..gmz
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10023970
mov ecx, dword [esp + 0x58]
sub eax, esi
sar eax, 1
cmp ebp, 8
jae 0x1002398c
lea ecx, [esp + 0x58]
push edi
sub edx, eax
lea ecx, [ecx + edx*2]
push str..gmz
push ecx
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x10023ad4
mov ebp, dword [esp + 0x6c]
cmp ebp, 8
mov eax, dword [esp + 0x58]
jae 0x100239ba
lea eax, [esp + 0x58]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100239c0
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, str..part
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100239e0
sub eax, esi
sar eax, 1
add eax, ebx
cmp edx, eax
jb 0x10023ae2
mov eax, str..part
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10023a01
mov ecx, dword [esp + 0x58]
sub eax, edx
sar eax, 1
cmp ebp, 8
jae 0x10023a1d
lea ecx, [esp + 0x58]
push eax
lea edx, [ecx + ebx*2]
push str..part
push edx
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x10023ae2
mov eax, str..part
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10023a40
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x58]
sub eax, edx
sar eax, 1
lea esi, [eax + ebx]
lea ebx, [ebx]
cmp edi, 8
mov eax, ebp
jae 0x10023a6b
lea eax, [esp + 0x58]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10023a70
sub eax, edx
sar eax, 1
cmp esi, eax
jae 0x10023ad4
cmp esi, dword [esp + 0x68]
jbe 0x10023a97
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x58]
cmp edi, 8
mov eax, ebp
jae 0x10023aa2
lea eax, [esp + 0x58]
cmp word [eax + esi*2], 0x30
jb 0x10023ae2
cmp esi, dword [esp + 0x68]
jbe 0x10023abd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x58]
cmp edi, 8
mov eax, ebp
jae 0x10023ac8
lea eax, [esp + 0x58]
cmp word [eax + esi*2], 0x39
ja 0x10023ae2
add esi, 1
jmp 0x10023a60
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.K8Common.dll_public:_static_bool___cdecl_GameMgr::GMFilePathUtils::RemoveFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 4
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add dword [esp + 0x14], 1
add dword [esp + 0x1c], 0x1c
mov edi, dword [esp + 0x14]
xor ebp, ebp
jmp 0x100237d3
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.10048b10
mov esi, eax
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0xe0], 8
call fcn.10048b10
push esi
push eax
lea edx, [esp + 0xc0]
push edx
mov byte [esp + 0xec], 9
call fcn.10040010
add esp, 0x1c
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 0xb
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0xd0], 0xc
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.10041580
add esp, 8
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd0], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0xd0], 5
call fcn.10003900
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd0], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x70]
mov byte [esp + 0xd0], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp byte [esp + 0x14c], 0
je 0x10023c66
mov dword [esp + 0x14], ebp
call fcn.1004b610
lea edx, [esp + 0x110]
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.10048b10
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0xe0], 0xd
call fcn.10040500
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0xd0], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.10048b10
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0xe0], 0xe
call fcn.10040500
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0xd0], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd8]
mov byte [esp + 0xd0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xf4]
mov byte [esp + 0xd0], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x110]
mov byte [esp + 0xd0], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x12c]
mov dword [esp + 0xd0], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.1004a1cc
add esp, 0xc0
ret