Function at 0x100e780
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, 0x10000
push edi
push eax
mov ebx, ecx
mov dword [ebp - 4], eax
call fcn.010056e5
mov edi, eax
test edi, edi
pop ecx
jne 0x100e7ab
mov eax, 0x80041006
jmp 0x100e9e7
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x100e7d9
cmp eax, 0xea
jne 0x100e9d4
push edi
call fcn.010056f5
push dword [ebp - 4]
call fcn.010056e5
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x100e9cd
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push 0x1001cc0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100e7b4
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, 0x10000
push eax
mov dword [ebx + 8], edi
mov dword [ebp - 4], eax
call fcn.010056e5
mov edi, eax
test edi, edi
pop ecx
jne 0x100e81a
mov eax, 0x80041006
jmp 0x100e9e6
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push 0x1002568
push dword [ebp + 8]
call esi
xor ecx, ecx
cmp eax, ecx
je 0x100e875
cmp eax, 0xea
jne 0x100e9d4
push edi
call fcn.010056f5
push dword [ebp - 4]
call fcn.010056e5
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x100e9c6
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push 0x1002568
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100e835
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], edi
lea eax, [eax + edx - 2]
cmp word [eax], cx
jne 0x100e891
dec eax
dec eax
jmp 0x100e888
dec eax
dec eax
cmp word [eax], cx
jne 0x100e891
dec eax
dec eax
cmp word [eax], cx
jne 0x100e898
add eax, 2
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
test eax, eax
pop ecx
je 0x100e9bf
inc eax
inc eax
mov esi, eax
shl esi, 2
push esi
mov dword [ebp + 8], eax
mov dword [ebx + 0x18], eax
call fcn.010056e5
mov edi, eax
test edi, edi
pop ecx
mov dword [ebx + 0x10], edi
je 0x100e9cd
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
push esi
rep stosb byte es:[edi], al
call fcn.010056e5
mov edi, eax
test edi, edi
pop ecx
mov dword [ebx + 0x14], edi
je 0x100e9cd
mov ecx, esi
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [ebx + 8]
mov eax, dword [ebp - 0xc]
mov edi, dword [ebx + 0xc]
add eax, esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
add eax, edi
cmp word [esi], 0
mov dword [ebp - 0x10], eax
je 0x100e960
cmp esi, dword [ebp - 0xc]
jae 0x100e960
push esi
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
xor ecx, ecx
jmp 0x100e93a
inc esi
inc esi
cmp word [esi], cx
jne 0x100e938
inc esi
inc esi
cmp eax, ecx
je 0x100e954
cmp eax, dword [ebp + 8]
jae 0x100e954
mov edx, dword [ebx + 0x10]
mov dword [edx + eax*4], esi
jmp 0x100e954
inc esi
inc esi
cmp word [esi], cx
jne 0x100e952
inc esi
inc esi
cmp word [esi], cx
jne 0x100e927
cmp word [edi], 0
je 0x100e99f
cmp edi, dword [ebp - 0x10]
jae 0x100e99f
push edi
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
xor ecx, ecx
jmp 0x100e979
inc edi
inc edi
cmp word [edi], cx
jne 0x100e977
inc edi
inc edi
cmp eax, ecx
je 0x100e993
cmp eax, dword [ebp + 8]
jae 0x100e993
mov edx, dword [ebx + 0x14]
mov dword [edx + eax*4], edi
jmp 0x100e993
inc edi
inc edi
cmp word [edi], cx
jne 0x100e991
inc edi
inc edi
cmp word [edi], cx
jne 0x100e966
xor esi, esi
cmp dword [0x1031548], esi
jne 0x100e9e4
mov eax, dword [ebx + 0x10]
push dword [eax + 4]
call dword [sym.imp.msvcrt.dll__wtoi]
test eax, eax
pop ecx
mov dword [0x1031548], eax
jne 0x100e9e4
mov esi, 0x80041001
jmp 0x100e9e4
mov esi, 0x80041006
jmp 0x100e9d9
mov esi, 0x80041006
jmp 0x100e9e4
mov esi, 0x80041001
test edi, edi
je 0x100e9e4
push edi
call fcn.010056f5
pop ecx
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret 4