Function at 0x100035144
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x270
mov rax, qword [0x1000aa140]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r14d, 1
mov rbx, rcx
mov dl, r14b
call fcn.100032830
mov rax, qword [rbx + 0xe0]
lea rcx, [rsp + 0x52]
mov bpl, byte [rax + 0xd]
xor r13d, r13d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], r13w
call sub.msvcrt.dll_memset
mov esi, 0x104
lea rcx, [rsp + 0x50]
mov rdx, rsi
mov edi, r13d
call fcn.1000643a4
lea rcx, [rsp + 0x50]
cmp al, r13b
jne 0x1000351dd
lea r8, [0x100014610]
mov rdx, rsi
call sub.msvcrt.dll_wcscpy_s
lea r12d, [r14 + 0x27]
mov edi, r12d
jmp 0x100035221
mov edx, 0x5c
call qword [sym.imp.msvcrt.dll_wcschr]
mov r12d, 0x28
cmp rax, r13
jne 0x10003521e
lea edx, [r12 + 7]
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_wcschr]
cmp rax, r13
jne 0x10003521e
lea rcx, [rsp + 0x50]
mov dx, 0x3a
call qword [sym.imp.msvcrt.dll_wcschr]
cmp rax, r13
cmove edi, r12d
mov bpl, r14b
lea rdx, [0x100014610]
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, r13d
je 0x1000352a0
lea rdx, [rsp + 0x50]
mov r8d, edi
mov rcx, rbx
call fcn.100037488
cmp al, r13b
jne 0x1000352a0
mov edx, 0x1785
mov byte [rsp + 0x30], r14b
mov r9d, 0xffff
lea ecx, [rdx - 1]
mov r8d, r14d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call fcn.100064784
mov rax, qword [rbx]
mov edx, dword [rbx + 8]
mov rcx, rbx
mov byte [rbx + 0x12a], r14b
call qword [rax + 0x10]
mov eax, dword [rbx + 8]
mov edx, r14d
mov dword [rbx + 0xc], eax
mov rax, qword [rbx]
mov rcx, rbx
mov dword [rbx + 8], r14d
call qword [rax + 8]
jmp 0x1000353ce
lea rdx, [rsp + 0x50]
mov r8d, edi
mov rcx, rbx
call fcn.100037488
cmp al, r14b
jne 0x100035388
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r13d
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rsp + 0x40], r14d
mov r8d, r14d
jle 0x100035306
lea rdx, [rax + 8]
mov rsi, qword [rdx]
lea rdi, [0x100017718]
mov ecx, 9
repe cmpsw word [rsi], word [rdi]
je 0x10003537f
add r8d, r14d
add rdx, 8
cmp r8d, dword [rsp + 0x40]
jl 0x1000352e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp bpl, r13b
jne 0x10003532b
mov rcx, qword [0x1000b5f98]
call fcn.10002ee54
movzx ebp, bpl
cmp al, r13b
cmovne ebp, r14d
mov rcx, qword [0x1000b5f78]
call fcn.100036fd4
cmp bpl, r13b
je 0x100035416
cmp al, r13b
jne 0x1000353fa
mov edx, 0x1785
mov byte [rsp + 0x30], r14b
mov r9d, 0xffff
lea ecx, [rdx - 1]
mov r8d, r14d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call fcn.100064784
lea rcx, [0x100014610]
mov edx, r12d
call fcn.10003b058
jmp 0x10003539d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbx + 0xe0]
cmp byte [rax + 0x10], r13b
je 0x10003539d
mov rcx, rbx
call fcn.100036af8
mov rax, qword [rbx]
mov edx, dword [rbx + 8]
mov rcx, rbx
mov byte [rbx + 0x12a], r14b
call qword [rax + 0x10]
mov edx, dword [rbx + 8]
mov dword [rbx + 0xc], edx
mov dword [rbx + 8], r14d
mov edx, r14d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, rbx
call fcn.100032b44
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.10009dad0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov rax, qword [rbx]
mov edx, dword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x10]
mov edx, dword [rbx + 8]
mov dword [rbx + 0xc], edx
mov edx, 3
mov dword [rbx + 8], edx
jmp 0x1000353bd
mov rax, qword [rbx + 0xe0]
cmp byte [rax + 0x10], r13b
je 0x10003542b
mov rcx, rbx
call fcn.100036af8
mov rcx, rbx
call fcn.100037228
mov rax, qword [rbx]
mov edx, dword [rbx + 8]
mov rcx, rbx
mov byte [rbx + 0x12a], r14b
call qword [rax + 0x10]
mov edx, dword [rbx + 8]
mov rax, qword [rbx]
mov dword [rbx + 0xc], edx
mov rcx, rbx
mov edx, r14d
mov dword [rbx + 8], r14d
call qword [rax + 8]
lea rcx, [0x100014610]
mov edx, r12d
call fcn.10003b058
mov rdx, qword [rbx + 0xe8]
xor r8d, r8d
movsxd rcx, dword [rdx + 0x18]
mov edx, dword [rdx + 0x14]
mov rcx, qword [rbx + rcx*8 + 0xc8]
call fcn.100030d50
jmp 0x1000353c6