Function at 0x1006bd20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be9c5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100fbe80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], edx
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 1
push 0x100e1b3c
lea ecx, [ebp - 0x64]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call fcn.1000db40
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.1002bce0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
cmp ecx, 8
jb 0x1006bdd3
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1006bdc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006c0ff
push ecx
push edx
call fcn.10092592
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x48], eax
cmp eax, 3
jb 0x1006c0d8
mov eax, esi
mov edx, eax
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x40], ecx
cmp ecx, 8
jb 0x1006be09
mov eax, dword [esi]
mov edx, dword [edx + 0x10]
cmp edx, 0x11
jne 0x1006be43
mov ecx, str.HKEY_CURRENT_USER
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x44], eax
nop dword [eax]
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x1006be40
mov eax, dword [ebp - 0x44]
add ecx, 2
sub edi, 1
jne 0x1006be20
mov dword [ebp - 0x40], 0x80000001
jmp 0x1006bf3c
mov ecx, dword [ebp - 0x40]
mov eax, esi
cmp ecx, 8
jb 0x1006be4c
mov eax, dword [esi]
cmp edx, 0x11
jne 0x1006be83
mov ecx, str.HKEY_CLASSES_ROOT
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x44], eax
nop dword [eax]
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x1006be80
mov eax, dword [ebp - 0x44]
add ecx, 2
sub edi, 1
jne 0x1006be60
mov dword [ebp - 0x40], 0x80000000
jmp 0x1006bf3c
mov ecx, dword [ebp - 0x40]
mov eax, esi
cmp ecx, 8
jb 0x1006be8c
mov eax, dword [esi]
cmp edx, 0x12
jne 0x1006bec0
mov ecx, str.HKEY_LOCAL_MACHINE
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x44], eax
nop dword [eax]
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x1006bebd
mov eax, dword [ebp - 0x44]
add ecx, 2
sub edi, 1
jne 0x1006bea0
mov dword [ebp - 0x40], 0x80000002
jmp 0x1006bf3c
mov ecx, dword [ebp - 0x40]
mov eax, esi
cmp ecx, 8
jb 0x1006bec9
mov eax, dword [esi]
cmp edx, 0xa
jne 0x1006bf00
mov ecx, str.HKEY_USERS
mov edi, edx
sub eax, ecx
mov dword [ebp - 0x44], eax
nop word [eax + eax]
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x1006befd
mov eax, dword [ebp - 0x44]
add ecx, 2
sub edi, 1
jne 0x1006bee0
mov dword [ebp - 0x40], 0x80000003
jmp 0x1006bf3c
mov ecx, dword [ebp - 0x40]
mov edi, esi
cmp ecx, 8
jb 0x1006bf09
mov edi, dword [esi]
cmp edx, 0x13
jne 0x1006c0d8
mov ecx, str.HKEY_CURRENT_CONFIG
sub edi, ecx
nop dword [eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x1006c0d8
add ecx, 2
sub edx, 1
jne 0x1006bf20
mov dword [ebp - 0x40], 0x80000005
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
mov ecx, 7
xor eax, eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], ecx
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x48]
lea edi, [ecx - 6]
dec eax
mov byte [ebp - 4], 3
cmp eax, edi
jle 0x1006c01d
mov eax, 0x18
mov dword [ebp - 0x44], eax
mov edx, dword [eax + esi + 0x10]
lea ecx, [eax + esi]
mov eax, 0x7ffffffe
sub eax, edx
cmp eax, 1
jb 0x1006c104
cmp dword [ecx + 0x14], 8
jb 0x1006bf92
mov ecx, dword [ecx]
push 1
push 0x100e2a5c
push edx
push ecx
push ecx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x64]
call fcn.1000f590
mov byte [ebp - 4], 4
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0x38]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
push eax
call fcn.1000c560
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
cmp ecx, 8
jb 0x1006c000
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1006bff6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006c0ff
push ecx
push edx
call fcn.10092592
add esp, 8
mov eax, dword [ebp - 0x44]
inc edi
mov ecx, dword [ebp - 0x48]
add eax, 0x18
dec ecx
mov dword [ebp - 0x44], eax
cmp edi, ecx
jge 0x1006c01a
mov esi, dword [ebp - 0x20]
jmp 0x1006bf73
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x20006
push 0
push 0
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push 0
push eax
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, dword [ebp - 0x3c]
xor edi, edi
test ecx, ecx
je 0x1006c08c
mov eax, dword [ebp - 0x1c]
add eax, 0xffffffe8
cmp dword [eax + 0x14], 8
jb 0x1006c06b
mov eax, dword [eax]
mov esi, dword [ebp + 8]
push esi
push dword [ebp - 0x4c]
push 3
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x3c]
test eax, eax
cmove edi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x1006c0c2
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1006c0b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006c0ff
push ecx
push edx
call fcn.10092592
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
jmp 0x1006c0da
xor edi, edi
lea ecx, [ebp - 0x20]
call fcn.10015ba0
mov eax, edi
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.10092561
mov esp, ebp
pop ebp
ret
call fcn.10097635
call fcn.1000d980
int3