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

Disassembly:
push 0xffffffffffffffff
push 0x4355db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x74]
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp ebx, ebp
push edi
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], 1
jne 0x426401
mov al, byte [esp + 0x84]
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], 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, 0x446fe0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x446fe0
lea ecx, [esp + 0x2c]
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 + 0x24]
mov dword [esp + 0x74], ebp
push ecx
lea ecx, [esp + 0x54]
call fcn.00404050
lea edx, [esp + 0x50]
push 0x43bf68
push edx
mov dword [esp + 0x58], vtable.LogicalError.0
call sub.MSVCRT.dll__CxxThrowException
mov edi, dword [esp + 0x7c]
cmp edi, ebp
je 0x4264ac
cmp eax, 1
jne 0x4264a3
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString_3
push edi
lea eax, [esp + 0x84]
push str._s_argfile.txt
push eax
mov dword [esp + 0x80], 1
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x8c]
add esp, 0xc
push ebx
push ecx
mov ecx, esi
call fcn.004270a0
test al, 1
je 0x42645b
mov dword [esp + 0x10], ebp
test al, 2
je 0x42646d
mov ecx, dword [esp + 0x84]
call sub.MFC42.DLL_CString::Empty
jmp 0x42648a
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
push edx
push str.__s_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x80]
mov dword [esp + 0x74], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x426550
cmp eax, 2
jne 0x426569
mov eax, dword [ebx + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x426550
mov edi, dword [esp + 0x84]
mov ebp, dword [sym.imp.MSVCRT.dll__access]
mov eax, dword [esi + 8]
push 0
push eax
call ebp
add esp, 8
test eax, eax
je 0x4264df
mov dword [esp + 0x10], 0
jmp 0x426543
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebx + 4]
mov dword [esp + 0x74], 2
mov ecx, dword [eax]
mov eax, 0x445cf8
cmp esi, ecx
jne 0x426506
mov eax, 0x446fe0
mov ecx, dword [esi + 8]
lea edx, [esp + 0x84]
push ecx
push eax
push str._s__s_
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x84]
mov ecx, edi
push eax
call fcn.0042c7de
lea ecx, [esp + 0x84]
mov dword [esp + 0x74], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov esi, dword [esi]
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x4264c6
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc
mov cl, byte [esp + 0x84]
mov edi, 0x446fe0
mov byte [esp + 0x14], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov ebp, ecx
push 1
push ebp
lea ecx, [esp + 0x1c]
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
mov ebx, 3
je 0x4265ca
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x446fe0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
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 + 0x7c]
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], 0x446fe0
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 4
push ecx
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [esp + 0x34]
push 0x43bf68
push edx
mov byte [esp + 0x7c], bl
mov dword [esp + 0x3c], vtable.LogicalError.0
call sub.MSVCRT.dll__CxxThrowException
nop
nop
nop
nop
nop
nop
nop
nop
nop