Function at 0x140002220
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor edi, edi
lea rcx, [rbp - 0x58]
call fcn.1400019a0
nop
cmp qword [rbp - 0x48], rdi
jne 0x140002297
lea rdx, str.No_logs_found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004230
mov rcx, rax
lea rdx, [0x140004410]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edi, 1
jmp 0x1400027fd
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
lea rcx, [rbp + 0x70]
call fcn.140003ea0
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x70], rax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x6c], edx
cmp qword [rbp + 0x100], 0
jne 0x140002336
lea rdx, str.Failed_to_open_log_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004230
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
mov rcx, rax
call fcn.140004e10
lea rdx, [0x140004410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edi, 1
jmp 0x1400027f3
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
xor eax, eax
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x40]
call fcn.140002a70
nop
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x70]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x70]
call fcn.140004fd0
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x14000272b
nop dword [rax]
lea rsi, [rsp + 0x48]
mov r12, qword [rsp + 0x48]
mov r13, qword [rsp + 0x60]
cmp r13, 0xf
cmova rsi, r12
mov r15, qword [rsp + 0x58]
cmp r15, 0x13
jb 0x1400026e7
lea r14, [r15 + rsi]
lea r8, [r14 - 0x12]
sub r8, rsi
mov edx, 0x43
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400026e7
nop word [rax + rax]
mov r8d, 0x13
lea rdx, str.Connection_accepted
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000243d
inc rbx
lea r8, [r14 - 0x12]
sub r8, rbx
mov edx, 0x43
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140002400
jmp 0x1400026e7
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x1400026e7
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp - 0x30], rdi
mov byte [rbp - 0x28], 0
movdqa xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm1
mov qword [rbp], rdi
mov byte [rbp + 8], 0
movdqa xmmword [rbp + 0x10], xmm0
mov byte [rbp + 0x20], 0
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], rdi
mov byte [rbp + 0x38], 0
lea r8, [rsp + 0x48]
cmp r13, 0xf
cmova r8, r12
lea rdx, [rsp + 0x48]
cmova rdx, r12
add rdx, r15
lea rcx, [rsp + 0x48]
cmp r13, 0xf
cmova rcx, r12
mov qword [rsp + 0x28], r8
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x30]
call fcn.140005170
test al, al
je 0x1400026de
mov r10, qword [rbp - 0x18]
mov rcx, r10
mov r9, qword [rbp - 0x20]
sub rcx, r9
movabs rbx, 0x2aaaaaaaaaaaaaab
mov rax, rbx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
lea rax, [rbp + 0x28]
jbe 0x140002509
lea rax, [r9 + 0x18]
cmp byte [rax + 0x10], 0
je 0x140002519
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
jmp 0x140002522
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
cmp rdx, r8
jne 0x140002552
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
jmp 0x140002566
sub r8, rdx
lea rcx, [rbp - 0x78]
call fcn.140004560
mov r10, qword [rbp - 0x18]
mov r9, qword [rbp - 0x20]
sub r10, r9
mov rax, rbx
imul r10
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 2
ja 0x140002589
lea r9, [rbp + 0x28]
jmp 0x14000258d
add r9, 0x30
cmp byte [r9 + 0x10], 0
je 0x14000259f
movups xmm0, xmmword [r9]
movups xmmword [rsp + 0x30], xmm0
jmp 0x1400025a8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
cmp rdx, r8
jne 0x1400025dc
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
jmp 0x1400025ea
sub r8, rdx
lea rcx, [rsp + 0x68]
call fcn.140004560
nop
lea rdx, str.IP:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004230
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rax
call fcn.140004e10
lea rdx, str._nPORT:
mov rcx, rax
call fcn.140004230
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, rax
call fcn.140004e10
lea rdx, [0x140004410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140002690
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000268b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027cd
call fcn.14000c94c
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400026de
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027d4
call fcn.14000c94c
nop
lea rcx, [rbp - 0x20]
call fcn.1400029b0
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x70]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x70]
call fcn.140004fd0
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x1400023b0
lea rcx, [rbp + 0x80]
call fcn.140003de0
test rax, rax
jne 0x140002759
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x70]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rcx, [rbp + 0x40]
call fcn.140003c70
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140002792
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x140002792
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400027e0
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000c94c
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
lea rcx, [rbp + 0x70]
call fcn.140002870
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14000283b
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002836
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002836
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c94c
mov eax, edi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14000c8f0
lea r11, [rsp + 0x290]
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