Function at 0x1006bc20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de749
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x1010e07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x68], ebx
jb 0x1006bc6c
mov ecx, dword [edi]
jmp 0x1006bc6e
mov ecx, edi
mov eax, dword [eax]
push ebx
lea edx, [ebp - 0x68]
push edx
push ebx
push 0x2001b
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, ebx
je 0x1006bde3
push 1
push 2
lea ecx, [ebp - 0x110]
call fcn.100042d0
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x6c]
push ecx
push ecx
push str.__strKeyName:
push ecx
push edi
push ecx
push str.._strSubKey:
push ecx
push esi
push ecx
lea edx, [ebp - 0x110]
push str.RegCreateKeyEx_Failed._lStatus:
push edx
call fcn.10007530
add esp, 0xc
mov ecx, eax
call fcn.10014310
add esp, 4
push eax
call fcn.10007530
add esp, 0xc
push eax
call fcn.1000f0c0
add esp, 0xc
push eax
call fcn.10007530
add esp, 0xc
push eax
call fcn.1000f0c0
add esp, 8
push 0x1a
mov edi, 0xf
push str.CRegUtility::WriteRegValue
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.100065d0
mov byte [ebp - 4], 1
push 0xe
push str.RegUtility.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.100065d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x110]
call fcn.100043f0
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0xa8
lea edx, [ebp - 0x2c]
push edx
push ebx
call fcn.10004af0
mov ecx, eax
call fcn.10058f40
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 8
jb 0x1006bd7a
mov eax, dword [ebp - 0x64]
push eax
call fcn.100b2678
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 1
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x1006bda4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100b2678
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], esi
jb 0x1006bdc1
mov eax, dword [ebp - 0x48]
push eax
call fcn.100b2678
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.100029c0
xor al, al
jmp 0x1006c103
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], 8
jb 0x1006bdee
mov eax, dword [eax]
mov edx, dword [ebp - 0x68]
push 4
lea ecx, [ebp - 0x78]
push ecx
push 4
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov byte [ebp - 0x70], 1
mov edi, 0xf
cmp esi, ebx
je 0x1006bf6a
push 1
push 2
lea ecx, [ebp - 0x110]
call fcn.100042d0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x6c]
push eax
push ecx
push str.__strKeyName:
push ecx
mov ecx, dword [ebp - 0x74]
push ecx
push ecx
push str.._strSubKey:
push ecx
push esi
push ecx
lea edx, [ebp - 0x110]
push str.RegSetValueEx_Failed._lStatus:
push edx
call fcn.10007530
add esp, 0xc
mov ecx, eax
call fcn.10014310
add esp, 4
push eax
call fcn.10007530
add esp, 0xc
push eax
call fcn.1000f0c0
add esp, 0xc
push eax
call fcn.10007530
add esp, 0xc
push eax
call fcn.1000f0c0
add esp, 8
push 0x1a
push str.CRegUtility::WriteRegValue
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.100065d0
mov byte [ebp - 4], 5
push 0xe
push str.RegUtility.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.100065d0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x110]
call fcn.100043f0
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0xb5
lea edx, [ebp - 0x48]
push edx
push ebx
call fcn.10004af0
mov ecx, eax
call fcn.10058f40
mov byte [ebp - 4], 6
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x1006bf05
mov eax, dword [ebp - 0x64]
push eax
call fcn.100b2678
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], 0x10
jb 0x1006bf2b
mov edx, dword [ebp - 0x48]
push edx
call fcn.100b2678
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0x10
jb 0x1006bf4a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b2678
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.100029c0
mov byte [ebp - 0x70], bl
jmp 0x1006bf6f
mov esi, 8
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push 2
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x68], ebx
call fcn.100042d0
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x6c]
push ebx
push ecx
push str.._samDesired:
push ecx
push edx
push ecx
mov edx, dword [ebp - 0x70]
push str.._dwKeyValue:
push ecx
push eax
push ecx
push str.._strKeyName:
push ecx
mov ecx, dword [ebp - 0x74]
push ecx
push ecx
push str._strSubKey:
push ecx
push edx
push ecx
lea eax, [ebp - 0x110]
push str.bRet:
push eax
call fcn.10007530
add esp, 0xc
mov ecx, eax
call fcn.10063b30
add esp, 4
push eax
call fcn.10007530
add esp, 0xc
push eax
call fcn.1000f0c0
add esp, 0xc
push eax
call fcn.10007530
add esp, 0xc
push eax
call fcn.1000f0c0
add esp, 0xc
push eax
call fcn.10007530
add esp, 0xc
mov ecx, eax
call fcn.1005be10
add esp, 4
push eax
call fcn.10007530
add esp, 0xc
mov ecx, eax
call fcn.1005be10
push 0x1a
push str.CRegUtility::WriteRegValue
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.100065d0
mov byte [ebp - 4], 9
push 0xe
push str.RegUtility.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.100065d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x110]
call fcn.100043f0
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x2c]
push edx
push 0xbc
lea eax, [ebp - 0x48]
push eax
push 3
call fcn.10004af0
mov ecx, eax
call fcn.10058f40
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x50], esi
jb 0x1006c09d
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.100b2678
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 9
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x1006c0c7
mov eax, dword [ebp - 0x48]
push eax
call fcn.100b2678
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], esi
jb 0x1006c0e5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100b2678
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.100029c0
mov al, byte [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret 8