Function at 0x5ba740
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 0x665630
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x758898]
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 [0x75dbe4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5babe9
lea eax, [ebp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5ba7d1
sub eax, edx
sar eax, 1
cmp eax, 5
jb 0x5babe9
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.00623107
add esp, 0x24
test eax, eax
jne 0x5ba845
push 0x67db18
lea ecx, [ebp + 0x440]
push ecx
call fcn.0062567a
add esp, 8
test eax, eax
je 0x5ba845
push str..com
lea edx, [ebp + 0x440]
push edx
call fcn.0062567a
add esp, 8
test eax, eax
jne 0x5babe9
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 [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x5ba888
mov eax, dword [str.__File_]
mov dword [ebp + 0xa50], eax
mov ecx, dword [0x6b54ac]
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 0x5ba8a5
lea eax, [ebp + 0x1c]
push 0x6b5498
push eax
call fcn.0062247b
add esp, 8
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x5babdd
push 0x410
push 0
lea eax, [ebp + 0x640]
push eax
call fcn.00620850
add esp, 0xc
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x5ba8e1
mov ecx, eax
jmp 0x5ba8e6
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.00623aed
add esp, 0xc
lea edi, [ebp + 0x640]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x5ba904
mov ebx, dword [0x6b5494]
mov dword [edi], ebx
mov eax, esi
mov edx, esi
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5ba920
sub eax, edx
lea edi, [ebp + 0x640]
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x5ba936
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 0x5ba960
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x5ba960
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 0x5ba976
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 0x5ba990
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 0x6b5494
lea ecx, [ebp + 0x24]
call fcn.00402180
mov byte [ebp - 4], 3
mov eax, dword [ebp]
xor ebx, ebx
cmp eax, ebx
jne 0x5ba9d9
lea eax, [ebp + 4]
push eax
lea ecx, [ebp + 0x24]
call fcn.00405340
push 0x6b548c
lea ecx, [ebp + 0x24]
call fcn.00405340
lea eax, [ebp + 0x640]
push eax
lea ecx, [ebp + 0x24]
call fcn.00405340
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x5baa1d
mov ecx, dword [0x75eef8]
push ecx
push 0x1476
push 0x111
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x44
push ebx
cmp dword [0x752d28], ebx
je 0x5baa74
lea edx, [ebp - 0x74]
push edx
call fcn.00620850
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 0x5baa55
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 0x5baaeb
lea eax, [ebp - 0xb8]
push eax
call fcn.00620850
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 0x5baaad
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 0x5bac0e
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 0x5bab29
mov edx, dword [ebp - 0x14]
push edx
call fcn.0056a760
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 [0x75dd28]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x75ec80]
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 0x5bab7f
lea eax, [ebp + 0x10]
push 0x50030
push 0x678d88
push eax
push ebx
call fcn.00473630
add esp, 0x10
cmp edi, ebx
je 0x5babad
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.0062016f
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 0x5bac46
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 0x5babe9