Function at 0x485083
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x848
mov eax, 0x5ddeeb
call fcn.00447fd9
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.00401d40
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.004865bf
test al, al
je 0x485123
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 0x48516b
lea eax, [ebp - 0x828]
mov ecx, ebx
push eax
call fcn.00403ed0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00401de0
mov eax, ebx
jmp 0x4853da
lea eax, [ebp - 0x83c]
push eax
push 0x20119
push 0
push 0x5e4d7c
push dword [ebp - 0x82c]
call esi
test eax, eax
je 0x485198
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x485147
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.004860e5
test al, al
je 0x4851d2
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.00486397
test al, al
je 0x4851f7
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.004865bf
test al, al
je 0x485215
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 0x48524b
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.00403ed0
jmp 0x4853c5
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 0x485285
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x838]
jmp 0x48522a
call fcn.004865bf
test al, al
je 0x4852a2
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.0048623e
test al, al
je 0x4852c2
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.004860e5
test al, al
je 0x4852e6
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.004a2e40
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.004865bf
test al, al
je 0x485369
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.004864f0
test al, al
je 0x48539e
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.004a6baf
pop ecx
mov ecx, dword [ebp - 0x830]
test eax, eax
je 0x48523a
lea eax, [ebp - 0x810]
push eax
call fcn.00401d40
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00401de0
mov eax, dword [ebp - 0x830]
call fcn.00447f83
ret