Function at 0x432200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
push ebx
push esi
push edi
mov esi, ecx
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x130]
rep stosd dword es:[edi], eax
xor ebx, ebx
mov ecx, 0x41
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push ebx
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 3
mov dword [esp + 0x20], 0x44
call fcn.00416280
lea ecx, [esp + 0x30]
push ecx
push str.CAutoDisplayProfile::ValidateAdapterIdentifier_._SubKey__s_n
call fcn.0040aac0
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0x2001f
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4322c9
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
lea eax, [esp + 0x44]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4322c9
lea ecx, [esp + 0x28]
push ecx
push str.ValidateAdapterIdentifier._Failed_to_open_registry_key__s.
call fcn.0040aac0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push str.AdapterInfo
push edx
mov byte [esp + 0x2b], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x432384
mov edi, esi
mov ecx, 0x11
lea esi, [esp + 0x130]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x43237d
mov eax, dword [0x491078]
test eax, eax
jne 0x43237d
push str.ValidateAdapterIdentifier._The_existing_profile_contains_different_adapter_information._Delete_all_profiles_n
call fcn.0040aac0
mov edx, dword [0x47f3a4]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [str.HKEY_CURRENT_USER_]
mov eax, dword [0x47f3a8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x47f3ac]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
mov dx, word [0x47f3b0]
mov dword [esp + 0x34], eax
mov al, byte [0x47f3b2]
lea ecx, [esp + 0x2c]
push 0
push ecx
mov word [esp + 0x44], dx
mov byte [esp + 0x46], al
call fcn.00416280
lea edx, [esp + 0x34]
push edx
jmp 0x4323e8
mov byte [esp + 0x13], 1
jmp 0x4323f0
push str.ValidateAdapterIdentifier._RegQueryValueEx_failed_n
call fcn.0040aac0
mov edx, dword [0x47f3a8]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [str.HKEY_CURRENT_USER_]
mov ecx, dword [0x47f3a4]
mov dword [esp + 0x2c], eax
mov eax, dword [0x47f3ac]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
mov cx, word [0x47f3b0]
mov dword [esp + 0x34], edx
mov dl, byte [0x47f3b2]
lea eax, [esp + 0x2c]
push 0
push eax
mov word [esp + 0x44], cx
mov byte [esp + 0x46], dl
call fcn.00416280
lea ecx, [esp + 0x34]
push ecx
call fcn.00413da0
add esp, 0x10
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x13]
test al, al
mov dword [esp + 0x14], 0
jne 0x43241c
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.00432120
test eax, eax
setne byte [esp + 0x13]
movzx eax, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4