Function at 0x5b8b30
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6277f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
je 0x5b91e3
mov ecx, dword [esi + 0x418]
test ecx, ecx
jne 0x5b8b82
push eax
mov ecx, esi
call fcn.005bd090
test al, al
je 0x5b91e3
mov edx, dword [esi]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
push edx
push 1
push eax
mov eax, dword [esi + 0x418]
push 0x6df1f4
push eax
call ebx
mov edx, dword [esi + 4]
test edx, edx
je 0x5b8bcd
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x418]
push edx
push 1
push eax
push 0x6c3d5c
push ecx
call ebx
mov edx, dword [esi + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esi + 0x418]
push 1
push eax
push 0x6c41e8
push edx
call ebx
mov edx, dword [esi + 0xc]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esi + 0x418]
push 0x6c4b0c
push eax
call ebx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x418]
push 0
push ecx
push 0x6c4b00
push 0x6d0f58
push edx
call fcn.005aa440
mov eax, dword [esi + 0x3c]
add esp, 0x14
test eax, eax
je 0x5b8c3c
mov ecx, esi
call fcn.005b9350
mov edx, dword [esi + 0x40]
test edx, edx
je 0x5b8c78
mov al, byte [esi + 0x306]
mov dword [ebp - 0x20], 0x6df6f8
test al, al
jne 0x5b8c5b
mov dword [ebp - 0x20], 0x6c41c0
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x418]
push edx
push 1
push eax
mov eax, dword [ebp - 0x20]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x20]
test edx, edx
je 0x5b8c9d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esi + 0x418]
push 1
push eax
push 0x6dfc64
push edx
call ebx
mov eax, dword [esi + 0x174]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5b8cc1
inc ecx
push ecx
push eax
mov eax, dword [esi + 0x418]
push 1
push 0
push 0x6dfbec
push eax
call ebx
jmp 0x5b8cd3
mov ecx, dword [esi + 0x418]
push 0x6dfbec
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esi + 0xc0]
mov eax, dword [edx - 8]
test eax, eax
je 0x5b8cfe
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esi + 0x418]
push 1
push eax
push 0x6dfc5c
push edx
call ebx
mov edx, dword [esi + 0x18]
test edx, edx
je 0x5b8d23
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esi + 0x418]
push 0x6c48c4
push eax
call ebx
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x5b8d48
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x418]
push edx
push 1
push eax
push 0x6dfbfc
push ecx
call ebx
mov eax, dword [esi + 0x170]
lea edi, [esi + 0x170]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5b8d76
mov edx, dword [esi + 0x418]
inc ecx
push ecx
mov edi, 1
push eax
push edi
push 0
push 0x6dfbf8
push edx
call ebx
jmp 0x5b8dc6
mov al, byte [esi + 0x16c]
test al, al
je 0x5b8daf
mov al, byte [esi + 0x30b]
test al, al
je 0x5b8daf
push 0x6ec0c8
mov ecx, edi
call fcn.005fa9e2
mov edi, dword [edi]
mov eax, dword [esi + 0x418]
push 1
push edi
push 1
push 0
push 0x6dfbf8
push eax
call ebx
jmp 0x5b8dc1
mov ecx, dword [esi + 0x418]
push 0x6dfbf8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, 1
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5b8de9
mov edx, dword [esi + 0x418]
inc ecx
push ecx
push eax
push edi
push 0
push 0x6dfbf0
push edx
call ebx
jmp 0x5b8dfb
mov eax, dword [esi + 0x418]
push 0x6dfbf0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi + 0x418]
lea eax, [esi + 0x24]
push 4
push eax
push 4
push 0
push 0x6c35b4
push ecx
call ebx
mov eax, dword [esi + 0x418]
lea edx, [esi + 0x14]
push 4
push edx
push 4
push 0
push 0x6dfcb0
push eax
call ebx
mov edx, dword [esi + 0x418]
lea ecx, [esi + 0x2dc]
push 4
push ecx
push 4
push 0
push 0x6df74c
push edx
call ebx
mov edx, dword [esi + 0x418]
lea ecx, [ebp - 0x14]
push 4
push ecx
xor eax, eax
push 4
mov al, byte [esi + 0x30f]
push 0
push 0x6df744
push edx
mov dword [ebp - 0x14], eax
call ebx
mov al, byte [esi + 0x308]
test al, al
je 0x5b8e8e
mov ecx, dword [esi + 0x418]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x6e074c
push ecx
mov dword [ebp - 0x14], edi
call ebx
mov al, byte [esi + 0x309]
test al, al
je 0x5b8eb3
mov eax, dword [esi + 0x418]
lea edx, [ebp - 0x14]
push 4
push edx
push 4
push 0
push 0x6e0744
push eax
mov dword [ebp - 0x14], edi
call ebx
mov al, byte [esi + 0x16a]
test al, al
je 0x5b8ed8
mov edx, dword [esi + 0x418]
lea ecx, [ebp - 0x14]
push 4
push ecx
push 4
push 0
push 0x6e073c
push edx
mov dword [ebp - 0x14], edi
call ebx
mov al, byte [esi + 0x188]
test al, al
je 0x5b8efd
mov ecx, dword [esi + 0x418]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x6df890
push ecx
mov dword [ebp - 0x14], edi
call ebx
mov eax, dword [esi + 0x418]
lea edx, [esi + 0x14c]
push 4
push edx
push 4
push 0
push 0x6dfca8
push eax
call ebx
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x5b8f40
jg 0x5b8f28
mov eax, dword [ebp + 0xc]
test eax, eax
jbe 0x5b8f40
mov edx, dword [esi + 0x418]
lea ecx, [ebp + 0xc]
push 8
push ecx
push 0
push 0
push 0x6c35a0
push edx
call ebx
mov edx, dword [esi + 0x11c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5b8f8c
push 0x5c
push edx
call fcn.005df0e0
mov edx, eax
add esp, 8
test edx, edx
je 0x5b8f68
inc edx
jmp 0x5b8f6e
mov edx, dword [esi + 0x11c]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esi + 0x418]
push 0x6e0730
push eax
call ebx
mov eax, dword [esi + 0x2f8]
test eax, eax
je 0x5b8fb1
mov edx, dword [esi + 0x418]
lea ecx, [ebp - 0x20]
push 4
push ecx
push 4
push 0
push 0x6c35ac
push edx
mov dword [ebp - 0x20], eax
call ebx
mov edx, dword [esi + 0x2e0]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5b8fe1
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esi + 0x418]
push 0x6e0724
push eax
call ebx
mov eax, dword [esi + 0x2f0]
test eax, eax
je 0x5b9006
mov edx, dword [esi + 0x418]
lea ecx, [ebp - 0x20]
push 4
push ecx
push 4
push 0
push 0x6dfcc8
push edx
mov dword [ebp - 0x20], eax
call ebx
mov eax, dword [esi + 0x2f0]
test eax, eax
jne 0x5b9019
cmp dword [esi + 0x2f8], 0x40
jne 0x5b9067
mov al, byte [esi + 0x2fe]
test al, al
je 0x5b9042
mov ecx, dword [esi + 0x418]
lea eax, [ebp - 0x20]
push 4
push eax
push 4
push 0
push 0x6dfcc0
push ecx
mov dword [ebp - 0x20], 1
call ebx
mov ecx, dword [esi + 0x2ec]
lea eax, [esi + 0x2ec]
test ecx, ecx
je 0x5b9067
mov edx, dword [esi + 0x418]
push 4
push eax
push 4
push 0
push 0x6dfcb8
push edx
call ebx
mov al, byte [esi + 0x155]
test al, al
je 0x5b9090
mov ecx, dword [esi + 0x418]
lea eax, [ebp - 0x20]
push 4
push eax
push 4
push 0
push 0x6c2870
push ecx
mov dword [ebp - 0x20], 1
call ebx
mov eax, dword [esi + 0x24]
cmp eax, 4
je 0x5b90a1
cmp eax, 5
jne 0x5b91d8
mov al, byte [esi + 0x30e]
test al, al
je 0x5b91d8
mov edx, dword [0x6e7b6c]
mov dword [ebp - 0x20], edx
mov edi, dword [esi + 0x39c]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5b90f0
mov eax, dword [esi + 0x398]
test eax, eax
je 0x5b90f0
mov eax, dword [esi + 0x39c]
lea ecx, [ebp - 0x20]
push eax
push 0x6e0714
push ecx
call fcn.005f368b
add esp, 0xc
mov edx, dword [0x6e7b6c]
mov dword [ebp - 0x1c], edx
mov edi, dword [esi + 0x354]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5b9127
mov eax, dword [esi + 0x3a0]
lea ecx, [ebp - 0x1c]
push eax
push 0x6e0708
push ecx
call fcn.005f368b
add esp, 0xc
mov edx, dword [0x6e7b6c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi + 0x38c]
push eax
mov eax, dword [esi + 0x388]
push ecx
mov ecx, dword [esi + 0x384]
push edx
mov edx, dword [esi + 0x380]
push eax
mov eax, dword [esi + 0x37c]
push ecx
mov ecx, dword [esi + 0x378]
push edx
mov edx, dword [esi + 0x374]
push eax
mov eax, dword [esi + 0x370]
push ecx
mov ecx, dword [esi + 0x36c]
push edx
mov edx, dword [esi + 0x368]
push eax
push ecx
push edx
lea eax, [ebp - 0x18]
push 0x6e06b4
push eax
mov byte [ebp - 4], 3
call fcn.005f368b
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x38
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x418]
push edx
push 1
push eax
push 0x6dfbfc
push ecx
call ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005fa859
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005fa859
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005fa859
mov edx, dword [ebp + 8]
mov ecx, esi
push edx
call fcn.005b96b0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc