Function at 0xab5a70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xad0425
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0xadb080]
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 [0xc53904], 0xf
mov ecx, 0xc538f0
mov eax, dword [0xc53900]
jbe 0xab5aba
mov ecx, dword [0xc538f0]
add eax, ecx
jmp 0xab5ac1
add eax, ecx
mov ecx, 0xc538f0
push ecx
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.00ab69c0
push 0x2d
mov edx, 0xc5244c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00ab4af0
add esp, 4
push 0xc
mov edx, 0xc524b4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00ab4af0
add esp, 4
push 0x1a
mov edx, 0xc524c4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00ab4af0
add esp, 4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x90]
call fcn.00ab6bd0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.00ab6610
mov ecx, dword [ebp - 0x7c]
cmp ecx, 7
jbe 0xab5b70
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xab5b66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xab5dd1
push ecx
push edx
call fcn.00ab8169
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 0xab5c09
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 0xab5bc0
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 0xab5c98
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 0xab5c96
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 0xab5c50
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 0xab5c98
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0xab5cd2
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xab5cc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xab5dd6
push ecx
push edx
call fcn.00ab8169
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 0xab5d20
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xab5d16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xab5dd6
push ecx
push edx
call fcn.00ab8169
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 0xab5d6a
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xab5d60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xab5dd6
push ecx
push edx
call fcn.00ab8169
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 0xab5db4
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xab5daa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xab5dd6
push ecx
push edx
call fcn.00ab8169
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.00ab8126
mov esp, ebp
pop ebp
ret
call fcn.00abdfe9
call fcn.00abdfe9
int3