Function at 0x140007ef0
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1400960a8]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov byte [rsp + 0x48], 1
mov dword [0x1400a02f4], 1
xor edi, edi
mov dword [rsp + 0x50], edi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, dword [rsp + 0x50]
mov rcx, rax
call fcn.140004900
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x60]
call fcn.140045e20
lea rcx, [rsp + 0x60]
call fcn.140008800
nop
lea r8, str.Output.txt
lea rcx, [rsp + 0x20]
call fcn.14000d830
nop
cmp qword [rax + 0x18], 0x10
jb 0x140007f8d
mov rax, qword [rax]
mov r8d, 0x12
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000c740
mov ebx, 4
test rax, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
jne 0x140007fcf
lea r9, [rsp + 0x60]
add rcx, r9
mov eax, dword [rcx + 0x10]
or eax, 2
mov edx, eax
or edx, ebx
cmp qword [rcx + 0x48], 0
cmovne edx, eax
jmp 0x140007fe1
lea rax, [rsp + 0x60]
add rcx, rax
mov edx, ebx
cmp qword [rcx + 0x48], 0
cmovne edx, edi
xor r8d, r8d
call fcn.140003df0
nop
mov rax, qword [rsp + 0x38]
cmp rax, 0x10
jb 0x140008042
inc rax
mov rcx, qword [rsp + 0x20]
cmp rax, 0x1000
jb 0x14000803d
test cl, 0x1f
je 0x140008010
call fcn.14004c910
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000801f
call fcn.14004c910
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000802e
call fcn.14004c910
int3
cmp rcx, 0x27
jbe 0x14000803a
call fcn.14004c910
int3
mov rcx, rax
call fcn.1400245c0
lea rcx, [rsp + 0x60]
call fcn.1400086d0
lea r8, str._test_results.txt
lea rcx, [rsp + 0x20]
call fcn.14000d830
nop
cmp qword [rax + 0x18], 0x10
jb 0x140008068
mov rax, qword [rax]
mov r8d, 0x12
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000c740
test rax, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
jne 0x1400080a6
lea r9, [rsp + 0x60]
add rcx, r9
mov eax, dword [rcx + 0x10]
or eax, 2
mov edx, eax
or edx, 4
cmp qword [rcx + 0x48], 0
cmovne edx, eax
jmp 0x1400080b8
lea rax, [rsp + 0x60]
add rcx, rax
cmp qword [rcx + 0x48], 0
cmovne ebx, edi
mov edx, ebx
xor r8d, r8d
call fcn.140003df0
nop
mov rax, qword [rsp + 0x38]
cmp rax, 0x10
jb 0x140008119
inc rax
mov rcx, qword [rsp + 0x20]
cmp rax, 0x1000
jb 0x140008114
test cl, 0x1f
je 0x1400080e7
call fcn.14004c910
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400080f6
call fcn.14004c910
int3
sub rcx, rax
cmp rcx, 8
jae 0x140008105
call fcn.14004c910
int3
cmp rcx, 0x27
jbe 0x140008111
call fcn.14004c910
int3
mov rcx, rax
call fcn.1400245c0
lea rcx, [rsp + 0x60]
call fcn.1400086d0
nop
lea rcx, [rbp + 8]
call fcn.140008780
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.14001de0c
nop
mov cl, 1
call fcn.1400106c0
movzx ebx, al
mov byte [0x1400a02f2], 1
mov byte [0x1400a02f1], 1
mov rcx, qword [0x1400a1648]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x1400a1518]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [0x1400a02f2], 0
lea r8, [rsp + 0x48]
lea rdx, [0x1400050f0]
lea rcx, [rsp + 0x50]
call fcn.14000edd0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14000ee20
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400081b5
mov edx, 0x10
call fcn.140024860
cmp dword [0x1400a1510], 0
je 0x1400081c4
call fcn.14004d5f0
int3
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [0x1400a1508], xmm0
movzx eax, bl
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140024560
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret