Function at 0x1000d000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100449cb
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x1005d0b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x848], eax
xor eax, eax
mov dword [ebp - 0x838], ebx
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
cmp word [edx], ax
jne 0x1000d085
xor ecx, ecx
jmp 0x1000d09f
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d090
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.100027f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
call fcn.10013ac0
test al, al
je 0x1000d0f4
push eax
push ebp
push ebp
push edi
push esp
push esp
push edx
push esp
pop eax
pop esi
push esp
push edi
pop eax
push esi
pop ebp
pop edi
push ebp
push ecx
push eax
push esp
push esi
push ebx
push ebx
push edx
push ecx
pop ebp
call fcn.10013900
test al, al
je 0x1000d112
push esi
pop edi
push eax
push ecx
push esi
push esi
pop ecx
push esi
pop ecx
push eax
push edx
push eax
pop ebp
pop esi
push eax
pop ecx
pop esp
pop edi
push eax
pop edx
pop edx
lea eax, [ebp - 0x834]
push eax
push 0xf013f
push 0
push 0x10047894
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000d17a
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0x828]
push eax
call fcn.100018a0
mov ecx, dword [ebp - 0x814]
cmp ecx, 8
jb 0x1000d173
inc ecx
push ecx
push dword [ebp - 0x828]
lea ecx, [ebp - 0x828]
call fcn.10002940
mov eax, ebx
jmp 0x1000d40c
call fcn.10013ac0
test al, al
je 0x1000d1a1
push edx
push edi
pop edi
pop ebp
push ebp
pop ebx
pop esp
pop ebx
push eax
pop ebp
push ebx
push esi
pop edi
pop eax
push esi
push esp
push eax
pop ebx
push ecx
push esi
pop edx
pop esi
pop esp
pop edx
push eax
push eax
push esi
pop eax
push ecx
pop ebx
call fcn.10013430
test al, al
je 0x1000d1bb
push edi
pop edi
push esi
push esp
pop ecx
push edx
push ebx
pop ebx
push ebp
push edx
pop edi
push esi
pop ebp
pop edx
push esp
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x830]
push 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp - 0x83c]
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x1000d241
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x838]
xor eax, eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x828]
push eax
call fcn.100018a0
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x1000d23a
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.10002940
mov eax, esi
jmp 0x1000d40c
push 0
lea eax, [ebp - 0x82c]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp - 0x840]
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x1000d2b8
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
mov esi, dword [ebp - 0x838]
xor eax, eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x828]
push eax
call fcn.100018a0
lea ecx, [ebp - 0x828]
call fcn.10001640
mov eax, esi
jmp 0x1000d40c
call fcn.10013a50
test al, al
je 0x1000d2da
pop esp
push eax
push esp
push ebx
pop edx
pop ebp
pop ebp
pop edx
pop ebp
pop esi
push edx
pop ebp
pop edx
push ebx
pop ebx
push ebx
push ecx
pop ecx
pop eax
pop edx
pop esp
pop ebp
pop eax
push ebx
push esp
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.1002e7f0
add esp, 0xc
mov dword [ebp - 0x844], 0x400
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push dword [ebp - 0x848]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d345
sub ecx, edx
sar ecx, 1
je 0x1000d27f
call fcn.10013900
test al, al
je 0x1000d383
push ebp
push edx
pop ecx
pop edi
push eax
push edi
push esp
pop ecx
pop edx
push eax
push edx
pop ecx
push eax
push ecx
push eax
pop edi
pop ecx
pop edx
push esi
pop esp
pop eax
push edx
pop ebp
pop ebx
push ecx
push ebx
push edx
pop edi
push edx
push ecx
pop ecx
push ebx
call fcn.10013cf0
test al, al
je 0x1000d3a9
pop ebp
pop esp
push edx
push ebx
push ebp
pop esp
push eax
push edx
push eax
pop ecx
push ebp
pop esp
pop edx
pop ebx
push ebx
pop edx
pop edi
push ebp
push edx
push edi
pop ebp
pop ebp
push ebx
push ecx
pop eax
pop eax
pop esi
push ebx
pop ebx
call fcn.100133c0
test al, al
je 0x1000d3cb
pop eax
pop esp
pop ecx
pop edi
push ebp
pop ebp
push ecx
pop esp
push edi
pop edx
push ecx
push ebp
push ecx
push eax
pop esi
pop edi
pop eax
pop ebx
pop esi
push esi
push ebp
push esp
push edx
push edi
pop edi
call fcn.100135f0
test al, al
je 0x1000d3e9
push edx
pop eax
push ebx
pop ebx
push eax
pop ebx
push ebx
pop edx
pop edx
push esp
push ebx
push esi
pop edx
push ebx
push edx
push ecx
pop ebx
push ecx
push edi
push edx
pop ebx
mov ecx, dword [ebp - 0x838]
lea eax, [ebp - 0x810]
push eax
call fcn.10001390
lea ecx, [ebp - 0x828]
call fcn.10001640
mov eax, dword [ebp - 0x838]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100157fc
mov esp, ebp
pop ebp
ret