Function at 0x180030780
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1801253c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, rdx
mov r14, rcx
mov qword [rbp - 0x41], rcx
mov ebx, dword [rcx + 0x20]
mov rdx, rcx
lea rcx, [rbp - 0x11]
call fcn.18000d920
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x39]
call fcn.18000d920
lea rcx, [rbp - 0x39]
call fcn.18000ccc0
test al, al
je 0x180030876
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
mov r8d, 0x1b
lea rdx, str.Something_Went_Wrong.__402_
lea rcx, [rbp - 0x69]
call fcn.1800068e0
nop
lea rcx, [rbp - 0x69]
call fcn.18000c170
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x180030849
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180030844
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180030a5d
call fcn.180093b94
cmp byte [0x180148e48], 0
je 0x180030acb
mov byte [0x180148a50], 0
mov byte [0x180148e48], 0
mov rcx, qword [0x180148fa0]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x180030acb
test ebx, ebx
jne 0x180030a6b
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
lea r8d, [rbx + 7]
lea rdx, str.message
lea rcx, [rbp - 0x69]
call fcn.1800068e0
nop
mov r9b, 1
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x11]
call fcn.180007630
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x1800308f2
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800308ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180030a17
call fcn.180093b94
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
mov r8d, 6
lea rdx, str.status
lea rcx, [rbp - 0x69]
call fcn.1800068e0
nop
mov r9b, 1
lea r8, [rbp - 0x69]
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.180007630
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x18003096b
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180030966
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180030966
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180093b94
lea rcx, [rbp + 0xf]
mov rbx, qword [rbp + 0xf]
mov rdi, qword [rbp + 0x27]
cmp rdi, 0xf
cmova rcx, rbx
mov r8, qword [rbp + 0x1f]
cmp r8, 8
jne 0x180030b18
lea rdx, str.accepted
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180030b18
xor esi, esi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, r15
lea r8, [0x180031030]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x69]
call fcn.18000d920
lea rcx, [rbp - 0x69]
call fcn.18000ea10
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x69]
call fcn.18000d920
mov rcx, rax
call fcn.180030ba0
nop
cmp rdi, 0xf
jbe 0x180030a27
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180030a1e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180030a1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180093b94
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x180030acb
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180030a64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180030a64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180093b94
jmp 0x180030acb
mov ecx, dword [0x180148994]
mov rax, qword gs:[0x58]
mov edx, 8
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1801498dc], ecx
jg 0x180030b37
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.18000d920
mov eax, dword [r14 + 0x20]
mov dword [rbp - 0x19], eax
lea rcx, [rbp - 0x39]
call fcn.180028a00
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.18000d920
mov eax, dword [r14 + 0x20]
mov dword [rbp - 0x19], eax
lea rdx, [rbp - 0x39]
call fcn.18002f2e0
nop
lea rcx, [rbp - 0x11]
call fcn.180005610
nop
mov rcx, r14
call fcn.180005610
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800935b0
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov qword [0x180149390], rax
lea rcx, [0x1801498dc]
call fcn.180093bd8
jmp 0x180030a92
lea rcx, [rbp - 0x39]
call fcn.18000c170
lea rcx, [rbp - 0x69]
call fcn.18000fd10
nop
mov rdx, r15
mov rcx, rax
call fcn.1800116c0
nop
lea rcx, [0x1801498dc]
call fcn.180093c44
cmp dword [0x1801498dc], 0xffffffff
jne 0x180030a92
mov rbx, qword [0x180145f50]
mov rdi, qword [0x180145f58]
xor esi, esi
cmp rbx, rdi
je 0x180030b93
mov dword [rsp + 0x20], esi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll___RTDynamicCast
test rax, rax
jne 0x180030b00
add rbx, 8
cmp rbx, rdi
jne 0x180030b65
mov rax, rsi
jmp 0x180030b00