Function at 0x1000e7c7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dcdb1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x1025e344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 2
call fcn.100049d0
mov ecx, eax
test ecx, ecx
je 0x1000eacb
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov ecx, edi
push 0x101fe8a0
call fcn.10004060
test al, al
jne 0x1000e56b
push 0
push 0x101fe8a0
mov ecx, edi
call fcn.10006ab0
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], 1
call fcn.100049d0
mov ecx, eax
test ecx, ecx
je 0x1000ead5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
push 0x101fe8a0
call fcn.10004060
test al, al
jne 0x1000e5b4
push 0
push 0x101fe8a0
lea ecx, [ebp - 0x10]
call fcn.10006ab0
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.100041a0
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24]
mov ebx, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1000efa0
add esp, 8
mov esi, esp
mov dword [ebp - 0x40], esp
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x48], eax
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 9
mov byte [ebp - 4], 7
call fcn.1000e000
mov ecx, dword [ebp + 0x18]
add esp, 4
mov esi, dword [ebp - 0x24]
mov edx, eax
mov dword [ebp - 0x14], edx
test ebx, ebx
jne 0x1000e6cb
test ecx, ecx
je 0x1000e663
push 0x10200b04
push 0x1020054c
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x1000e658
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
cmp dword [ebp - 0x20], 0
mov eax, 0xf013f
jne 0x1000e668
mov eax, 0xf003f
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000e6c2
lea eax, [ebp - 0x38]
push eax
push ecx
mov edi, esp
mov dword [ebp - 0x40], esp
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0xb
push dword [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.1000d670
mov eax, dword [ebp - 0x1c]
add esp, 0xc
test eax, eax
je 0x1000e6bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x14]
lea eax, [ebx - 1]
or ebx, 0xffffffff
cmp eax, 0xa
ja case.0x1000e6e1.5
movzx eax, byte [eax + 0x1000eaf8]
jmp dword [eax*4 + 0x1000eae0]
push ecx
push dword [ebp + 0x10]
lea eax, [esi - 0x10]
push edx
push ecx
mov edi, esp
mov dword [ebp - 0x40], esp
push eax
mov dword [ebp - 0x3c], edi
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 7
call fcn.1000f900
add esp, 0x14
mov byte [ebp - 4], 0xe
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.100079d0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e8e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1000e8e9
push ecx
push dword [ebp + 0x10]
lea eax, [esi - 0x10]
push edx
push ecx
mov edi, esp
mov dword [ebp - 0x40], esp
push eax
mov dword [ebp - 0x3c], edi
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 7
call fcn.1000f520
add esp, 0x14
mov byte [ebp - 4], 0x12
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.100079d0
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e7b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x10200a6c
push 0x101ff918
mov ecx, edi
call fcn.1000a7c0
jmp 0x1000e8e9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [esi - 0x10]
push eax
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x15
xorps xmm0, xmm0
cmp dword [ebp + 0x18], 0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 8
mov dword [ebp - 0x18], 0
je 0x1000e84a
push 0x10200b04
push 0x1020054c
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1000e83f
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0
mov eax, 0xf013f
jne 0x1000e84f
mov eax, 0xf003f
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000e89a
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000e88c
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000e89a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x28], 0xb
je 0x1000e8a8
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e8d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x3c]
push dword [ebp - 0x30]
push 0x10200a70
push edi
call fcn.10004840
add esp, 0x10
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000e904
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x48]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e91f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e93d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000e95c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [esi - 0x10]
push eax
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x18
cmp dword [ebp + 0x18], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x1c], 0
je 0x1000e9f2
push 0x10200b04
push 0x1020054c
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x1000e9e7
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x3c]
cmp dword [ebp - 0x28], 0
mov eax, 0xf013f
jne 0x1000e9f7
mov eax, 0xf003f
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ea43
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
mov eax, dword [ebp - 0x1c]
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x1000ea43
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000ea67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x40]
push 0x10200a7c
push edi
call fcn.10004840
add esp, 0xc
jmp case.0x1000e6e1.5
push ecx
push dword [ebp + 0x10]
lea eax, [esi - 0x10]
push edx
push ecx
mov edi, esp
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x34], edi
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
call fcn.1000f1a0
add esp, 0x14
mov byte [ebp - 4], 0x1c
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.100079d0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x40]
jmp 0x1000e731
push 0x80004005
call fcn.10004040
push 0x80004005
call fcn.10004040
nop
call 0x8d10ebcb
ljmp 125296