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

Disassembly:
push 0xffffffffffffffff
push 0x452826
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x46e02c]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e02c]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xf8]
mov esi, dword [esp + 0xfc]
xor ebx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], ebx
call fcn.004040f0
mov dword [esp + 0x54], eax
mov byte [eax + 0x35], 1
mov eax, dword [esp + 0x54]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x54]
mov dword [eax], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 8], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0xf0], ebx
call fcn.00404040
mov dword [esp + 0x30], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x30]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x30]
mov dword [eax], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 8], eax
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
mov byte [esp + 0xf8], 1
call fcn.00432bf0
test al, al
je 0x4020ea
call fcn.00404040
mov dword [esp + 0x20], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 8], eax
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0xc8]
mov byte [esp + 0xf0], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0xf0], 3
call fcn.00403ee0
mov dword [esp + 0x48], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x48]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x48]
mov dword [eax], eax
mov eax, dword [esp + 0x48]
mov dword [eax + 8], eax
mov dword [esp + 0x4c], ebx
mov byte [esp + 0xf0], 4
mov eax, dword [esp + 0x54]
mov ebp, dword [eax]
cmp ebp, eax
je 0x401e2b
lea ebx, [ebx]
push str.CAPS
lea ecx, [esp + 0x74]
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 byte [esp + 0xf0], 5
or dword [esp + 0x28], 1
lea edi, [ebp + 0xc]
lea ecx, [esp + 0xc8]
lea esi, [edi + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
lea edx, [esp + 0x70]
push edx
mov eax, esi
call fcn.00404a60
mov dword [esp + 0x40], eax
cmp eax, dword [esi + 4]
je 0x401c40
add eax, 0xc
push eax
lea eax, [esp + 0x74]
push eax
call dword [0x4561bc]
add esp, 8
test al, al
jne 0x401c40
lea eax, [esp + 0x40]
jmp 0x401c4b
mov ecx, dword [esi + 4]
mov dword [esp + 0x64], ecx
lea eax, [esp + 0x64]
mov eax, dword [eax]
cmp eax, dword [esi + 4]
je 0x401c8f
add eax, 0x28
push eax
lea ecx, [esp + 0xcc]
call dword [0x4561d4]
cmp dword [esp + 0xdc], ebx
setne al
cmp al, bl
je 0x401c8f
lea edx, [esp + 0xc8]
push str.FALSE
push edx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
mov byte [esp + 0x14], bl
test al, al
je 0x401c94
mov byte [esp + 0x14], 1
mov dword [esp + 0xf0], 4
test byte [esp + 0x28], 1
je 0x401cb5
and dword [esp + 0x28], 0xfffffffe
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp byte [esp + 0x14], bl
je 0x401de3
mov esi, dword [esp + 0x5c]
push edi
mov eax, esi
call fcn.00403970
mov dword [esp + 0x40], eax
cmp eax, dword [esi + 4]
je 0x401cec
add eax, 0xc
push eax
push edi
call dword [0x4561bc]
add esp, 8
test al, al
jne 0x401cec
lea eax, [esp + 0x40]
jmp 0x401cf7
mov eax, dword [esi + 4]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov eax, dword [eax]
cmp eax, dword [esi + 4]
jne 0x401de3
sub esp, 0xc
mov dword [esp + 0x4c], esp
mov eax, esp
lea ecx, [edi + 0x1c]
push ecx
push eax
call fcn.00402610
sub esp, 0x1c
mov byte [esp + 0x118], 6
mov ecx, esp
mov dword [esp + 0x40], esp
push edi
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__]
lea edx, [esp + 0xc8]
push edx
mov byte [esp + 0x11c], 4
call fcn.00404560
add esp, 0x2c
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
mov byte [esp + 0xf4], 7
call fcn.004042d0
push esi
lea eax, [esp + 0x74]
lea ebx, [esp + 0x9c]
mov byte [esp + 0xf4], 8
call fcn.00402500
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0xf4], 7
call fcn.004018e0
lea eax, [esp + 0xa0]
push eax
mov byte [esp + 0xf4], 4
call fcn.004018e0
cmp dword [esp + 0x24], 0
jne 0x401dd1
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x88]
mov edx, dword [eax + 0x230]
lea ecx, [eax + 0x230]
neg edx
sbb edx, edx
test edx, fcn.00419db0
je 0x401dd1
push str.merging_user_entries_from_XML_archive
push str.ARCHIVE
call fcn.004044f0
lea eax, [esp + 0x1c]
push eax
mov eax, edi
lea ebx, [esp + 0x6c]
call fcn.00402420
xor ebx, ebx
cmp byte [ebp + 0x35], bl
jne 0x401e21
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x35], bl
jne 0x401e04
mov eax, dword [ecx]
cmp byte [eax + 0x35], bl
jne 0x401e00
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x35], bl
je 0x401df7
mov ebp, ecx
jmp 0x401e21
mov eax, dword [ebp + 4]
cmp byte [eax + 0x35], bl
jne 0x401e1f
lea esp, [esp]
cmp ebp, dword [eax + 8]
jne 0x401e1f
mov ebp, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x35], bl
je 0x401e10
mov ebp, eax
cmp ebp, dword [esp + 0x54]
jne 0x401be0
cmp dword [esp + 0x24], ebx
je 0x402079
mov eax, dword [esp + 0x30]
mov edi, dword [eax]
cmp edi, eax
je 0x401f9b
mov eax, dword [esp + 0x3c]
mov ebp, dword [eax + 4]
lea esi, [edi + 0xc]
push esi
call fcn.00403500
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
cmp eax, dword [ecx + 4]
je 0x401e78
add eax, 0xc
push eax
push esi
call dword [0x4561bc]
add esp, 8
test al, al
jne 0x401e78
lea eax, [esp + 0x38]
jmp 0x401e87
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
cmp dword [eax], ebp
jne 0x401f54
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [ecx]
push 1
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov byte [esp + 0x20], 0x2f
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
je 0x401f54
mov ecx, dword [ecx]
push ecx
inc eax
push eax
lea edx, [esp + 0x78]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP90.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_]
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0xf4], 9
call dword [0x4561d4]
lea ecx, [esp + 0x70]
mov byte [esp + 0xf0], 4
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 ebp, dword [esp + 0x20]
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x20]
call fcn.00403500
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x20]
je 0x401f32
add eax, 0xc
push eax
lea ecx, [esp + 0xcc]
push ecx
call dword [0x4561bc]
add esp, 8
test al, al
jne 0x401f32
lea eax, [esp + 0x38]
jmp 0x401f3e
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
lea eax, [esp + 0x5c]
cmp dword [eax], ebp
je 0x401f54
mov eax, dword [esp + 0x3c]
push eax
mov eax, esi
lea ebx, [esp + 0x6c]
call fcn.00402420
xor ebx, ebx
cmp byte [edi + 0x29], bl
jne 0x401f91
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x29], bl
jne 0x401f75
mov eax, dword [ecx]
cmp byte [eax + 0x29], bl
jne 0x401f71
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x29], bl
je 0x401f68
mov edi, ecx
jmp 0x401f91
mov eax, dword [edi + 4]
cmp byte [eax + 0x29], bl
jne 0x401f8f
lea ecx, [ecx]
cmp edi, dword [eax + 8]
jne 0x401f8f
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x29], bl
je 0x401f80
mov edi, eax
cmp edi, dword [esp + 0x30]
jne 0x401e43
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x20]
lea esi, [esp + 0x4c]
call fcn.00402e40
mov ecx, dword [esp + 0x48]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xc8]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0xf0], 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 byte [esp + 0xf0], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x20]
lea esi, [esp + 0x24]
call fcn.00402860
mov edx, dword [esp + 0x20]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov byte [esp + 0xf4], bl
mov eax, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x20]
lea esi, [esp + 0x34]
call fcn.00402860
mov eax, dword [esp + 0x30]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov dword [esp + 0xf4], 0xffffffff
mov eax, dword [esp + 0x58]
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x20]
lea esi, [esp + 0x58]
call fcn.00402b50
mov ecx, dword [esp + 0x54]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x40214a
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x20]
lea esi, [esp + 0x4c]
call fcn.00402e40
mov edx, dword [esp + 0x48]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xc8]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0xf0], 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 byte [esp + 0xf0], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x20]
lea esi, [esp + 0x24]
call fcn.00402860
mov eax, dword [esp + 0x20]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0xf0], bl
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x20]
lea esi, [esp + 0x34]
call fcn.00402860
mov ecx, dword [esp + 0x30]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov dword [esp + 0xf4], 0xffffffff
mov eax, dword [esp + 0x58]
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x20]
lea esi, [esp + 0x58]
call fcn.00402b50
mov edx, dword [esp + 0x54]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00449014
add esp, 0xe0
ret 8