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

Disassembly:
push 0xffffffffffffffff
push 0x4662d0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47e494]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
cmp byte [eax + 0x29], 0
je 0x40859d
push 0x1b
xor esi, esi
push str.invalid_map_set_T__iterator
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call fcn.004053b0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], esi
call fcn.00402d20
push 0x47988c
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], vtable.std::out_of_range.0
call fcn.00453067
mov ebx, eax
lea esi, [esp + 0x78]
mov dword [esp + 0x18], ebx
call fcn.00409200
mov eax, dword [ebx]
cmp byte [eax + 0x29], 0
je 0x4085b9
mov edi, dword [ebx + 8]
jmp 0x4085d1
mov edx, dword [ebx + 8]
cmp byte [edx + 0x29], 0
je 0x4085c6
mov edi, eax
jmp 0x4085d1
mov ecx, dword [esp + 0x7c]
cmp ecx, ebx
mov edi, dword [ecx + 8]
jne 0x408647
cmp byte [edi + 0x29], 0
mov esi, dword [ebx + 4]
jne 0x4085dd
mov dword [edi + 4], esi
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 4]
cmp dword [eax + 4], ebx
jne 0x4085ee
mov dword [eax + 4], edi
jmp 0x4085f9
cmp dword [esi], ebx
jne 0x4085f6
mov dword [esi], edi
jmp 0x4085f9
mov dword [esi + 8], edi
mov ebp, dword [edx + 4]
cmp dword [ebp], ebx
jne 0x408622
cmp byte [edi + 0x29], 0
je 0x40860b
mov ecx, esi
jmp 0x40861f
mov eax, dword [edi]
cmp byte [eax + 0x29], 0
mov ecx, edi
jne 0x40861f
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x29], 0
je 0x408615
mov dword [ebp], ecx
mov ebp, dword [edx + 4]
cmp dword [ebp + 8], ebx
jne 0x4086a6
cmp byte [edi + 0x29], 0
je 0x408637
mov eax, esi
mov dword [ebp + 8], eax
jmp 0x4086a6
mov eax, edi
call fcn.00409080
mov edx, dword [esp + 0x70]
mov dword [ebp + 8], eax
jmp 0x4086a6
mov dword [eax + 4], ecx
mov eax, dword [ebx]
mov dword [ecx], eax
cmp ecx, dword [ebx + 8]
jne 0x408657
mov esi, ecx
jmp 0x408671
cmp byte [edi + 0x29], 0
mov esi, dword [ecx + 4]
jne 0x408663
mov dword [edi + 4], esi
mov dword [esi], edi
mov edx, dword [ebx + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebx + 8]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 4]
cmp dword [eax + 4], ebx
jne 0x408682
mov dword [eax + 4], ecx
jmp 0x408690
mov eax, dword [ebx + 4]
cmp dword [eax], ebx
jne 0x40868d
mov dword [eax], ecx
jmp 0x408690
mov dword [eax + 8], ecx
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov dl, byte [ebx + 0x28]
mov al, byte [ecx + 0x28]
mov byte [ecx + 0x28], dl
mov edx, dword [esp + 0x70]
mov byte [ebx + 0x28], al
mov ebp, dword [esp + 0x18]
mov ebx, 1
cmp byte [ebp + 0x28], bl
jne 0x4087bb
mov eax, dword [edx + 4]
cmp edi, dword [eax + 4]
je 0x4087b8
cmp byte [edi + 0x28], bl
jne 0x4087b8
mov ecx, dword [esi]
cmp edi, ecx
jne 0x40873e
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x28], 0
jne 0x4086f2
mov byte [ecx + 0x28], bl
push edx
mov ecx, esi
mov byte [esi + 0x28], 0
call fcn.00409030
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x70]
cmp byte [ecx + 0x29], 0
jne 0x408772
mov eax, dword [ecx]
cmp byte [eax + 0x28], bl
jne 0x408707
mov eax, dword [ecx + 8]
cmp byte [eax + 0x28], bl
je 0x40876e
mov eax, dword [ecx + 8]
cmp byte [eax + 0x28], bl
jne 0x408725
mov eax, dword [ecx]
mov byte [eax + 0x28], bl
push edx
mov byte [ecx + 0x28], 0
call fcn.004090a0
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x70]
mov al, byte [esi + 0x28]
mov byte [ecx + 0x28], al
mov byte [esi + 0x28], bl
mov ecx, dword [ecx + 8]
mov byte [ecx + 0x28], bl
push edx
mov ecx, esi
call fcn.00409030
jmp 0x4087b8
cmp byte [ecx + 0x28], 0
jne 0x408759
mov byte [ecx + 0x28], bl
push edx
mov ecx, esi
mov byte [esi + 0x28], 0
call fcn.004090a0
mov ecx, dword [esi]
mov edx, dword [esp + 0x70]
cmp byte [ecx + 0x29], 0
jne 0x408772
mov eax, dword [ecx + 8]
cmp byte [eax + 0x28], bl
jne 0x408785
mov eax, dword [ecx]
cmp byte [eax + 0x28], bl
jne 0x408785
mov byte [ecx + 0x28], 0
mov ecx, dword [edx + 4]
mov edi, esi
cmp edi, dword [ecx + 4]
mov esi, dword [esi + 4]
jne 0x4086c4
jmp 0x4087b8
mov eax, dword [ecx]
cmp byte [eax + 0x28], bl
jne 0x4087a2
mov eax, dword [ecx + 8]
mov byte [eax + 0x28], bl
push edx
mov byte [ecx + 0x28], 0
call fcn.00409030
mov ecx, dword [esi]
mov edx, dword [esp + 0x70]
mov al, byte [esi + 0x28]
mov byte [ecx + 0x28], al
mov byte [esi + 0x28], bl
mov ecx, dword [ecx]
mov byte [ecx + 0x28], bl
push edx
mov ecx, esi
call fcn.004090a0
mov byte [edi + 0x28], bl
lea esi, [ebp + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x68], ebx
movsx eax, byte [esi + 0x10]
cmp eax, 4
je 0x4087ec
add eax, 0xfffffffa
cmp eax, ebx
ja 0x408805
mov edi, dword [esi + 8]
test edi, edi
je 0x408805
mov ecx, edi
call fcn.004082e0
push edi
call fcn.00430385
jmp 0x408802
test dword [esi + 0x10], 0x100
je 0x408805
mov eax, dword [esi + 8]
test eax, eax
je 0x408805
push eax
call fcn.0044beb6
add esp, 4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x408829
mov edx, dword [eax - 4]
lea edi, [eax - 4]
push 0x407460
push edx
push 4
push eax
call fcn.0044c349
push edi
call fcn.00430385
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x40883d
cmp dword [esi + 4], ebx
jne 0x40883d
push eax
call fcn.0044beb6
add esp, 4
push ebp
call fcn.00430385
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 8]
add esp, 4
test eax, eax
jbe 0x408857
add eax, 0xffffffff
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10