Function at 0x4b39b2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x6c
mov eax, 0x65acbb
call fcn.004ce5e8
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp + 0x18]
test edx, edx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, 0x6daa2c
cmovne eax, edx
mov dword [ebp - 0x70], edi
push eax
mov dword [ebp - 0x70], ebx
call fcn.004030cf
xor ecx, ecx
add esi, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
cmp dword [esi + 0x10], ecx
ja 0x4b3a23
lea eax, [ebp - 0x58]
push eax
call fcn.004af1d8
pop ecx
push eax
mov ecx, esi
call fcn.00403b0b
lea ecx, [ebp - 0x58]
call fcn.00402e90
xor ecx, ecx
cmp dword [esi + 0x14], 8
jb 0x4b3a2b
mov esi, dword [esi]
lea eax, [ebp - 0x5c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x4b3a5f
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, edi
call fcn.004030cf
jmp 0x4b3b8e
lea eax, [ebp - 0x6c]
push eax
push 0x20119
push 0
push 0x66d874
push dword [ebp - 0x5c]
call esi
test eax, eax
je 0x4b3a8f
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
jmp 0x4b3a53
lea eax, [ebp - 0x68]
push eax
push 0x20119
push 0
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
call esi
test eax, eax
je 0x4b3ab8
push dword [ebp - 0x6c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x5c]
call esi
jmp 0x4b3a81
lea eax, [ebp - 0x64]
push eax
push 0x20119
push 0
push dword [ebp - 0x78]
push dword [ebp - 0x68]
call esi
test eax, eax
je 0x4b3adf
push dword [ebp - 0x64]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x68]
jmp 0x4b3aaf
lea eax, [ebp - 0x28]
xor esi, esi
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call fcn.00405b04
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 1
push eax
push esi
push esi
push esi
push ebx
push dword [ebp - 0x64]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x60], esi
call ebx
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4b3b61
inc eax
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x60], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004cdce7
push dword [ebp - 0x60]
mov esi, eax
push 0
push esi
call fcn.004e59a0
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
push esi
push 0
push 0
push dword [ebp - 0x70]
push dword [ebp - 0x64]
call ebx
test eax, eax
jne 0x4b3b5a
push esi
lea ecx, [ebp - 0x40]
call fcn.004030a8
push esi
call fcn.004cdcf0
pop ecx
push dword [ebp - 0x64]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x68]
call esi
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x5c]
call esi
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00403b42
lea ecx, [ebp - 0x40]
call fcn.00402e90
lea ecx, [ebp - 0x28]
call fcn.00402e90
mov eax, edi
call fcn.004ce592
ret 0x14