Function at 0x1079d6f
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x109a60d
call fcn.01077478
sub esp, 0x634
mov eax, dword [0x10a64dc]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [0x10a6184]
cmp eax, 0x10a6184
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x1079dc0
test byte [eax + 0x1c], 1
je 0x1079dc0
cmp byte [eax + 0x19], 5
jb 0x1079dc0
push ebx
push edi
push esi
push 0x10080a8
push 0x6d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102eef0
xor eax, eax
mov dword [ebp - 0x61c], eax
mov dword [ebp - 0x624], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x638], eax
mov dword [ebp - 0x634], eax
mov esi, dword [esi]
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x624]
mov byte [ebp - 4], 2
call fcn.01009987
test eax, eax
mov eax, dword [0x10a6184]
je 0x1079e40
cmp eax, 0x10a6184
je 0x107a13e
test byte [eax + 0x1c], 2
je 0x107a101
cmp byte [eax + 0x19], 5
jb 0x107a101
push 0x10080a8
push 0x6e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
jmp 0x107a0fc
mov esi, 0x10a6184
cmp eax, esi
je 0x1079e67
test byte [eax + 0x1c], 2
je 0x1079e67
cmp byte [eax + 0x19], 5
jb 0x1079e67
push 0x10080a8
push 0x6f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov ebx, dword [ebx]
xor eax, eax
push eax
push eax
push 0xf003f
push eax
push eax
push edi
push ebx
lea ecx, [ebp - 0x628]
call fcn.01009932
mov edi, eax
mov eax, dword [0x10a6184]
cmp eax, esi
je 0x1079ebe
test byte [eax + 0x1c], 2
je 0x1079ebe
movzx ecx, byte [eax + 0x19]
mov edx, edi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x1079ebe
push edi
push 0x10080a8
push 0x70
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009b3f
mov eax, dword [0x10a6184]
test edi, edi
jne 0x107a101
and dword [ebp - 0x620], edi
and dword [ebp - 0x630], 0
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x630]
push eax
push 0
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x620]
mov dword [ebp - 0x640], 0x104
push dword [ebp - 0x624]
mov dword [ebp - 0x62c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
mov eax, dword [0x10a6184]
mov ebx, 0x10a6184
cmp eax, ebx
je 0x1079f69
test byte [eax + 0x1c], 2
je 0x1079f69
movzx ecx, byte [eax + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x1079f69
push dword [ebp - 0x620]
mov edi, 0x10080a8
push esi
push edi
push 0x71
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ef6e
mov eax, dword [0x10a6184]
jmp 0x1079f6e
mov edi, 0x10080a8
test esi, esi
jne 0x107a017
cmp eax, ebx
je 0x1079fb4
test byte [eax + 0x1c], 2
je 0x1079fb4
cmp byte [eax + 0x19], 5
jb 0x1079fb4
push dword [ebp - 0x62c]
lea ecx, [ebp - 0x618]
push ecx
push dword [ebp - 0x630]
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0x620]
push edi
push 0x72
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0103ae1c
push dword [ebp - 0x62c]
lea eax, [ebp - 0x618]
push eax
push dword [ebp - 0x630]
lea eax, [ebp - 0x218]
push 0
push eax
push dword [ebp - 0x628]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [0x10a6184]
cmp eax, ebx
je 0x107a04a
test byte [eax + 0x1c], 2
je 0x107a04a
movzx ecx, byte [eax + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x107a04a
push esi
push edi
push 0x73
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009b3f
mov eax, dword [0x10a6184]
jmp 0x107a04a
cmp esi, 0xea
jne 0x107a04a
cmp eax, ebx
je 0x107a048
test byte [eax + 0x1c], 2
je 0x107a048
cmp byte [eax + 0x19], 5
jb 0x107a048
push dword [ebp - 0x620]
push edi
push 0x74
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009b3f
mov eax, dword [0x10a6184]
xor esi, esi
cmp dword [ebp - 0x61c], 0
je 0x107a07c
test esi, esi
je 0x107a07c
cmp eax, ebx
je 0x107a076
test byte [eax + 0x1c], 2
je 0x107a076
cmp byte [eax + 0x19], 5
jb 0x107a076
push esi
push edi
push 0x75
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009b3f
mov dword [ebp - 0x61c], esi
inc dword [ebp - 0x620]
test esi, esi
je 0x1079ecc
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x624]
push eax
call fcn.010799ac
xor edi, edi
cmp dword [ebp - 0x61c], edi
je 0x107a0b1
cmp eax, edi
je 0x107a0b5
mov dword [ebp - 0x61c], eax
cmp eax, edi
jne 0x107a0fc
xor esi, esi
cmp dword [ebp - 0x638], edi
jle 0x107a0fc
push esi
lea ecx, [ebp - 0x63c]
call fcn.0103b7b4
mov eax, dword [eax]
lea ecx, [ebp - 0x628]
push ecx
push eax
lea eax, [ebp - 0x624]
push eax
call fcn.01079d6f
cmp dword [ebp - 0x61c], edi
je 0x107a0f3
cmp eax, edi
je 0x107a0f3
mov dword [ebp - 0x61c], eax
inc esi
cmp esi, dword [ebp - 0x638]
jl 0x107a0bf
mov eax, dword [0x10a6184]
cmp eax, 0x10a6184
je 0x107a13e
test byte [eax + 0x1c], 1
je 0x107a13e
mov edx, dword [ebp - 0x61c]
movzx ecx, byte [eax + 0x19]
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x107a13e
push dword [ebp - 0x61c]
push 0x10080a8
push 0x76
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009b3f
lea ecx, [ebp - 0x63c]
call fcn.0100a99f
lea ecx, [ebp - 0x628]
call fcn.01009914
lea ecx, [ebp - 0x624]
call fcn.01009914
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x61c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01076f63
leave
ret 0xc