Function at 0x14000a88c
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 rdi, rcx
mov ecx, 1
mov ebp, r9d
call fcn.1400050d4
mov r11, qword [0x140133a68]
xor r13d, r13d
cmp r11, r13
jne 0x14000a8d4
cmp rdi, r13
cmovne r11, rdi
mov qword [0x140133a68], r11
mov sil, r13b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x40]
mov rdx, rax
call fcn.14006d808
mov r11, qword [rsp + 0x40]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x90], r11
call fcn.1400592c8
mov edx, ebp
mov rcx, rdi
call fcn.14002760c
mov r12, qword [rsp + 0x90]
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rsp + 0x90]
call fcn.140024c20
mov qword [rsp + 0x90], rax
cmp rax, r13
je 0x14000ab84
mov r14d, 0x20
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.1400592c8
mov rbx, qword [rsp + 0x20]
mov eax, 0x22
cmp ax, word [rbx]
jne 0x14000a962
add rbx, 2
lea rcx, [0x1401152b8]
mov r8d, 4
mov rdx, rbx
call fcn.14005a974
cmp al, r13b
je 0x14000aa28
mov eax, 9
cmp ax, word [rbx + 8]
ja 0x14000a992
cmp word [rbx + 8], 0xd
jbe 0x14000a99d
cmp r14w, word [rbx + 8]
jne 0x14000aa28
lea rcx, [0x140133ab8]
mov edx, 0x6592
call fcn.1400619c8
mov rax, qword [0x140133ab8]
mov r9d, 0x6590
mov word [rax], r13w
mov r8, qword [0x140133ab8]
mov edx, 0x2713
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, qword [0x140133ab8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [0x140133ab8]
movsxd rdx, eax
add rdx, 2
call fcn.1400619c8
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.14006d808
mov rcx, qword [rsp + 0x28]
call fcn.140008434
lea rcx, [rsp + 0x28]
call fcn.1400592f8
lea rcx, [0x140133ab8]
mov byte [section.flag_dat], r13b
call fcn.140059278
mov rdx, qword [rsp + 0x20]
lea rcx, str.MAIN
mov r8d, 4
call fcn.14005a974
cmp al, r13b
je 0x14000aac2
mov rax, qword [rsp + 0x20]
mov edx, 9
add rax, 8
cmp dx, word [rax]
ja 0x14000aa5d
cmp word [rax], 0xd
jbe 0x14000aa6d
cmp r14w, word [rax]
je 0x14000aa6d
mov ecx, 0x2a
cmp cx, word [rax]
jne 0x14000aac2
cmp dx, word [rax]
ja 0x14000aa78
cmp word [rax], 0xd
jbe 0x14000aa81
mov bl, r13b
cmp r14w, word [rax]
jne 0x14000aa83
mov bl, 1
lea rcx, [rsp + 0x30]
mov byte [0x14013396a], r13b
mov qword [rsp + 0x30], rax
call fcn.1400592c8
cmp bl, r13b
je 0x14000abac
mov rdx, qword [rsp + 0x30]
lea rcx, [0x1401152ac]
mov r8d, 3
call fcn.14005a918
cmp al, r13b
je 0x14000abac
cmp sil, 2
jge 0x14000aad4
lea rcx, [0x140133af8]
call fcn.140004e58
mov al, byte [0x1401340d8]
mov rcx, r12
mov byte [0x140133969], al
call fcn.140004ef4
lea rcx, [0x1401340d0]
xor edx, edx
call fcn.14004d6f4
or r9, 0xffffffffffffffff
lea rdx, [0x1401152a8]
lea rcx, [0x140134140]
or r8, r9
call fcn.140061a84
mov rax, qword [0x140133ac8]
mov dword [0x140134130], r13d
mov qword [0x140134138], r13
mov byte [section.flag_dat], r13b
mov byte [0x140133af9], r14b
cmp rax, r13
je 0x14000abda
mov edx, ebp
mov rcx, rdi
mov byte [0x14013124f], 1
mov qword [rsp + 0x90], rax
mov sil, 2
call fcn.14002760c
mov r12, qword [rsp + 0x90]
xor edx, edx
lea rcx, [rsp + 0x90]
lea r8d, [rdx + 5]
call fcn.140024c20
mov qword [rsp + 0x90], rax
cmp rax, r13
jne 0x14000a940
or ebx, 0xffffffff
lea rcx, [rsp + 0x40]
call fcn.1400592f8
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.14006d808
mov rdx, qword [rsp + 0x38]
lea rcx, [0x1401340d0]
call fcn.140044988
lea rcx, [rsp + 0x38]
call fcn.1400592f8
cmp byte [0x140133cb3], r13b
je 0x14000abe8
call fcn.140019aac
lea rcx, [0x1401340d0]
call fcn.1400599c8
mov rcx, rax
mov rbx, rax
call fcn.1400593c0
jmp 0x14000ab87