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

Disassembly:
push ebp
lea ebp, [esp - 0xb44]
sub esp, 0xb44
push 0xffffffffffffffff
push 0x6626d0
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0xb40], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xb4c]
mov eax, dword [ebp + 0xb50]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xb54]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x208
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x30]
push eax
push 0
push 0
push str.VScannerProgram
mov ecx, dword [0x75abd8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5b7f79
lea eax, [ebp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b7b61
sub eax, edx
sar eax, 1
cmp eax, 5
jb 0x5b7f79
push 0x100
lea edx, [ebp + 0x440]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp + 0x30]
push eax
call fcn.00620297
add esp, 0x24
test eax, eax
jne 0x5b7bd5
push 0x67a90c
lea ecx, [ebp + 0x440]
push ecx
call fcn.0062280a
add esp, 8
test eax, eax
je 0x5b7bd5
push str..com
lea edx, [ebp + 0x440]
push edx
call fcn.0062280a
add esp, 8
test eax, eax
jne 0x5b7f79
mov dword [ebp - 0x1c], pe_nt_image_headers32
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xa50]
push ecx
push 0
push 0
push str.VScannerParameters
mov edx, dword [0x75abd8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5b7c18
mov eax, dword [str.__File_]
mov dword [ebp + 0xa50], eax
mov ecx, dword [0x6b1e04]
mov dword [ebp + 0xa54], ecx
lea edx, [ebp + 0xa50]
push edx
lea ecx, [ebp + 0x18]
call fcn.00406f80
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x5b7c35
lea eax, [ebp + 0x1c]
push 0x6b1df0
push eax
call fcn.0061f60b
add esp, 8
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x5b7f6d
push 0x410
push 0
lea eax, [ebp + 0x640]
push eax
call fcn.0061d9e0
add esp, 0xc
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x5b7c71
mov ecx, eax
jmp 0x5b7c76
lea ecx, [ebp + 0x1c]
mov eax, ecx
sub edi, ecx
sar edi, 1
push edi
push eax
lea ecx, [ebp + 0x640]
push ecx
call fcn.00620c7d
add esp, 0xc
lea edi, [ebp + 0x640]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x5b7c94
mov ebx, dword [0x6b1dec]
mov dword [edi], ebx
mov eax, esi
mov edx, esi
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b7cb0
sub eax, edx
lea edi, [ebp + 0x640]
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x5b7cc6
mov ecx, eax
mov esi, 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 edi, [ebp + 0x640]
add edi, 0xfffffffe
jmp 0x5b7cf0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x5b7cf0
mov dword [edi], ebx
mov eax, dword [ebp - 0x18]
add eax, 0xc
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b7d06
sub eax, edx
lea edi, [ebp + 0x640]
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x5b7d20
mov ecx, eax
mov esi, 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 edx, [ebp + 0x30]
push edx
lea ecx, [ebp]
call fcn.00402180
mov byte [ebp - 4], 2
push 0x6b1dec
lea ecx, [ebp + 0x24]
call fcn.00402180
mov byte [ebp - 4], 3
mov eax, dword [ebp]
xor ebx, ebx
cmp eax, ebx
jne 0x5b7d69
lea eax, [ebp + 4]
push eax
lea ecx, [ebp + 0x24]
call fcn.00405300
push 0x6b1de4
lea ecx, [ebp + 0x24]
call fcn.00405300
lea eax, [ebp + 0x640]
push eax
lea ecx, [ebp + 0x24]
call fcn.00405300
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x5b7dad
mov ecx, dword [0x75beb8]
push ecx
push 0x1476
push 0x111
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x44
push ebx
cmp dword [0x74fd28], ebx
je 0x5b7e04
lea edx, [ebp - 0x74]
push edx
call fcn.0061d9e0
add esp, 0xc
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], 1
mov eax, 6
mov word [ebp - 0x44], ax
mov eax, dword [ebp + 0x24]
cmp eax, ebx
jne 0x5b7de5
lea eax, [ebp + 0x28]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x74]
push edx
push ebx
push ebx
push 0x30
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
jmp 0x5b7e7b
lea eax, [ebp - 0xb8]
push eax
call fcn.0061d9e0
add esp, 0xc
mov dword [ebp - 0xb8], 0x44
mov dword [ebp - 0x8c], 1
mov ecx, 6
mov word [ebp - 0x88], cx
mov eax, dword [ebp + 0x24]
cmp eax, ebx
jne 0x5b7e3d
lea eax, [ebp + 0x28]
push ebx
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.00402a70
add esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xb8]
push ecx
push ebx
push ebx
push 0x30
push 1
push ebx
push ebx
mov edx, dword [ebp - 0x14]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00402570
cmp esi, ebx
jne 0x5b7f9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 5
push esi
push str.CreateProcess_error__ld_in_SM::VirusChecking___r_n
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
add esp, 0xc
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x5b7eb9
mov edx, dword [ebp - 0x14]
push edx
call fcn.00568c40
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push 0x400
push esi
push ebx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x14], ebx
xor ecx, ecx
mov word [ebp + 0x10], cx
mov byte [ebp - 4], 6
mov edx, dword [0x75ad10]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x75bc40]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004021b0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x5b7f0f
lea eax, [ebp + 0x10]
push 0x50030
push 0x675d88
push eax
push ebx
call fcn.00472710
add esp, 0x10
cmp edi, ebx
je 0x5b7f3d
push str.Download_complete.
push 0x1476
push 0x111
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xc]
call fcn.00401210
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00402570
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x24]
call fcn.00401210
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.00401210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xb40]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0xb44
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x2c]
push ecx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edx, dword [ebp - 0x30]
push edx
call esi
cmp edi, ebx
je 0x5b7fd6
push str.Download_complete.
push 0x1476
push 0x111
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x24]
call fcn.00401210
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
jmp 0x5b7f79