Function at 0x1007f1f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2109
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x100eb6ac]
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 0x1007f23c
mov ecx, dword [edi]
jmp 0x1007f23e
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 0x1007f3ad
lea ecx, [ebp - 0x110]
push ecx
call fcn.10013470
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x6c]
push edx
push ecx
push str.__strKeyName:
push ecx
push edi
push ecx
push str.._strSubKey:
push ecx
push esi
push ecx
lea eax, [ebp - 0x110]
push str.RegCreateKeyEx_Failed._lStatus:
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1002a270
add esp, 4
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 0xc
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
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.100191b0
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.100191b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.10013570
mov byte [ebp - 4], 3
push eax
push 0xa8
push ebx
call fcn.10013c70
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.10072520
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 8
jb 0x1007f344
mov eax, dword [ebp - 0x64]
push eax
call fcn.1009c0c0
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 0x1007f36e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1009c0c0
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 0x1007f38b
mov eax, dword [ebp - 0x48]
push eax
call fcn.1009c0c0
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.10002af0
xor al, al
jmp 0x1007f6bf
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x14], 8
jb 0x1007f3b8
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 0x1007f52e
lea eax, [ebp - 0x110]
push eax
call fcn.10013470
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x74]
push ecx
push ecx
push str.__strKeyName:
push ecx
push edx
push ecx
push str.._strSubKey:
push ecx
push esi
push ecx
lea eax, [ebp - 0x110]
push str.RegSetValueEx_Failed._lStatus:
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1002a270
add esp, 4
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 0xc
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
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.100191b0
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.100191b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.10013570
mov byte [ebp - 4], 7
push eax
push 0xb5
push ebx
call fcn.10013c70
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.10072520
mov byte [ebp - 4], 6
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x1007f4c9
mov eax, dword [ebp - 0x64]
push eax
call fcn.1009c0c0
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 0x1007f4ef
mov edx, dword [ebp - 0x48]
push edx
call fcn.1009c0c0
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 0x1007f50e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1009c0c0
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.10002af0
mov byte [ebp - 0x70], bl
jmp 0x1007f533
mov esi, 8
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x110]
push edx
mov dword [ebp - 0x68], ebx
call fcn.10013470
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x78]
push ebx
push ecx
push str.._samDesired:
push ecx
mov edx, dword [ebp - 0x74]
push eax
push ecx
mov eax, dword [ebp - 0x70]
push str.._dwKeyValue:
push ecx
mov ecx, dword [ebp - 0x6c]
push ecx
push ecx
push str.._strKeyName:
push ecx
push edx
push ecx
push str._strSubKey:
push ecx
push eax
push ecx
lea ecx, [ebp - 0x110]
push 0x100cdbf4
push ecx
call fcn.1001c530
add esp, 0xc
push eax
call fcn.10012120
add esp, 4
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 0xc
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 0xc
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1006fa80
add esp, 4
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1006fa80
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.100191b0
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.100191b0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.10013570
mov byte [ebp - 4], 0xb
push eax
push 0xbc
push 3
call fcn.10013c70
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.10072520
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x50], esi
jb 0x1007f659
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1009c0c0
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 0x1007f683
mov eax, dword [ebp - 0x48]
push eax
call fcn.1009c0c0
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 0x1007f6a1
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1009c0c0
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.10002af0
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.1009c0cb
mov esp, ebp
pop ebp
ret 8