Function at 0x4b3d20
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
call fcn.0057f505
add esp, 8
test eax, eax
je 0x4b3d6d
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x4b3d70
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0x20]
test al, al
jne 0x4b3d82
mov eax, dword [ebp + 0x14]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov word [ebp - 0x18], si
mov eax, dword [0x67a008]
mov byte [ebp - 4], 3
cmp eax, esi
jne 0x4b3d9e
mov eax, 0x67a00c
mov ecx, dword [ebp + 0x1c]
push ecx
push eax
push 0x64f030
lea ecx, [ebp - 0x1c]
call fcn.00410280
push esi
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x28]
push esi
lea eax, [ebp + 0x1c]
push edx
push eax
push esi
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x4b3e9e
cmp dword [ebp + 0x1c], esi
je 0x4b3e9e
xor ebx, ebx
test esi, esi
jne 0x4b3e9e
lea ecx, [ebp - 0x12c]
push 0x104
push ecx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x4b3e98
lea edx, [ebp - 0x24]
lea eax, [ebp + 8]
push edx
push eax
push esi
push 0xf003f
push esi
push 0x679a28
lea ecx, [ebp - 0x12c]
push esi
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4b3e98
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x334]
push edx
push eax
push esi
push esi
push esi
push ecx
mov dword [ebp - 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b3e8e
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4b3e55
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x334]
push edx
push eax
call fcn.00580edc
add esp, 8
test eax, eax
jne 0x4b3e8e
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x12c]
push eax
push ecx
call fcn.0057f505
add esp, 8
test eax, eax
je 0x4b3e8e
lea edx, [ebp - 0x12c]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
jmp 0x4b3ddb
mov al, byte [ebp + 0x20]
test al, al
je 0x4b3f48
mov edx, dword [ebp + 0x14]
lea ecx, [ebp + 0x20]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4b3f48
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4b3f56
lea eax, [ebp - 0x18]
lea esi, [ebp - 0x18]
push eax
call fcn.0057e90a
mov ecx, dword [ebp + 0x20]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [ebp + 8]
push 4
push edx
push 4
push 0
push 0x664f1c
push eax
mov dword [ebp + 8], 0xf3
call esi
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4b3f48
mov ebx, dword [ebp + 0x14]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push 1
push eax
mov eax, dword [ebp + 0x18]
push eax
push edx
call esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00401070
jmp 0x4b3f60
mov esi, eax
jmp 0x4b3edc
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0
call fcn.0059ad3d
lea ecx, [ebp + 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0059ad3d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c