Function at 0x10002d4e0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x270]
mov qword [rbp - 0x248], 0
nop
mov dword [0x100293c10], 0
lea rdx, [rbp - 0x234]
mov r8d, 0x208
xor ecx, ecx
call sub.kernel32.dll_GetModuleFileNameW
and eax, eax
mov qword [rbp - 8], rax
mov word [rbp + rax*2 - 0x234], 0
mov r8d, dword [rbp - 8]
xor edx, edx
mov rcx, rbp
call fcn.10002d7f0
mov r8, qword [rbp - 8]
shl r8, 1
mov rax, qword [0x100293c00]
mov rdx, qword [rax]
lea rcx, [rbp - 0x234]
call fcn.100002d90
mov qword [rbp - 0x240], 0
call sub.kernel32.dll_GetCommandLineW
mov qword [rbp - 0x240], rax
mov rcx, rax
call fcn.100003fc0
mov qword [rbp - 0x18], rax
mov rdx, rax
lea rcx, [rbp - 0x248]
call fcn.10000b130
mov r8, qword [rbp - 0x18]
shl r8, 1
mov rcx, qword [rbp - 0x240]
mov rdx, qword [rbp - 0x248]
call fcn.100002d90
mov qword [rbp - 0x20], 1
jmp 0x10002d7af
add qword [rbp - 0x20], 1
mov rax, qword [rbp - 0x20]
cmp rax, qword [rbp - 0x18]
jg 0x10002d5db
mov rax, qword [rbp - 0x248]
mov rdx, qword [rbp - 0x20]
cmp word [rax + rdx*2 - 2], 0x20
jbe 0x10002d5b8
mov rax, qword [rbp - 0x20]
cmp rax, qword [rbp - 0x18]
jg 0x10002d7bd
nop dword [rax]
mov byte [rbp - 0x2c], 0
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 0
jmp 0x10002d67d
mov rax, qword [rbp - 0x248]
mov rdx, qword [rbp - 0x20]
mov ax, word [rax + rdx*2 - 2]
cmp ax, 1
jb 0x10002d670
sub ax, 0x20
jbe 0x10002d62c
sub ax, 2
je 0x10002d63c
jmp 0x10002d670
cmp byte [rbp - 0x2c], 0
je 0x10002d687
add qword [rbp - 8], 1
jmp 0x10002d678
mov rax, qword [rbp - 0x20]
cmp rax, qword [rbp - 0x18]
jge 0x10002d668
mov rdx, qword [rbp - 0x248]
mov rax, qword [rbp - 0x20]
add rax, 1
cmp word [rdx + rax*2 - 2], 0x22
je 0x10002d668
cmp byte [rbp - 0x2c], 0
sete byte [rbp - 0x2c]
jmp 0x10002d678
add qword [rbp - 0x20], 1
jmp 0x10002d678
add qword [rbp - 8], 1
nop dword [rax]
add qword [rbp - 0x20], 1
mov rax, qword [rbp - 0x20]
cmp rax, qword [rbp - 0x18]
jle 0x10002d608
cmp dword [0x100293c10], 0
jle 0x10002d7a8
mov r8d, dword [rbp - 8]
mov edx, dword [0x100293c10]
mov rcx, rbp
call fcn.10002d7f0
mov byte [rbp - 0x2c], 0
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], 1
jmp 0x10002d799
mov rdx, qword [rbp - 0x248]
mov rax, qword [rbp - 0x20]
mov ax, word [rdx + rax*2 - 2]
cmp ax, 1
jb 0x10002d760
sub ax, 0x20
jbe 0x10002d6ec
sub ax, 2
je 0x10002d72c
jmp 0x10002d760
cmp byte [rbp - 0x2c], 0
je 0x10002d7a7
mov rax, qword [0x100293c00]
movsxd rdx, dword [0x100293c10]
mov rcx, qword [rax + rdx*8]
mov r8, qword [rbp - 0x28]
mov rax, qword [rbp - 0x248]
mov rdx, qword [rbp - 0x20]
mov ax, word [rax + rdx*2 - 2]
mov word [rcx + r8*2 - 2], ax
add qword [rbp - 0x28], 1
jmp 0x10002d794
mov rax, qword [rbp - 0x20]
cmp rax, qword [rbp - 0x18]
jge 0x10002d758
mov rdx, qword [rbp - 0x248]
mov rax, qword [rbp - 0x20]
add rax, 1
cmp word [rdx + rax*2 - 2], 0x22
je 0x10002d758
cmp byte [rbp - 0x2c], 0
sete byte [rbp - 0x2c]
jmp 0x10002d794
add qword [rbp - 0x20], 1
jmp 0x10002d794
mov rdx, qword [0x100293c00]
movsxd rax, dword [0x100293c10]
mov r8, qword [rdx + rax*8]
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x248]
mov rax, qword [rbp - 0x20]
mov ax, word [rdx + rax*2 - 2]
mov word [r8 + rcx*2 - 2], ax
add qword [rbp - 0x28], 1
nop dword [rax]
add qword [rbp - 0x20], 1
mov rax, qword [rbp - 0x20]
cmp rax, qword [rbp - 0x18]
jle 0x10002d6c0
nop
add dword [0x100293c10], 1
mov rax, qword [rbp - 0x20]
cmp rax, qword [rbp - 0x18]
jle 0x10002d5bd
sub dword [0x100293c10], 1
cmp word [0x100291030], 0xfde9
jne 0x10002d7d4
call fcn.10002d390
nop
mov rcx, rbp
call fcn.10002d4c0
nop
lea rsp, [rbp]
pop rbp
ret