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

Disassembly:
push 0xffffffffffffffff
push 0x4619a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov al, byte [esp + 0x74]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x18], 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 ecx, dword [esp + 0x84]
mov dl, byte [esp + 0x84]
mov dword [esp + 0x40], ecx
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], 8
mov byte [esp + 0x64], 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 byte [esp + 0x78], 1
mov byte [esp + 0x84], bl
lea eax, [esp + 0x50]
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.0043a7d0
mov ebp, dword [esp + 0x44]
mov edi, eax
add esp, 8
cmp edi, 0x10
jne 0x4389c8
cmp dword [esp + 0x34], ebx
jne 0x438ab9
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x34]
add edx, 2
push eax
mov dword [esp + 0x40], edx
call fcn.0043a510
add esp, 4
test al, al
je 0x438ab9
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], 0x475c74
call fcn.00438cc0
cmp al, bl
jne 0x438aca
jmp 0x438ab9
cmp edi, ebx
jne 0x438a0f
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x34]
add ecx, 2
push edx
mov dword [esp + 0x40], ecx
call fcn.0043a510
add esp, 4
test al, al
je 0x438ab9
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], 0x475c6c
call fcn.00438cc0
cmp al, bl
jne 0x438c22
jmp 0x438ab9
cmp edi, 1
jne 0x438ab9
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x34]
inc eax
push ecx
mov dword [esp + 0x40], eax
call fcn.0043a510
mov al, byte [esp + 0x88]
add esp, 4
cmp al, bl
push ecx
jne 0x438a64
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [esp + 0x88], esp
mov dword [eax], 0x475c64
call fcn.00438cc0
cmp al, bl
je 0x438c22
mov byte [esp + 0x84], 1
jmp 0x438ab9
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], esp
mov dword [eax], 0x475c5c
call fcn.00438cc0
cmp al, bl
je 0x438ab9
mov edx, dword [esp + 0x54]
push ebx
lea eax, [esp + 0x38]
push 0x475c50
lea esi, [edx + 1]
push eax
mov dword [esp + 0x48], esi
call fcn.0043b790
add esp, 0xc
test al, al
je 0x438ab9
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], 0x475c40
call fcn.00438cc0
cmp al, bl
jne 0x438b27
cmp edi, ebx
mov dword [esp + 0x3c], ebp
jge 0x43895e
jmp 0x438c22
push ebx
lea ecx, [esp + 0x38]
push 0x475c34
push ecx
call fcn.0043b790
add esp, 0xc
test al, al
je 0x438c22
lea edx, [esp + 0x34]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0043a5b0
add esp, 8
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x78], 2
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
push edx
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 1
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 0x438c22
push ebx
lea eax, [esp + 0x38]
push 0x475c2c
push eax
mov dword [esp + 0x48], esi
call fcn.0043b790
add esp, 0xc
test al, al
je 0x438c22
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
cmp eax, esi
mov dword [esp + 0x3c], eax
jge 0x438c22
lea ecx, [esp + 0x34]
push ecx
call fcn.0043a510
add esp, 4
test al, al
je 0x438c22
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x88], esp
mov dword [eax], 0x475c24
call fcn.00438cc0
cmp al, bl
je 0x438bba
lea edx, [esp + 0x34]
push edx
call fcn.0043a510
add esp, 4
test al, al
je 0x438bba
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x88], esp
mov dword [eax], 0x4715d0
call fcn.00438cc0
cmp al, bl
jne 0x438bc2
cmp dword [esp + 0x3c], esi
jl 0x438b5a
jmp 0x438c22
lea eax, [esp + 0x34]
push eax
call fcn.0043a510
lea ecx, [esp + 0x38]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0043a5b0
add esp, 0xc
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x78], 3
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
push edx
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x78], 1
cmp eax, ebx
je 0x438c22
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x438c19
cmp al, 0xff
je 0x438c19
dec al
mov byte [ecx], al
jmp 0x438c22
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x80]
mov al, byte [esp + 0x14]
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
mov ecx, esi
push edx
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x438c74
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x438c6b
cmp al, 0xff
je 0x438c6b
dec al
mov byte [ecx], al
jmp 0x438c74
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ebx
cmp ecx, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
je 0x438ca4
mov al, byte [ecx - 1]
cmp al, bl
je 0x438c9a
cmp al, 0xff
je 0x438c9a
dec al
mov byte [ecx - 1], al
jmp 0x438ca4
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x70]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret