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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443e9f
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x45d018]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push esi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
jbe 0x43094a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [esp + 0x18], eax
jbe 0x430960
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
push esi
push ebx
push eax
push ebx
lea ecx, [esp + 0x28]
push ecx
push ebx
call fcn.004215f0
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x43097d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x43098b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
push edi
push esi
push edi
lea edx, [esp + 0x28]
push edx
push edi
call fcn.004215f0
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x118]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_class_AdString_const__
xor ebx, ebx
push str.Profiles
lea ecx, [esp + 0x28]
mov dword [esp + 0x164], ebx
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
mov byte [esp + 0x160], 1
mov edx, dword [esp + 0x114]
mov eax, dword [edx + 0x78]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x118]
call eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], bl
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
lea ecx, [esp + 0x120]
mov dword [esp + 0x1c], ebx
call sub.acdb17.dll_public:_wchar_t_const____thiscall_AdString::operator_wchar_t_const__void_const
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x430a3b
lea ecx, [esp + 0x114]
mov dword [esp + 0x160], 0xffffffff
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
xor al, al
jmp 0x430b6e
mov ebx, dword [esp + 0x10]
mov ecx, edi
call fcn.00430f40
mov edx, dword [esp + 0x10]
push edx
mov bl, al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x430a1d
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x430a65
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
jbe 0x430a73
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, esi
je 0x430b55
push 0x4487ac
lea ecx, [esp + 0xa0]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_wchar_t_const__
push eax
mov byte [esp + 0x164], 2
mov edx, dword [esp + 0x118]
lea eax, [esp + 0xdc]
push eax
mov eax, dword [edx + 0x74]
lea ecx, [esp + 0x11c]
call eax
mov esi, eax
mov byte [esp + 0x160], 3
cmp ebx, dword [edi + 8]
jb 0x430ac5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
lea ecx, [esp + 0x64]
call sub.acdb17.dll_public:_void___thiscall_AdString::constructor_class_AdString_const__
mov byte [esp + 0x160], 4
mov edx, dword [esi]
mov edx, dword [edx + 0x74]
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
mov esi, dword [esp + 0x14]
push eax
mov byte [esp + 0x164], 5
call fcn.004124d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x160], 4
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esp + 0x60]
mov byte [esp + 0x160], 3
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esp + 0xd8]
mov byte [esp + 0x160], 2
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
lea ecx, [esp + 0x9c]
mov byte [esp + 0x160], 0
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
cmp ebx, dword [edi + 8]
jb 0x430b4d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add ebx, 0x3c
jmp 0x430a65
lea ecx, [esp + 0x114]
mov dword [esp + 0x160], 0xffffffff
call sub.acdb17.dll_public_virtual:_void___thiscall_AdString::destructor_void_
mov al, 1
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.0043f41f
mov esp, ebp
pop ebp
ret