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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa014
call fcn.1000aeb0
mov eax, dword [0x1004f0a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x4ffe
push eax
lea ecx, [ebp - 0xa002]
push ecx
mov dword [ebp - 0xa014], ebx
mov dword [ebp - 0xa00c], 7
mov dword [ebp - 0xa010], 0x2800
mov word [ebp - 0xa004], ax
call fcn.1000ae30
add esp, 0xc
lea edx, [ebp - 0xa010]
push edx
mov edx, dword [str.List]
lea eax, [ebp - 0xa004]
push eax
mov eax, dword [str.SYSTEMCurrentControlSetControlServiceGroupOrder]
lea ecx, [ebp - 0xa00c]
push ecx
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100339e7
push esi
lea esi, [ebp - 0xa004]
mov eax, esi
push edi
xor edi, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10033857
sub eax, edx
sar eax, 1
je 0x100338e1
cmp edi, 0xa
jae 0x100338e1
mov ecx, ebx
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10033897
test dx, dx
je 0x10033893
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10033897
add eax, 4
add ecx, 4
test dx, dx
jne 0x10033871
xor eax, eax
jmp 0x1003389c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100339e5
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100338b0
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov eax, esi
inc edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100338d0
sub eax, edx
sar eax, 1
jne 0x10033868
xor ecx, ecx
push 0x4ffe
push ecx
lea edx, [ebp - 0x5002]
push edx
mov word [ebp - 0x5004], cx
call fcn.1000ae30
add esp, 0xc
push 0x2800
push ebx
lea eax, [ebp - 0x5004]
push eax
lea esi, [ebp - 0xa004]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call edi
mov ecx, esi
push ecx
lea ebx, [eax + 1]
call edi
test eax, eax
je 0x100339ba
mov dword [ebp - 0xa008], 0
mov edi, 0x10050ab0
mov edx, dword [edi]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10033961
add edi, 4
cmp edi, 0x10050ac4
jl 0x10033940
mov edi, dword [ebp - 0xa008]
jmp 0x10033966
mov edi, 1
mov eax, dword [ebp - 0xa014]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100339a2
test edi, edi
jne 0x100339a2
mov ecx, 0x2800
sub ecx, ebx
push ecx
push esi
lea edx, [ebp + ebx*2 - 0x5004]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
lea ebx, [ebx + eax + 1]
jmp 0x100339a8
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
lea esi, [esi + eax*2 + 2]
push esi
call edi
test eax, eax
jne 0x10033931
mov edx, dword [ebp - 0xa00c]
lea eax, [ebx + ebx + 2]
push eax
mov eax, dword [str.List]
lea ecx, [ebp - 0x5004]
push ecx
mov ecx, dword [str.SYSTEMCurrentControlSetControlServiceGroupOrder]
push edx
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1000ae1e
mov esp, ebp
pop ebp
ret