Function at 0x5b52ea
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x848
mov eax, 0x5ebec4
call fcn.005ae057
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.00402790
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.00477770
test al, al
je 0x5b538a
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 0x5b53d2
lea eax, [ebp - 0x828]
mov ecx, ebx
push eax
call fcn.00404ab0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00402830
mov eax, ebx
jmp 0x5b5641
lea eax, [ebp - 0x83c]
push eax
push 0x20119
push 0
push 0x6883f4
push dword [ebp - 0x82c]
call esi
test eax, eax
je 0x5b53ff
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5b53ae
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.00477b30
test al, al
je 0x5b5439
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.00477ef0
test al, al
je 0x5b545e
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.00477770
test al, al
je 0x5b547c
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 0x5b54b2
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.00404ab0
jmp 0x5b562c
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 0x5b54ec
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x838]
jmp 0x5b5491
call fcn.00477770
test al, al
je 0x5b5509
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.00477cb0
test al, al
je 0x5b5529
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.00477b30
test al, al
je 0x5b554d
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.005be3a0
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.00477770
test al, al
je 0x5b55d0
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.00477650
test al, al
je 0x5b5605
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.005c1d51
pop ecx
mov ecx, dword [ebp - 0x830]
test eax, eax
je 0x5b54a1
lea eax, [ebp - 0x810]
push eax
call fcn.00402790
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00402830
mov eax, dword [ebp - 0x830]
call fcn.005ae012
ret