Function at 0x1001b640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c61b
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.1002c8c0
mov eax, dword [0x10080440]
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 esi, dword [ebp + 8]
mov dword [ebp - 0x203c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2040], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2048], eax
xor eax, eax
mov dword [ebp - 0x202c], esi
mov dword [ebp - 0x204c], 0
mov dword [ebp - 0x2014], 7
mov dword [ebp - 0x2018], 0
mov word [ebp - 0x2028], ax
cmp word [edx], ax
jne 0x1001b6c9
xor ecx, ecx
jmp 0x1001b6df
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b6d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2028]
call fcn.10008730
mov dword [ebp - 4], 0
mov dword [ebp - 0x2038], 0
mov dword [ebp - 0x2034], 0
mov dword [ebp - 0x2030], 0
call fcn.1002ae30
test al, al
je 0x1001b72b
push edx
pop ebp
pop edi
push edx
push ebx
push edi
pop ebx
push edi
push edx
push esp
pop esp
push edx
push edx
pop ebx
push ecx
pop edx
push eax
call fcn.1002a880
test al, al
je 0x1001b757
pop esp
push esi
pop eax
pop ebx
pop edx
pop esi
pop edx
push ebp
pop esp
push edx
pop ebp
push esi
push edi
pop ebx
push esp
push ebp
push ecx
push eax
push ecx
pop esp
pop esp
push esp
push esp
push esp
push ebp
push ebx
push ecx
push esp
push edx
mov esi, dword [ebp - 0x202c]
lea eax, [ebp - 0x2038]
push eax
push 0xf013f
push 0
push str.SoftWare
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001b7bf
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x2028]
push eax
call fcn.1000f2b0
mov ecx, dword [ebp - 0x2014]
cmp ecx, 8
jb 0x1001b7b8
inc ecx
push ecx
push dword [ebp - 0x2028]
lea ecx, [ebp - 0x2028]
call fcn.10008830
mov eax, esi
jmp 0x1001baa6
call fcn.1002a9d0
test al, al
je 0x1001b7e0
push ecx
push ebp
pop esp
pop ebx
push ebx
push esi
pop eax
pop edi
pop edi
pop eax
pop esp
pop ecx
pop ebp
pop esi
push edi
push ebp
push eax
pop ecx
pop ebp
pop eax
push edi
pop ecx
push ecx
pop ecx
call fcn.1002a570
test al, al
je 0x1001b802
push esp
push ebx
push ecx
push esp
push edi
push ebx
push ecx
pop eax
pop edx
push ebp
pop edi
push ecx
push ecx
push esp
pop ebx
pop esi
push eax
pop edx
push esi
push esp
pop ebp
pop eax
pop ebp
pop esi
push edx
call fcn.1002a2d0
test al, al
je 0x1001b81d
pop edx
push esi
pop edi
push esp
pop esi
pop esi
pop esi
pop ebx
push ecx
pop ebx
push esi
push esi
push ebp
push ebp
push edi
pop ebx
pop edx
pop eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2034]
push 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp - 0x203c]
push dword [ebp - 0x2038]
call esi
test eax, eax
je 0x1001b8a7
push dword [ebp - 0x2038]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x202c]
xor eax, eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x2028]
push eax
call fcn.1000f2b0
mov eax, dword [ebp - 0x2014]
cmp eax, 8
jb 0x1001b7b8
inc eax
lea ecx, [ebp - 0x2028]
push eax
push dword [ebp - 0x2028]
call fcn.10008830
mov eax, esi
jmp 0x1001baa6
push 0
lea eax, [ebp - 0x2030]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp - 0x2040]
push dword [ebp - 0x2034]
call esi
test eax, eax
je 0x1001b91e
push dword [ebp - 0x2034]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x2030]
call esi
mov esi, dword [ebp - 0x202c]
xor eax, eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x2028]
push eax
call fcn.1000f2b0
lea ecx, [ebp - 0x2028]
call fcn.10007740
mov eax, esi
jmp 0x1001baa6
call fcn.1002a3b0
test al, al
je 0x1001b945
push edx
push ebp
pop esp
pop eax
pop edx
push edi
pop eax
push esi
pop ebx
push ebx
pop ecx
push ebx
pop ecx
push eax
push ebp
pop ecx
pop eax
pop esi
push ecx
push esp
push ebx
pop edi
pop esp
pop esp
push ebx
pop esi
push ebx
pop ebp
pop ecx
push edx
call fcn.1002ab20
test al, al
je 0x1001b963
push esp
pop esi
push ecx
push ebp
pop esi
push ebx
pop edi
pop ecx
pop ebx
pop eax
push edx
pop edi
pop esp
push edi
pop esi
push ecx
pop ebp
pop ebp
pop esi
push ecx
push ebp
call fcn.1002a340
test al, al
je 0x1001b983
push esi
push eax
push esp
pop ebx
push ebx
push edi
push ebp
pop ebp
pop edi
pop esp
push esi
push edi
pop edx
pop esi
push edx
pop edx
push edx
pop edx
pop ebp
push eax
push edx
push ebp
push ebp
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.10044800
add esp, 0xc
mov dword [ebp - 0x2044], 0x1000
lea eax, [ebp - 0x2044]
push eax
lea eax, [ebp - 0x2010]
push eax
push 0
push 0
push dword [ebp - 0x2048]
push dword [ebp - 0x2030]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x2030]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x2034]
call esi
push dword [ebp - 0x2038]
call esi
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b9f0
sub ecx, edx
sar ecx, 1
je 0x1001b8e5
call fcn.1002a6c0
test al, al
je 0x1001ba23
push ecx
pop ebp
pop esp
pop ebp
pop esi
pop ecx
pop eax
push edx
push edx
push ebp
pop ebp
push ebx
push edx
pop edi
pop edx
push eax
pop edx
pop edi
push esi
pop eax
push edx
call fcn.1002adc0
test al, al
je 0x1001ba46
push esp
pop ebp
pop edx
push edx
push edx
pop ecx
push edi
pop esp
pop esi
pop esi
push esi
push ecx
push ecx
push esp
push ebx
pop ecx
push esp
pop esi
push esi
push ebp
pop esp
pop eax
push edx
push edi
push esp
pop esi
call fcn.1002a500
test al, al
je 0x1001ba65
pop ebp
push edx
pop edx
pop eax
pop eax
push esp
pop esp
pop edx
push esp
push esp
push ecx
pop ebp
pop edx
push ecx
pop eax
push edx
pop ebx
push esi
pop ecx
pop ecx
push ecx
push edi
call fcn.1002ace0
test al, al
je 0x1001ba83
pop ecx
pop edx
pop edi
push ecx
pop eax
push ecx
push esp
pop esi
push ebp
pop edi
push edx
pop ebp
push eax
pop edi
push ebp
pop edi
pop eax
push esp
pop edi
pop esi
push esp
mov ecx, dword [ebp - 0x202c]
lea eax, [ebp - 0x2010]
push eax
call fcn.1000f3b0
lea ecx, [ebp - 0x2028]
call fcn.10007740
mov eax, dword [ebp - 0x202c]
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.1002c484
mov esp, ebp
pop ebp
ret