Function at 0x140024850
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x260
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14006d0e0]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov esi, r9d
xor edi, edi
mov dword [rsp + 0x20], edi
mov dword [0x14006efd0], edi
lea r12, [0x140000000]
lea rax, [r12 + 0x4a7e8]
mov qword [rbp + 0x30], rax
lea rax, [0x14004a7f0]
mov qword [rbp + 0x40], rax
lea r14, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0xc8], r14
xor r8d, r8d
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x30]
call fcn.140002020
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x30], r13
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x48]
call fcn.140002150
lea r15, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x48], r15
mov qword [rbp + 0xb0], rdi
mov dword [rbp + 0xb8], edi
lea rcx, [rbp + 0x30]
call fcn.14000f4b0
test al, al
je 0x1400249a2
lea ecx, [rdi + 0x10]
call fcn.140026a94
mov rbx, rax
test rax, rax
je 0x14002496a
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x30]
call fcn.140010b90
cmp qword [rax + 0x18], 8
jb 0x140024958
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000e860
mov ebx, 3
jmp 0x140024972
mov rax, rdi
mov ebx, 2
mov rcx, rax
call fcn.1400243f0
test bl, 1
je 0x1400249a2
mov r8, qword [rbp + 0x148]
cmp r8, 8
jb 0x1400249a2
inc r8
mov rdx, qword [rbp + 0x130]
lea rcx, [rbp + 0x130]
call fcn.140006970
lea rax, [r12 + 0x4a808]
mov qword [rsp + 0x28], rax
lea rax, [0x14004a810]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x38], r14
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140002020
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x28], r13
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.140002150
mov qword [rsp + 0x40], r15
mov qword [rbp - 0x58], rdi
mov dword [rbp - 0x50], edi
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
mov dword [rbp - 0x48], 0xa
lea rdx, str._CP_HECI_Service
lea rcx, [rsp + 0x38]
call fcn.140001390
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140008ac0
movzx edx, ax
mov rcx, rbx
call fcn.1400084a0
mov rcx, rbx
call fcn.140007ec0
lea rcx, [rbp - 0x38]
call fcn.14000e9d0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
call fcn.140025c9c
nop
lea rax, [r12 + 0x4a808]
mov qword [rsp + 0x28], rax
lea rax, [0x14004a810]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x38], r14
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140002020
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x28], r13
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.140002150
mov qword [rsp + 0x40], r15
mov qword [rbp - 0x58], rdi
mov dword [rbp - 0x50], edi
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
mov dword [rbp - 0x48], 0x64
lea rdx, str.__COM__built
lea rcx, [rsp + 0x38]
call fcn.140001390
mov rcx, rax
lea rdx, str.Sep_18_2017
call fcn.140001390
mov rcx, rax
lea rdx, [0x14004b304]
call fcn.140001390
mov rcx, rax
lea rdx, str.14:36:21
call fcn.140001390
mov rcx, rax
lea rdx, str._name:
call fcn.140001390
mov rcx, rax
lea rdx, [0x14006f1c8]
call fcn.14000de10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140008ac0
movzx edx, ax
mov rcx, rbx
call fcn.1400084a0
mov rcx, rbx
call fcn.140007ec0
lea rcx, [rbp - 0x38]
call fcn.14000e9d0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
call fcn.140025c9c
nop
cmp byte [0x14006f0e4], 0
je 0x140024bd3
or esi, 0xffffffff
jmp 0x140024c23
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [0x14006f160]
call fcn.140020d90
cmp al, 1
jne 0x140024c07
mov edx, esi
lea rcx, [0x14006f160]
call fcn.1400230e0
mov esi, eax
jmp 0x140024c0b
mov esi, dword [rsp + 0x20]
cmp dword [0x14006f3ec], 0
jne 0x140024c23
cmp byte [0x14006f1c2], 0
je 0x140024c23
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rax, [r12 + 0x4a808]
mov qword [rsp + 0x28], rax
lea rax, [0x14004a810]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x38], r14
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140002020
mov rax, qword [rsp + 0x28]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x28], r13
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.140002150
mov qword [rsp + 0x40], r15
mov qword [rbp - 0x58], rdi
mov dword [rbp - 0x50], edi
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
mov dword [rbp - 0x48], 0xa
lea rdx, str.____________Exit_0x
lea rcx, [rsp + 0x38]
call fcn.140001390
mov r8, rax
test rax, rax
jne 0x140024cd6
mov rcx, rdi
jmp 0x140024ce0
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, r8
and dword [rcx + 0x18], 0xfffff9ff
or dword [rcx + 0x18], 0x800
mov edx, esi
mov rcx, r8
call fcn.1400171b0
mov rbx, rax
test rax, rax
je 0x140024d0a
mov rax, qword [rax]
movsxd rdi, dword [rax + 4]
add rdi, rbx
and dword [rdi + 0x18], 0xfffff3ff
or dword [rdi + 0x18], 0x200
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.140008ac0
movzx edx, ax
mov rcx, rbx
call fcn.1400084a0
mov rcx, rbx
call fcn.140007ec0
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.140008ac0
movzx edx, ax
mov rcx, rbx
call fcn.1400084a0
mov rcx, rbx
call fcn.140007ec0
lea rcx, [rbp - 0x38]
call fcn.14000e9d0
nop
lea rbx, vtable.std::ios_base.0
mov qword [rbp - 0x38], rbx
lea rcx, [rbp - 0x38]
call fcn.140025c9c
nop
lea rcx, [rbp + 0xc8]
call fcn.140002be0
nop
mov qword [rbp + 0xc8], rbx
lea rcx, [rbp + 0xc8]
call fcn.140025c9c
nop
mov eax, esi
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400271a0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret