Function at 0x5ae940
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 0x657f90
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x7496c8]
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 [0x74ea0c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5aede9
lea eax, [ebp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5ae9d1
sub eax, edx
sar eax, 1
cmp eax, 5
jb 0x5aede9
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.006161d7
add esp, 0x24
test eax, eax
jne 0x5aea45
push 0x66f89c
lea ecx, [ebp + 0x440]
push ecx
call fcn.0061874a
add esp, 8
test eax, eax
je 0x5aea45
push str..com
lea edx, [ebp + 0x440]
push edx
call fcn.0061874a
add esp, 8
test eax, eax
jne 0x5aede9
mov dword [ebp - 0x1c], 0xf0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xa50]
push ecx
push 0
push 0
push str.VScannerParameters
mov edx, dword [0x74ea0c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5aea88
mov eax, dword [str.__File_]
mov dword [ebp + 0xa50], eax
mov ecx, dword [0x6a6be4]
mov dword [ebp + 0xa54], ecx
lea edx, [ebp + 0xa50]
push edx
lea ecx, [ebp + 0x18]
call fcn.00406fc0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x5aeaa5
lea eax, [ebp + 0x1c]
push 0x6a6bd0
push eax
call fcn.0061554b
add esp, 8
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x5aeddd
push 0x410
push 0
lea eax, [ebp + 0x640]
push eax
call fcn.00613900
add esp, 0xc
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x5aeae1
mov ecx, eax
jmp 0x5aeae6
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.00616bbd
add esp, 0xc
lea edi, [ebp + 0x640]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x5aeb04
mov ebx, dword [0x6a6bcc]
mov dword [edi], ebx
mov eax, esi
mov edx, esi
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5aeb20
sub eax, edx
lea edi, [ebp + 0x640]
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x5aeb36
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 0x5aeb60
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x5aeb60
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 0x5aeb76
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 0x5aeb90
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 0x6a6bcc
lea ecx, [ebp + 0x24]
call fcn.00402180
mov byte [ebp - 4], 3
mov eax, dword [ebp]
xor ebx, ebx
cmp eax, ebx
jne 0x5aebd9
lea eax, [ebp + 4]
push eax
lea ecx, [ebp + 0x24]
call fcn.00405330
push 0x6a6bc4
lea ecx, [ebp + 0x24]
call fcn.00405330
lea eax, [ebp + 0x640]
push eax
lea ecx, [ebp + 0x24]
call fcn.00405330
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x5aec1d
mov ecx, dword [0x74fce0]
push ecx
push 0x1476
push 0x111
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x44
push ebx
cmp dword [0x743d18], ebx
je 0x5aec74
lea edx, [ebp - 0x74]
push edx
call fcn.00613900
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 0x5aec55
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 0x5aeceb
lea eax, [ebp - 0xb8]
push eax
call fcn.00613900
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 0x5aecad
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 0x5aee0e
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.00402f80
add esp, 0xc
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x5aed29
mov edx, dword [ebp - 0x14]
push edx
call fcn.005603a0
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 [0x74eb40]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x74fa68]
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 0x5aed7f
lea eax, [ebp + 0x10]
push 0x50030
push 0x66ad78
push eax
push ebx
call fcn.0046dd00
add esp, 0x10
cmp edi, ebx
je 0x5aedad
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.004011f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00402570
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x24]
call fcn.004011f0
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004011f0
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.00613241
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 0x5aee46
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.004011f0
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
jmp 0x5aede9