Function at 0x1002d003
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061bb2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x94
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002d363
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1002d165
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x1002d160
mov dword [ebp - 0x48], 0x69b2
mov dword [ebp - 0x84], str.koqwhbq_qtql_qakyqcbij_dse_munuerk_kbswlhz_ktfyhrya_ehrlhbnw_ivkftid_btkvfzjct_yhld_nrofzru_csnfey
cmp dword [ebp - 0x48], 0x6c83
jle 0x1002d101
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
and dword [ebp - 0x18], 0
jmp 0x1002d0a1
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x72f2
jge 0x1002d101
and dword [ebp - 0x1c], 0
jmp 0x1002d0b7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5d73
jge 0x1002d0ff
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0xa4]
call fcn.10001311
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.100013aa
push eax
call fcn.10048d40
pop ecx
lea ecx, [ebp - 0xa4]
call fcn.100013a0
jmp 0x1002d0b0
jmp 0x1002d09a
push 0
push 0x300
push 0xdda
push 0
push 0xd99
push 0x1b39
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0x6672
jge 0x1002d13a
push dword [ebp - 0x84]
call fcn.10048d40
pop ecx
jmp 0x1002d156
or dword [ebp - 4], 0xffffffff
jmp 0x1002d160
jmp 0x1002d361
push 2
lea ecx, [ebp - 0x28]
call fcn.100013b5
mov dword [ebp - 4], 2
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x34], 0x7a10dd66
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x28]
push eax
push 1
push 0
push 0x3f1b
lea eax, [ebp - 0x14]
push eax
push 0x207
push 0x6ffa
call fcn.1002c01b
add esp, 0x1c
mov dword [ebp - 0x14], 0
jmp 0x1002d1be
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1002d1d4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x8c], 0xffffffff
jmp 0x1002d1b7
or eax, 0xffffffff
je 0x1002d20a
push 0
lea ecx, [ebp - 0x28]
call fcn.100013f6
cmp dword [eax], 1
ja 0x1002d1f1
mov dword [ebp - 0x4c], 1
jmp 0x1002d1f5
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1002d20a
mov dword [ebp - 0x58], 1
jmp 0x1002d20e
and dword [ebp - 0x58], 0
push 1
lea ecx, [ebp - 0x28]
call fcn.100013f6
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [eax]
jge 0x1002d228
mov dword [ebp - 0x44], 1
jmp 0x1002d22c
and dword [ebp - 0x44], 0
push 0
lea ecx, [ebp - 0x28]
call fcn.100013f6
mov eax, dword [eax]
imul eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x34], eax
jne 0x1002d250
mov dword [ebp - 0x54], 1
jmp 0x1002d254
and dword [ebp - 0x54], 0
push 0
lea ecx, [ebp - 0x28]
call fcn.100013f6
mov esi, eax
push 0
lea ecx, [ebp - 0x28]
call fcn.100013f6
mov ecx, dword [ebp - 0x54]
imul ecx, dword [eax]
mov eax, dword [esi]
sub eax, ecx
je 0x1002d285
push 1
lea ecx, [ebp - 0x28]
call fcn.100013f6
cmp dword [eax], 0
jne 0x1002d2a3
push 1
lea ecx, [ebp - 0x28]
call fcn.100013f6
cmp dword [eax], 0
jne 0x1002d2a3
mov eax, 0x939e63a5
test eax, eax
jne 0x1002d2a3
and dword [ebp - 0x3c], 0
jmp 0x1002d2aa
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x3c]
add eax, 0xfff7
je 0x1002d2c3
cmp dword [ebp - 0x2c], 0
je 0x1002d2c3
mov dword [ebp - 0x78], 1
jmp 0x1002d2c7
and dword [ebp - 0x78], 0
push 1
lea ecx, [ebp - 0x28]
call fcn.100013f6
mov eax, dword [ebp - 0x40]
sub eax, 0xffff
cmp eax, 1
jne 0x1002d2e7
mov dword [ebp - 0x38], 1
jmp 0x1002d2eb
and dword [ebp - 0x38], 0
push 1
lea ecx, [ebp - 0x28]
call fcn.100013f6
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jg 0x1002d308
cmp dword [ebp - 0x34], 0
jne 0x1002d308
and dword [ebp - 0x50], 0
jmp 0x1002d30f
mov dword [ebp - 0x50], 1
push 1
lea ecx, [ebp - 0x28]
call fcn.100013f6
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax]
jg 0x1002d32f
mov eax, 0xffff
test eax, eax
jne 0x1002d32f
and dword [ebp - 0x30], 0
jmp 0x1002d336
mov dword [ebp - 0x30], 1
push 0
lea ecx, [ebp - 0x28]
call fcn.100013f6
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp + eax - 0x8c], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100013f1
jmp 0x1002d389
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
push 0x317d
push 0x4af1
push 1
push dword [ebp - 0x60]
push dword [ebp - 0x68]
call fcn.1002c434
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret