Function at 0x103f04b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
push esi
push 0xd8
push 0x40
call dword [fcn.01001418]
test eax, eax
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
jne 0x103f080
call dword [fcn.0100149c]
mov dword [ebp - 0xc], eax
jmp 0x103f361
mov edx, dword [ebp + 0xc]
mov ecx, edx
push ebx
xor ebx, ebx
inc ebx
and ecx, ebx
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax + 4], 0x1015270
mov eax, dword [esi]
mov dword [eax + 8], 0x1015410
mov eax, dword [esi]
mov dword [eax + 0xc], 0x10153f8
mov eax, dword [esi]
mov dword [eax + 0x10], 0x18
mov eax, dword [esi]
mov dword [eax + 0x14], ebx
push edi
mov edi, dword [esi]
push 4
pop eax
and edx, eax
mov dword [edi + 0x18], edx
mov dword [ebp + 0x10], edx
mov edx, dword [esi]
mov dword [edx + 0x1c], 0x1015270
mov edx, dword [esi]
mov dword [edx + 0x20], 0x10153d4
mov edx, dword [esi]
mov dword [edx + 0x24], 0x1015178
mov edx, dword [esi]
mov dword [edx + 0x28], eax
mov edx, dword [esi]
mov dword [edx + 0x2c], eax
mov edx, dword [esi]
mov dword [edx + 0x30], ecx
mov edx, dword [esi]
mov ecx, 0x10151a8
mov dword [edx + 0x34], ecx
mov edx, dword [esi]
mov dword [edx + 0x38], 0x10153c0
mov edx, dword [esi]
mov dword [edx + 0x3c], 0x1010d74
mov edx, dword [esi]
mov dword [edx + 0x40], 2
mov edx, dword [esi]
mov dword [edx + 0x44], ebx
mov edi, dword [esi]
mov edx, dword [ebp + 0xc]
and edx, 8
mov dword [edi + 0x48], edx
mov edx, dword [esi]
mov dword [edx + 0x4c], 0x10151e8
mov edx, dword [esi]
mov dword [edx + 0x50], 0x10153a8
mov edx, dword [esi]
mov dword [edx + 0x54], 0x101401c
mov edx, dword [esi]
mov dword [edx + 0x58], eax
mov edx, dword [esi]
mov dword [edx + 0x5c], ebx
mov edi, dword [esi]
mov edx, dword [ebp + 0xc]
and edx, 2
mov dword [edi + 0x60], edx
mov edx, dword [esi]
mov edi, dword [ebp + 0x10]
mov dword [edx + 0x64], ecx
mov edx, dword [esi]
mov dword [edx + 0x68], 0x1015388
mov edx, dword [esi]
mov dword [edx + 0x6c], 0x101401c
mov edx, dword [esi]
mov dword [edx + 0x70], eax
mov edx, dword [esi]
mov dword [edx + 0x74], ebx
mov edx, dword [esi]
mov dword [edx + 0x78], edi
mov edx, dword [esi]
mov dword [edx + 0x7c], ecx
mov edx, dword [esi]
mov dword [edx + 0x80], 0x101536c
mov edx, dword [esi]
mov dword [edx + 0x84], 0x1015364
mov edx, dword [esi]
mov dword [edx + 0x88], 6
mov edx, dword [esi]
mov dword [edx + 0x8c], ebx
mov edi, dword [esi]
mov edx, dword [ebp + 0xc]
and edx, 0x20
mov dword [edi + 0x90], edx
mov edi, dword [esi]
mov dword [edi + 0x94], ecx
mov ecx, dword [esi]
mov dword [ecx + 0x98], 0x1015340
mov ecx, dword [esi]
mov dword [ecx + 0x9c], 0x101517c
mov ecx, dword [esi]
mov dword [ecx + 0xa0], eax
mov ecx, dword [esi]
mov dword [ecx + 0xa4], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0xc]
and eax, 0x10
mov dword [ecx + 0xa8], eax
mov eax, dword [esi]
mov dword [eax + 0xac], 0x1015180
mov eax, dword [esi]
mov dword [eax + 0xb0], 0x101531c
mov eax, dword [esi]
mov dword [eax + 0xb4], 0x1015314
mov ecx, dword [esi]
push 8
pop eax
mov dword [ecx + 0xb8], eax
mov ecx, dword [esi]
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0x10], edx
mov dword [ecx + 0xbc], ebx
mov dword [ebp + 0xc], eax
jne 0x103f245
cmp edx, edi
je 0x103f35f
lea eax, [ebp - 4]
push eax
push 0x1012740
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x103f35f
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push 0x10152ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103f35f
push dword [ebp - 8]
push 0x40
call dword [fcn.01001418]
test eax, eax
mov edi, dword [ebp + 0x18]
mov dword [edi], eax
jne 0x103f29b
call dword [fcn.0100149c]
jmp 0x103f35f
lea ecx, [ebp - 8]
push ecx
push eax
push 0
push 0
push 0x10152ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103f35f
cmp dword [ebp - 0x10], eax
je 0x103f2cc
mov eax, dword [edi]
mov ecx, 0xffffdfff
and dword [eax], ecx
mov eax, dword [edi]
and dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x103f317
mov eax, dword [edi]
and dword [eax], 0xfffffffd
mov eax, dword [edi]
and dword [eax], 0xfffffffd
mov eax, dword [edi]
mov ecx, 0xfffffdff
and dword [eax], ecx
mov eax, dword [edi]
and dword [eax], ecx
mov eax, dword [edi]
mov ecx, 0xfffff7ff
and dword [eax], ecx
mov eax, dword [edi]
and dword [eax], ecx
mov eax, dword [edi]
mov ecx, 0xffffefff
and dword [eax], ecx
mov eax, dword [edi]
and dword [eax], ecx
mov eax, dword [edi]
and dword [eax], 0xfffffffb
mov eax, dword [edi]
and dword [eax], 0xfffffffb
mov eax, dword [edi]
and dword [eax], 0xfffffff7
mov eax, dword [edi]
and dword [eax], 0xfffffff7
mov eax, dword [esi]
mov dword [eax + 0xc0], ebx
mov eax, dword [esi]
mov dword [eax + 0xc4], 0x10151a8
mov eax, dword [esi]
mov dword [eax + 0xc8], 0x10152ec
mov eax, dword [esi]
mov ecx, dword [edi]
mov dword [eax + 0xcc], ecx
mov eax, dword [esi]
mov ecx, dword [ebp - 8]
mov dword [eax + 0xd0], ecx
mov eax, dword [esi]
mov dword [eax + 0xd4], 3
mov dword [ebp + 0xc], 9
pop edi
pop ebx
cmp dword [ebp - 4], 0
pop esi
je 0x103f371
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
leave
ret 0x14