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

Disassembly:
push 0xffffffffffffffff
push 0x459411
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
mov al, byte [esp + 3]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x80]
mov byte [esp + 0x80], 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_]
or esi, 0xffffffff
mov edi, 0x4660f4
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4660f4
lea ecx, [esp + 0x84]
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__::assign_char_const___unsigned_int_]
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x13]
push ecx
mov dword [esp + 0x2c4], ebx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
push 0x4646c8
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
call fcn.00429040
add esp, 0x14
cmp al, bl
je 0x42b120
mov eax, dword [str.aiaps]
mov ecx, dword [0x4646c0]
mov edx, dword [0x4646c4]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ecx
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x164]
mov dword [esp + 0x160], edx
mov edx, dword [0x4646b0]
rep stosd dword es:[edi], eax
mov ecx, 0xb
lea edi, [esp + 0xcd]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4646ac]
push 1
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x4646a8]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd0], eax
mov eax, dword [0x4646b4]
lea ecx, [esp + 0xd0]
push 0x10
push ecx
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], eax
call fcn.0040c5e0
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x206]
mov word [esp + 0x204], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0xd8]
lea eax, [esp + 0x204]
push edx
push eax
call fcn.0040c7d0
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x111]
mov edx, dword [0x4646a0]
rep stosd dword es:[edi], eax
mov ecx, dword [0x46469c]
push 1
stosb byte es:[edi], al
mov ax, word [0x4646a4]
mov dword [esp + 0x114], ecx
lea ecx, [esp + 0x114]
push 0xa
push ecx
mov dword [esp + 0x120], edx
mov word [esp + 0x124], ax
call fcn.0040c5e0
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x1ba]
mov word [esp + 0x1b8], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x11c]
lea eax, [esp + 0x1b8]
push edx
push eax
call fcn.0040c7d0
mov edx, dword [0x464690]
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0xc5]
rep stosd dword es:[edi], eax
mov ecx, dword [0x46468c]
mov eax, dword [0x464694]
mov dword [esp + 0xc4], ecx
mov cl, byte [0x464698]
mov dword [esp + 0xc8], edx
push 1
mov dword [esp + 0xd0], eax
mov byte [esp + 0xd4], cl
push 0xd
lea edx, [esp + 0xcc]
push edx
call fcn.0040c5e0
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x28e]
mov word [esp + 0x28c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x28c]
push eax
push ecx
call fcn.0040c7d0
mov dl, byte [esp + 0x4f]
mov dword [esp + 0x64], ebx
mov byte [esp + 0x60], dl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
lea eax, [esp + 0x60]
lea ecx, [esp + 0x234]
push eax
push ecx
mov byte [esp + 0x304], 1
call fcn.0040ca50
add esp, 0x44
test al, al
jne 0x42b13d
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c8], bl
call fcn.0042f480
mov ecx, dword [esp + 0x28]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push 1
lea ecx, [esp + 0x80]
mov dword [esp + 0x2c4], esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor al, al
jmp 0x42b683
push ebx
mov word [esp + 0x15c], 0x5c
mov word [esp + 0x15e], 0x6d
mov byte [esp + 0x17], bl
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [esp + 0x48], ebx
xor ebp, ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp eax, ebx
je 0x42b621
mov esi, dword [esp + 0x48]
mov edx, ecx
sub edx, eax
sar edx, 4
cmp esi, edx
jae 0x42b621
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]
push 1
lea edx, [esp + 0x48]
mov dword [esp + 0x48], 0x5c
mov ecx, dword [ecx]
push ecx
push edx
lea ecx, [eax + ebp]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::rfind_unsigned_short_int_const___unsigned_int__unsigned_int_const]
mov ecx, 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 [ecx]
je 0x42b610
inc eax
lea edx, [esp + 0x138]
push eax
mov eax, dword [esp + 0x2c]
push ebx
push edx
lea ecx, [eax + ebp]
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__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0x198]
lea edx, [esp + 0x4c]
push ecx
push eax
push edx
mov byte [esp + 0x2cc], 2
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0xc
push 1
lea ecx, [esp + 0x13c]
mov byte [esp + 0x2c4], 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_]
lea eax, [esp + 0x258]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0xc
mov eax, dword [esp + 0x60]
cmp eax, ebx
jne 0x42b22b
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]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
test eax, eax
je 0x42b273
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x2c4], 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_]
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x2c4], 1
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 + 0x48]
inc ecx
add ebp, 0x10
mov dword [esp + 0x48], ecx
jmp 0x42b165
mov al, byte [esp + 0x13]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x14]
push ebx
push ecx
lea edx, [esp + 0x54]
sub esp, 0x10
mov byte [esp + 0x2d8], 6
mov ecx, esp
mov dword [esp + 0x5c], 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.0040a200
add esp, 0x18
cmp al, bl
jne 0x42b32a
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x2c0], 5
je 0x42b2dc
push ebx
mov ecx, esi
call fcn.00430f40
add esi, 0x10
cmp esi, edi
jne 0x42b2c9
mov esi, dword [esp + 0x18]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x2c4], 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_]
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x2c4], 1
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 + 0x48]
inc ecx
add ebp, 0x10
mov dword [esp + 0x48], ecx
jmp 0x42b165
mov al, byte [esp + 0x13]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x34], al
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
xor edi, edi
mov byte [esp + 0x2c0], 7
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x42b4fd
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 4
cmp edi, ecx
jae 0x42b4fd
add eax, esi
lea edx, [esp + 0x4c]
push eax
lea eax, [esp + 0x12c]
push edx
push eax
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__
lea ecx, [esp + 0x164]
lea edx, [esp + 0x78]
push ecx
push eax
push edx
mov byte [esp + 0x2d8], 8
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0x18
push 1
lea ecx, [esp + 0x12c]
mov byte [esp + 0x2c4], 0xa
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 [esp + 0x18]
lea ecx, [esp + 0x4c]
add eax, esi
lea edx, [esp + 0x148]
push eax
push ecx
push edx
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__
push 0x464688
push eax
lea eax, [esp + 0xa0]
mov byte [esp + 0x2d4], 0xb
push eax
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0x18
push 1
lea ecx, [esp + 0x14c]
mov byte [esp + 0x2c4], 0xd
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 [esp + 0x70]
cmp eax, ebx
jne 0x42b40c
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]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
test eax, eax
jne 0x42b4c9
mov eax, dword [esp + 0x90]
cmp eax, ebx
jne 0x42b42f
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]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
test eax, eax
jne 0x42b4c9
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x6c]
push ecx
push 1
push edx
lea ecx, [esp + 0x40]
call fcn.0040ced0
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x8c]
push eax
push 1
push ecx
lea ecx, [esp + 0x40]
call fcn.0040ced0
push 1
lea ecx, [esp + 0x90]
mov byte [esp + 0x2c4], 0xa
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 + 0x70]
mov byte [esp + 0x2c0], 7
cmp ecx, ebx
je 0x42b4b4
mov al, byte [ecx - 1]
cmp al, bl
je 0x42b4a8
cmp al, 0xff
je 0x42b4a8
dec al
mov byte [ecx - 1], al
jmp 0x42b4b4
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
inc edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
add esi, 0x10
jmp 0x42b34a
push 1
lea ecx, [esp + 0x90]
mov byte [esp + 0x2c4], 0xa
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 + 0x70]
mov byte [esp + 0x2c4], 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_]
inc edi
add esi, 0x10
jmp 0x42b34a
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x5c]
push edx
push 1
push eax
lea ecx, [esp + 0x40]
call fcn.0040ced0
lea ecx, [esp + 0x34]
push ecx
push 0xd
call fcn.00429810
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
add esp, 8
cmp esi, eax
mov byte [esp + 0x13], 1
mov byte [esp + 0x2c0], 6
mov edi, eax
je 0x42b551
push 1
mov ecx, esi
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_]
add esi, 0x10
cmp esi, edi
jne 0x42b53c
mov esi, dword [esp + 0x38]
push esi
call sub.MFC42.DLL_operatordelete
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x2c0], 5
je 0x42b58f
push 1
mov ecx, esi
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_]
add esi, 0x10
cmp esi, edi
jne 0x42b57a
mov esi, dword [esp + 0x18]
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x64]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x42b5ca
mov al, byte [ecx - 1]
cmp al, bl
je 0x42b5be
cmp al, 0xff
je 0x42b5be
dec al
mov byte [ecx - 1], al
jmp 0x42b5ca
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x60], ebx
cmp ecx, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x2c0], 1
je 0x42b604
mov al, byte [ecx - 1]
cmp al, bl
je 0x42b5f8
cmp al, 0xff
je 0x42b5f8
dec al
mov byte [ecx - 1], al
jmp 0x42b604
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x48]
inc ecx
add ebp, 0x10
mov dword [esp + 0x48], ecx
jmp 0x42b165
cmp eax, ecx
mov byte [esp + 0x2c0], bl
mov edi, ecx
mov esi, eax
je 0x42b643
push ebx
mov ecx, esi
call fcn.00430f40
add esi, 0x10
cmp esi, edi
jne 0x42b630
mov eax, dword [esp + 0x28]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x84]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x42b67f
mov al, byte [ecx - 1]
cmp al, bl
je 0x42b675
cmp al, 0xff
je 0x42b675
dec al
mov byte [ecx - 1], al
jmp 0x42b67f
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x2b8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2b4
ret