Function at 0x100001a58
Capabilities:
Accept command line arguments

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x10000b110]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
lea rdx, [0x100000000]
mov edi, ecx
mov eax, dword [rdx + 0x1498]
mov dword [rsp + 0x20], ecx
lea rcx, [r11 - 0x40]
mov dword [rcx], eax
mov al, byte [rdx + 0x149c]
xor r15d, r15d
mov byte [rcx + 4], al
xor eax, eax
lea r14d, [r15 + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, r14d
mov dword [rsp + 0x2d], eax
mov word [rsp + 0x31], ax
mov byte [rsp + 0x33], al
movzx r13d, r15w
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
cmp eax, r15d
jne 0x100001ae5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.10000572c
mov dword [0x100010f64], edi
mov qword [0x100010f68], rbx
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
lea rdx, [0x100015fa0]
mov ecx, eax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCPInfo]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
cmp edi, r15d
je 0x100001b2f
lea r8, [0x1000014a0]
lea rcx, [rsp + 0x28]
mov r9d, edi
mov edx, 0xc
call fcn.100008ad6
lea rdx, [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_setlocale]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x100015f88], rax
cmp rax, 0xffffffffffffffff
jne 0x100001b6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
mov ecx, eax
call fcn.100005818
mov ecx, 2
call fcn.100005934
int3
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x100015fb8], rax
cmp rax, 0xffffffffffffffff
jne 0x100001ba0
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
mov ecx, eax
call fcn.100005818
mov ecx, 2
call fcn.100005934
int3
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1000065a4
mov r11, rax
mov qword [0x100015f90], rax
cmp rax, r15
jne 0x100001bd7
xor edx, edx
lea ecx, [rdx + 8]
call fcn.100005818
mov ecx, 2
call fcn.100005934
int3
mov esi, dword [rsp + 0x20]
add r11, 8
movzx ebp, r15w
sub esi, r14d
mov qword [0x100015f90], r11
movzx r12d, r15w
je 0x100001d0b
mov ebx, 2
mov rdx, qword [r11]
mov eax, 0x100
cmp word [rdx], 0x2f
jne 0x100001cc9
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
cmp cx, r14w
jle 0x100001c96
movsx rdi, cx
lea rcx, str._YES
mov r8, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r15d
jne 0x100001c54
cmp dword [0x100010f60], ebx
je 0x100001d9b
mov dword [0x100010f60], r14d
jmp 0x100001c86
mov rdx, qword [0x100015f90]
lea rcx, [0x10000cbc0]
mov r8, rdi
mov rdx, qword [rdx]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r15d
jne 0x100001c8f
cmp dword [0x100010f60], r14d
je 0x100001daf
mov dword [0x100010f60], ebx
mov r11, qword [0x100015f90]
jmp 0x100001cf3
mov r11, qword [0x100015f90]
mov eax, 0x100
cmp bp, ax
jge 0x100001dc3
mov rax, qword [r11]
movsx rcx, bp
lea rdi, [0x100000000]
mov qword [rdi + rcx*8 + 0x10510], rax
mov word [rdi + rcx*2 + 0x10d10], r13w
add bp, r14w
jmp 0x100001cf3
cmp r12w, ax
jge 0x100001dd7
movsx rax, r12w
lea rcx, [0x100000000]
add r12w, r14w
mov qword [rcx + rax*8 + 0xfb10], rdx
mov word [rcx + rax*2 + 0x10310], r13w
add r11, 8
add r13w, r14w
sub esi, r14d
mov qword [0x100015f90], r11
jne 0x100001bfc
lea rcx, [0x100016fc0]
xor r8d, r8d
mov edx, 0x2000
call fcn.100001ed4
lea rcx, [0x100015fc0]
xor r8d, r8d
mov edx, 0x1000
call fcn.100001ed4
mov rcx, qword [sym.imp.msvcrt.dll__iob]
call qword [sym.imp.msvcrt.dll__fileno]
mov edx, 0x4000
mov ecx, eax
call qword [sym.imp.msvcrt.dll__setmode]
lea rcx, [0x100011e20]
mov qword [0x100011f60], rcx
mov qword [0x100011f68], rcx
call qword [0x10000b898]
mov edx, dword [0x100011e28]
mov rax, qword [0x100011e20]
xor r8d, r8d
mov dword [0x1000111a0], edx
lea rdx, [0x1000119e0]
xor ecx, ecx
mov qword [0x1000111a8], rax
call fcn.100006010
xor ecx, ecx
call fcn.100005934
int3
xor edx, edx
mov ecx, 0xdb6
call fcn.100005818
mov ecx, ebx
call fcn.100005934
int3
xor edx, edx
mov ecx, 0xdb6
call fcn.100005818
mov ecx, ebx
call fcn.100005934
int3
xor edx, edx
mov ecx, 0xdaf
call fcn.100005818
mov ecx, ebx
call fcn.100005934
int3
xor edx, edx
mov ecx, 0xdaf
call fcn.100005818
mov ecx, ebx
call fcn.100005934
int3