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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x2e0b1da0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x21c], eax
cmp ebx, esi
jne 0x2e040b9b
mov eax, 0xa0
jmp 0x2e040f23
call fcn.2e03ff17
test eax, eax
jne 0x2e040f21
call fcn.2e0416fd
test eax, eax
jne 0x2e040f21
push 1
push ebx
call fcn.2e040a58
pop ecx
pop ecx
test eax, eax
jne 0x2e040f21
mov eax, dword [ebx]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], esi
cmp eax, esi
je 0x2e040bf1
push eax
call fcn.2e04c244
mov dword [ebp - 0x224], eax
push edi
lea ecx, [ebp - 0x22c]
call fcn.2e040153
movzx eax, word [ebx + 0xc]
shr eax, 1
push esi
and eax, 0x10
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebx + 8]
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
call fcn.2e0403c6
add esp, 0x14
cmp eax, esi
jne 0x2e040dbc
mov eax, dword [ebp - 0x214]
cmp eax, esi
jne 0x2e040c47
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
lea ecx, [ebp - 0x220]
push ecx
push esi
lea ecx, [ebp - 0x228]
push ecx
push esi
push dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, esi
jne 0x2e040cc3
cmp dword [ebp - 0x220], esi
je 0x2e040cc3
push dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
call fcn.2e0421ed
test eax, eax
jne 0x2e040c8d
push 8
pop edi
jmp 0x2e040cc3
mov eax, dword [ebp - 0x214]
cmp eax, esi
jne 0x2e040c9f
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
lea ecx, [ebp - 0x220]
push ecx
push dword [ebp - 0x218]
lea ecx, [ebp - 0x228]
push ecx
push esi
push dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
push edi
call fcn.2e03ffb0
pop ecx
test eax, eax
je 0x2e040d1f
push 0x796d7469
push esi
call fcn.2e04641a
push dword [ebp - 0x210]
mov ecx, 0x2e0b7808
call fcn.2e040368
movzx eax, word [ebx + 0xc]
shr eax, 1
push esi
and eax, 0x10
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebx + 8]
mov dword [ebp - 0x210], esi
call fcn.2e0403c6
mov edi, eax
add esp, 0x14
cmp edi, esi
je 0x2e040c35
jmp 0x2e040d2f
push dword [ebp - 0x210]
mov ecx, 0x2e0b7808
call fcn.2e0402b8
cmp edi, esi
jne 0x2e040dbc
mov edx, dword [ebp - 0x218]
cmp edx, esi
je 0x2e040dbc
movzx eax, word [ebx + 0xc]
and eax, 0xf
cmp dword [ebp - 0x228], eax
jne 0x2e040ea2
dec eax
cmp eax, 1
ja 0x2e040d89
mov eax, dword [ebp - 0x220]
push 4
push dword [ebp - 0x21c]
shr eax, 1
xor ecx, ecx
mov word [edx + eax*2 - 2], cx
push dword [ebp - 0x218]
call fcn.2e04eee1
test eax, eax
jne 0x2e040ee5
jmp 0x2e040ea2
mov ecx, dword [ebp - 0x220]
cmp ecx, dword [ebp + 0x10]
jne 0x2e040ea2
mov edi, dword [ebp - 0x21c]
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x2e040dab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x2e040e3f
xor edi, edi
xor esi, esi
jmp 0x2e040ee5
mov ecx, dword [ebx + 4]
cmp ecx, 0xcccccccc
je 0x2e040ea2
movzx eax, word [ebx + 0xc]
and eax, 0xf
jle 0x2e040e23
cmp eax, 2
jle 0x2e040df3
cmp eax, 4
jne 0x2e040e23
mov eax, dword [ebp - 0x21c]
cmp dword [eax], ecx
jne 0x2e040ea2
xor edi, edi
jmp 0x2e040ee5
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ecx
call fcn.2e04acdd
push 4
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x21c]
call fcn.2e04eee1
test eax, eax
je 0x2e040ea2
jmp 0x2e040dec
push esi
push 0x6661626f
call fcn.2e0463db
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebx + 4]
mov esi, dword [ebp - 0x21c]
jmp 0x2e040da0
xor esi, esi
jmp 0x2e040ea2
mov eax, dword [ebp - 0x214]
cmp eax, esi
jne 0x2e040e55
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
push dword [ebp + 0x10]
movzx ecx, word [ebx + 0xc]
push dword [ebp - 0x21c]
and ecx, 0xf
push ecx
push esi
push dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
push edi
call fcn.2e03ffb0
pop ecx
test eax, eax
je 0x2e040ed5
push 0x796d746a
push esi
call fcn.2e04641a
push dword [ebp - 0x210]
mov ecx, 0x2e0b7808
call fcn.2e040368
mov dword [ebp - 0x210], esi
movzx eax, word [ebx + 0xc]
and eax, 0x20
or eax, 8
push esi
shr eax, 1
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebx + 8]
call fcn.2e0403c6
mov edi, eax
add esp, 0x14
cmp edi, esi
je 0x2e040e43
jmp 0x2e040ee5
push dword [ebp - 0x210]
mov ecx, 0x2e0b7808
call fcn.2e0402b8
cmp dword [ebp - 0x218], esi
je 0x2e040efe
push dword [ebp - 0x218]
call fcn.2e0422f4
mov dword [ebp - 0x218], esi
cmp dword [ebp - 0x224], esi
je 0x2e040f11
push dword [ebp - 0x224]
call fcn.2e0422f4
lea ecx, [ebp - 0x22c]
call fcn.2e040177
mov eax, edi
pop edi
jmp 0x2e040f23
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.2e056514
leave
ret 0xc