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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4663b8
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp + 0x610], eax
push ebx
push esi
push edi
mov eax, dword [0x48602c]
xor eax, esp
push eax
lea eax, [esp + 0x628]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [ecx]
push ecx
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x4201c9
xor ebx, ebx
push 0x3f
lea edx, [esp + 0x161]
push ebx
push edx
mov byte [esp + 0x168], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0x6c]
push eax
lea esi, [esp + 0x28]
mov dword [esp + 0x634], ebx
call fcn.0042f2c0
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
add esp, 4
push edx
push 8
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x634], 1
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x34]
mov byte [esp + 0x630], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x7f
lea ecx, [esp + 0x1a1]
push ebx
push ecx
mov byte [esp + 0x1a8], bl
call sub.MSVCR80.dll_memset
lea edx, [esp + 0x1a8]
add esp, 0xc
push edx
call fcn.0042f6f0
add esp, 4
test al, al
jne 0x4201d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push 0x35f
push str._RBW:_d_Error_Code:_d
add ecx, 0x408
call fcn.00432450
add esp, 0xc
lea ecx, [esp + 0x6c]
mov dword [esp + 0x630], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x42070a
lea eax, [esp + 0x19c]
push eax
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea esi, [esp + 0xc0]
mov byte [esp + 0x630], 2
call fcn.00431600
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
push eax
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [esp + 0x164]
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, dword [eax]
mov ecx, dword [str.6666_66_66]
mov dword [esp + 0x164], edx
mov eax, dword [eax + 4]
mov edx, dword [0x47c234]
mov dword [esp + 0x168], eax
mov ax, word [0x47c238]
mov word [esp + 0x104], ax
xor eax, eax
mov dword [esp + 0xfc], ecx
mov cl, byte [0x47c23a]
mov dword [esp + 0x100], edx
mov edx, dword [str.8888_88_88]
mov dword [esp + 0x107], eax
mov dword [esp + 0x10b], eax
mov dword [esp + 0x10f], eax
mov dword [esp + 0x113], eax
mov dword [esp + 0x117], eax
mov byte [esp + 0x11b], al
mov eax, dword [0x47c240]
mov byte [esp + 0x106], cl
mov cx, word [0x47c244]
mov dword [esp + 0x11c], edx
mov dl, byte [0x47c246]
mov dword [esp + 0x120], eax
xor eax, eax
mov word [esp + 0x124], cx
lea ecx, [esp + 0x50]
mov byte [esp + 0x126], dl
mov dword [esp + 0x127], eax
mov dword [esp + 0x12b], eax
mov dword [esp + 0x12f], eax
mov dword [esp + 0x133], eax
mov dword [esp + 0x137], eax
mov byte [esp + 0x13b], al
mov dword [esp + 0x13c], 0x393939
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x16
push edi
lea ecx, [esp + 0x58]
mov byte [esp + 0x638], 3
call dword [sym.imp.MSVCP80.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_]
push 0x47c1c4
lea ecx, [esp + 0x54]
call dword [0x4682c8]
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x54]
call dword [0x4682c8]
push 0x47c1c4
lea ecx, [esp + 0x54]
call dword [0x4682c8]
lea ecx, [esp + 0xfc]
push ecx
lea ecx, [esp + 0x54]
call dword [0x4682c8]
push 0x47c1c4
lea ecx, [esp + 0x54]
call dword [0x4682c8]
lea edx, [esp + 0x11c]
push edx
lea ecx, [esp + 0x54]
call dword [0x4682c8]
push 0x47c1c4
lea ecx, [esp + 0x54]
call dword [0x4682c8]
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x54]
call dword [0x4682c8]
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
lea ecx, [esp + 0x50]
mov esi, eax
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
xor edx, edx
xor ecx, ecx
cmp esi, ebx
jle 0x42040d
lea esp, [esp]
movzx edi, byte [ecx + eax]
add ecx, 1
add edx, edi
cmp ecx, esi
jl 0x420400
xor eax, eax
push edx
push 0x47c22c
lea ecx, [eax + 0x20]
lea edi, [esp + 0xe4]
mov byte [esp + 0xe4], bl
mov dword [esp + 0xe5], eax
mov dword [esp + 0xe9], eax
mov dword [esp + 0xed], eax
mov dword [esp + 0xf1], eax
mov dword [esp + 0xf5], eax
mov dword [esp + 0xf9], eax
mov dword [esp + 0xfd], eax
mov word [esp + 0x101], ax
mov byte [esp + 0x103], al
call fcn.004124c0
add esp, 8
mov ecx, edi
push ecx
lea ecx, [esp + 0x8c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x47c1c4
lea ecx, [esp + 0x8c]
mov byte [esp + 0x634], 4
call dword [0x4682c8]
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x8c]
call dword [0x4682cc]
push 0x1ff
lea eax, [esp + 0x221]
push ebx
push eax
mov byte [esp + 0x228], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
lea ecx, [esp + 0x88]
mov edi, eax
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push 0x200
lea ecx, [esp + 0x220]
push ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x420512
mov ebx, dword [esp + 0x24]
lea esi, [esp + 0x21c]
mov eax, edi
call fcn.00434040
xor ebx, ebx
push str.OFFLINE
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x21c]
push edx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x634], 5
call dword [0x4682c8]
push 0x1ff
lea eax, [esp + 0x421]
push ebx
push eax
mov byte [esp + 0x428], bl
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0xa4]
mov dword [esp + 0x14], 0x200
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov esi, 0x468d28
lea edi, [eax + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
lea ecx, [esp + 0xa4]
mov dword [esp + 0x24], eax
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
lea edx, [esp + 0x430]
mov dword [ecx + 0xc], edi
call fcn.00433c00
push 0x200
lea eax, [esp + 0x220]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov edi, dword [esp + 0x20]
add esp, 0xc
push 0x200
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x420607
lea esi, [esp + 0x21c]
mov eax, edi
lea ebx, [esp + 0x41c]
call fcn.00434040
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
cmp dword [ecx], eax
mov dword [ecx], eax
jae 0x42068d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push 0x39a
push str._RBW:_d_Error_Code:_d
add ecx, 0x408
call fcn.00432450
add esp, 0xc
lea ecx, [esp + 0xa4]
mov byte [esp + 0x630], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x88]
mov byte [esp + 0x630], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x630], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc0]
mov byte [esp + 0x630], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x4201b4
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x220]
push edx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0xa4]
mov byte [esp + 0x630], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x88]
mov byte [esp + 0x630], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x630], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc0]
mov byte [esp + 0x630], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x630], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x628]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x610]
xor ecx, esp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret 0xc