Function at 0x140041e60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400d8080]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14d, dword [0x14015dbf0]
xor r9d, r9d
movsxd rax, dword [reloc.WS2_32.dll_getsockname]
cmp eax, 0x7b
ja 0x140041eab
lea r9, [0x14015c770]
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], rcx
mov byte [rbp - 0x28], 0
test r9, r9
jne 0x140041fa9
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov edx, 0x130
mov eax, dword [rdx + rbx]
mov edi, 0x178
test al, 1
jne 0x140041f1b
or eax, 1
mov dword [rdx + rbx], eax
mov dword [rbx + rdi + 8], 0x1dbd076
mov dword [rbx + rdi], 0x66b7cc40
mov dword [rbx + rdi + 4], 0x3e0f750a
lea rcx, [0x1400aeb80]
call fcn.1400ab804
nop
mov rcx, qword [rbp - 0x10]
lea r9, [rbx + rdi]
cmp byte [r9 + 0xb], 0
je 0x140041f61
xor byte [r9], 0x13
xor byte [r9 + 1], 0xa9
xor byte [r9 + 2], 0xdb
xor byte [r9 + 3], 3
xor byte [r9 + 4], 0x69
xor byte [r9 + 5], 1
xor byte [r9 + 6], 0x2f
xor byte [r9 + 7], 0x75
xor byte [r9 + 8], 0x13
xor byte [r9 + 9], 0xa9
xor byte [r9 + 0xa], 0xdb
mov byte [r9 + 0xb], 0
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp byte [r9 + rdi], 0
jne 0x140041f70
cmp rdi, rcx
ja 0x140041fa4
lea rbx, [rbp - 0x28]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140041fe9
mov rdx, rdi
jmp 0x140041fe0
mov rsi, 0xffffffffffffffff
mov rbx, rsi
inc rbx
cmp byte [r9 + rbx], 0
jne 0x140041fb3
cmp rbx, 0xf
ja 0x140041fdd
mov qword [rbp - 0x18], rbx
mov r8, rbx
mov rdx, r9
lea rcx, [rbp - 0x28]
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x28], 0
jmp 0x140041fe9
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140036b60
cmp r14d, 1
jne 0x1400420b6
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, 0x134
mov eax, dword [rdx + rcx]
mov edi, 0x1b0
add rdi, rcx
test r14b, al
jne 0x14004203e
or eax, r14d
mov dword [rdx + rcx], eax
mov word [rdi + 9], 0x131
mov dword [rdi], 0x2cb643e1
mov dword [rdi + 4], 0x7e7ec38c
mov byte [rdi + 8], reloc.WLDAP32.dll_Ordinal_200
lea rcx, [0x1400aeb60]
call fcn.1400ab804
nop
cmp byte [rdi + 0xa], 0
je 0x140042070
xor byte [rdi], 0xb1
xor byte [rdi + 1], 0x31
xor byte [rdi + 2], 0xd3
xor byte [rdi + 3], 0x5f
not byte [rdi + 4]
xor byte [rdi + 5], 0xe3
xor byte [rdi + 6], 0x15
xor byte [rdi + 7], 0x1b
xor byte [rdi + 8], 0xb1
xor byte [rdi + 9], 0x31
mov byte [rdi + 0xa], 0
nop
inc rsi
cmp byte [rdi + rsi], 0
jne 0x140042070
mov rax, qword [rbp - 0x10]
cmp rsi, rax
ja 0x1400420a7
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], rsi
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x1400420b6
mov r9, rdi
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.140036b60
mov qword [rbp - 0x30], 0
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x30]
call fcn.14002d490
test al, al
je 0x140042101
test r14d, r14d
jne 0x140042101
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x140041e10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14004213f
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004213a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004213a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ab174
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400aaf20
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret