Function at 0x432960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
push ebx
push esi
push edi
mov esi, ecx
xor eax, eax
mov ecx, 0x43
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], 0x10c
call fcn.00416080
lea ecx, [esp + 0x30]
push ecx
push str.CAutoDisplayProfile::ValidateAdapterIdentifier_._SubKey__s_n
call fcn.0040a4a0
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 0x432a29
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 0x432a29
lea ecx, [esp + 0x28]
push ecx
push str.ValidateAdapterIdentifier._Failed_to_open_registry_key__s.
call fcn.0040a4a0
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 0x432ae4
mov edi, esi
mov ecx, 0x43
lea esi, [esp + 0x130]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x432add
mov eax, dword [0x492078]
test eax, eax
jne 0x432add
push str.ValidateAdapterIdentifier._The_existing_profile_contains_different_adapter_information._Delete_all_profiles_n
call fcn.0040a4a0
mov edx, dword [0x47f6dc]
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 [0x47f6e0]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x47f6e4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
mov dx, word [0x47f6e8]
mov dword [esp + 0x34], eax
mov al, byte [0x47f6ea]
lea ecx, [esp + 0x2c]
push 0
push ecx
mov word [esp + 0x44], dx
mov byte [esp + 0x46], al
call fcn.00416080
lea edx, [esp + 0x34]
push edx
jmp 0x432b48
mov byte [esp + 0x13], 1
jmp 0x432b50
push str.ValidateAdapterIdentifier._RegQueryValueEx_failed_n
call fcn.0040a4a0
mov edx, dword [0x47f6e0]
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 [0x47f6dc]
mov dword [esp + 0x2c], eax
mov eax, dword [0x47f6e4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
mov cx, word [0x47f6e8]
mov dword [esp + 0x34], edx
mov dl, byte [0x47f6ea]
lea eax, [esp + 0x2c]
push 0
push eax
mov word [esp + 0x44], cx
mov byte [esp + 0x46], dl
call fcn.00416080
lea ecx, [esp + 0x34]
push ecx
call fcn.004137a0
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 0x432b7c
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.00432880
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