Function at 0x140045490
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x3c8]
sub rsp, 0x4c0
mov rax, qword [0x140079080]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rbx, rcx
lea rcx, [0x14008688d]
call fcn.1400517a8
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor esi, esi
test eax, eax
je 0x140045791
cmp eax, 0x104
je 0x140045791
xorps xmm0, xmm0
mov qword [rsp + 0x60], rsi
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x68], rsi
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov r8, rax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.140004880
lea rdi, [0x14005e4fc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
cmp qword [rsp + 0x68], 7
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov r9, rdi
cmova rcx, qword [rsp + 0x50]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call fcn.1400452f4
cmp qword [rsp + 0x60], rax
lea rdx, [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rsi
cmovb rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x68], 7
mov r8, rax
movups xmmword [rsp + 0x30], xmm0
cmova rdx, qword [rsp + 0x50]
mov qword [rsp + 0x48], rsi
call fcn.140004880
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
cmp qword [rsp + 0x48], 7
lea rcx, [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov r9, rdi
cmova rcx, qword [rsp + 0x30]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call fcn.1400452f4
cmp qword [rsp + 0x40], rax
lea rdx, [rsp + 0x30]
xorps xmm0, xmm0
lea rcx, [rsp + 0x70]
cmovb rax, qword [rsp + 0x40]
xorps xmm1, xmm1
cmp qword [rsp + 0x48], 7
mov r8, rax
movups xmmword [rsp + 0x70], xmm0
cmova rdx, qword [rsp + 0x30]
movdqu xmmword [rbp - 0x80], xmm1
call fcn.140004880
cmp qword [rbp - 0x78], 7
lea rcx, [rsp + 0x70]
cmova rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
call fcn.1400059d8
test al, al
je 0x140045645
call fcn.1400059fc
movzx ecx, al
xor ecx, 1
inc ecx
jmp 0x140045699
xor edx, edx
lea rcx, [rbp + 0x1a0]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
dec eax
cmp eax, 0x102
ja 0x14004569e
lea rdx, [0x14005e500]
lea rcx, [rbp + 0x1a0]
call sub.VCRUNTIME140.dll_wcsstr
mov ecx, 1
test rax, rax
jne 0x140045699
mov ecx, 2
call fcn.14001c228
mov rdx, rdi
mov rcx, rbx
call fcn.14004280c
mov rdx, qword [rbp - 0x78]
mov ebx, eax
mov edi, 0x1000
cmp rdx, 7
jbe 0x1400456ed
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x1400456e8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045781
call fcn.140051634
mov rdx, qword [rsp + 0x48]
movdqa xmm0, xmmword [0x14005d310]
mov word [rsp + 0x70], si
movdqu xmmword [rbp - 0x80], xmm0
cmp rdx, 7
jbe 0x140045739
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x140045734
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045781
call fcn.140051634
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
invalid
invalid