Function at 0x1000e4b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x1c], 0x57
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1000e4f9
cmp dword [ebp + 0x18], 0
je 0x1000e503
cmp dword [ebp + 0x1c], 0
jne 0x1000e503
jmp 0x1000e70a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0x1000e540
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1c], eax
jmp 0x1000e70a
cmp dword [ebp + 0xc], 0
je 0x1000e559
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x1000e557
mov dword [ebp - 4], 1
jmp 0x1000e560
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1000ee90
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000e586
jmp 0x1000e70a
mov dword [ebp - 0x20], 0
jmp 0x1000e598
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx + 0x24]
jae 0x1000e6eb
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.1000ef50
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000e5d3
jmp 0x1000e70a
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 2]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 4], 0
je 0x1000e5ee
cmp dword [ebp - 0x18], 0
jne 0x1000e5ee
jmp 0x1000e6eb
cmp dword [ebp - 4], 0
jne 0x1000e6ba
cmp dword [ebp - 0x18], 0
je 0x1000e6ba
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x10]
and ecx, 1
jne 0x1000e678
push 0x200
call fcn.10019329
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000e62e
jmp 0x1000e70a
push 0x200
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.10019150
add esp, 0xc
push 0
push 0
push 0x200
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 2]
shr edx, 1
push edx
mov eax, dword [ebp - 0x14]
add eax, 0x14
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 8]
push ecx
call fcn.10019f90
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 0
je 0x1000e686
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], edx
jmp 0x1000e68f
mov eax, dword [ebp - 0x14]
add eax, 0x14
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10031762
add esp, 0xc
test eax, eax
jne 0x1000e6ba
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10019f90
add esp, 4
cmp eax, dword [ebp - 0x18]
jne 0x1000e6ba
jmp 0x1000e6eb
mov edx, dword [ebp - 0x14]
push edx
call fcn.100193ec
add esp, 4
mov dword [ebp - 0x14], 0
cmp dword [ebp - 8], 0
je 0x1000e6e6
mov eax, dword [ebp - 8]
push eax
call fcn.100193ec
add esp, 4
mov dword [ebp - 8], 0
jmp 0x1000e58f
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1000f150
add esp, 0x18
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0xc], 0
je 0x1000e71c
mov edx, dword [ebp - 0xc]
push edx
call fcn.100193ec
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x1000e72e
mov eax, dword [ebp - 0x14]
push eax
call fcn.100193ec
add esp, 4
cmp dword [ebp - 8], 0
je 0x1000e740
mov ecx, dword [ebp - 8]
push ecx
call fcn.100193ec
add esp, 4
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret