Function at 0x140082da0
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x668]
sub rsp, 0x760
mov rax, qword [0x1400ef0c8]
xor rax, rsp
mov qword [rbp + 0x650], rax
lea rcx, [rbp + 0x2e0]
call fcn.14007aca4
nop
lea rcx, [rbp - 0x60]
call fcn.14007ae48
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 0x140082e19
lea ebx, [r14 + 1]
jmp 0x140083006
lea rdx, str._terminate
mov rcx, qword [rax + 8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
jne 0x140082e3a
call fcn.140095f24
mov ebx, eax
jmp 0x140083006
mov rdx, qword [rbx + 8]
lea rcx, [rsp + 0x28]
call fcn.14006c728
nop
call fcn.1400924c4
mov rdi, rax
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14006dda4
mov rdx, rax
mov rcx, rdi
call fcn.140092550
test eax, eax
jne 0x140082e85
test rdi, rdi
je 0x140082e7d
mov r8, qword [rdi]
lea edx, [rax + 1]
mov rcx, rdi
call qword [r8]
mov ebx, r14d
jmp 0x140082fe2
mov rcx, rdi
call fcn.1400922a0
cmp dword [rax + 0x78], r14d
jne 0x140082fb4
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 [0x1400f0668]
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 [0x1400f0798]
call fcn.14007b904
lea rcx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rdi
call fcn.1400922a0
mov ebx, 1
xor r8d, r8d
xor edx, edx
cmp dword [rax + 0x90], r14d
jne 0x140082f25
lea rcx, [rbp + 0x2e0]
call fcn.14007ca6c
jmp 0x140082f2e
lea rcx, [rbp - 0x60]
call fcn.14007cb4c
test rax, rax
jne 0x140082f6f
test rdi, rdi
je 0x140082f43
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
call qword [rax]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140082f58
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140082fe2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140082fe2
lea rcx, [rsp + 0x40]
call fcn.14008304c
mov esi, eax
lea rcx, [0x1400f0740]
call fcn.140082d1c
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140082f9d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140082fce
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140082fce
mov rcx, rdi
call fcn.1400938a8
mov rcx, rdi
call fcn.1400960f8
mov rcx, rdi
call fcn.140092540
mov esi, eax
test rdi, rdi
je 0x140082fe0
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 [0x1400ef010]
je 0x140083006
or edx, 0xffffffff
lock xadd dword [rcx], edx
sub edx, 1
jg 0x140083006
call fcn.1400b0a54
nop
lea rcx, [rbp - 0x60]
call fcn.14007b414
nop
lea rcx, [rbp + 0x2e0]
call fcn.14007b1f0
mov eax, ebx
mov rcx, qword [rbp + 0x650]
xor rcx, rsp
call fcn.1400b0f60
lea r11, [rsp + 0x760]
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