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

Disassembly:
push 0xffffffffffffffff
push 0x4050ab
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x408018]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
cmp byte [eax + 0x45], 0
je 0x4037ba
push str.invalid_map_set_T__iterator
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x38]
mov dword [esp + 0x6c], 0
call dword [sym.imp.MSVCR90.dll_public:_void___thiscall_std::exception::constructor_void_]
lea eax, [esp + 0x1c]
mov byte [esp + 0x6c], 1
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], vtable.std::logic_error.0
call dword [sym.imp.MSVCP90.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__]
push 0x406dc0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0
push ecx
mov dword [esp + 0x40], vtable.std::out_of_range.0
call sub.MSVCR90.dll__CxxThrowException
lea esi, [esp + 0x78]
mov ebp, eax
call fcn.00403b10
mov ecx, dword [ebp]
cmp byte [ecx + 0x45], 0
je 0x4037d3
mov edi, dword [ebp + 8]
jmp 0x4037f2
mov edx, dword [ebp + 8]
cmp byte [edx + 0x45], 0
je 0x4037e0
mov edi, ecx
jmp 0x4037f2
mov eax, dword [esp + 0x7c]
mov edi, dword [eax + 8]
lea edx, [eax + 8]
cmp eax, ebp
jne 0x403875
cmp byte [edi + 0x45], 0
mov esi, dword [ebp + 4]
jne 0x4037fe
mov dword [edi + 4], esi
mov eax, dword [0x408538]
cmp dword [eax + 4], ebp
jne 0x40380d
mov dword [eax + 4], edi
jmp 0x403818
cmp dword [esi], ebp
jne 0x403815
mov dword [esi], edi
jmp 0x403818
mov dword [esi + 8], edi
mov edx, dword [0x408538]
cmp dword [edx], ebp
jne 0x403842
cmp byte [edi + 0x45], 0
je 0x40382c
mov ecx, esi
jmp 0x403840
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
mov ecx, edi
jne 0x403840
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x403836
mov dword [edx], ecx
mov eax, dword [0x408538]
cmp dword [eax + 8], ebp
jne 0x4038d5
cmp byte [edi + 0x45], 0
je 0x403863
mov ecx, dword [0x408538]
mov eax, esi
mov dword [ecx + 8], eax
jmp 0x4038d5
mov eax, edi
call fcn.00403c90
mov ecx, dword [0x408538]
mov dword [ecx + 8], eax
jmp 0x4038d5
mov dword [ecx + 4], eax
mov ecx, dword [ebp]
mov dword [eax], ecx
cmp eax, dword [ebp + 8]
jne 0x403886
mov esi, eax
jmp 0x40389f
cmp byte [edi + 0x45], 0
mov esi, dword [eax + 4]
jne 0x403892
mov dword [edi + 4], esi
mov dword [esi], edi
mov ecx, dword [ebp + 8]
mov dword [edx], ecx
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [0x408538]
cmp dword [ecx + 4], ebp
jne 0x4038af
mov dword [ecx + 4], eax
jmp 0x4038bd
mov ecx, dword [ebp + 4]
cmp dword [ecx], ebp
jne 0x4038ba
mov dword [ecx], eax
jmp 0x4038bd
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
lea ecx, [ebp + 0x44]
add eax, 0x44
cmp eax, ecx
je 0x4038d5
mov bl, byte [ecx]
mov dl, byte [eax]
mov byte [eax], bl
mov byte [ecx], dl
mov ebx, 1
cmp byte [ebp + 0x44], bl
jne 0x4039d0
mov edx, dword [0x408538]
cmp edi, dword [edx + 4]
je 0x4039cd
cmp byte [edi + 0x44], bl
jne 0x4039cd
mov ecx, dword [esi]
cmp edi, ecx
jne 0x40395f
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x44], 0
jne 0x40391b
mov byte [ecx + 0x44], bl
mov ecx, esi
mov byte [esi + 0x44], 0
call fcn.00403010
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x45], 0
jne 0x40398e
mov eax, dword [ecx]
cmp byte [eax + 0x44], bl
jne 0x403930
mov edx, dword [ecx + 8]
cmp byte [edx + 0x44], bl
je 0x40398a
mov edx, dword [ecx + 8]
cmp byte [edx + 0x44], bl
jne 0x403947
mov byte [eax + 0x44], bl
mov byte [ecx + 0x44], 0
call fcn.00403060
mov ecx, dword [esi + 8]
mov dl, byte [esi + 0x44]
mov byte [ecx + 0x44], dl
mov byte [esi + 0x44], bl
mov eax, dword [ecx + 8]
mov ecx, esi
mov byte [eax + 0x44], bl
call fcn.00403010
jmp 0x4039cd
cmp byte [ecx + 0x44], 0
jne 0x403975
mov byte [ecx + 0x44], bl
mov ecx, esi
mov byte [esi + 0x44], 0
call fcn.00403060
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
jne 0x40398e
mov eax, dword [ecx + 8]
cmp byte [eax + 0x44], bl
jne 0x4039a3
mov edx, dword [ecx]
cmp byte [edx + 0x44], bl
jne 0x4039a3
mov byte [ecx + 0x44], 0
mov eax, dword [0x408538]
mov edi, esi
mov esi, dword [esi + 4]
cmp edi, dword [eax + 4]
jne 0x4038f2
jmp 0x4039cd
mov edx, dword [ecx]
cmp byte [edx + 0x44], bl
jne 0x4039b8
mov byte [eax + 0x44], bl
mov byte [ecx + 0x44], 0
call fcn.00403010
mov ecx, dword [esi]
mov dl, byte [esi + 0x44]
mov byte [ecx + 0x44], dl
mov byte [esi + 0x44], bl
mov eax, dword [ecx]
mov ecx, esi
mov byte [eax + 0x44], bl
call fcn.00403060
mov byte [edi + 0x44], bl
lea esi, [ebp + 0xc]
mov dword [esp + 0x18], esi
lea ecx, [esi + 0x1c]
mov dword [esp + 0x6c], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, esi
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push ebp
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [0x40853c], 0
jbe 0x403a10
sub dword [0x40853c], ebx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov ecx, dword [0x408520]
mov dword [edx + 4], eax
mov dword [edx], ecx
mov eax, edx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc