Function at 0x140004180
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x288
mov qword [rsp + 0x98], rcx
lea rax, [rcx + 0x30]
mov qword [rsp + 0x250], rax
mov eax, 1
lea r14, [rsp + 0x50]
lea r15, [rsp + 0x168]
mov r13b, 0x3a
jmp 0x140004219
lea r15, [rsp + 0x168]
mov r14, qword [rsp + 0xc0]
test rdi, rdi
jne 0x1400051ee
mov rcx, r14
call sub.ws2_32.dll_closesocket
lea r14, [rsp + 0x50]
cmp qword [rsp + 0xa0], 0
je 0x140004205
mov r8, qword [rsp + 0xa8]
mov rcx, qword [0x1400810e8]
xor edx, edx
call fcn.1400615a4
mov eax, dword [rsp + 0xd8]
inc eax
cmp eax, 0xff
je 0x1400051ea
mov dword [rsp + 0xd8], eax
mov dword [rsp + 0xdc], eax
lea rax, [rsp + 0xdc]
mov qword [rsp + 0x50], rax
lea rax, [0x1400131a0]
mov qword [rsp + 0x58], rax
lea rax, [0x14006cc40]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], 1
mov qword [rsp + 0x188], 0
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x180], 1
lea rcx, [rsp + 0x260]
mov rdx, r15
call fcn.14000e720
movups xmm0, xmmword [rsp + 0x260]
movaps xmmword [rsp + 0xa0], xmm0
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x50], rax
lea rax, [0x140002490]
mov qword [rsp + 0x58], rax
lea rax, [0x14006cc50]
mov qword [rsp + 0x60], rax
lea rax, [0x1400111e0]
mov qword [rsp + 0x68], rax
lea rax, [0x14006cc58]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], 2
mov qword [rsp + 0x188], 0
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x180], 2
lea rcx, [rsp + 0x120]
mov rdx, r15
call fcn.14000e720
mov rbp, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x130]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbx
mov rcx, r14
call fcn.140010970
mov rdi, rax
test dil, 1
je 0x1400043d5
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x1400043d0
mov r10, qword [rsp + 0x50]
cmp byte [r10], 0x3a
jne 0x1400043d0
mov r9, r8
dec r9
je 0x1400043d0
movabs rax, 0xffffffff00
and rdi, rax
shr rdi, 8
xor r11d, r11d
xor eax, eax
nop dword [rax]
movzx esi, byte [r10 + r11 + 1]
add esi, 0xffffffd0
cmp esi, 9
ja 0x1400044e5
mov cx, 0xa
mul cx
jo 0x1400043d0
mov ecx, eax
add ax, si
jb 0x1400043d0
movsx eax, si
add eax, ecx
inc r11
cmp r9, r11
jne 0x140004390
xor ecx, ecx
mov qword [rsp + 0x58], rcx
test r9d, r9d
jne 0x1400044fc
nop
mov qword [rsp + 0x58], r8
xor edi, edi
xor eax, eax
or rax, rdi
cmp ax, 1
je 0x140004520
movzx ecx, ax
mov rax, rbx
test ecx, ecx
jne 0x140004525
test rbx, rbx
je 0x14000452e
lea rax, [rbp + 1]
lea rcx, [rbx - 1]
movzx edx, byte [rbp]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
cmp dl, 0x5b
jne 0x14000452e
mov rcx, r15
mov rdx, r14
call fcn.140010ca0
cmp byte [rsp + 0x168], 0
je 0x14000452e
mov edi, dword [rsp + 0x169]
lea rcx, [rsp + 0x16d]
mov rax, qword [rcx]
mov qword [rsp + 0xe0], rax
mov eax, dword [rcx + 8]
mov dword [rsp + 0xe8], eax
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x14000452e
mov r9, qword [rsp + 0x50]
lea rcx, [r8 - 1]
movzx eax, byte [r9]
xor r10d, r10d
cmp al, 0x25
jne 0x140005112
lea r11, [r9 + 1]
test rcx, rcx
je 0x1400050a3
lea r10, [r9 + r8]
xor r15d, r15d
xor eax, eax
mov r14, rcx
nop dword [rax + rax]
movzx esi, byte [r11 + r15]
add esi, 0xffffffd0
cmp esi, 9
ja 0x1400050bc
xor r12d, r12d
mov edx, 0xa
mul edx
jo 0x1400050ba
mov edx, eax
add edx, esi
jb 0x1400050ba
dec r14
add esi, eax
inc r15
mov eax, esi
test r14, r14
jne 0x1400044a0
mov r15d, ecx
xor r14d, r14d
jmp 0x1400050c4
mov rcx, r9
sub rcx, r11
mov r9d, r11d
mov qword [rsp + 0x58], rcx
test r9d, r9d
je 0x1400043d0
movzx eax, ax
shl rax, 0x30
shl rdi, 0x10
or rdi, rax
mov eax, 1
or rax, rdi
cmp ax, 1
jne 0x1400043e6
nop dword [rax]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140004660
mov qword [rsp + 0x168], rbp
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x180], rbx
mov byte [rsp + 0x190], 1
movabs rax, 0x3a0000003a
mov qword [rsp + 0x188], rax
mov rsi, rbx
mov rdi, rbx
jmp 0x14000458c
mov rsi, rdi
cmp rdi, rbx
ja 0x140004640
mov cl, 0x3a
mov rdx, rbp
mov r8, rdi
call fcn.140012820
cmp rax, 1
jne 0x1400045e0
mov rdi, rdx
cmp rdx, rbx
jae 0x140004580
cmp byte [rbp + rdi], r13b
jne 0x140004580
mov qword [rsp + 0x180], rsi
lea rax, [rdi + 1]
lea rsi, [rsp + 0xf0]
sub rbx, rax
mov qword [rsp + 0x258], rax
jne 0x140004612
jmp 0x140004a30
mov qword [rsp + 0x180], rsi
test al, 1
lea rsi, [rsp + 0xf0]
je 0x140004648
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0x258]
sub rbx, rax
mov qword [rsp + 0x258], rax
je 0x140004a30
lea rcx, [rax + rbp]
cmp rbx, 1
jne 0x1400049d2
movzx eax, byte [rcx]
cmp eax, 0x2b
je 0x140004a30
mov ebx, 1
cmp eax, 0x2d
je 0x140004a30
jmp 0x140004f32
mov qword [rsp + 0x180], rdi
lea r13, str.invalid_socket_address
jmp 0x140004a3c
mov esi, edi
shr esi, 0x10
shr rdi, 0x18
xor ebx, ebx
mov eax, dword [rsp + 0x160]
mov dword [rsp + 0x140], eax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x138], rax
movzx eax, byte [0x140081100]
mov edx, 0x20
xor ecx, ecx
call fcn.140057e30
test rax, rax
je 0x140005235
mov r13, rax
mov word [rax], bx
mov rax, rdi
shl rax, 8
movzx ecx, sil
or rcx, rax
shr rdi, 0x18
mov word [r13 + 6], di
mov dword [r13 + 2], ecx
mov rax, qword [rsp + 0x138]
mov qword [r13 + 8], rax
mov eax, dword [rsp + 0x140]
mov dword [r13 + 0x10], eax
mov dword [r13 + 0x14], 0
mov eax, dword [rsp + 0xd0]
mov dword [r13 + 0x18], eax
movzx eax, word [rsp + 0x46]
mov word [r13 + 0x1c], ax
mov rax, r13
add rax, 0x20
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xf8], r13
mov qword [rsp + 0x100], 1
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x90], r13
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x48], rax
cmp r13, rax
je 0x14000497c
xor esi, esi
jmp 0x140004794
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rbx
call fcn.1400615a4
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, r12
call fcn.1400615a4
add r13, 0x20
mov rsi, r14
cmp r13, qword [rsp + 0x48]
je 0x14000497f
movzx r15d, word [r13]
cmp r15w, 2
je 0x140004f11
mov edi, dword [r13 + 0x14]
mov r14d, dword [r13 + 0x18]
movzx ebp, word [r13 + 0x1c]
movzx eax, word [r13 + 0x12]
mov word [rsp + 0x60], ax
movups xmm0, xmmword [r13 + 2]
movaps xmmword [rsp + 0x50], xmm0
mov eax, dword [0x1400810c8]
cmp eax, 3
je 0x1400047d5
call fcn.14004b280
test r15b, 1
mov ebx, 2
mov eax, 0x17
cmovne ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140004830
test r15b, 1
je 0x1400048b0
mov r8d, 0x1c
mov ax, 0x17
movups xmm0, xmmword [rsp + 0x52]
jmp 0x1400048c6
mov dword [rsp + 0xd4], r14d
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x140004852
mov r14d, eax
cmp eax, 0x2726
jne 0x14000491d
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x14000496b
mov r12, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
je 0x140004975
mov r14d, dword [rsp + 0xd4]
test r15b, 1
jne 0x14000481b
nop dword [rax + rax]
movzx ebp, word [rsp + 0x54]
mov edi, dword [rsp + 0x50]
xorps xmm0, xmm0
mov r8d, 0x10
mov ax, 2
lea r15, [rsp + 0x168]
rol bp, 8
mov word [rsp + 0x168], ax
mov word [rsp + 0x16a], bp
mov dword [rsp + 0x16c], edi
movups xmmword [rsp + 0x170], xmm0
mov dword [rsp + 0x180], r14d
mov rcx, r12
mov rdx, r15
call sub.ws2_32.dll_connect
cmp eax, 0xffffffff
jne 0x140004fec
call sub.ws2_32.dll_WSAGetLastError
mov r14d, eax
mov rcx, r12
call sub.ws2_32.dll_closesocket
shl r14, 0x20
or r14, 2
mov eax, esi
and eax, 3
cmp eax, 1
jne 0x140004782
lea r12, [rsi - 1]
mov rbx, qword [rsi - 1]
mov rsi, qword [rsi + 7]
mov rax, qword [rsi]
test rax, rax
je 0x14000494c
mov rcx, rbx
call rax
cmp qword [rsi + 8], 0
je 0x140004771
cmp qword [rsi + 0x10], 0x11
jb 0x140004760
mov rbx, qword [rbx - 8]
jmp 0x140004760
call sub.ws2_32.dll_WSAGetLastError
mov r14d, eax
jmp 0x14000491d
call sub.kernel32.dll_GetLastError
jmp 0x140004912
xor r14d, r14d
cmp qword [rsp + 0xb8], 0
je 0x1400049a0
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, qword [rsp + 0x90]
call fcn.1400615a4
test r14, r14
lea rax, str.could_not_resolve_to_any_addresses
cmove r14, rax
mov esi, 1
cmp qword [rsp + 0x120], 0
lea r15, [rsp + 0x168]
mov r13b, 0x3a
jne 0x140004a5a
jmp 0x140004a75
cmp byte [rcx], 0x2b
jne 0x140004f28
inc rcx
lea rax, [rbx - 1]
cmp rbx, 6
mov rbx, rax
jb 0x140004f32
xor r8d, r8d
xor eax, eax
nop word cs:[rax + rax]
cmp rbx, r8
je 0x140004f63
mov dx, 0xa
mul dx
seto r9b
movzx edx, byte [rcx + r8]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140004a30
test r9b, r9b
jne 0x140004a30
inc r8
add ax, dx
jae 0x140004a00
nop
lea r13, str.p__a_
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0xf8], r13
mov esi, 1
mov r14, r13
mov r13b, 0x3a
cmp qword [rsp + 0x120], 0
je 0x140004a70
mov r8, qword [rsp + 0x128]
mov rcx, qword [0x1400810e8]
xor edx, edx
call fcn.1400615a4
test rsi, rsi
je 0x140004af0
mov eax, r14d
and eax, 3
cmp eax, 1
jne 0x1400041df
lea rdi, [r14 - 1]
mov rbx, qword [r14 - 1]
mov rsi, qword [r14 + 7]
mov rax, qword [rsi]
test rax, rax
je 0x140004a9d
mov rcx, rbx
call rax
cmp qword [rsi + 8], 0
lea r14, [rsp + 0x50]
je 0x140004ac5
cmp qword [rsi + 0x10], 0x11
jb 0x140004ab4
mov rbx, qword [rbx - 8]
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rbx
call fcn.1400615a4
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rdi
call fcn.1400615a4
cmp qword [rsp + 0xa0], 0
jne 0x1400041ef
jmp 0x140004205
mov qword [rsp + 0xc0], r14
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 8]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0xc0]
call fcn.1400185a0
mov rdi, rax
test rax, rax
jne 0x1400051ee
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x20]
mov r8, qword [rax + 0x28]
lea rcx, [rsp + 0xc0]
call fcn.1400185a0
mov rdi, rax
test rax, rax
jne 0x1400051ee
mov rdi, qword [rsp + 0xb0]
test rdi, rdi
js 0x14000522e
mov r14, qword [rsp + 0xa8]
je 0x140004b84
movzx eax, byte [0x140081100]
xor ecx, ecx
mov rdx, rdi
call fcn.140057e30
test rax, rax
je 0x140005246
mov rbx, rax
jmp 0x140004b89
mov ebx, 1
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x98]
mov rsi, qword [rax + 0x40]
cmp rsi, qword [rax + 0x30]
jne 0x140004bb6
mov rcx, qword [rsp + 0x250]
call fcn.140019860
mov rdx, qword [rsp + 0x98]
mov rax, qword [rdx + 0x38]
lea rcx, [rsi + rsi*2]
mov qword [rax + rcx*8], rdi
mov qword [rax + rcx*8 + 8], rbx
mov qword [rax + rcx*8 + 0x10], rdi
inc rsi
mov qword [rdx + 0x40], rsi
movups xmm0, xmmword [rsp + 0xa8]
movups xmmword [rsp + 0x278], xmm0
mov rcx, r15
call fcn.140048010
lea rsi, [rsp + 0xf0]
mov rbx, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
movabs rax, 0x8000000000000001
lea r15, [rax - 1]
cmp rbx, r15
je 0x1400041be
mov r12, qword [rsp + 0x178]
movzx eax, byte [0x140081100]
mov edx, 6
xor ecx, ecx
call fcn.140057e30
test rax, rax
mov qword [rsp + 0x48], rbx
je 0x140005263
mov word [rax + 4], 0x6365
mov dword [rax], 0x78657370
mov qword [rsp + 0x168], 6
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], 6
mov byte [rsp + 0x180], 0
mov qword [rsp + 0x188], 0
mov qword [rsp + 0x190], 8
mov qword [rsp + 0x198], 0
mov qword [rsp + 0x1f0], 0
mov qword [rsp + 0x200], 0
mov word [rsp + 0x208], 0
mov qword [rsp + 0x1a0], r15
mov dword [rsp + 0x22c], 0
mov word [rsp + 0x228], 0
mov word [rsp + 0x230], 0
mov dword [rsp + 0x1c0], 6
mov dword [rsp + 0x1d0], 6
mov dword [rsp + 0x1e0], 6
mov qword [rsp + 0x210], 0
mov qword [rsp + 0x220], 0
lea rax, [rsp + 0x278]
mov qword [rsp + 0xe0], rax
lea rax, [0x140019840]
mov qword [rsp + 0xe8], rax
lea rax, [0x14006cc80]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 1
mov qword [rsp + 0x110], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], 1
lea rcx, [rsp + 0x238]
mov rdx, rsi
call fcn.14000e720
mov rbp, qword [rsp + 0x238]
mov r14, qword [rsp + 0x240]
mov r13, qword [rsp + 0x248]
mov rcx, rsi
mov rdx, rdi
mov r8, r12
call fcn.1400101e0
test byte [rsp + 0xf0], 1
jne 0x140005255
mov rbx, qword [rsp + 0xf8]
mov r12, qword [rsp + 0x100]
lea rsi, [rsp + 0x168]
mov rcx, rsi
mov rdx, r14
mov r8, r13
call fcn.14005b2d0
mov r8d, 2
mov rcx, rsi
lea rdx, [0x14006cc90]
call fcn.14005b2d0
mov rcx, rsi
mov rdx, rbx
mov r8, r12
call fcn.14005b2d0
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.140056f50
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
cmp rax, r15
mov r13b, 0x3a
jne 0x140004e8f
test rbp, rbp
je 0x140004e49
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, r14
call fcn.1400615a4
lea r15, [rsp + 0x168]
mov rcx, r15
call fcn.1400018f0
cmp qword [rsp + 0x48], 0
je 0x140005080
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rdi
call fcn.1400615a4
mov rdi, rbx
mov r14, qword [rsp + 0xc0]
test rdi, rdi
je 0x1400041d7
jmp 0x1400051ee
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
test rax, rax
je 0x140004eaf
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rbx
call fcn.1400615a4
test r15, r15
je 0x140004ec5
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, r12
call fcn.1400615a4
test rbp, rbp
lea r15, [rsp + 0x168]
je 0x140004ee3
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, r14
call fcn.1400615a4
mov rcx, r15
call fcn.1400018f0
cmp qword [rsp + 0x48], 0
je 0x140004f04
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rdi
call fcn.1400615a4
mov r14, qword [rsp + 0xc0]
jmp 0x1400041d7
mov r14, rsi
cmp qword [rsp + 0xb8], 0
jne 0x14000498a
jmp 0x1400049a0
cmp rbx, 5
jae 0x1400049ef
xor edx, edx
xor eax, eax
nop word cs:[rax + rax]
movzx r8d, byte [rcx + rdx]
add r8d, 0xffffffd0
cmp r8d, 9
ja 0x140004a30
add eax, eax
lea eax, [rax + rax*4]
add eax, r8d
inc rdx
cmp rbx, rdx
jne 0x140004f40
mov qword [rsp + 0x168], rbp
mov qword [rsp + 0x170], rdi
mov word [rsp + 0x178], ax
mov rcx, r14
mov rdx, r15
call fcn.14004ace0
mov r13, qword [rsp + 0x58]
test byte [rsp + 0x50], 1
jne 0x140004a37
lea rax, [rsp + 0x60]
movups xmm0, xmmword [rax]
lea rax, [rsp + 0x240]
movups xmmword [rax], xmm0
mov qword [rsp + 0x238], r13
mov rcx, rsi
lea rdx, [rsp + 0x238]
call fcn.14004af20
mov rax, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xf8]
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140005099
mov qword [rsp + 0x38], rdi
jmp 0x14000472d
cmp qword [rsp + 0xb8], 0
je 0x14000500d
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, qword [rsp + 0x90]
call fcn.1400615a4
mov eax, esi
and eax, 3
cmp eax, 1
mov r13b, 0x3a
jne 0x140005067
lea rdi, [rsi - 1]
mov rbx, qword [rsi - 1]
mov rsi, qword [rsi + 7]
mov rax, qword [rsi]
test rax, rax
je 0x140005033
mov rcx, rbx
call rax
cmp qword [rsi + 8], 0
je 0x140005056
cmp qword [rsi + 0x10], 0x11
jb 0x140005045
mov rbx, qword [rbx - 8]
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rbx
call fcn.1400615a4
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rdi
call fcn.1400615a4
mov r14, r12
xor esi, esi
cmp qword [rsp + 0x120], 0
jne 0x140004a5a
jmp 0x140004a70
mov rdi, rbx
mov r14, qword [rsp + 0xc0]
test rdi, rdi
je 0x1400041d7
jmp 0x1400051ee
mov qword [rsp + 0x38], rdi
jmp 0x140004a44
xor ecx, ecx
xor r12d, r12d
cmp r12d, 1
cmove r8, rcx
test r8, r8
jne 0x1400050f4
jmp 0x14000452e
jmp 0x1400050d6
mov r10, r15
add r10, r11
mov esi, eax
xor r12d, r12d
test r15d, r15d
setne r12b
cmovne r11, r10
cmovne rcx, r14
lea r14, [rsp + 0x50]
lea r15, [rsp + 0x168]
cmp r12d, 1
cmove r8, rcx
test r8, r8
je 0x14000452e
test r12d, r12d
mov r10d, esi
cmove r10d, r12d
cmp r12d, 1
cmove r10d, esi
cmove r9, r11
movzx eax, byte [r9]
lea rcx, [r8 - 1]
cmp al, 0x5d
jne 0x14000452e
test rcx, rcx
je 0x14000452e
cmp byte [r9 + 1], 0x3a
jne 0x14000452e
add r8, 0xfffffffffffffffe
je 0x14000452e
xor r11d, r11d
xor eax, eax
nop dword [rax]
movzx esi, byte [r9 + r11 + 2]
add esi, 0xffffffd0
cmp esi, 9
ja 0x140005177
mov cx, 0xa
mul cx
jo 0x14000452e
mov ecx, eax
add ax, si
jb 0x14000452e
movsx eax, si
add eax, ecx
inc r11
cmp r8, r11
jne 0x140005140
xor ecx, ecx
jmp 0x140005180
mov rcx, r8
sub rcx, r11
mov r8d, r11d
test r8d, r8d
je 0x14000452e
mov edx, dword [rsp + 0xe8]
mov r8, qword [rsp + 0xe0]
mov qword [rsp + 0x148], r8
mov dword [rsp + 0x150], edx
test rcx, rcx
jne 0x14000452e
shl rdi, 8
mov ecx, dword [rsp + 0x150]
mov dword [rsp + 0x160], ecx
mov rcx, qword [rsp + 0x148]
mov qword [rsp + 0x158], rcx
mov bx, 1
xor esi, esi
mov dword [rsp + 0xd0], r10d
mov word [rsp + 0x46], ax
jmp 0x14000466b
xor edi, edi
jmp 0x140005217
mov rcx, r14
call sub.ws2_32.dll_closesocket
cmp qword [rsp + 0xa0], 0
je 0x140005217
mov r8, qword [rsp + 0xa8]
mov rcx, qword [0x1400810e8]
xor edx, edx
call fcn.1400615a4
mov rax, rdi
add rsp, 0x288
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14000e2d0
jmp 0x140005272
mov ecx, 4
mov edx, 0x20
call fcn.14000e310
jmp 0x140005272
mov ecx, 1
mov rdx, rdi
call fcn.14000e2b0
jmp 0x140005272
lea rcx, [0x14006cc98]
call fcn.1400112f0
jmp 0x140005272
mov ecx, 1
mov edx, 6
call fcn.14000e2b0
ud2