Function at 0x100640db
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x848
mov eax, 0x101e0858
call fcn.1005dbe7
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov ebx, dword [ebp + 8]
xor esi, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x848], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x850], eax
mov eax, dword [ebp + 0x1c]
push eax
mov dword [ebp - 0x830], ebx
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x854], esi
call fcn.100025f0
mov dword [ebp - 4], esi
mov dword [ebp - 0x82c], esi
mov dword [ebp - 0x83c], esi
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], esi
call fcn.100555b0
test al, al
je 0x1006417b
pop ebx
pop ecx
push ecx
push edx
pop ebp
push edx
pop esp
push ecx
pop ecx
push esp
push ecx
push esp
pop esi
pop eax
push esp
push ebp
push edi
pop ecx
pop ebx
push ebp
pop edi
push ebx
push esi
push ebx
push ebx
pop ebp
push edi
mov ebx, dword [ebp - 0x830]
xor esi, esi
mov edi, dword [ebp - 0x844]
lea eax, [ebp - 0x82c]
push eax
push 0x20119
push esi
push dword [ebp - 0x840]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x100641c3
lea eax, [ebp - 0x828]
mov ecx, ebx
push eax
call fcn.100046f0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.10002690
mov eax, ebx
jmp 0x10064432
lea eax, [ebp - 0x83c]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x82c]
call esi
test eax, eax
je 0x100641f0
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1006419f
lea eax, [ebp - 0x838]
push eax
push 0x20119
push 0
push edi
push dword [ebp - 0x83c]
call esi
mov dword [ebp - 0x840], eax
call fcn.100550d6
test al, al
je 0x1006422a
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.10055388
test al, al
je 0x1006424f
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.100555b0
test al, al
je 0x1006426d
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
cmp dword [ebp - 0x840], 0
je 0x100642a3
push dword [ebp - 0x83c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, dword [ebp - 0x830]
lea eax, [ebp - 0x828]
push eax
call fcn.100046f0
jmp 0x1006441d
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push dword [ebp - 0x848]
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100642dd
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x838]
jmp 0x10064282
call fcn.100555b0
test al, al
je 0x100642fa
pop ebp
push ebp
pop ecx
push ebx
pop ecx
pop esp
push esi
pop ecx
pop eax
push esp
push ecx
push esi
pop esi
push esi
pop eax
push esp
pop eax
pop ebx
push ebx
push esi
call fcn.1005522f
test al, al
je 0x1006431a
push ecx
push ecx
pop ebx
push edx
pop edx
pop eax
pop edi
pop esi
push eax
pop esp
pop ebx
push ebx
pop ecx
pop edx
pop ebx
push esi
push ecx
push ebp
pop ebx
pop edx
push esp
pop ebx
pop edx
call fcn.100550d6
test al, al
je 0x1006433e
push edi
push edi
push esp
pop edi
push ecx
push edx
push edi
pop edi
push edi
push edx
pop ebp
push edx
pop edx
pop ebp
pop ebp
push eax
push ebx
push edx
push edi
push ebp
push esp
pop edx
pop edi
push esi
push ebx
push edi
push esi
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.10079700
add esp, 0xc
mov dword [ebp - 0x84c], 0x400
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x850]
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x834]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push dword [ebp - 0x838]
call ebx
call fcn.100555b0
test al, al
je 0x100643c1
pop edx
push ecx
pop edi
push esi
pop ebp
push ebp
push esp
pop ebp
push ebx
push ecx
push ecx
pop esi
push ebp
push ebp
pop esp
push eax
pop edi
push esp
push ebx
push ebp
push eax
pop ecx
pop ebx
pop edi
pop esp
pop esi
pop ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x83c]
call ebx
push dword [ebp - 0x82c]
call ebx
call fcn.100554e1
test al, al
je 0x100643f6
push esi
pop edx
push edx
push esp
pop edi
push esi
push ebx
pop ebx
pop esi
push ebp
push esp
push eax
push ebx
pop edi
pop edx
push ebx
pop esp
pop ebx
push ecx
pop edx
pop esp
pop edx
pop esp
pop ebx
pop esi
push esi
push esp
push esp
lea eax, [ebp - 0x810]
push eax
call fcn.100812ef
pop ecx
mov ecx, dword [ebp - 0x830]
test eax, eax
je 0x10064292
lea eax, [ebp - 0x810]
push eax
call fcn.100025f0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.10002690
mov eax, dword [ebp - 0x830]
call fcn.1005dba2
ret