Function at 0x1002ccc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1001460
push 0x80000001
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x1002f27
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
pop ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x1001438
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
cmp eax, edi
jne 0x1002ef3
cmp dword [ebp - 0x14], edi
je 0x1002ed8
mov eax, dword [section..data]
mov edi, section..data
cmp eax, edi
je 0x1002d58
test byte [eax + 0x1c], 8
je 0x1002d58
push 0x1001240
push 0x2e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010016d5
lea eax, [ebp - 4]
push eax
push 0x1006004
lea eax, [ebp - 0xc]
push eax
push 0
push 0x1001418
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
mov eax, dword [section..data]
cmp eax, edi
je 0x1002d9b
test byte [eax + 0x1c], 8
je 0x1002d9b
push dword [0x1006004]
push 0x1001240
push 0x2f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010018a2
lea eax, [ebp - 4]
push eax
push 0x100614c
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10013ec
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
mov eax, dword [section..data]
cmp eax, edi
je 0x1002dec
test byte [eax + 0x1c], 8
je 0x1002dec
cmp dword [0x100614c], 0
mov ecx, 0x10013e0
jne 0x1002dd9
mov ecx, 0x10013d4
push ecx
push 0x1001240
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010016fb
lea eax, [ebp - 4]
push eax
push 0x1006164
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10013c0
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
mov eax, dword [section..data]
cmp eax, edi
je 0x1002e3d
test byte [eax + 0x1c], 8
je 0x1002e3d
cmp dword [0x1006164], 0
mov ecx, 0x10013e0
jne 0x1002e2a
mov ecx, 0x10013d4
push ecx
push 0x1001240
push 0x31
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010016fb
cmp dword [0x1006164], 0
je 0x1002e9f
lea eax, [ebp - 4]
push eax
push 0x100604c
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10013a0
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x1002e9f
mov eax, 0x5a0
cmp dword [0x100604c], eax
jbe 0x1002e78
mov dword [0x100604c], eax
mov eax, dword [section..data]
cmp eax, edi
je 0x1002e9f
test byte [eax + 0x1c], 8
je 0x1002e9f
push dword [0x100604c]
push 0x1001240
push 0x32
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010018a2
push dword [ebp - 8]
call fcn.01001e1e
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1002eb5
call fcn.01002ca0
jmp 0x1002f1a
mov eax, dword [section..data]
cmp eax, edi
je 0x1002f1a
test byte [eax + 0x1c], 2
je 0x1002f1a
push 0x1001240
push 0x33
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010016d5
jmp 0x1002f1a
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002f1a
test byte [eax + 0x1c], 8
je 0x1002f1a
push 0x1001240
push 0x34
jmp 0x1002ecb
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1002f1a
test byte [ecx + 0x1c], 2
je 0x1002f1a
push eax
push 0x1001240
push 0x35
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010018a2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
jmp 0x1002f4e
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1002f4e
test byte [ecx + 0x1c], 2
je 0x1002f4e
push eax
push 0x1001240
push 0x36
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010018a2
mov eax, dword [ebp - 0x10]
pop edi
leave
ret