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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x1039fb98]
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 0x102ebdd9
mov eax, 0xa0
jmp 0x102ec161
call fcn.102eb009
test eax, eax
jne 0x102ec15f
call fcn.102ea049
test eax, eax
jne 0x102ec15f
push 1
push ebx
call fcn.102ebc96
pop ecx
pop ecx
test eax, eax
jne 0x102ec15f
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 0x102ebe2f
push eax
call fcn.101f06af
mov dword [ebp - 0x224], eax
push edi
lea ecx, [ebp - 0x22c]
call fcn.102eb209
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.102eb4a1
add esp, 0x14
cmp eax, esi
jne 0x102ebffa
mov eax, dword [ebp - 0x214]
cmp eax, esi
jne 0x102ebe85
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 0x102ebf01
cmp dword [ebp - 0x220], esi
je 0x102ebf01
push dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
call fcn.102ea902
test eax, eax
jne 0x102ebecb
push 8
pop edi
jmp 0x102ebf01
mov eax, dword [ebp - 0x214]
cmp eax, esi
jne 0x102ebedd
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.102eb0a2
pop ecx
test eax, eax
je 0x102ebf5d
push 0x796d7469
push esi
call fcn.102d86c4
push dword [ebp - 0x210]
mov ecx, 0x103ac2c8
call fcn.102eb443
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.102eb4a1
mov edi, eax
add esp, 0x14
cmp edi, esi
je 0x102ebe73
jmp 0x102ebf6d
push dword [ebp - 0x210]
mov ecx, 0x103ac2c8
call fcn.102eb36e
cmp edi, esi
jne 0x102ebffa
mov edx, dword [ebp - 0x218]
cmp edx, esi
je 0x102ebffa
movzx eax, word [ebx + 0xc]
and eax, 0xf
cmp dword [ebp - 0x228], eax
jne 0x102ec0e0
dec eax
cmp eax, 1
ja 0x102ebfc7
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.101f43f1
test eax, eax
jne 0x102ec123
jmp 0x102ec0e0
mov ecx, dword [ebp - 0x220]
cmp ecx, dword [ebp + 0x10]
jne 0x102ec0e0
mov edi, dword [ebp - 0x21c]
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x102ebfe9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x102ec07d
xor edi, edi
xor esi, esi
jmp 0x102ec123
mov ecx, dword [ebx + 4]
cmp ecx, 0xcccccccc
je 0x102ec0e0
movzx eax, word [ebx + 0xc]
and eax, 0xf
jle 0x102ec061
cmp eax, 2
jle 0x102ec031
cmp eax, 4
jne 0x102ec061
mov eax, dword [ebp - 0x21c]
cmp dword [eax], ecx
jne 0x102ec0e0
xor edi, edi
jmp 0x102ec123
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ecx
call fcn.101edea4
push 4
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x21c]
call fcn.101f43f1
test eax, eax
je 0x102ec0e0
jmp 0x102ec02a
push esi
push 0x6661626f
call fcn.102d8670
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebx + 4]
mov esi, dword [ebp - 0x21c]
jmp 0x102ebfde
xor esi, esi
jmp 0x102ec0e0
mov eax, dword [ebp - 0x214]
cmp eax, esi
jne 0x102ec093
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.102eb0a2
pop ecx
test eax, eax
je 0x102ec113
push 0x796d746a
push esi
call fcn.102d86c4
push dword [ebp - 0x210]
mov ecx, 0x103ac2c8
call fcn.102eb443
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.102eb4a1
mov edi, eax
add esp, 0x14
cmp edi, esi
je 0x102ec081
jmp 0x102ec123
push dword [ebp - 0x210]
mov ecx, 0x103ac2c8
call fcn.102eb36e
cmp dword [ebp - 0x218], esi
je 0x102ec13c
push dword [ebp - 0x218]
call fcn.102eaa09
mov dword [ebp - 0x218], esi
cmp dword [ebp - 0x224], esi
je 0x102ec14f
push dword [ebp - 0x224]
call fcn.102eaa09
lea ecx, [ebp - 0x22c]
call fcn.102eb22d
mov eax, edi
pop edi
jmp 0x102ec161
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.102f77a6
leave
ret 0xc