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

Disassembly:
push 0xffffffffffffffff
push 0x4c41d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x4f5b3c]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x1f68]
mov dword [esp + 0x14], 0x3fc16
xor ebx, ebx
mov edx, dword [ebp + ecx*4 + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
mov eax, dword [edx + 8]
mov edx, dword [0x4ffa14]
push edx
mov edx, dword [ebp + 8]
push ecx
push ebx
push eax
push edx
mov dword [esp + 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, ebx
jne 0x445d5b
mov eax, dword [ebp + 0x1f68]
mov eax, dword [ebp + eax*4 + 0x20]
mov ecx, dword [eax + 8]
cmp dword [ecx - 8], ebx
je 0x445d89
mov ecx, dword [esp + 0x14]
cmp ecx, 1
jbe 0x445d89
mov eax, dword [eax]
cmp eax, 3
je 0x445cdc
cmp eax, ebx
je 0x445c8c
cmp eax, 4
je 0x445c8c
cmp eax, 5
je 0x445c8c
mov edx, dword [0x4ffa14]
lea ecx, [esp + 0x10]
push edx
call fcn.004a9d5c
mov eax, dword [ebp + 0x1f68]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + eax*4 + 0x20]
add eax, 0xc
mov eax, dword [eax]
push eax
push ecx
jmp 0x445ccb
cmp eax, 3
je 0x445cdc
cmp eax, ebx
je 0x445cdc
mov eax, dword [0x4ffa14]
lea edx, [esp + 0x34]
push 0xa
push edx
mov ecx, dword [eax]
push ecx
call fcn.004765f7
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
call fcn.004a9d5c
mov edx, dword [ebp + 0x1f68]
mov eax, dword [ebp + edx*4 + 0x20]
add eax, 0xc
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.00474eb8
add esp, 8
test eax, eax
jne 0x445d3c
jmp 0x445fb7
push 0x10
push ecx
mov ecx, dword [0x4ffa14]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
call fcn.00444e90
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 1
call fcn.004a9d0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], bl
call fcn.004a9c1f
lea ecx, [esp + 0x10]
call fcn.004aa0f5
mov eax, dword [ebp + 0x1f68]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + eax*4 + 0x20]
add eax, 0xc
mov eax, dword [eax]
push eax
push ecx
call fcn.00474eb8
add esp, 8
test eax, eax
je 0x445fb7
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00444cb0
mov eax, dword [ebp + 0x1f68]
mov ecx, dword [ebp + eax*4 + 0x20]
mov dword [ecx + 0x20], 1
jmp 0x445d9a
cmp esi, 0xea
jne 0x445d89
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004a9c1f
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov edx, dword [ebp + 0x1f68]
mov eax, dword [ebp + edx*4 + 0x20]
mov dword [eax + 0x20], 2
mov ecx, dword [ebp + 0x1f68]
mov edx, dword [ebp + ecx*4 + 0x20]
mov eax, dword [edx + 8]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp + 0x1f68]
mov edx, dword [ebp + ecx*4 + 0x20]
lea eax, [ebp + ecx*4 + 0x20]
mov ecx, dword [edx]
cmp ecx, 7
ja case.0x445dcb.6
jmp dword [ecx*4 + 0x445fe0]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
lea ecx, [eax + 0xc]
mov esi, dword [eax + 8]
mov edx, dword [edx - 8]
lea eax, [edx + 1]
push eax
push edx
call fcn.004aa003
mov ecx, dword [ebp + 0x1f68]
push eax
mov edx, dword [ebp + ecx*4 + 0x20]
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp case.0x445dcb.6
mov edx, dword [eax]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [edx + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [0x4ffa14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x1f68]
mov edx, dword [ebp + ecx*4 + 0x20]
mov ecx, dword [0x4ffa14]
mov eax, dword [edx + 0xc]
mov eax, dword [eax - 8]
mov byte [ecx + eax + 1], bl
mov edx, dword [ebp + 0x1f68]
add eax, 2
push eax
mov eax, dword [0x4ffa14]
mov ecx, dword [ebp + edx*4 + 0x20]
push eax
mov edx, dword [ecx + 8]
mov ecx, dword [ecx]
push ecx
push ebx
push edx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp case.0x445dcb.6
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ebx
push ecx
mov eax, dword [eax + 0xc]
push eax
call fcn.00476c89
mov edx, dword [ebp + 0x1f68]
mov dword [esp + 0x28], eax
add esp, 0xc
mov eax, dword [ebp + edx*4 + 0x20]
lea edx, [esp + 0x1c]
push 4
push edx
mov ecx, dword [eax + 8]
mov eax, dword [eax]
push eax
push ebx
push ecx
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp case.0x445dcb.6
mov eax, dword [eax]
push 0x10
lea edx, [esp + 0x1c]
push ebx
push edx
push ecx
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004a9994
mov ecx, ebp
call fcn.00444d50
mov ecx, dword [ebp + 0x1f68]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + ecx*4 + 0x20]
push eax
mov edx, dword [ecx + 8]
mov ecx, dword [ecx]
push ecx
push ebx
push edx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call fcn.004aa209
add esp, 4
cmp esi, ebx
je 0x445f33
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004a9c1f
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, dword [ebp + 0x1f68]
push ecx
mov edx, dword [ebp + ecx*4 + 0x20]
mov ecx, esp
add edx, 0x14
mov dword [esp + 0x2c], esp
push edx
call fcn.004a9994
mov eax, dword [ebp + 0x1f68]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov edx, dword [ebp + eax*4 + 0x20]
mov byte [esp + 0x64], 2
add edx, 0xc
push edx
call fcn.004a9994
mov eax, dword [ebp + 0x1f68]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
mov edx, dword [ebp + eax*4 + 0x20]
mov byte [esp + 0x68], 3
add edx, 8
push edx
call fcn.004a9994
mov eax, dword [ebp + 0x1f68]
push 8
mov byte [esp + 0x6c], bl
mov ecx, dword [ebp + eax*4 + 0x20]
mov edx, dword [ecx]
lea ecx, [ebp + 0x14]
push edx
call fcn.004033c0
push eax
lea ecx, [ebp + 0x10]
call fcn.004033c0
push eax
mov ecx, ebp
call fcn.004470d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret