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

Disassembly:
push 0xffffffffffffffff
push 0x46119c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], 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_]
push 7
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0
call fcn.00432390
push eax
mov ecx, ebp
mov byte [esp + 0x78], 1
call fcn.0042fb60
mov ecx, eax
call fcn.00432a90
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 0
call fcn.00432920
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0042d890
test al, al
je 0x42e28f
mov ecx, dword [esp + 0x18]
mov al, 1
cmp ecx, 0xc
jne 0x42dfcb
test al, al
je 0x42e28f
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.0042d890
mov ecx, dword [esp + 0x18]
cmp ecx, 0xc
je 0x42dfa6
test al, al
je 0x42e28f
cmp ecx, 2
je 0x42e0ff
cmp ecx, 5
jne 0x42e28f
mov edi, 0x476804
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x40]
push ebx
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 0x42e023
mov edi, dword [esp + 0x40]
mov ecx, ebx
mov eax, ecx
mov esi, 0x476804
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
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 + 0x3c]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.0042ee10
test al, al
je 0x42e126
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
call fcn.0042d890
test al, al
je 0x42e202
cmp dword [esp + 0x30], 0xb
jne 0x42e202
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
call fcn.0042fb60
mov ecx, eax
call fcn.004344d0
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
mov dword [esp + 0x18], eax
call fcn.00430530
mov ecx, ebp
call fcn.0042d5a0
mov ecx, ebp
mov bl, al
call fcn.00430830
test bl, bl
je 0x42e126
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.0042d890
test al, al
je 0x42e17a
mov ecx, dword [esp + 0x24]
cmp ecx, 2
je 0x42e0c1
cmp ecx, 0xa
je 0x42e0c1
cmp ecx, 0xc
jne 0x42e17a
cmp ecx, 0xc
mov al, 1
jne 0x42e0e1
test al, al
je 0x42e0e1
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.0042d890
mov ecx, dword [esp + 0x24]
cmp ecx, 0xc
je 0x42e0c8
cmp ecx, 2
je 0x42e14a
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.0042d890
test al, al
je 0x42e28f
jmp 0x42df9b
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x42e28f
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
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 al, 1
jmp 0x42e33e
push 2
mov ecx, ebp
call fcn.0042fab0
mov bl, al
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x42e33c
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x42e173
mov al, byte [ecx - 1]
test al, al
je 0x42e169
cmp al, 0xff
je 0x42e169
dec al
mov byte [ecx - 1], al
mov al, 1
jmp 0x42e33e
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, 1
jmp 0x42e33e
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], 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 edi, 0x472ee4
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x50]
push ebx
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 0x42e1d5
mov edi, dword [esp + 0x50]
mov ecx, ebx
mov edx, ecx
mov esi, 0x472ee4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x24]
push 2
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x80], 3
call fcn.0042fb30
mov bl, al
mov byte [esp + 0x74], 0
push 1
lea ecx, [esp + 0x50]
jmp 0x42e312
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x60]
mov byte [esp + 0x60], 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 edi, 0x472ebc
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x60]
push ebx
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 0x42e25c
mov edi, dword [esp + 0x60]
mov ecx, ebx
mov edx, ecx
mov esi, 0x472ebc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
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 eax, [esp + 0x30]
push 2
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x80], 2
call fcn.0042fb30
push 1
lea ecx, [esp + 0x60]
mov bl, al
mov byte [esp + 0x78], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x42e131
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], dl
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 edi, 0x472e98
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x50]
push ebx
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 0x42e2ea
mov edi, dword [esp + 0x50]
mov ecx, ebx
mov eax, ecx
mov esi, 0x472e98
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], ebx
mov byte [ecx + ebx], 0
lea edx, [esp + 0x18]
push 2
lea eax, [esp + 0x50]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x80], 4
call fcn.0042fb30
mov bl, al
mov byte [esp + 0x74], 0
push 1
lea ecx, [esp + 0x50]
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 + 0x40]
test ecx, ecx
je 0x42e33c
mov al, byte [ecx - 1]
test al, al
je 0x42e332
cmp al, 0xff
je 0x42e332
dec al
mov byte [ecx - 1], al
jmp 0x42e33c
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4