Function at 0x140009168
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov r12d, r9d
mov rsi, rcx
call fcn.140004e30
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor r13d, r13d
mov qword [0x14010c0f0], rax
mov dil, r13b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x40]
mov rdx, rax
call fcn.14006160c
mov r11, qword [rsp + 0x40]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x90], r11
call fcn.14004f534
mov edx, r12d
mov rcx, rsi
call fcn.140027ba4
mov rbp, qword [rsp + 0x90]
lea r8d, [r13 + 5]
lea rcx, [rsp + 0x90]
xor edx, edx
call fcn.140023d48
mov qword [rsp + 0x90], rax
cmp rax, r13
je 0x14000944e
lea r14d, [r13 + 0x20]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.14004f534
mov rbx, qword [rsp + 0x20]
mov eax, 0x22
cmp ax, word [rbx]
jne 0x14000922b
add rbx, 2
lea rcx, [0x1400eee00]
mov r8d, 4
mov rdx, rbx
call fcn.140050a6c
cmp al, r13b
je 0x1400092f1
mov eax, 9
cmp ax, word [rbx + 8]
ja 0x14000925b
cmp word [rbx + 8], 0xd
jbe 0x140009266
cmp r14w, word [rbx + 8]
jne 0x1400092f1
lea rcx, [0x14010ba00]
mov edx, 0x6592
call fcn.140057254
mov rax, qword [0x14010ba00]
mov r9d, 0x6590
mov word [rax], r13w
mov r8, qword [0x14010ba00]
mov edx, 0x2713
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, qword [0x14010ba00]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [0x14010ba00]
movsxd rdx, eax
add rdx, 2
call fcn.140057254
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.14006160c
mov rcx, qword [rsp + 0x28]
call fcn.140007324
lea rcx, [rsp + 0x28]
call fcn.14004f564
lea rcx, [0x14010ba00]
mov byte [section.flag_dat], r13b
call fcn.14004f564
mov rdx, qword [rsp + 0x20]
lea rcx, str.MAIN
mov r8d, 4
call fcn.140050a6c
cmp al, r13b
je 0x14000938b
mov rax, qword [rsp + 0x20]
mov edx, 9
add rax, 8
cmp dx, word [rax]
ja 0x140009326
cmp word [rax], 0xd
jbe 0x140009336
cmp r14w, word [rax]
je 0x140009336
mov ecx, 0x2a
cmp cx, word [rax]
jne 0x14000938b
cmp dx, word [rax]
ja 0x140009341
cmp word [rax], 0xd
jbe 0x14000934a
mov bl, r13b
cmp r14w, word [rax]
jne 0x14000934c
mov bl, 1
lea rcx, [rsp + 0x30]
mov byte [0x14010b8d6], r13b
mov qword [rsp + 0x30], rax
call fcn.14004f534
cmp bl, r13b
je 0x140009476
mov rdx, qword [rsp + 0x30]
lea rcx, [0x1400eedf4]
mov r8d, 3
call fcn.140050a10
cmp al, r13b
je 0x140009476
cmp dil, 2
jge 0x14000939d
lea rcx, [0x14010ba34]
call fcn.140004bb4
mov al, byte [0x14010bee8]
mov rcx, rbp
mov byte [0x14010b8d5], al
call fcn.140004c50
lea rcx, [0x14010bee0]
xor edx, edx
call fcn.140042a24
or r9, 0xffffffffffffffff
lea rdx, [0x1400eedf0]
lea rcx, [0x14010bf50]
or r8, r9
call fcn.140057310
mov rax, qword [0x14010ba10]
mov dword [0x14010bf40], r13d
mov qword [0x14010bf48], r13
mov byte [section.flag_dat], r13b
mov byte [0x14010ba35], r14b
cmp rax, r13
je 0x1400094a4
mov edx, r12d
mov rcx, rsi
mov byte [0x14010921f], 1
mov qword [rsp + 0x90], rax
mov dil, 2
call fcn.140027ba4
mov rbp, qword [rsp + 0x90]
xor edx, edx
lea rcx, [rsp + 0x90]
lea r8d, [rdx + 5]
call fcn.140023d48
mov qword [rsp + 0x90], rax
cmp rax, r13
jne 0x140009209
or ebx, 0xffffffff
lea rcx, [rsp + 0x40]
call fcn.14004f564
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x38]
add rdx, 8
call fcn.14006160c
mov rdx, qword [rsp + 0x38]
lea rcx, [0x14010bee0]
call fcn.14003e7e8
lea rcx, [rsp + 0x38]
call fcn.14004f564
cmp byte [0x14010bbb7], r13b
je 0x1400094b2
call fcn.1400172f0
lea rcx, [0x14010bee0]
call fcn.14004fc24
mov rcx, rax
mov rbx, rax
call fcn.14004f62c
jmp 0x140009451