Function at 0x1001d320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x14], 0
mov ax, word [0x1002a6e0]
mov word [ebp - 0x230], ax
push 0x206
push 0
lea ecx, [ebp - 0x22e]
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x234], 0x3fff
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
xor edx, edx
je 0x1001d386
jmp 0x1001d380
push 0x3fff
call fcn.10013960
add esp, 4
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x1001d3af
xor eax, eax
je 0x1001d3a8
jmp 0x1001d3a2
xor eax, eax
jmp 0x1001d59a
push 0x800
call fcn.10013960
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1001d3d2
xor ecx, ecx
je 0x1001d3cb
jmp 0x1001d3c5
xor eax, eax
jmp 0x1001d59a
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x1001d405
xor edx, edx
je 0x1001d400
jmp 0x1001d3fa
jmp 0x1001d559
xor eax, eax
je 0x1001d40b
jmp 0x1001d405
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x250]
push edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x1001d469
xor eax, eax
je 0x1001d45a
jmp 0x1001d454
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1001d559
cmp dword [ebp - 0x250], 0
je 0x1001d553
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x23c], 0
jmp 0x1001d492
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x250]
jae 0x1001d553
push 0x800
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.10013ba0
add esp, 0xc
push 0x3fff
push 0
mov edx, dword [ebp - 0x238]
push edx
call fcn.10013ba0
add esp, 0xc
mov dword [ebp - 0x234], 0x3fff
mov dword [ebp - 8], 0x800
xor eax, eax
mov ecx, dword [ebp - 0x238]
mov word [ecx], ax
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x1001d543
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001d541
xor ecx, ecx
je 0x1001d535
jmp 0x1001d52f
mov dword [ebp - 0x240], 1
jmp 0x1001d553
jmp 0x1001d54e
xor edx, edx
je 0x1001d549
jmp 0x1001d543
jmp 0x1001d489
jmp 0x1001d489
xor eax, eax
je 0x1001d559
jmp 0x1001d553
cmp dword [ebp - 0x14], 0
je 0x1001d569
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x1003aa98]
push 0x3fff
lea edx, [ebp - 0x238]
push edx
call fcn.10013990
add esp, 8
push 0x800
lea eax, [ebp - 0x18]
push eax
call fcn.10013990
add esp, 8
xor ecx, ecx
je 0x1001d594
jmp 0x1001d58e
mov eax, dword [ebp - 0x240]
mov esp, ebp
pop ebp
ret