Function at 0x140013c40
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
xor ebx, ebx
mov edi, r9d
mov dword [rsp + 0x20], ebx
cmp byte [0x14005cca9], bl
mov dword [0x14005cd70], ebx
je 0x140013c73
or edi, 0xffffffff
jmp 0x140013cc1
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x20]
lea rcx, [0x14005ce50]
mov rdx, rax
call fcn.14000e3f0
cmp al, 1
jne 0x140013ca7
lea rcx, [0x14005ce50]
mov edx, edi
call fcn.140011d20
mov edi, eax
jmp 0x140013cab
mov edi, dword [rsp + 0x20]
cmp dword [0x14005d0dc], ebx
jne 0x140013cc1
cmp byte [0x14005ceb2], bl
je 0x140013cc1
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [0x140000000]
lea rdx, [rsp + 0x40]
xor r8d, r8d
lea rax, [rcx + 0x40078]
mov dword [rbp - 0x3c], 0x88
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rax, [rcx + 0x40080]
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x38], rax
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x38], rax
call fcn.140005b60
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x38], rax
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x34], edx
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x24], edx
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x24], edx
lea rcx, [rsp + 0x40]
call fcn.1400019c0
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x50], ebx
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x24], edx
lea rdx, str.____________Exit_0x
lea rcx, [rsp + 0x38]
mov dword [rbp - 0x48], 0xa
call fcn.140001390
mov r8, rax
test rax, rax
jne 0x140013de4
mov rcx, rbx
jmp 0x140013dee
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, r8
and dword [rcx + 0x18], 0xfffff9ff
or dword [rcx + 0x18], 0x800
mov edx, edi
mov rcx, r8
call fcn.14000adc0
mov rcx, rax
test rax, rax
je 0x140013e18
mov rax, qword [rax]
movsxd rbx, dword [rax + 4]
add rbx, rcx
and dword [rbx + 0x18], 0xfffff3ff
or dword [rbx + 0x18], 0x200
call fcn.14000ab10
lea rcx, [rbp - 0x38]
call fcn.140007ba0
lea rax, vtable.std::ios_base.0
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rax
call fcn.140026aec
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov eax, edi
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret