Function at 0x438030
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b54b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x150
mov eax, dword [0x445040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x154]
push eax
push 0xf003f
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4382ea
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [ebp - 0x11c]
xor esi, esi
mov dword [ebp - 0x11c], 0xff
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x15c], esi
push eax
push esi
push dword [ebp - 0x154]
call edi
test eax, eax
jne 0x4382de
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x120], 0
movups xmmword [ebp - 0x134], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438107
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.00439230
mov edx, dword [ebp - 0x160]
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 0
call fcn.00437f00
test al, al
je 0x438157
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x154]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x438273
lea eax, [ebp - 0x158]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x154]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x438269
mov esi, dword [ebp - 0x158]
push esi
call fcn.0043a001
push esi
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x150], edi
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 1
push eax
push edi
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x154]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x438254
push dword [ebp - 0x158]
xorps xmm0, xmm0
mov dword [ebp - 0x13c], eax
push edi
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x138], eax
movups xmmword [ebp - 0x14c], xmm0
call fcn.00439230
mov edx, dword [ebp - 0x160]
lea ecx, [ebp - 0x14c]
call fcn.00437f00
test al, al
je 0x43821a
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x154]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0x138]
cmp ecx, 0xf
jbe 0x438254
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43824a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438308
push ecx
push edx
call fcn.00439c53
add esp, 8
push edi
call fcn.00439eb2
mov esi, dword [ebp - 0x15c]
add esp, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x11c], 0xff
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x120]
cmp ecx, 0xf
jbe 0x4382b0
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4382a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438308
push ecx
push edx
call fcn.00439c53
add esp, 8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x11c]
inc esi
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x15c], esi
push eax
push esi
push dword [ebp - 0x154]
call edi
test eax, eax
je 0x4380e0
push dword [ebp - 0x154]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00439b22
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3