Function at 0x140098560
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
mov rbp, rsp
sub rsp, 0x60
mov qword [rax + 0x10], rdi
xor edi, edi
mov qword [rax + 0x20], r13
mov r13, rcx
lea rcx, [rbp - 0x30]
mov qword [rax - 0x20], r14
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
call fcn.1400989b0
movsxd rdx, dword [rbp - 0x38]
mov rsi, rax
mov rbx, rdx
inc edx
mov dword [rbp - 0x38], edx
cmp edx, dword [rbp - 0x34]
jle 0x1400985b1
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.14002e6b0
mov edx, dword [rbp - 0x38]
mov rcx, rbx
shl rcx, 4
add rcx, qword [rbp - 0x40]
je 0x1400985c9
mov rdx, rsi
call fcn.14001a3d0
mov edx, dword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400985da
call fcn.14003e1e0
mov edx, dword [rbp - 0x38]
mov eax, dword [0x14049c108]
test eax, eax
jle 0x140098627
dec eax
movsxd rsi, edx
inc edx
movsxd rbx, eax
shl rbx, 4
add rbx, qword [0x14049c100]
mov dword [rbp - 0x38], edx
cmp edx, dword [rbp - 0x34]
jle 0x14009860f
mov edx, esi
lea rcx, [rbp - 0x40]
call fcn.14002e6b0
mov edx, dword [rbp - 0x38]
mov rcx, rsi
shl rcx, 4
add rcx, qword [rbp - 0x40]
je 0x140098627
mov rdx, rbx
call fcn.14001a3d0
mov edx, dword [rbp - 0x38]
cmp dword [0x14049c118], edi
mov esi, edi
jle 0x1400986d3
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x50], r15
mov r15, rdi
nop word [rax + rax]
mov r12, qword [0x14049c110]
movsxd rbx, edx
inc edx
mov dword [rbp - 0x38], edx
cmp edx, dword [rbp - 0x34]
jle 0x140098672
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.14002e6b0
mov edx, dword [rbp - 0x38]
shl rbx, 4
add rbx, qword [rbp - 0x40]
je 0x1400986b8
mov qword [rbx], rdi
movsxd r14, dword [r15 + r12 + 8]
mov r12, qword [r15 + r12]
mov dword [rbx + 8], r14d
test r14d, r14d
jne 0x140098696
mov dword [rbx + 0xc], edi
jmp 0x1400986b5
xor r8d, r8d
mov edx, r14d
mov rcx, rbx
call fcn.1400146f0
mov rcx, qword [rbx]
mov r8, r14
add r8, r8
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rbp - 0x38]
inc esi
add r15, 0x10
cmp esi, dword [0x14049c118]
jl 0x140098650
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x90]
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, str.dllerrors
call fcn.140080720
test al, al
jne 0x140098712
mov ebx, 0x8000
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, str.unattended
call fcn.140080720
test al, al
mov ecx, 0x8003
cmovne ebx, ecx
lea rdx, [rbp + 0x20]
mov dword [rbp + 0x20], edi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetThreadErrorMode]
mov qword [rbp - 0x30], rdi
mov r14d, eax
mov qword [rbp - 0x28], rdi
test r13, r13
je 0x140098774
cmp word [r13], di
je 0x140098774
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [r13 + rbx*2], di
jne 0x140098740
inc ebx
mov dword [rbp - 0x28], ebx
test ebx, ebx
jle 0x140098763
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140014910
mov rdi, qword [rbp - 0x30]
movsxd r8, ebx
mov rdx, r13
add r8, r8
mov rcx, rdi
call fcn.140027910
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140099640
mov rcx, qword [rbp - 0x30]
mov rsi, rax
test rcx, rcx
je 0x140098792
call fcn.14003e1e0
test rsi, rsi
jne 0x1400987b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x1400987b4
call fcn.14003e3b0
mov rdx, r13
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x48]
mov r13, qword [rsp + 0x98]
test r14d, r14d
mov r14, qword [rsp + 0x58]
je 0x1400987d1
mov ecx, dword [rbp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetThreadErrorMode]
mov edi, dword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
test edi, edi
je 0x1400987fa
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400987ed
call fcn.14003e1e0
add rbx, 0x10
sub edi, 1
jne 0x1400987e0
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rsp + 0x88]
test rbx, rbx
je 0x14009880f
mov rcx, rbx
call fcn.14003e1e0
mov rax, rsi
add rsp, 0x60
pop rsi
pop rbx
pop rbp
ret