Function at 0x140030a60
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x4e0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1401bf0a0]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov r14, rcx
mov rbx, qword [rcx + 8]
mov rdx, rbx
lea rcx, [rsp + 0x1d8]
call fcn.140010200
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x200], eax
mov rax, qword [0x1401c6c58]
test rax, rax
je 0x140030bbc
cmp dword [rax + 8], 0x29
jl 0x140030bbc
xor edi, edi
mov dword [rsp + 0x38], edi
lea r9d, [rdi + 0x23]
lea r8, str.olc::net::client_interface_enum_netApp::MsgTypes_::Connect
lea edx, [rdi + 0x29]
lea rcx, [rsp + 0x290]
call fcn.140011cd0
mov rsi, rax
lea rdx, str.Try_to_connect.._host:
lea rcx, [rax + 0x38]
call fcn.14000ebb0
lea rdx, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 0x10
cmovae rdx, qword [rsp + 0x1e0]
lea rcx, [rsi + 0x38]
call fcn.14000ebb0
lea rdx, str._port:
lea rcx, [rsi + 0x38]
call fcn.14000ebb0
mov edx, dword [rsp + 0x200]
lea rcx, [rsi + 0x38]
call fcn.14000af40
mov rdx, rsi
mov rcx, qword [0x1401c6c58]
call fcn.140011f50
nop
lea rax, vtable.plog::Record.0
mov qword [rsp + 0x290], rax
lea rcx, [rsp + 0x3f0]
call fcn.1400060b0
mov rcx, qword [rsp + 0x3f0]
mov qword [rsp + 0x3f0], rdi
lea edx, [rdi + 0x10]
call fcn.1400ba290
lea rcx, [rsp + 0x3c8]
call fcn.140011c30
mov rcx, qword [rsp + 0x3c8]
mov qword [rsp + 0x3c8], rdi
lea edx, [rdi + 0x10]
call fcn.1400ba290
lea rcx, [rsp + 0x2c8]
call fcn.140011b40
jmp 0x140030bbe
xor edi, edi
lea rbx, [r14 + 0x20]
lea rax, [rsp + 0x210]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x80], xmm0
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140067b60
mov r9, rbx
lea r8, [0x140067b90]
lea rdx, [rsp + 0x80]
mov rcx, qword [rbx]
call fcn.14001a760
mov qword [rsp + 0x210], rax
mov qword [rsp + 0x218], rdi
mov qword [rsp + 0x220], rdi
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x9c], edi
lea rax, [0x14019d730]
mov qword [rsp + 0x248], rax
lea rax, fcn.1400025e0
mov qword [rsp + 0x238], rax
mov qword [rsp + 0x228], rbx
mov dword [rsp + 0x234], edi
lea rax, [rsp + 0x228]
mov qword [rsp + 0x240], rax
lea rax, [0x14019d8c0]
mov qword [rsp + 0x250], rax
movzx r8d, byte [rsp + 0x40]
lea rcx, [rsp + 0x218]
call fcn.14003e4c0
nop
mov edx, dword [rsp + 0x200]
lea rcx, [rsp + 0x260]
call fcn.140085630
nop
mov rdx, qword [rax + 0x18]
lea rcx, [rax + 8]
cmp qword [rax + 0x20], 0x10
jb 0x140030cb2
mov rcx, qword [rcx]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rdx
test rdx, rdx
je 0x140030d2a
test rcx, rcx
jne 0x140030d2a
lea rsi, str.non_zero_size_null_string_view
mov qword [rsp + 0x28], rsi
lea r15, [0x14019218c]
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0x4ef
lea rdx, [0x140192730]
lea ecx, [r9 + 2]
call fcn.140105250
cmp eax, 1
jne 0x140030d03
int3
mov qword [rsp + 0x20], rdi
mov r9d, 0x4ef
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.29.30133includexstring
lea rdx, [0x1401922c8]
lea rcx, str._non_zero_size_null_string_view_
call fcn.140104090
jmp 0x140030d38
lea rsi, str.non_zero_size_null_string_view
lea r15, [0x14019218c]
movups xmm6, xmmword [rsp + 0xa0]
lea rcx, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 0x10
cmovae rcx, qword [rsp + 0x1e0]
mov qword [rsp + 0xb0], rcx
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xb8], rax
test rax, rax
je 0x140030dca
test rcx, rcx
jne 0x140030dca
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0x4ef
lea rdx, [0x140192730]
lea ecx, [r9 + 2]
call fcn.140105250
cmp eax, 1
jne 0x140030da5
int3
mov qword [rsp + 0x20], rdi
mov r9d, 0x4ef
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.29.30133includexstring
lea rdx, [0x1401922c8]
lea rcx, str._non_zero_size_null_string_view_
call fcn.140104090
movaps xmmword [rsp + 0xf0], xmm6
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x100], xmm0
lea r9, [rsp + 0xf0]
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x110]
call fcn.14003af70
nop
lea rcx, [rsp + 0x260]
call fcn.140011c30
mov rcx, qword [rsp + 0x260]
mov qword [rsp + 0x260], rdi
mov edx, select
call fcn.1400ba290
mov rdx, rbx
lea rcx, [rsp + 0x420]
call fcn.14003ef30
mov r15, rax
mov ecx, 0x220
call fcn.1400ba2b0
mov rsi, rax
mov qword [rsp + 0x50], rax
lea r12, [r14 + 0x50]
mov rdx, r15
lea rcx, [rsp + 0x140]
call fcn.1400485b0
lea rax, [rsp + 0x140]
mov qword [rsp + 0x70], rax
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
lea rax, vtable.olc::net::connection_enum_netApp::MsgTypes_.0
mov qword [rsi], rax
lea rcx, [rsi + 0x18]
lea rdx, [rsp + 0x140]
call fcn.1400485b0
nop
mov qword [rsi + 0xb0], rbx
lea r15, [rsi + 0xb8]
mov qword [rsp + 0x60], r15
lea rax, vtable.olc::net::tsqueue_struct_olc::net::message_enum_netApp::MsgTypes__.0
mov qword [r15], rax
lea rcx, [r15 + 8]
mov edx, 2
call fcn.140089c80
nop
lea rbx, [r15 + 0x58]
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x20], rdi
mov ecx, select
call fcn.140005bf0
mov qword [rax + 8], rdi
mov qword [rbx], rax
mov qword [rax], rbx
lea rcx, [r15 + 0x80]
call fcn.14008a0e0
lea rcx, [r15 + 0xc8]
mov edx, 2
call fcn.140089c80
nop
mov qword [rsi + 0x1d0], r12
mov qword [rsi + 0x1d8], 0
lea rbx, [rsi + 0x1e0]
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov ecx, select
call fcn.140005bf0
mov qword [rax + 8], rdi
mov qword [rbx], rax
mov qword [rax], rbx
mov qword [rsi + 0x200], 1
mov qword [rsi + 0x218], rdi
mov qword [rsi + 0x210], rdi
mov qword [rsi + 0x208], rdi
lea rcx, [rsp + 0x140]
call fcn.14003ae90
nop
lea rbx, [r14 + 0x48]
lea rax, [rsp + 0x60]
cmp rbx, rax
je 0x140030f8f
mov rcx, qword [rbx]
mov qword [rbx], rsi
test rcx, rcx
je 0x140030f9d
mov rax, qword [rcx]
jmp 0x140030f95
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 1
call qword [rax]
nop
lea rcx, [rsp + 0x420]
call fcn.14003ae90
lea rdx, [rsp + 0x110]
mov rcx, qword [rbx]
call fcn.140036860
mov ecx, 8
call fcn.1400ba2b0
mov qword [rax], r14
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140051b30]
xor edx, edx
xor ecx, ecx
call fcn.14010bfd0
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400310d5
cmp dword [r14 + 0x40], 0
jne 0x1400310cf
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x130], xmm1
movdqa xmmword [rsp + 0x50], xmm0
movups xmmword [r14 + 0x38], xmm1
mov rbx, qword [rsp + 0x118]
test rbx, rbx
je 0x140031060
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140031060
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140031060
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rsp + 0x210]
call fcn.140036dc0
nop
lea rcx, [rsp + 0x1d8]
call fcn.140011c30
mov rcx, qword [rsp + 0x1d8]
mov qword [rsp + 0x1d8], rdi
mov edx, select
call fcn.1400ba290
nop
mov al, 1
jmp 0x14003109c
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.1400ba210
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call fcn.140109a00
nop
mov dword [rsp + 0x58], edi
mov ecx, 6
call fcn.140089490
int3