Function at 0x1400020f0
Capabilities:
Accept command line arguments

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x288
mov rax, qword [0x1402e64c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x150], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x158], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x28], 0
jmp 0x140002170
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 3
jae 0x1400021e9
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
jmp 0x140002198
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x40], rax
jae 0x1400021cc
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rsp + rcx*8 + 0x150]
cmp qword [rsp + rax*8 + 0x150], rcx
jne 0x1400021ca
mov dword [rsp + 0x30], 1
jmp 0x1400021cc
jmp 0x14000218b
cmp dword [rsp + 0x30], 0
je 0x1400021e4
mov rax, qword [rsp + 0x28]
mov qword [rsp + rax*8 + 0x150], 0
jmp 0x140002163
mov qword [rsp + 0x38], 0
jmp 0x140002201
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 3
jae 0x14000222e
mov rax, qword [rsp + 0x38]
cmp qword [rsp + rax*8 + 0x150], 0
je 0x14000222c
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + rax*8 + 0x150]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400021f4
xor edx, edx
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
xor edx, edx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
xor edx, edx
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
lea rcx, [0x1402e8220]
call fcn.14000f4e0
call fcn.1400026c0
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x70], rax
movsxd rax, dword [rsp + 0x24]
shl rax, 3
mov qword [rsp + 0x68], rax
movsxd rcx, dword [rsp + 0x24]
shl rcx, 3
mov rdx, rcx
mov rcx, qword [rsp + 0x50]
call fcn.140002cc0
mov rcx, qword [rsp + 0x68]
mov r8, rcx
xor edx, edx
mov rcx, rax
call fcn.140226b00
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 0
jmp 0x1400022da
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jge 0x1400023b9
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx + rax*8]
lea rcx, [rsp + 0x110]
call fcn.14000a250
lea rcx, [rsp + 0x80]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x80]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x90]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xa0]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x120]
call fcn.14000e2a0
lea rcx, [rsp + 0xb0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
lea rcx, [rsp + 0xb0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xc0]
mov qword [rcx + rax*8], rdx
jmp 0x1400022d0
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x24]
call fcn.1401c04e0
jmp 0x1400024b9
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401c2c80
add rsp, 0x288
pop rdi
pop rsi
ret