Function at 0x40f06e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x848
mov eax, 0x55d01b
call fcn.0040a243
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.00401320
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.00409ceb
test al, al
je 0x40f10e
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 0x40f156
lea eax, [ebp - 0x828]
mov ecx, ebx
push eax
call fcn.004012d3
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.004019dd
mov eax, ebx
jmp 0x40f3c5
lea eax, [ebp - 0x83c]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x82c]
call esi
test eax, eax
je 0x40f183
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40f132
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.0040989b
test al, al
je 0x40f1bd
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.00409ac3
test al, al
je 0x40f1e2
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.00409ceb
test al, al
je 0x40f200
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 0x40f236
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.004012d3
jmp 0x40f3b0
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 0x40f270
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x838]
jmp 0x40f215
call fcn.00409ceb
test al, al
je 0x40f28d
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.004099f4
test al, al
je 0x40f2ad
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.0040989b
test al, al
je 0x40f2d1
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.00415ce0
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.00409ceb
test al, al
je 0x40f354
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.00409c1c
test al, al
je 0x40f389
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.00419261
pop ecx
mov ecx, dword [ebp - 0x830]
test eax, eax
je 0x40f225
lea eax, [ebp - 0x810]
push eax
call fcn.00401320
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.004019dd
mov eax, dword [ebp - 0x830]
call fcn.0040a1ed
ret