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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62dba0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x784
push ebx
mov edx, dword [0x6d12f4]
push esi
push edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x190]
xor ebx, ebx
push eax
push ecx
push ebx
push ebx
push str.VScannerProgram
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], 0x104
call esi
test eax, eax
jne 0x5b4a5c
lea edi, [ebp - 0x190]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 5
jb 0x5b4a5c
lea eax, [ebp - 0x380]
lea ecx, [ebp - 0x190]
push eax
push ebx
push ebx
push ebx
push ecx
call fcn.005e6e05
lea edx, [ebp - 0x380]
push 0x6a2d2c
push edx
call fcn.005e6820
add esp, 0x1c
test eax, eax
je 0x5b45aa
lea eax, [ebp - 0x380]
push str..com
push eax
call fcn.005e6820
add esp, 8
test eax, eax
jne 0x5b4a5c
mov eax, dword [0x6d12f4]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x280]
push ecx
push edx
push ebx
push ebx
push str.VScannerParameters
push eax
mov dword [ebp - 0x2c], 0xf0
call esi
test eax, eax
je 0x5b45f7
mov edi, str.__File_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x280]
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 - 0x280]
push ebx
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x24], bx
call fcn.00402e00
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x5b461f
lea eax, [ebp - 0x24]
push 0x6c49b4
push eax
call fcn.005e6c00
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x5b4a50
mov ecx, 0x104
xor eax, eax
lea edi, [ebp - 0x790]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x5b4651
mov ecx, eax
jmp 0x5b4657
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x24]
mov edx, esi
sub edx, ecx
sar edx, 1
push edx
push eax
lea eax, [ebp - 0x790]
push eax
call fcn.005e9011
lea ecx, [ebp - 0x790]
push 0x6c49b0
push ecx
call fcn.005e653f
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x790]
push edx
push eax
call fcn.005e653f
lea ecx, [ebp - 0x790]
push 0x6c49b0
push ecx
call fcn.005e653f
add esi, 0xc
lea edx, [ebp - 0x790]
push esi
push edx
call fcn.005e653f
add esp, 0x2c
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], ebx
push ebx
push eax
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x34], bx
call fcn.00402e00
push 0x6c49b0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x18], bx
call fcn.00402410
mov edi, dword [ebp - 0x38]
mov byte [ebp - 4], 3
cmp edi, ebx
jne 0x5b46f7
lea edi, [ebp - 0x34]
cmp edi, ebx
je 0x5b4770
push edi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x5b4770
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5b4718
push eax
call fcn.005e639f
add esp, 4
mov esi, eax
jmp 0x5b471a
xor esi, esi
push edi
call fcn.005e639f
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005feedc
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x5b4770
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5b474f
push eax
push esi
call fcn.005e6569
push edi
push esi
call fcn.005e653f
add esp, 0x10
jmp 0x5b4759
push edi
push esi
call fcn.005e6569
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00401070
push esi
mov dword [ebp - 0x1c], esi
call fcn.005e639f
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, 0x6c49a8
test edx, edx
je 0x5b4802
push edx
call fcn.005e639f
add esp, 4
test eax, eax
je 0x5b4802
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5b479e
push eax
call fcn.005e639f
add esp, 4
mov esi, eax
jmp 0x5b47a0
xor esi, esi
push 0x6c49a8
call fcn.005e639f
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.005feedc
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x5b4802
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5b47dd
push eax
push esi
call fcn.005e6569
push 0x6c49a8
push esi
call fcn.005e653f
add esp, 0x10
jmp 0x5b47eb
push 0x6c49a8
push esi
call fcn.005e6569
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00401070
push esi
mov dword [ebp - 0x1c], esi
call fcn.005e639f
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x790]
test ecx, ecx
je 0x5b48a1
lea edx, [ebp - 0x790]
push edx
call fcn.005e639f
add esp, 4
test eax, eax
je 0x5b48a1
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5b4837
push eax
call fcn.005e639f
add esp, 4
mov esi, eax
jmp 0x5b4839
xor esi, esi
lea eax, [ebp - 0x790]
push eax
call fcn.005e639f
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005feedc
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x5b48a1
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x5b487a
push eax
push esi
call fcn.005e6569
lea edx, [ebp - 0x790]
push edx
push esi
call fcn.005e653f
add esp, 0x10
jmp 0x5b488a
lea eax, [ebp - 0x790]
push eax
push esi
call fcn.005e6569
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00401070
push esi
mov dword [ebp - 0x1c], esi
call fcn.005e639f
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x5b48c0
mov ecx, dword [0x6d2170]
push ecx
push 0x1476
push 0x111
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x6a45ac]
mov ecx, 0x11
test eax, eax
je 0x5b491d
xor eax, eax
lea edi, [ebp - 0x8c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x8c], 0x44
test eax, eax
mov dword [ebp - 0x60], 1
mov word [ebp - 0x5c], 6
jne 0x5b48f9
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x8c]
push edx
push ecx
push 0
push 0
push 0x30
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
jmp 0x5b4982
xor eax, eax
lea edi, [ebp - 0x8c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x8c], 0x44
test eax, eax
mov dword [ebp - 0x60], 1
mov word [ebp - 0x5c], 6
jne 0x5b4948
lea eax, [ebp - 0x18]
lea edx, [ebp + 8]
push eax
push edx
call fcn.00402500
add esp, 8
lea eax, [ebp - 0x48]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x8c]
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]
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00602ad6
test esi, esi
jne 0x5b4a6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x6cc708]
mov dword [ebp + 8], eax
push esi
lea ecx, [ebp + 8]
push str.CreateProcess_error__ld_in_SM::VirusChecking___r_n
push ecx
mov byte [ebp - 4], 4
call fcn.005fb90b
mov ecx, dword [ebp + 0x10]
add esp, 0xc
test ecx, ecx
je 0x5b49c0
mov edx, dword [ebp + 8]
push edx
call fcn.00554800
push 0
lea eax, [ebp + 0xc]
push 0
push eax
push 0x400
push esi
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x6d23e8]
push ecx
lea eax, [ebp + 8]
push edx
push eax
call fcn.005fb90b
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 0x6a0028
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
test ebx, ebx
je 0x5b4a2c
push str.Download_complete.
push 0x1476
push 0x111
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00602ad6
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401070
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 - 0x48]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x48]
push edx
call esi
test ebx, ebx
je 0x5b4a38
push str.Download_complete.
push 0x1476
push 0x111
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x5b4a38