Function at 0x405ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x428cd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
movsx eax, byte [0x4319cf]
push ebx
push esi
xor esi, esi
push eax
push 0xa09ffff
mov dword [esp + 0x10], esi
call fcn.004109f0
mov edx, dword [0x4319f0]
mov ecx, dword [0x431a00]
add edx, eax
push 0xc77ffff
push ecx
mov dword [0x4319f0], edx
call fcn.00410970
push 0xe1afffff
push 0xb68fffff
mov word [0x4319de], ax
call fcn.00410820
movsx edx, byte [0x4319d1]
mov ecx, dword [0x4319f8]
push edx
add ecx, eax
push 0x8197ffff
mov dword [0x4319f8], ecx
call fcn.004109b0
mov ebx, dword [esp + 0x64]
mov byte [0x4319ca], al
add esp, 0x20
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
cmp ecx, esi
jne 0x405b82
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push ebp
push edi
mov edi, dword [esp + 0x48]
push eax
push esi
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_first_not_of_char_const___unsigned_int__unsigned_int_const]
mov cl, byte [0x4319ca]
mov ebp, eax
mov al, byte [0x4319d8]
mov dl, byte [0x431a0c]
dec al
add cl, al
mov al, byte [0x4319d0]
mov byte [0x4319ca], cl
mov cl, byte [0x4319d2]
or cl, dl
add al, cl
mov byte [0x4319d0], al
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
cmp eax, esi
jne 0x405bd3
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push ecx
push ebp
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_first_of_char_const___unsigned_int__unsigned_int_const]
movsx dx, byte [0x4319c9]
movsx ecx, byte [0x4319cd]
mov dword [esp + 0x4c], eax
mov eax, dword [0x431a0c]
neg edx
push eax
push ecx
mov word [0x4319e0], dx
call fcn.004108a0
mov dl, byte [esp + 0x50]
mov dword [0x431a04], eax
mov byte [esp + 0x1c], dl
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
movsx eax, word [0x4319da]
push 0x1d8bffff
push eax
mov dword [esp + 0x4c], 1
mov byte [0x4319cd], 0xff
call fcn.004109b0
push 0xe4c5ffff
push 0x5523ffff
mov byte [0x4319ca], al
call fcn.004108e0
add esp, 0x18
mov byte [0x4319cc], al
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax]
cmp ecx, edx
jne 0x405c73
cmp ecx, ebp
je 0x405df0
mov ecx, dword [0x4319fc]
mov word [0x4319d8], 0xfffe
inc ecx
mov word [0x4319d4], cx
mov esi, dword [eax]
mov ecx, 0x4319b8
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Split_void_]
mov eax, dword [0x4319c0]
cmp eax, esi
jae 0x405ca2
mov esi, eax
test esi, esi
jbe 0x405ceb
mov ecx, dword [0x4319bc]
sub eax, esi
push eax
lea edx, [ecx + esi]
push edx
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
mov edi, dword [0x4319c0]
add esp, 0xc
sub edi, esi
mov ecx, 0x4319b8
push 0
push edi
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 0x405ce7
mov edx, dword [0x4319bc]
mov dword [0x4319c0], edi
mov byte [edx + edi], 0
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x24]
mov eax, esi
sub eax, ebp
push eax
push ebp
push ecx
mov ecx, edi
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__::substr_unsigned_int__unsigned_int_]
mov edx, dword [esp + 0x1c]
push eax
push 1
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 2
call fcn.0040fa40
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 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_]
mov al, byte [0x4319cc]
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 + 0x4c], al
cmp dword [ecx], 1
jne 0x405d43
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
push 1
push 1
mov ecx, 0x431988
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 0x405d71
movsx edx, byte [esp + 0x4c]
mov eax, dword [0x43198c]
mov dh, dl
push 1
mov ecx, 0x431988
mov byte [eax], dl
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_]
movsx edx, byte [0x4319ce]
mov ebp, dword [0x431a00]
or edx, 0x97bbffff
add ebp, edx
mov dword [0x431a00], ebp
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
test ecx, ecx
jne 0x405d9c
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_first_not_of_char_const___unsigned_int__unsigned_int_const]
movsx ecx, word [0x4319d4]
mov ebp, eax
movsx eax, byte [0x4319ce]
push eax
push ecx
call fcn.00410a30
add esp, 8
dec word [0x4319e4]
mov byte [0x4319d0], al
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
test eax, eax
jne 0x405ddc
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push ecx
push ebp
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_first_of_char_const___unsigned_int__unsigned_int_const]
mov dword [esp + 0x4c], eax
jmp 0x405c5c
mov ecx, dword [eax]
mov bl, byte [0x4319cb]
pop edi
cmp ecx, 1
pop ebp
jne 0x405e05
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
push 1
push 1
mov ecx, 0x431978
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 0x405e31
mov eax, dword [0x43197c]
push 1
movsx edx, bl
mov dh, dl
mov ecx, 0x431978
mov byte [eax], dl
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_]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov dl, byte [esp + 0xc]
test ecx, ecx
mov byte [esi], dl
jne 0x405e47
xor eax, eax
jmp 0x405e50
mov eax, dword [esp + 0x14]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x405e56
xor eax, eax
shl eax, 4
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 4], eax
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0040f920
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 8], 1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
call fcn.0040f8d0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004286a0
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x30
ret