Function at 0x5cb5d80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd0945
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5cdc080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5d07f04], 0xf
mov ecx, 0x5d07ef0
mov eax, dword [0x5d07f00]
jbe 0x5cb5dca
mov ecx, dword [0x5d07ef0]
add eax, ecx
jmp 0x5cb5dd1
add eax, ecx
mov ecx, 0x5d07ef0
push ecx
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.05cb6e00
push 0x2d
mov edx, 0x5d06a4c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.05cb4be0
add esp, 4
push 0xc
mov edx, 0x5d06ab4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.05cb4be0
add esp, 4
push 0x1a
mov edx, 0x5d06ac4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.05cb4be0
add esp, 4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x90]
call fcn.05cb7000
add esp, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.05cb6920
mov ecx, dword [ebp - 0x7c]
cmp ecx, 7
jbe 0x5cb5e80
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5cb5e76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb60e1
push ecx
push edx
call fcn.05cb859c
add esp, 8
cmp dword [ebp - 0x44], 7
lea ecx, [ebp - 0x74]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push 0
push ecx
push 0
push 0x20007
push 0
push 0
push 0
push eax
push 0x80000002
mov dword [ebp - 0x74], 0
call esi
test eax, eax
jne 0x5cb5f19
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp ecx, 7
cmova esi, edi
lea edx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x5cb5ed0
sub esi, edx
lea edx, [ebp - 0x28]
sar esi, 1
cmp ecx, 7
lea ecx, [ebp - 0x40]
cmova edx, edi
cmp dword [ebp - 0x2c], 7
cmova ecx, dword [ebp - 0x40]
lea eax, [esi + esi]
push eax
push edx
push 1
push 0
push ecx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x5cb5fa8
cmp dword [ebp - 0x44], 7
lea ecx, [ebp - 0x78]
push 0
push ecx
push 0
push 0x20007
push 0
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x78], 0
cmova eax, dword [ebp - 0x58]
push 0
push eax
push 0x80000001
call esi
test eax, eax
jne 0x5cb5fa6
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp ecx, 7
cmova esi, edi
lea edx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x5cb5f60
sub esi, edx
lea edx, [ebp - 0x28]
sar esi, 1
cmp ecx, 7
lea ecx, [ebp - 0x40]
cmova edx, edi
cmp dword [ebp - 0x2c], 7
cmova ecx, dword [ebp - 0x40]
lea eax, [esi + esi]
push eax
push edx
push 1
push 0
push ecx
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x5cb5fa8
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x5cb5fe2
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5cb5fd8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb60e6
push ecx
push edx
call fcn.05cb859c
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x5cb6030
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5cb6026
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb60e6
push ecx
push edx
call fcn.05cb859c
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x5cb607a
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5cb6070
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb60e6
push ecx
push edx
call fcn.05cb859c
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 7
jbe 0x5cb60c4
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5cb60ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cb60e6
push ecx
push edx
call fcn.05cb859c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.05cb8559
mov esp, ebp
pop ebp
ret
call fcn.05cbe429
call fcn.05cbe429
int3