Function at 0x405260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482b09
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a89e8]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 8], 0x3ffffffe
jb 0x4051ae
push str.map_set_T__too_long
lea ecx, [esp + 0x18]
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 eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], 0
call fcn.00401efe
push 0x4a0ef8
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], vtable.std::length_error.0
call sub.MSVCR80.dll__CxxThrowException
mov edx, dword [esp + 0x74]
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x70]
push 0
push edx
push eax
push esi
push eax
call fcn.00440060
mov ebp, eax
mov eax, dword [edi + 4]
mov ebx, 1
add dword [edi + 8], ebx
cmp esi, eax
jne 0x4051e5
mov dword [eax + 4], ebp
mov eax, dword [edi + 4]
mov dword [eax], ebp
mov ecx, dword [edi + 4]
mov dword [ecx + 8], ebp
jmp 0x405207
cmp byte [esp + 0x6c], 0
je 0x4051f9
mov dword [esi], ebp
mov eax, dword [edi + 4]
cmp esi, dword [eax]
jne 0x405207
mov dword [eax], ebp
jmp 0x405207
mov dword [esi + 8], ebp
mov eax, dword [edi + 4]
cmp esi, dword [eax + 8]
jne 0x405207
mov dword [eax + 8], ebp
mov edx, dword [ebp + 4]
cmp byte [edx + 0x10], 0
lea eax, [ebp + 4]
mov esi, ebp
jne 0x405305
lea esp, [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
cmp ecx, dword [edx]
jne 0x40527a
mov edx, dword [edx + 8]
cmp byte [edx + 0x10], 0
jne 0x40524b
mov byte [ecx + 0x10], bl
mov byte [edx + 0x10], bl
mov edx, dword [eax]
mov ecx, dword [edx + 4]
mov byte [ecx + 0x10], 0
mov edx, dword [eax]
mov esi, dword [edx + 4]
jmp 0x4052f5
cmp esi, dword [ecx + 8]
jne 0x40525a
mov esi, ecx
push esi
mov ecx, edi
call fcn.00440010
mov eax, dword [esi + 4]
mov byte [eax + 0x10], bl
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov byte [edx + 0x10], 0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.00404940
jmp 0x4052f5
mov edx, dword [edx]
cmp byte [edx + 0x10], 0
jne 0x405298
mov byte [ecx + 0x10], bl
mov byte [edx + 0x10], bl
mov edx, dword [eax]
mov ecx, dword [edx + 4]
mov byte [ecx + 0x10], 0
mov edx, dword [eax]
mov esi, dword [edx + 4]
jmp 0x4052f5
cmp esi, dword [ecx]
jne 0x4052a6
mov esi, ecx
push esi
mov ecx, edi
call fcn.00404940
mov eax, dword [esi + 4]
mov byte [eax + 0x10], bl
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov byte [edx + 0x10], 0
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp byte [edx + 0x11], 0
jne 0x4052cf
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [edi + 4]
cmp eax, dword [edx + 4]
jne 0x4052e2
mov dword [edx + 4], ecx
jmp 0x4052f0
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x4052ed
mov dword [edx], ecx
jmp 0x4052f0
mov dword [edx + 8], ecx
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov ecx, dword [esi + 4]
cmp byte [ecx + 0x10], 0
lea eax, [esi + 4]
je 0x405220
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
mov byte [eax + 0x10], bl
mov eax, dword [esp + 0x68]
mov dword [eax + 4], ebp
mov dword [eax], edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x10