Function at 0x140013c00
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x19c0]
mov eax, 0x1ac0
call fcn.140067f60
sub rsp, rax
mov rax, qword [0x14008b180]
xor rax, rsp
mov qword [rbp + 0x19b0], rax
mov rdi, rcx
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x1590], eax
mov r9, 0xffffffffffffffff
lea r8, str.ExecCmdLine
mov edx, 0x102
lea rcx, [rbp + 0x1594]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x140073f4c]
mov edx, 0x104
lea rcx, [rbp + 0x1594]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.ExecCmdLine
mov edx, 0x104
lea rcx, [rbp + 0x179c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x14008e500]
mov eax, dword [0x14008e504]
xor ebx, ebx
lea esi, [rbx + 1]
lea r15, str.____s
add ecx, eax
je 0x140013d5a
mov dword [rsp + 0x48], ebx
call fcn.140017d60
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x140013cee
call fcn.140017d60
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov dword [rbp - 0x60], 0x20
lea rax, [rbp + 0x1594]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rax, [rbp + 0x179c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x60]
movsx edx, si
call fcn.140001e10
nop
mov qword [rsp + 0x40], rbx
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x140013d55
call fcn.14001db10
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x140013d40
lock inc dword [rsp + 0x48]
mov dword [rbp + 0xd0], ebx
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14, rax
test rax, rax
jne 0x140013de0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea r8, str.ExecCmdLine
lea edx, [r14 + 8]
lea rcx, [rbp - 0x28]
call fcn.140002b50
mov rdi, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x140013dc8
lea rdx, str.Failed_CommandLineToArgvW_err
mov rcx, rdi
call fcn.140029400
movzx eax, byte [rdi + 0x80]
test al, al
je 0x140013dc8
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
nop
lea rcx, [rbp + 0x70]
call fcn.140002890
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
jmp 0x1400146ca
mov eax, dword [rbp + 0xd0]
cmp eax, 1
jne 0x14001461e
mov r9, qword [r14]
mov rcx, rbx
lea rdi, str.enable
nop dword [rax]
movzx eax, word [r9 + rcx*2]
inc rcx
cmp ax, word [rdi + rcx*2 - 2]
jne 0x140013f84
cmp rcx, 7
jne 0x140013e00
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0xf0], eax
mov dword [rbp + 0xf4], 0x5b
mov r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x102
lea rcx, [rbp + 0xf6]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x140073f64]
mov edx, 0x104
lea rcx, [rbp + 0xf4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.ExecCmdLine
mov edx, 0x104
lea rcx, [rbp + 0x2fc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x14008e500]
mov eax, dword [0x14008e504]
add ecx, eax
je 0x140013f30
mov dword [rsp + 0x58], ebx
call fcn.140017d60
mov qword [rsp + 0x50], rax
lock inc dword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x140013ec4
call fcn.140017d60
mov qword [rsp + 0x50], rax
lock inc dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov dword [rbp - 0x5c], 0x20
lea rax, [rbp + 0xf4]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rax, [rbp + 0x2fc]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x5c]
movsx edx, si
call fcn.140001e10
nop
mov qword [rsp + 0x50], rbx
mov eax, 0xffffffff
lock xadd dword [rsp + 0x58], eax
cmp eax, 1
js 0x140013f2b
call fcn.14001db10
mov eax, 0xffffffff
lock xadd dword [rsp + 0x58], eax
cmp eax, 1
jns 0x140013f16
lock inc dword [rsp + 0x58]
lea r8, str.ExecCmdLine
mov edx, 0x10
lea rcx, [rbp - 0x28]
call fcn.140002b50
nop
cmp byte [rax + 0x80], 0
je 0x140013f5f
lea rdx, str.do_nothing
mov rcx, rax
call fcn.140029400
nop
lea rcx, [rbp + 0x70]
call fcn.140002890
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xf0]
call fcn.140001e70
jmp 0x1400146c0
mov rcx, rbx
lea rdi, str.disable
nop
movzx eax, word [r9 + rcx*2]
inc rcx
cmp ax, word [rdi + rcx*2 - 2]
jne 0x1400140d8
cmp rcx, 8
jne 0x140013f90
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x510], eax
mov dword [rbp + 0x514], 0x5b
mov r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x102
lea rcx, [rbp + 0x516]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x140073f64]
mov edx, 0x104
lea rcx, [rbp + 0x514]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.ExecCmdLine
mov edx, 0x104
lea rcx, [rbp + 0x71c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x14008e500]
mov eax, dword [0x14008e504]
add ecx, eax
je 0x1400140c0
mov dword [rsp + 0x68], ebx
call fcn.140017d60
mov qword [rsp + 0x60], rax
lock inc dword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x140014054
call fcn.140017d60
mov qword [rsp + 0x60], rax
lock inc dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov dword [rbp - 0x58], 0x20
lea rax, [rbp + 0x514]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rax, [rbp + 0x71c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x58]
movsx edx, si
call fcn.140001e10
nop
mov qword [rsp + 0x60], rbx
mov eax, 0xffffffff
lock xadd dword [rsp + 0x68], eax
cmp eax, 1
js 0x1400140bb
call fcn.14001db10
mov eax, 0xffffffff
lock xadd dword [rsp + 0x68], eax
cmp eax, 1
jns 0x1400140a6
lock inc dword [rsp + 0x68]
call fcn.14002fd20
mov ebx, eax
lea rcx, [rbp + 0x510]
call fcn.140001e70
jmp 0x1400146c0
lea rdi, str.user_changed
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
movzx eax, word [r9 + rcx*2 + 2]
cmp ax, word [rdi + rcx*2 + 2]
jne 0x140014116
add rcx, 2
cmp rcx, 0xd
je 0x140014310
movzx eax, word [r9 + rcx*2]
cmp ax, word [rdi + rcx*2]
je 0x1400140f0
lea rdi, str.user_deleted
mov rcx, 0xffffffffffffffff
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r9 + rcx*2 + 2]
cmp ax, word [rdi + rcx*2 + 2]
jne 0x140014156
add rcx, 2
cmp rcx, 0xd
je 0x140014442
movzx eax, word [r9 + rcx*2]
cmp ax, word [rdi + rcx*2]
je 0x140014130
lea rdi, [0x140074f98]
mov rcx, rbx
movzx eax, word [r9 + rcx*2]
cmp ax, word [rdi + rcx*2]
jne 0x1400146c0
movzx eax, word [r9 + rcx*2 + 2]
cmp ax, word [rdi + rcx*2 + 2]
jne 0x1400146c0
add rcx, 2
cmp rcx, 0x12
jne 0x140014160
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x1170], eax
mov dword [rbp + 0x1174], 0x5b
mov r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x102
lea rcx, [rbp + 0x1176]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x140073f64]
mov edx, 0x104
lea rcx, [rbp + 0x1174]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.ExecCmdLine
mov edx, 0x104
lea rcx, [rbp + 0x137c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x14008e500]
mov eax, dword [0x14008e504]
add ecx, eax
je 0x140014298
mov dword [rbp - 0x68], ebx
call fcn.140017d60
mov qword [rbp - 0x70], rax
lock inc dword [rbp - 0x68]
mov rax, qword [rbp - 0x70]
test rax, rax
jne 0x14001422f
call fcn.140017d60
mov qword [rbp - 0x70], rax
lock inc dword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
mov dword [rbp - 0x4c], 0x20
lea rax, [rbp + 0x1174]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rax, [rbp + 0x137c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x4c]
movsx edx, si
call fcn.140001e10
nop
mov qword [rbp - 0x70], rbx
mov eax, 0xffffffff
lock xadd dword [rbp - 0x68], eax
cmp eax, 1
js 0x140014294
nop
call fcn.14001db10
mov eax, 0xffffffff
lock xadd dword [rbp - 0x68], eax
cmp eax, 1
jns 0x140014280
lock inc dword [rbp - 0x68]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
lea rcx, [rbp - 0x48]
call fcn.14002f440
nop
cmp qword [rax + 0x18], 8
jb 0x1400142b6
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0xd8]
call fcn.14002f740
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14001456b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014566
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014566
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x930], eax
mov dword [rbp + 0x934], 0x5b
mov r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x102
lea rcx, [rbp + 0x936]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x140073f64]
mov edx, 0x104
lea rcx, [rbp + 0x934]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.ExecCmdLine
mov edx, 0x104
lea rcx, [rbp + 0xb3c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x14008e500]
mov eax, dword [0x14008e504]
add ecx, eax
je 0x14001442a
mov dword [rsp + 0x78], ebx
call fcn.140017d60
mov qword [rsp + 0x70], rax
lock inc dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x1400143bb
call fcn.140017d60
mov qword [rsp + 0x70], rax
lock inc dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov dword [rbp - 0x54], 0x20
lea rax, [rbp + 0x934]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rax, [rbp + 0xb3c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x54]
movsx edx, si
call fcn.140001e10
nop
mov qword [rsp + 0x70], rbx
mov eax, 0xffffffff
lock xadd dword [rsp + 0x78], eax
cmp eax, 1
js 0x140014425
nop dword [rax]
call fcn.14001db10
mov eax, 0xffffffff
lock xadd dword [rsp + 0x78], eax
cmp eax, 1
jns 0x140014410
lock inc dword [rsp + 0x78]
call fcn.140031c40
mov ebx, eax
lea rcx, [rbp + 0x930]
call fcn.140001e70
jmp 0x1400146c0
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0xd50], eax
mov dword [rbp + 0xd54], 0x5b
mov r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x102
lea rcx, [rbp + 0xd56]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x140073f64]
mov edx, 0x104
lea rcx, [rbp + 0xd54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.ExecCmdLine
mov edx, 0x104
lea rcx, [rbp + 0xf5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x14008e500]
mov eax, dword [0x14008e504]
add ecx, eax
je 0x14001454e
mov dword [rbp - 0x78], ebx
call fcn.140017d60
mov qword [rbp - 0x80], rax
lock inc dword [rbp - 0x78]
mov rax, qword [rbp - 0x80]
test rax, rax
jne 0x1400144e7
call fcn.140017d60
mov qword [rbp - 0x80], rax
lock inc dword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
mov dword [rbp - 0x50], 0x20
lea rax, [rbp + 0xd54]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rax, [rbp + 0xf5c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x50]
movsx edx, si
call fcn.140001e10
nop
mov qword [rbp - 0x80], rbx
mov eax, 0xffffffff
lock xadd dword [rbp - 0x78], eax
cmp eax, 1
js 0x14001454a
call fcn.14001db10
mov eax, 0xffffffff
lock xadd dword [rbp - 0x78], eax
cmp eax, 1
jns 0x140014536
lock inc dword [rbp - 0x78]
call fcn.1400323b0
mov ebx, eax
lea rcx, [rbp + 0xd50]
call fcn.140001e70
jmp 0x1400146c0
call fcn.140067440
movdqa xmm0, xmmword [0x1400772e0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], bx
cmp qword [rbp + 0xd8], 0
jne 0x14001458d
mov esi, 0xffffffff
jmp 0x1400145ae
mov rax, qword [rbp + 0xe0]
call qword [case.0x14002be35.0]
mov esi, eax
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x1400145ae
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, esi
lea r8, str.ExecCmdLine
mov edx, 0x10
lea rcx, [rbp - 0x28]
call fcn.140002b50
mov rdi, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x1400145f9
lea rdx, str.result
mov rcx, rdi
call fcn.140029060
movzx eax, byte [rdi + 0x80]
test al, al
je 0x1400145f9
mov edx, esi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
nop
lea rcx, [rbp + 0x70]
call fcn.140002890
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x1170]
call fcn.140001e70
jmp 0x1400146c0
cmp eax, 2
jne 0x1400146c0
lea r8d, [rax + 0xa]
lea rdx, str.module_name
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x140014670
lea r8d, [rax + 0xd]
lea rdx, str.module_state
mov rcx, qword [r14 + 8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x140014670
mov rdx, qword [r14 + 8]
add rdx, 0x1a
mov rcx, qword [r14]
add rcx, 0x18
call fcn.14002e550
mov ebx, eax
jmp 0x1400146c0
mov r8d, 0xc
lea rdx, str.module_name
mov rcx, qword [r14 + 8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x1400146bb
lea r8d, [rax + 0xd]
lea rdx, str.module_state
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x1400146bb
mov rdx, qword [r14]
add rdx, 0x1a
mov rcx, qword [r14 + 8]
add rcx, 0x18
call fcn.14002e550
mov ebx, eax
jmp 0x1400146c0
mov ebx, 0x57
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rbp + 0x1590]
call fcn.140001e70
mov eax, ebx
mov rcx, qword [rbp + 0x19b0]
xor rcx, rsp
call fcn.1400673e0
lea r11, [rsp + 0x1ac0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret