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

Disassembly:
push 0xffffffffffffffff
push 0x5226db
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x597f54]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0x348]
mov dword fs:[0], eax
mov eax, dword [esp + 0x358]
mov ebp, dword [esp + 0x35c]
xor ebx, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
xor esi, esi
mov byte [esp + 0x17], 1
mov edi, 0xff
jmp 0x455135
mov esi, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x48]
push ecx
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esi, 1
cmp eax, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jne 0x455201
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
call fcn.00401534
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
lea ecx, [esp + 0x50]
push ecx
push ebp
mov dword [esp + 0x364], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45532f
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x20]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea ecx, [esp + 0x60]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45532f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004550d0
mov byte [esp + 0x16], al
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x350], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x455215
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x455215
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x17], bl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebp
mov byte [esp + 0x16], bl
xor esi, esi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x24]
push ebx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x258]
push eax
push esi
push ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esi, 1
cmp eax, ebx
jne 0x4552b1
cmp dword [esp + 0x28], ebx
je 0x4552b1
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x148]
push eax
push ebx
push ebx
lea ecx, [esp + 0x254]
push ecx
push edx
mov dword [esp + 0x38], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x455217
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x455217
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x148]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebx
lea edx, [esp + 0x254]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x455217
cmp byte [esp + 0x17], bl
je 0x4552f3
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4552c6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4552d5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x164], bl
je 0x4552f3
cmp byte [esp + 0x16], bl
jne 0x4552f3
lea edx, [esp + 0x44]
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [esp + 0x34], 0x103
jne 0x455131
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0x348]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.004e2867
add esp, 0x340
ret 8
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x350], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45535a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x455305