Function at 0x4bf6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x55b2a3
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x660038]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x83c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x850]
mov ebx, dword [esp + 0x84c]
push ebp
mov eax, 0x5f7740
call fcn.004c0100
mov esi, ebp
call fcn.0049c670
lea edi, [ebp + 0x18]
mov dword [ebp + 0x14], 0xffffffff
call fcn.00495360
xor esi, esi
lea edi, [ebp + 0x24]
mov dword [ebp + 0x1c], esi
call fcn.00495360
lea ecx, [esp + 0x1c]
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x28], 1
call fcn.004949f0
mov dword [esp + 0x844], esi
or edi, 0xffffffff
cmp word [ebx], 0x2e
push esi
lea esi, [esp + 0x18]
je 0x4bf7a7
mov eax, ebx
call fcn.00494ae0
mov byte [esp + 0x844], 1
mov eax, esi
push eax
mov esi, ebp
call fcn.00403590
mov byte [esp + 0x844], 0
lea ecx, [esp + 0x14]
call fcn.00494b70
lea eax, [edi + 0x2f]
lea ecx, [esp + 0x1c]
call fcn.00494d20
jmp 0x4bf7d4
lea eax, [ebx + 2]
call fcn.00494ae0
mov byte [esp + 0x844], 2
lea ecx, [esp + 0x14]
push ecx
mov esi, ebp
call fcn.00403590
mov byte [esp + 0x844], 0
lea ecx, [esp + 0x14]
call fcn.00494b70
push 0
or edi, 0xffffffff
mov eax, ebx
lea esi, [esp + 0x18]
call fcn.00494ae0
mov byte [esp + 0x844], 3
mov edx, esi
push edx
lea edi, [esp + 0x20]
call fcn.00494c90
mov byte [esp + 0x844], 0
mov ecx, esi
call fcn.00494b70
mov eax, edi
call fcn.00407eb0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x24]
push ecx
push 1
push 0
push eax
push closesocket
mov dword [esp + 0x44], eax
call ebx
test eax, eax
je 0x4bf848
mov dword [esp + 0x844], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00494b70
xor al, al
jmp 0x4bfb0f
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
push edx
mov dword [esp + 0x44], 1
mov dword [esp + 0x40], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], 0
test esi, esi
jne 0x4bf8d9
cmp dword [esp + 0x28], 2
jbe 0x4bf8d9
push 6
lea ecx, [esp + 0x3c]
push 0x60f7fc
push ecx
call dword [sym.imp.MSVCR90.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x4bf82d
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
call fcn.004bfb40
add esp, 4
test al, al
jne 0x4bf978
push ebp
lea eax, [esp + 0x3c]
call fcn.004c0100
jmp 0x4bf978
lea ecx, [esp + 0x18]
call fcn.004949f0
mov byte [esp + 0x844], 4
lea eax, [esp + 0x20]
push eax
mov edx, 1
lea ecx, [esp + 0x20]
call fcn.00494fc0
mov byte [esp + 0x844], 5
lea edi, [esp + 0x18]
call fcn.00494c50
mov byte [esp + 0x844], 4
lea ecx, [esp + 0x20]
call fcn.00494b70
mov eax, edi
call fcn.00494e80
push 0
or edi, 0xffffffff
mov eax, str._File
lea esi, [esp + 0x18]
call fcn.00494ae0
mov byte [esp + 0x844], 6
mov ecx, esi
push ecx
lea edi, [esp + 0x1c]
call fcn.00494c90
mov byte [esp + 0x844], 4
mov ecx, esi
call fcn.00494b70
mov eax, edi
call fcn.00407eb0
push ebp
call fcn.004c0100
mov byte [esp + 0x844], 0
mov ecx, edi
call fcn.00494b70
lea eax, [ebp + 0x24]
call fcn.00495350
test al, al
je 0x4bfa6b
lea eax, [esp + 0x1c]
lea esi, [esp + 0x14]
call fcn.00494a10
mov byte [esp + 0x844], 7
push 0
or edi, 0xffffffff
mov eax, str._shellopencommand
lea esi, [esp + 0x24]
call fcn.00494ae0
mov byte [esp + 0x844], 8
mov edx, esi
push edx
lea edi, [esp + 0x18]
call fcn.00494c90
mov byte [esp + 0x844], 7
mov ecx, esi
call fcn.00494b70
lea eax, [esp + 0x18]
push eax
mov edi, 1
push edi
push 0
lea eax, [esp + 0x20]
call fcn.00407eb0
push eax
push closesocket
call ebx
test eax, eax
jne 0x4bfa5a
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x43c]
push edx
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x18]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0
test esi, esi
jne 0x4bfa5a
cmp dword [esp + 0x20], edi
jbe 0x4bfa5a
lea eax, [esp + 0x438]
push eax
lea esi, [ebp + 0x24]
mov eax, esi
call fcn.00494c30
mov ecx, esi
call fcn.004c0470
mov byte [esp + 0x844], 0
lea ecx, [esp + 0x14]
call fcn.00494b70
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
push 1
xor edi, edi
push edi
push edx
push closesocket
call ebx
cmp eax, edi
jne 0x4bf82d
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push str.Content_Type
push eax
mov dword [esp + 0x44], 1
mov dword [esp + 0x40], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x24]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], edi
cmp esi, edi
jne 0x4bfaf6
cmp dword [esp + 0x28], 1
jbe 0x4bfaf6
push 4
lea edx, [esp + 0x3c]
push 0x60f834
push edx
call dword [sym.imp.MSVCR90.dll__wcsnicmp]
add esp, 0xc
neg eax
sbb eax, eax
neg eax
inc eax
mov dword [ebp + 0x20], eax
jmp 0x4bfaf9
mov dword [ebp + 0x20], edi
mov dword [esp + 0x844], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00494b70
mov al, 1
mov ecx, dword [esp + 0x83c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x824]
xor ecx, esp
call fcn.0054904e
add esp, 0x834
ret