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

Disassembly:
push 0xffffffffffffffff
push 0x4fb2b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c4
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x64], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edi, dword [esp + 0x8e4]
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push edi
call ebp
add esp, 4
lea ecx, [esp + 0x60]
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov ecx, dword [esp + 0x8e8]
mov dword [esp + 0x8dc], ebx
push ecx
call ebp
mov edx, dword [esp + 0x8ec]
add esp, 4
lea ecx, [esp + 0x60]
push eax
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov ecx, dword [esp + 0x8f0]
lea edx, [esp + 0x60]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.00424160
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x54], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
call ebp
add esp, 4
lea ecx, [esp + 0x50]
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x8dc], 1
push ecx
mov ecx, esi
call fcn.004ca540
lea edx, [esp + 0x3c]
lea eax, [esp + 0x50]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x44], ebx
call fcn.004ca890
mov cl, byte [esp + 0x13]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x18], cl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x2c], dl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x44], ebx
mov byte [esp + 0x40], al
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x8dc], 4
mov edi, dword [esp + 0x8ec]
lea ecx, [esp + 0x2c]
push ecx
push edi
mov ecx, esi
call fcn.004cb0b0
lea edx, [esp + 0x40]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.004cb3b0
lea edx, [esp + 0x40]
lea eax, [esp + 0x18]
push edx
push eax
push edi
mov ecx, esi
call fcn.004cb680
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
cmp ebp, eax
mov dword [esp + 0x14], ecx
je 0x4ca172
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x88], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x78]
mov byte [esp + 0x8e0], 5
mov byte [esp + 0x78], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x98], cl
lea ecx, [esp + 0x98]
mov byte [esp + 0x8e0], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp + 4]
mov byte [esp + 0x8dc], 7
cmp eax, ebx
jne 0x4c9ed0
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x6cc]
lea ecx, [esp + 0x2bc]
push edx
push ecx
lea edx, [esp + 0x4cc]
lea ecx, [esp + 0xbc]
push edx
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__wsplitpath]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
lea edx, [esp + 0xc8]
push edx
call esi
add esp, 0x18
lea ecx, [esp + 0x84]
push eax
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea ecx, [esp + 0x4c4]
push ecx
call esi
add esp, 4
lea edx, [esp + 0x4c4]
lea ecx, [esp + 0x84]
push eax
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
lea eax, [esp + 0x2bc]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x2bc]
push eax
push ecx
lea ecx, [esp + 0x7c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea edx, [esp + 0x6cc]
push edx
call esi
add esp, 4
lea ecx, [esp + 0x94]
push eax
lea eax, [esp + 0x6d0]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
cmp dword [esp + 0x7c], ebx
je 0x4ca118
mov ecx, dword [esp + 0x8e8]
lea edx, [esp + 0x94]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
call fcn.004cb9c0
add esp, 0x14
cmp al, bl
jne 0x4ca118
mov al, byte [esp + 0x50]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x38], esp
push ebx
mov ecx, esi
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea eax, [esp + 0x60]
mov edx, dword [ecx]
mov ecx, esi
push edx
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
sub esp, 0x10
lea edx, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
mov byte [esp + 0x900], 8
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov byte [esp + 0x8fc], 7
call fcn.004cbb30
add esp, 0x20
cmp al, bl
jne 0x4ca118
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
mov eax, ebp
push ebx
sub eax, edx
sar eax, 4
shl eax, 4
add eax, ecx
lea ecx, [esp + 0xa8]
mov edi, eax
mov al, byte [edi]
mov byte [esp + 0xa8], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov edx, dword [ecx]
lea ecx, [esp + 0xa4]
push edx
push ebx
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov al, byte [esp + 0x60]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x80], esp
push ebx
mov ecx, esi
mov byte [esp + 0x8f0], 9
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea eax, [esp + 0x70]
mov edx, dword [ecx]
mov ecx, esi
push edx
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
sub esp, 0x10
lea edx, [esp + 0xc4]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x900], 0xa
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov byte [esp + 0x8fc], 9
call fcn.004cbb30
add esp, 0x20
cmp al, bl
je 0x4ca0fa
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
cmp eax, ecx
jle 0x4ca0fa
mov ecx, dword [esp + 0x8f0]
push edi
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.00424340
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0x8e0], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edi, dword [esp + 0x8ec]
mov eax, dword [esp + 0x14]
push 1
add eax, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x18], eax
add ebp, 0x10
mov byte [esp + 0x8e0], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x8e0], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0x8e0], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
cmp ebp, dword [esp + 0x20]
jne 0x4c9e67
mov ecx, dword [esp + 0x44]
push ecx
call sub.MFC42.DLL_operatordelete
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
add esp, 4
cmp esi, edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x8dc], 2
je 0x4ca1b2
push ebx
mov ecx, esi
call fcn.0044ca30
add esi, 0x10
cmp esi, edi
jne 0x4ca19f
mov esi, dword [esp + 0x30]
push esi
call sub.MFC42.DLL_operatordelete
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add esp, 4
cmp esi, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x8dc], 1
je 0x4ca1ee
push ebx
mov ecx, esi
call fcn.0044ca30
add esi, 0x10
cmp esi, edi
jne 0x4ca1db
mov esi, dword [esp + 0x1c]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push 1
mov dword [esp + 0x28], ebx
mov byte [esp + 0x8e0], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [esp + 0x64]
cmp ecx, ebx
je 0x4ca23c
mov al, byte [ecx - 1]
cmp al, bl
je 0x4ca230
cmp al, 0xff
je 0x4ca230
dec al
mov byte [ecx - 1], al
jmp 0x4ca23c
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x8d4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8d0
ret 0x10