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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42725b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [esp + 0x3c]
push eax
push ecx
push edx
mov dword [esp + 0x90], edi
call fcn.0041a010
mov eax, dword [ebp + 0x14]
push eax
sub esp, 0x1c
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea eax, [esp + 0x78]
push eax
call fcn.00409790
add esp, 0x24
lea ecx, [esp + 0xc]
add esi, 0xc
push ecx
mov byte [esp + 0x88], 1
call fcn.00408d20
mov edi, dword [eax]
mov ebx, dword [eax + 4]
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [esi + 4]
xor eax, eax
cmp edi, eax
mov dword [esp + 0x10], edx
je 0x41aef2
cmp edi, esi
je 0x41aefa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [esp + 0x10]
jne 0x41af9a
push 0x58
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x84], 2
je 0x41af28
push eax
call fcn.00424e40
mov edi, eax
jmp 0x41af2a
xor edi, edi
test edi, edi
mov byte [esp + 0x84], 0
je 0x41b314
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push ecx
push edx
mov ecx, edi
call eax
push ebx
sub esp, 0x1c
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov dword [edi + 4], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea eax, [esp + 0x78]
push eax
call fcn.00409790
add esp, 0x24
mov ecx, eax
mov edx, esi
mov byte [esp + 0x84], 3
call fcn.00408960
lea ecx, [esp + 0x58]
mov dword [eax], edi
mov byte [esp + 0x84], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
cmp dword [ebp + 0x10], eax
je 0x41b30c
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x84], 6
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x41afe4
lea eax, [esp + 0x40]
lea ecx, [esp + 0x2c]
push ecx
call fcn.0041c1d0
add esp, 4
test eax, eax
je 0x41b0e6
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp esi, eax
jbe 0x41b00f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x30], eax
mov ebx, eax
jbe 0x41b025
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0xc]
xor edi, edi
cmp eax, edi
je 0x41b037
lea edx, [esp + 0x2c]
cmp eax, edx
je 0x41b041
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0xc]
cmp esi, ebx
je 0x41b0e8
cmp eax, edi
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x41b059
call edi
mov eax, dword [esp + 0xc]
cmp esi, dword [eax + 8]
jb 0x41b060
call edi
mov ecx, 8
cmp dword [esi + 0x18], ecx
jb 0x41b06f
mov eax, dword [esi + 4]
jmp 0x41b072
lea eax, [esi + 4]
cmp dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x40]
jae 0x41b080
lea ecx, [esp + 0x40]
push dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [edx]
push eax
mov eax, dword [ebx + 0x20]
push ecx
mov ecx, edx
call eax
test eax, eax
je 0x41b0ad
mov ecx, dword [esp + 0xc]
cmp esi, dword [ecx + 8]
jb 0x41b0a1
call edi
mov eax, dword [esp + 0x34]
add esi, 0x1c
jmp 0x41b017
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ebx, [esp + 0x1c]
mov byte [esp + 0x84], 4
call fcn.00405fd0
lea ebx, [esp + 0x2c]
mov byte [esp + 0x84], 0
call fcn.00405fd0
jmp 0x41b314
xor edi, edi
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x41b0f7
lea eax, [esp + 0x40]
cmp eax, edi
mov dword [esp + 0xc], edi
je 0x41b273
cmp word [eax], di
je 0x41b273
lea edx, [esp + 0xc]
push edx
push pe_nt_image_headers32
push eax
call fcn.0041bda0
add esp, 0xc
cmp eax, edi
je 0x41b273
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
call fcn.0041c110
mov ecx, dword [esp + 0x10]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp esi, eax
jbe 0x41b159
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
mov edi, ecx
nop
cmp dword [esp + 0x20], eax
mov ebx, eax
jbe 0x41b16e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test edi, edi
je 0x41b17a
lea edx, [esp + 0x1c]
cmp edi, edx
je 0x41b180
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x41b271
test edi, edi
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x41b194
call ebx
cmp esi, dword [edi + 8]
jb 0x41b19b
call ebx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x58]
push eax
push esi
push ecx
call fcn.0041a010
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
push 1
lea eax, [esp + 0x60]
push eax
mov eax, dword [ebp + 8]
push eax
call edx
test eax, eax
je 0x41b1d8
cmp esi, dword [edi + 8]
jb 0x41b1cf
call ebx
mov eax, dword [esp + 0x24]
add esi, 0x1c
jmp 0x41b160
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x84], 4
mov esi, dword [esp + 0x20]
xor ebx, ebx
cmp esi, ebx
je 0x41b220
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x41b217
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x41b204
mov esi, dword [esp + 0x20]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x84], 0
mov esi, dword [esp + 0x30]
cmp esi, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x41b260
mov edi, dword [esp + 0x34]
cmp esi, edi
je 0x41b257
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x41b244
mov esi, dword [esp + 0x30]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
jmp 0x41b314
xor edi, edi
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x84], 4
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x41b2be
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x41b2b3
lea ecx, [ecx]
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x41b2a0
mov esi, dword [esp + 0x20]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
mov byte [esp + 0x84], 0
mov esi, dword [esp + 0x30]
cmp esi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
je 0x41b300
mov edi, dword [esp + 0x34]
cmp esi, edi
je 0x41b2f5
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x41b2e2
mov esi, dword [esp + 0x30]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10