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

Disassembly:
push 0xffffffffffffffff
push 0x543ee5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
cmp byte [eax + 0x11], 0
je 0x40ed46
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__]
mov dword [esp + 0x68], 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0040f210
push 0x59997c
lea edx, [esp + 0x3c]
push edx
call sub.MSVCR90.dll__CxxThrowException
mov ebp, eax
lea esi, [esp + 0x78]
mov dword [esp + 0x18], ebp
call fcn.00441180
mov ecx, dword [ebp]
cmp byte [ecx + 0x11], 0
je 0x40ed63
mov edi, dword [ebp + 8]
jmp 0x40ed7e
mov eax, dword [ebp + 8]
cmp byte [eax + 0x11], 0
je 0x40ed70
mov edi, ecx
jmp 0x40ed7e
mov eax, dword [esp + 0x7c]
mov edi, dword [eax + 8]
lea edx, [eax + 8]
cmp eax, ebp
jne 0x40eded
cmp byte [edi + 0x11], 0
mov esi, dword [ebp + 4]
jne 0x40ed8a
mov dword [edi + 4], esi
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x18]
cmp dword [eax + 4], ebp
jne 0x40ed9b
mov dword [eax + 4], edi
jmp 0x40eda6
cmp dword [esi], ebp
jne 0x40eda3
mov dword [esi], edi
jmp 0x40eda6
mov dword [esi + 8], edi
mov ebx, dword [edx + 0x18]
cmp dword [ebx], ebp
jne 0x40edc4
cmp byte [edi + 0x11], 0
je 0x40edb7
mov eax, esi
jmp 0x40edc2
mov eax, edi
call fcn.0040efc0
mov edx, dword [esp + 0x70]
mov dword [ebx], eax
mov ebx, dword [edx + 0x18]
cmp dword [ebx + 8], ebp
jne 0x40ee52
cmp byte [edi + 0x11], 0
je 0x40eddd
mov eax, esi
mov dword [ebx + 8], eax
jmp 0x40ee52
mov eax, edi
call fcn.00522870
mov edx, dword [esp + 0x70]
mov dword [ebx + 8], eax
jmp 0x40ee52
mov dword [ecx + 4], eax
mov ecx, dword [ebp]
mov dword [eax], ecx
cmp eax, dword [ebp + 8]
jne 0x40edfe
mov esi, eax
jmp 0x40ee17
cmp byte [edi + 0x11], 0
mov esi, dword [eax + 4]
jne 0x40ee0a
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 [esp + 0x70]
mov ecx, dword [ecx + 0x18]
cmp dword [ecx + 4], ebp
jne 0x40ee28
mov dword [ecx + 4], eax
jmp 0x40ee36
mov ecx, dword [ebp + 4]
cmp dword [ecx], ebp
jne 0x40ee33
mov dword [ecx], eax
jmp 0x40ee36
mov dword [ecx + 8], eax
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
lea ecx, [ebp + 0x10]
add eax, 0x10
cmp eax, ecx
je 0x40ee4e
mov bl, byte [ecx]
mov dl, byte [eax]
mov byte [eax], bl
mov byte [ecx], dl
mov edx, dword [esp + 0x70]
mov bl, 1
cmp byte [ebp + 0x10], bl
jne 0x40ef67
mov eax, dword [edx + 0x18]
cmp edi, dword [eax + 4]
je 0x40ef64
lea esp, [esp]
cmp byte [edi + 0x10], bl
jne 0x40ef64
mov ecx, dword [esi]
cmp edi, ecx
jne 0x40eeea
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x10], 0
jne 0x40ee9e
mov byte [ecx + 0x10], bl
push edx
mov ecx, esi
mov byte [esi + 0x10], 0
call fcn.004cf680
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x70]
cmp byte [ecx + 0x11], 0
jne 0x40ef1e
mov eax, dword [ecx]
cmp byte [eax + 0x10], bl
jne 0x40eeb3
mov eax, dword [ecx + 8]
cmp byte [eax + 0x10], bl
je 0x40ef1a
mov eax, dword [ecx + 8]
cmp byte [eax + 0x10], bl
jne 0x40eed1
mov eax, dword [ecx]
mov byte [eax + 0x10], bl
push edx
mov byte [ecx + 0x10], 0
call fcn.004cf6d0
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x70]
mov al, byte [esi + 0x10]
mov byte [ecx + 0x10], al
mov byte [esi + 0x10], bl
mov ecx, dword [ecx + 8]
mov byte [ecx + 0x10], bl
push edx
mov ecx, esi
call fcn.004cf680
jmp 0x40ef64
cmp byte [ecx + 0x10], 0
jne 0x40ef05
mov byte [ecx + 0x10], bl
push edx
mov ecx, esi
mov byte [esi + 0x10], 0
call fcn.004cf6d0
mov ecx, dword [esi]
mov edx, dword [esp + 0x70]
cmp byte [ecx + 0x11], 0
jne 0x40ef1e
mov eax, dword [ecx + 8]
cmp byte [eax + 0x10], bl
jne 0x40ef31
mov eax, dword [ecx]
cmp byte [eax + 0x10], bl
jne 0x40ef31
mov byte [ecx + 0x10], 0
mov ecx, dword [edx + 0x18]
mov edi, esi
mov esi, dword [esi + 4]
cmp edi, dword [ecx + 4]
jne 0x40ee70
jmp 0x40ef64
mov eax, dword [ecx]
cmp byte [eax + 0x10], bl
jne 0x40ef4e
mov eax, dword [ecx + 8]
mov byte [eax + 0x10], bl
push edx
mov byte [ecx + 0x10], 0
call fcn.004cf680
mov ecx, dword [esi]
mov edx, dword [esp + 0x70]
mov al, byte [esi + 0x10]
mov byte [ecx + 0x10], al
mov byte [esi + 0x10], bl
mov ecx, dword [ecx]
mov byte [ecx + 0x10], bl
push edx
mov ecx, esi
call fcn.004cf6d0
mov byte [edi + 0x10], bl
mov dword [esp + 0x68], 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push ebp
call sub.mfc90u.dll_delete
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0x1c]
add esp, 4
test eax, eax
jbe 0x40ef90
dec eax
mov dword [ecx + 0x1c], eax
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov ecx, dword [ecx]
mov dword [edx + 4], eax
mov dword [edx], ecx
mov eax, 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