Function at 0x14007fbe4
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x678]
sub rsp, 0x770
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x1401740c0]
xor rax, rsp
mov qword [rbp + 0x660], rax
lea rcx, [rbp + 0x2f0]
call fcn.1400779dc
nop
lea rcx, [rbp - 0x50]
call fcn.140077b88
nop
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
cmp dword [rsp + 0x20], 2
je 0x14007fc65
lea ebx, [r14 + 1]
jmp 0x14007fe4d
lea rdx, str._terminate
mov rcx, qword [rax + 8]
call fcn.1400bdac4
test eax, eax
jne 0x14007fc85
call fcn.140093320
mov ebx, eax
jmp 0x14007fe4d
mov rdx, qword [rbx + 8]
lea rcx, [rsp + 0x28]
call fcn.140067e3c
nop
call fcn.14008f814
mov rdi, rax
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140069064
mov rdx, rax
mov rcx, rdi
call fcn.14008f914
test eax, eax
jne 0x14007fcd0
test rdi, rdi
je 0x14007fcc8
mov r8, qword [rdi]
lea edx, [rax + 1]
mov rcx, rdi
call qword [r8]
mov ebx, r14d
jmp 0x14007fe29
mov rcx, rdi
call fcn.14008f674
cmp dword [rax + 0x78], r14d
jne 0x14007fdfb
lea rax, vtable.WTL::CMessageLoop.0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140176390]
lea rcx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x24]
mov rcx, qword [0x1401764f8]
call fcn.1400786c0
lea rcx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rdi
call fcn.14008f674
mov ebx, 1
xor r8d, r8d
xor edx, edx
cmp dword [rax + 0x90], r14d
jne 0x14007fd70
lea rcx, [rbp + 0x2f0]
call fcn.1400798ec
jmp 0x14007fd79
lea rcx, [rbp - 0x50]
call fcn.140079978
test rax, rax
jne 0x14007fdb8
test rdi, rdi
je 0x14007fd8e
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
call qword [rax]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007fda2
call fcn.1400bdb90
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007fe29
call fcn.1400bdb90
jmp 0x14007fe29
lea rcx, [rsp + 0x40]
call fcn.14007fe94
mov esi, eax
lea rcx, [0x1401764a0]
call fcn.14007fb5c
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007fde5
call fcn.1400bdb90
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007fe15
call fcn.1400bdb90
jmp 0x14007fe15
mov rcx, rdi
call fcn.140090bb4
mov rcx, rdi
call fcn.140093508
mov rcx, rdi
call fcn.14008f904
mov esi, eax
test rdi, rdi
je 0x14007fe27
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov ebx, esi
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14007fe4d
or edx, 0xffffffff
lock xadd dword [rcx], edx
sub edx, 1
jg 0x14007fe4d
call fcn.1400b0230
nop
lea rcx, [rbp - 0x50]
call fcn.14007826c
nop
lea rcx, [rbp + 0x2f0]
call fcn.140078048
mov eax, ebx
mov rcx, qword [rbp + 0x660]
xor rcx, rsp
call fcn.1400b0730
lea r11, [rsp + 0x770]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret