Function at 0x4fb960
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a580
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x55c
push ebx
mov edx, dword [0x5ba8bc]
push esi
push edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x260]
push eax
push ecx
push 0
push 0
push str.VScannerProgram
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x104
call esi
test eax, eax
jne 0x4fbcbe
lea edi, [ebp - 0x260]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 5
jb 0x4fbcbe
lea eax, [ebp - 0x568]
lea ecx, [ebp - 0x260]
push eax
push 0
push 0
push 0
push ecx
call fcn.0051d13a
lea edx, [ebp - 0x568]
push 0x599adc
push edx
call fcn.00524fd0
add esp, 0x1c
test eax, eax
jne 0x4fbcbe
mov edx, dword [0x5ba8bc]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x15c]
push eax
push ecx
push 0
push 0
push str.VScannerParameters
push edx
mov dword [ebp - 0x18], 0xf0
call esi
test eax, eax
je 0x4fba59
mov edi, str.__File_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x15c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x15c]
push str._File_
push ecx
call fcn.0051cb70
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4fbcbe
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x468]
mov edx, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x15c]
lea ecx, [ebp - 0x15c]
sub edx, eax
push edx
lea edx, [ebp - 0x468]
push ecx
push edx
call fcn.0051ca70
or ecx, 0xffffffff
mov edi, 0x5aac70
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x468]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x468]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x468]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5aac70
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x468]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 6]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
push 0x5aac70
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x11
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 1
mov word [ebp - 0x3c], 6
call fcn.00537b72
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.00537ee0
push 0x5b272c
lea ecx, [ebp - 0x14]
call fcn.00537ee0
lea ecx, [ebp - 0x468]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00537ee0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4fbbda
mov edx, dword [0x5bb1c0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edx
push 0x138e
push 0x111
push esi
call ebx
jmp 0x4fbbe0
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x6c]
push eax
push ecx
push 0
push 0
push 0x30
push 1
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4fbccf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x5b5ecc]
mov dword [ebp + 8], eax
push edi
lea ecx, [ebp + 8]
push str.CreateProcess_error__d_during_SessionManager::VirusChecking___r_n
push ecx
mov byte [ebp - 4], 2
call fcn.0053091a
mov ecx, dword [ebp + 0x10]
add esp, 0xc
test ecx, ecx
je 0x4fbc3e
mov edx, dword [ebp + 8]
push edx
call fcn.004c96f0
push 0
lea eax, [ebp + 0xc]
push 0
push eax
push 0x400
push edi
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x5bb474]
push ecx
lea eax, [ebp + 8]
push edx
push eax
call fcn.0053091a
mov ecx, dword [ebp + 0xc]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp + 8]
push 0x50030
push 0x597f08
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
test esi, esi
je 0x4fbca6
push str.Download_complete.
push 0x138e
push 0x111
push esi
call ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00537b04
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00537b04
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [ebp - 0x28]
push edx
call edi
test esi, esi
je 0x4fbcb2
push str.Download_complete.
push 0x138e
push 0x111
push esi
call ebx
jmp 0x4fbcb2