Function at 0x1400031f5
Capabilities:
Accept command line arguments

Disassembly:
push r15
mov rax, 9
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x1400031fe
sub rsp, 0x28
call fcn.1400123e0
mov rcx, qword [rsp + 0xa0]
call fcn.140006a58
movabs rax, 0x14001f0d4
mov qword [0x140020494], rax
mov qword [rsp + 0x28], 0
jmp 0x140003241
mov rax, 6
cmp rax, qword [rsp + 0x28]
jl 0x1400032ff
mov rax, qword [0x140020494]
movsx rax, byte [rax]
mov qword [rsp + 0x30], rax
inc qword [0x140020494]
push rcx
sub rsp, 0x28
call fcn.1400121c0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400121c0
add rsp, 0x28
pop rcx
push rax
mov r15, qword [rsp + 0x48]
imul r15, r15, 0xffffffffffffffff
mov rax, r15
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140007c90
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.140012210
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.1400121c0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140012450
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140012450
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.140012210
inc qword [rsp + 0x28]
jno 0x140003241
push rcx
sub rsp, 0x28
call fcn.1400121c0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400121c0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
sub rsp, 0x20
call sub.KERNEL32.dll_GetCommandLineW
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000ca00
add rsp, 0x28
lea rcx, [rsp + 0x50]
pop rdx
call fcn.140012210
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x28
call fcn.1400121c0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140012450
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.140012210
mov rax, qword [rsp + 0x50]
mov rax, rax
push rax
pop rcx
call sub.SHLWAPI.DLL_PathRemoveArgsW
mov qword [rsp + 0x58], rax
push qword [rsp + 0x50]
pop rcx
call fcn.140007cc0
mov qword [rsp + 0x60], rax
mov r15, qword [rsp + 0x60]
and r15, r15
jle 0x140003464
push rcx
sub rsp, 0x28
call fcn.1400121c0
add rsp, 0x28
pop rcx
push rax
movabs rcx, 0x14001f026
sub rsp, 0x28
call fcn.140012450
add rsp, 0x28
push rcx
sub rsp, 0x20
call fcn.1400121c0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400121c0
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call fcn.1400121c0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400121c0
add rsp, 0x28
pop rcx
push rax
mov r15, qword [rsp + 0x88]
inc r15
mov rax, r15
push rax
push qword [rsp + 0x78]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140008010
add rsp, 0x20
push rax
call fcn.1400125d0
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140007ef0
add rsp, 0x20
pop rax
lea rcx, [rsp + 0x70]
pop rdx
call fcn.140012210
push qword [rsp + 0x68]
push qword [rsp + 0x48]
pop rcx
pop rdx
call fcn.14000c45c
mov rcx, qword [rsp + 0x68]
push rcx
sub rsp, 0x28
call fcn.1400121c0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140012450
add rsp, 0x28
pop rax
push rax
call fcn.1400125a0
pop rdx
add rax, rdx
jmp 0x1400034ac
push rax
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140012360
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140012360
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.140012360
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.140012360
add rsp, 0x28
mov rcx, qword [rsp + 0x70]
sub rsp, 0x28
call fcn.140012360
add rsp, 0x28
pop rax
add rsp, 0x70
pop r15
ret