Function at 0x140003172
Capabilities:
Accept command line arguments

Disassembly:
push r15
mov rax, 9
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14000317b
sub rsp, 0x28
call fcn.140012b50
mov rcx, qword [rsp + 0xa0]
call fcn.140006b38
movabs rax, 0x14001f0cc
mov qword [0x14002050c], rax
mov qword [rsp + 0x28], 0
jmp 0x1400031be
mov rax, 6
cmp rax, qword [rsp + 0x28]
jl 0x14000327c
mov rax, qword [0x14002050c]
movsx rax, byte [rax]
mov qword [rsp + 0x30], rax
inc qword [0x14002050c]
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.140012930
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.140007c80
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.140012980
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140012bc0
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140012bc0
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.140012980
inc qword [rsp + 0x28]
jno 0x1400031be
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.140012930
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.14000d150
add rsp, 0x28
lea rcx, [rsp + 0x50]
pop rdx
call fcn.140012980
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140012bc0
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.140012980
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.140007cb0
mov qword [rsp + 0x60], rax
mov r15, qword [rsp + 0x60]
and r15, r15
jle 0x1400033e1
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
movabs rcx, 0x14001f026
sub rsp, 0x28
call fcn.140012bc0
add rsp, 0x28
push rcx
sub rsp, 0x20
call fcn.140012930
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call fcn.140012930
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.140012930
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.140008000
add rsp, 0x20
push rax
call fcn.140012d40
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140007ee0
add rsp, 0x20
pop rax
lea rcx, [rsp + 0x70]
pop rdx
call fcn.140012980
push qword [rsp + 0x68]
push qword [rsp + 0x48]
pop rcx
pop rdx
call fcn.14000c584
mov rcx, qword [rsp + 0x68]
push rcx
sub rsp, 0x28
call fcn.140012930
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140012bc0
add rsp, 0x28
pop rax
push rax
call fcn.140012d10
pop rdx
add rax, rdx
jmp 0x140003429
push rax
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140012ad0
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140012ad0
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.140012ad0
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.140012ad0
add rsp, 0x28
mov rcx, qword [rsp + 0x70]
sub rsp, 0x28
call fcn.140012ad0
add rsp, 0x28
pop rax
add rsp, 0x70
pop r15
ret