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

Disassembly:
push 0xffffffffffffffff
push 0x499575
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
push 0x4a5168
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov eax, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov ecx, dword [eax]
push ecx
mov ecx, dword [esp + 0x88]
push 0
mov dword [esp + 0x7c], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::erase_unsigned_int__unsigned_int_]
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x88]
mov eax, dword [edi + 0x14]
cmp dword [esi], eax
jae 0x477d2f
nop
mov ebp, dword [esi]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push 0x4aa1fc
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, dword [esp + 0x30]
push esi
push edi
call fcn.004768f0
mov edx, dword [esi]
sub edx, ebp
push edx
push ebp
mov ecx, edi
mov ebx, eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 2
call dword [0x49e778]
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
movzx eax, bx
cmp eax, 0x3c
ja case.0x477cb7.1
movzx ecx, byte [eax + 0x477e00]
jmp dword [ecx*4 + 0x477df0]
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
inc ecx
mov dword [esi], ecx
mov eax, dword [edx + 0x170]
test eax, eax
je case.0x477cb7.1
mov ecx, dword [esp + 0x84]
push ebx
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_]
lea ecx, [esp + 0x18]
push ecx
jmp 0x477d34
mov eax, dword [edi + 0x14]
mov ecx, dword [esi]
lea edx, [eax - 1]
cmp ecx, edx
jae 0x477d16
lea ebp, [ecx + 1]
cmp eax, ebp
ja 0x477d01
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::_String_base::_Xran_void_const]
cmp dword [edi + 0x18], 8
jb 0x477d0c
mov eax, dword [edi + 4]
jmp 0x477d0f
lea eax, [edi + 4]
cmp word [eax + ebp*2], 0x3c
jne 0x477d84
push ebx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_]
add dword [esi], 2
mov eax, dword [edi + 0x14]
cmp dword [esi], eax
jb 0x477c50
lea edx, [esp + 0x18]
push edx
mov esi, dword [esp + 0x80]
mov ecx, esi
call dword [sym.imp.MSVCP71.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__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 0
mov dword [esp + 0x10], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 0x10
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.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__]
jmp 0x477d43
mov edx, dword [esi]
sub esp, 0x1c
inc edx
mov ecx, esp
mov dword [esp + 0x9c], esp
push 0x4aa1f8
mov dword [esi], edx
mov ebx, edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, dword [esp + 0x30]
push esi
push edi
call fcn.004768f0
mov edx, dword [esi]
sub edx, ebx
push edx
push ebx
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x84]
push eax
mov byte [esp + 0x78], 3
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
inc dword [esi]
lea ecx, [esp + 0x18]
push ecx
jmp 0x477d34