Function at 0x1400355c4
Capabilities:
Accept command line arguments
Check for peb beingdebugged flag

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1401a7d98]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov r15, r9
mov r14, r8
mov r12, rdx
xor r13d, r13d
mov ebx, r13d
mov dword [rbp - 8], ebx
xorps xmm0, xmm0
xor esi, esi
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rsi
mov qword [rsp + 0x40], r13
lea rdx, [r8 + 3]
cmp rdx, r8
jb 0x140035943
cmp rdx, 3
jb 0x140035943
lea r9, [rsp + 0x40]
lea r8d, [r13 + 2]
lea rcx, [rsp + 0x30]
call fcn.140004800
mov edi, dword [rsp + 0x30]
test edi, edi
jns 0x140035659
mov eax, edi
shr eax, 0x1f
test al, al
jne 0x14003565c
int3
mov edi, r13d
test edi, edi
js 0x140035948
lea rdx, [rbp]
mov rcx, qword [rsp + 0x40]
call fcn.1400c58a4
mov edi, eax
mov rsi, qword [rbp + 0x10]
test eax, eax
js 0x140035952
mov dword [rsi], 0x200078
lea r8, [r14 + r14]
lea rcx, [rsi + 4]
mov rdx, r12
call fcn.14010b910
mov word [rsi + r14*2 + 4], r13w
mov dword [rbp - 0x10], r13d
lea rdx, [rbp - 0x10]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
nop dword [rax + rax]
test rax, rax
jne 0x14003570c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.1400cc8ac
mov edi, eax
shr eax, 0x1f
xor al, 1
je 0x1400356d5
int3
lea rax, str.onecore_basewcp_toolsmtmt_responsefile.cpp
mov qword [rsp + 0x60], rax
lea rax, str.CCommandLineResponseFilesHandler::EnqueueFileContents
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x63
mov qword [rsp + 0x78], r13
mov r8d, edi
lea rcx, [rsp + 0x60]
call fcn.1400c81b4
jmp 0x140035952
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x28], rax
cmp dword [rbp - 0x10], 1
jge 0x14003571d
int3
movsxd r14, dword [rbp - 0x10]
cmp r14, 1
je 0x140035867
lea rsi, [r14 - 1]
lea rsi, [rax + rsi*8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsi]
call fcn.1400c5bb0
mov edi, eax
test eax, eax
js 0x140035842
add qword [rsp + 0x48], 2
mov qword [rsp + 0x38], r13
mov rax, qword gs:[0x60]
xor edx, edx
lea r8d, [rdx + 0x30]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400357a5
mov qword [rax + 0x10], r13
mov qword [rax], r13
mov qword [rax + 8], r13
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x18], xmm0
mov qword [rbx + 0x28], rax
jmp 0x1400357a8
mov rbx, r13
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x1400358c3
lea rdx, [rbx + 0x18]
lea rcx, [rsp + 0x48]
call fcn.1400c5aa0
mov edi, eax
test eax, eax
jns 0x14003581e
test rbx, rbx
je 0x14003581c
mov qword [rsp + 0x38], r13
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400357f9
call fcn.140012410
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x48], rax
movups xmmword [rbx + 0x18], xmm0
movsd xmm0, qword [rbp - 0x48]
movsd qword [rbx + 0x28], xmm0
mov qword [rbx + 0x10], r13
mov rax, qword gs:[0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
nop
jmp 0x140035842
mov qword [rsp + 0x38], r13
mov rax, qword [r15]
mov qword [rbx], rax
mov qword [rbx + 8], r15
mov rax, qword [r15]
mov qword [rax + 8], rbx
mov qword [r15], rbx
mov qword [rbx + 0x10], r15
inc qword [r15 + 0x18]
mov edi, r13d
test edi, edi
js 0x140035900
dec r14
sub rsi, 8
cmp r14, 1
jne 0x140035733
mov ebx, dword [rbp - 8]
mov rsi, qword [rbp + 0x10]
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140035898
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
test rax, rax
je 0x140035893
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, 7
int 0x29
mov qword [rsp + 0x28], r13
test rsi, rsi
je 0x1400358bc
mov rcx, rsi
call fcn.140012410
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x30], rax
movups xmmword [rbp], xmm0
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp + 0x10], xmm0
mov eax, ebx
jmp 0x140035978
lea rax, str.onecore_basewcp_toolsmtmt_responsefile.cpp
mov qword [rbp - 0x80], rax
lea rax, str.CCommandLineResponseFilesHandler_StringQueue::AddToHead
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], 0x2d
lea rax, str.QueueElement.Allocate__
mov qword [rbp - 0x68], rax
mov edi, 0xc0000017
mov r8d, 0xc0000017
lea rcx, [rbp - 0x80]
call fcn.1400c81b4
nop
mov eax, edi
shr eax, 0x1f
xor al, 1
je 0x14003590a
int3
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14003593d
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
test rax, rax
je 0x140035938
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, 7
int 0x29
mov qword [rsp + 0x28], r13
mov rsi, qword [rbp + 0x10]
jmp 0x140035952
mov edi, 0xc0000095
mov eax, edi
shr eax, 0x1f
test al, al
jne 0x140035952
int3
test rsi, rsi
je 0x140035976
mov rcx, rsi
call fcn.140012410
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x18], rax
movups xmmword [rbp], xmm0
movsd xmm0, qword [rbp - 0x18]
movsd qword [rbp + 0x10], xmm0
mov eax, edi
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140109af0
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret