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

Disassembly:
push 0xffffffffffffffff
push 0x1000baeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
mov al, byte [esp + 3]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
or ebp, 0xffffffff
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov byte [esp + 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov cl, byte [esp + 0x13]
mov dword [esp + 0x110], ebx
mov byte [esp + 0x18], cl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 1
call sub.MFC42.DLL_CString::CString_1
push 0x1000d340
lea ecx, [esp + 0x50]
mov byte [esp + 0x114], 2
call sub.MFC42.DLL_CString::CString_2
mov dl, byte [esp + 0x13]
mov dword [esp + 0x54], ebx
mov byte [esp + 0x50], dl
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov esi, dword [esp + 0x130]
mov byte [esp + 0x110], 4
and esi, 0x80000003
jns 0x100013b1
dec esi
or esi, 0xfffffffc
inc esi
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0xbc]
push 0x20
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x60], eax
cmp eax, ebx
mov byte [esp + 0x110], 5
je 0x100013e4
mov ecx, eax
call fcn.1000a2a0
jmp 0x100013e6
xor eax, eax
mov dword [esp + 0x104], eax
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x118]
push eax
push ecx
mov byte [esp + 0x118], 4
call fcn.10005250
mov ecx, dword [esp + 0x10c]
add esp, 8
test eax, eax
je 0x1000189e
cmp ecx, ebx
je 0x1000189e
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
push esi
push edx
mov edx, dword [esp + 0x128]
push eax
mov eax, dword [esp + 0x128]
push edx
push eax
call fcn.1000a300
mov esi, dword [esp + 0x12c]
mov ecx, ebp
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x2c]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x1000148e
mov edi, dword [esp + 0x2c]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x100014a4
xor edi, edi
jmp 0x100014ab
mov ecx, dword [esp + 0x30]
lea edi, [ecx + eax]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x100014c7
cmp byte [esi], 0x7c
je 0x100014c7
inc esi
cmp esi, edi
jne 0x100014bd
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov ebp, dword [esp + 0x2c]
mov bl, byte [esp + 0x13]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100014f1
mov edx, dword [esp + 0x30]
add eax, edx
cmp esi, eax
je 0x10001596
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov edi, dword [esp + 0x3c]
push esi
push ebp
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
push eax
push edi
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::replace_char___char___char_const___char_const__]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
push 1
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x11c], 7
call fcn.10003170
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x114], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
inc esi
lea ecx, [esp + 0x28]
mov ebp, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1000157b
mov edx, dword [esp + 0x30]
add eax, edx
cmp esi, eax
je 0x100014d9
cmp byte [esi], 0x7c
je 0x100014d9
inc esi
cmp esi, eax
jne 0x10001583
jmp 0x100014d9
mov al, byte [esp + 0x13]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov edi, dword [esp + 0x3c]
push esi
push ebp
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
push eax
push edi
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::replace_char___char___char_const___char_const__]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x38]
push ecx
push 1
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x11c], 6
call fcn.10003170
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x114], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push 1
lea ecx, [esp + 0x17]
mov byte [esp + 0x17], 0x5c
mov eax, dword [eax]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x10001684
mov edx, dword [esp + 0x20]
sub edx, ecx
test edx, 0xfffffff0
je 0x10001684
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [edx]
je 0x10001684
inc eax
push eax
lea eax, [esp + 0x3c]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
mov eax, dword [eax + 4]
mov byte [esp + 0x110], 8
cmp eax, ebx
jne 0x10001662
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::operator_1
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x114], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x20]
je 0x10001857
lea ebp, [ecx + 4]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x6c]
mov byte [esp + 0x110], 9
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
cmp eax, ebx
jne 0x100016bb
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeA]
test eax, eax
je 0x1000170b
lea edx, [esp + 0x14]
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 0xa
call fcn.1000aa44
lea ecx, [esp + 0x60]
mov byte [esp + 0x110], 9
call sub.MFC42.DLL_CString::CString
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x6c]
push 0x20
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xb8], eax
cmp eax, ebx
mov byte [esp + 0x110], 0xb
je 0x1000173e
mov ecx, eax
call fcn.1000a2a0
jmp 0x10001740
xor eax, eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x6c]
mov byte [esp + 0x110], 9
push edx
push eax
call fcn.10005380
add esp, 8
test eax, eax
je 0x100017b4
cmp dword [esp + 0xb4], ebx
je 0x100017cc
lea ecx, [esp + 0x6c]
push ecx
call fcn.10007330
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xb8]
add esp, 4
push ebx
push edx
push eax
push ebx
push ebx
call fcn.1000a670
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x6c]
push ecx
push 1
push edx
lea ecx, [esp + 0x5c]
call fcn.10002e70
jmp 0x10001834
mov ecx, dword [esp + 0xb4]
cmp ecx, ebx
je 0x100017cc
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0xb4], ebx
mov eax, dword [esp + 0xac]
cmp eax, ebx
je 0x100017e7
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0xac], ebx
mov eax, dword [esp + 0xb0]
mov edi, dword [esp + 0x9c]
cmp eax, ebx
je 0x10001834
xor esi, esi
cmp edi, ebx
jle 0x10001817
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + esi*4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
inc esi
cmp esi, edi
jl 0x100017ff
mov edx, dword [esp + 0xb0]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0xb0], 0
xor ebx, ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x110], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
add ebp, 0x10
lea eax, [ebp - 4]
cmp eax, ecx
jne 0x10001691
lea ecx, [esp + 0x134]
lea edx, [esp + 0x64]
push ecx
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0xc4]
push eax
push ecx
call fcn.10006990
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
add esp, 0x10
lea ecx, [esp + 0x4c]
push edx
push eax
push str._ld_ld
push ecx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x114]
add esp, 0x10
xor ebx, ebx
mov eax, dword [esp + 0xfc]
cmp eax, ebx
je 0x100018c0
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x108]
add esp, 4
mov dword [esp + 0xfc], ebx
cmp ecx, ebx
je 0x100018d1
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esp + 0x104], ebx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
je 0x10001942
lea esi, [eax + 0x40]
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x100018f0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 8], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x10001901
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi], ebx
mov eax, dword [esi + 4]
mov ebp, dword [esi - 0x10]
cmp eax, ebx
je 0x10001934
xor edi, edi
cmp ebp, ebx
jle 0x10001925
mov ecx, dword [esi + 4]
mov eax, dword [ecx + edi*4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
inc edi
cmp edi, ebp
jl 0x10001911
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x58]
add esi, 0x4c
lea edx, [esi - 0x40]
cmp edx, eax
jne 0x100018e0
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::AllocSysString
mov ebp, eax
mov eax, dword [esp + 0x54]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x110], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
mov edi, eax
je 0x100019d2
lea esi, [ecx + 4]
mov eax, dword [esi]
cmp eax, ebx
je 0x100019bc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100019b3
cmp al, 0xff
je 0x100019b3
dec al
mov byte [ecx], al
jmp 0x100019bc
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
add esi, 0x10
lea ecx, [esi - 4]
cmp ecx, edi
jne 0x10001999
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x30]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x10001a0b
mov al, byte [ecx - 1]
test al, al
je 0x10001a01
cmp al, 0xff
je 0x10001a01
dec al
mov byte [ecx - 1], al
jmp 0x10001a0b
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x108]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x104
ret