Function at 0x402e50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x40449c
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x40b3e8]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40b3e8]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], edi
call fcn.00402500
mov dword [esp + 0x18], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x18]
mov dword [eax], eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [eax + 8], eax
mov dword [esp + 0x1c], ecx
cmp dword [edi + 0xc], ecx
mov dword [esp + 0x104], ecx
mov dword [esp + 0x28], ecx
jbe 0x40315a
mov dword [esp + 0x20], ecx
jmp 0x402ed8
xor ecx, ecx
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0x20]
lea ebp, [edx + eax]
mov eax, 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 [eax]
push edx
push ecx
mov ecx, ebp
mov dword [esp + 0x2c], ebp
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__::erase_unsigned_int__unsigned_int_]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x28]
mov ebx, dword [eax + ecx*4]
push 0x7c
push ebx
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x403138
lea edx, [esi + 1]
push 0x7c
push edx
call dword [sym.imp.MSVCR80.dll_strchr]
add esp, 8
test eax, eax
mov dword [esp + 0x2c], eax
je 0x403138
sub eax, esi
add eax, 1
push eax
push esi
lea ecx, [esp + 0xe4]
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___unsigned_int_]
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10c], 1
call fcn.004028d0
mov esi, dword [eax]
test esi, esi
mov edi, dword [eax + 4]
mov ebp, dword [esp + 0x18]
je 0x402f79
lea edx, [esp + 0x14]
cmp esi, edx
je 0x402f7f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, ebp
jne 0x4030cd
lea ecx, [esp + 0xc0]
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 + 0xc0]
push eax
lea ecx, [esp + 0xe0]
push ecx
mov byte [esp + 0x10c], 2
call fcn.00403880
add esp, 8
test al, al
je 0x4030b8
mov ecx, dword [esp + 0xd4]
test ecx, ecx
jbe 0x403013
lea esi, [ecx - 1]
cmp esi, ecx
jbe 0x402fdb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0xd4]
cmp dword [esp + 0xd8], 0x10
mov eax, dword [esp + 0xc4]
jae 0x402ff3
lea eax, [esp + 0xc4]
cmp byte [eax + esi], 0x5c
jne 0x403013
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
add ecx, 0xffffffff
push eax
push ecx
lea ecx, [esp + 0xc8]
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__::erase_unsigned_int__unsigned_int_]
sub esp, 0x1c
lea edx, [esp + 0xdc]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call dword [sym.imp.MSVCP80.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__]
sub esp, 0x1c
lea eax, [esp + 0x114]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
mov byte [esp + 0x140], 3
call dword [sym.imp.MSVCP80.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 ecx, [esp + 0xc0]
push ecx
mov byte [esp + 0x140], 2
call fcn.00402320
add esp, 0x3c
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x108], 4
call fcn.00401d00
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10c], 5
call fcn.004027d0
mov esi, dword [eax]
mov edi, dword [eax + 4]
lea ecx, [esp + 0x50]
mov byte [esp + 0x104], 4
call fcn.00401ca0
lea ecx, [esp + 0x88]
mov byte [esp + 0x104], 2
call fcn.00401ca0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x104], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test esi, esi
mov ebp, dword [esp + 0x18]
je 0x4030dd
lea ecx, [esp + 0x14]
cmp esi, ecx
je 0x4030e3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, ebp
jne 0x4030f1
mov edx, dword [esp + 0x24]
mov byte [edx + 0x1c], 1
jmp 0x40311b
test esi, esi
jne 0x4030fb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 4]
jne 0x403106
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x24]
add edi, 0x28
push edi
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ebx, dword [esp + 0x2c]
add ebx, 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x104], 0
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 ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
push ebx
mov ecx, ebp
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__::append_char_const__]
mov eax, dword [esp + 0x28]
add dword [esp + 0x20], 0x44
add eax, 1
cmp eax, dword [edi + 0xc]
mov dword [esp + 0x28], eax
jb 0x402ed6
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x118], 0xffffffff
call fcn.00402d40
mov ecx, dword [esp + 0x18]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.004038dc
add esp, 0xf4
ret