Function at 0x140005f00
Capabilities:
Connect socket
Encode data using base64
Encode data using xor
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Terminate process

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x348]
sub rsp, 0x408
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r15, r9
mov qword [rsp + 0x68], r9
mov r14, r8
mov qword [rsp + 0x60], r8
mov r13, rdx
mov qword [rsp + 0x50], rcx
mov qword [rbp - 8], rcx
mov qword [rbp + 0x80], rdx
mov qword [rbp + 0x88], r8
mov qword [rbp + 0x90], r9
mov r12, qword [rbp + 0x370]
mov qword [rsp + 0x58], r12
mov qword [rbp + 0x98], r12
xor edi, edi
mov dword [rsp + 0x28], edi
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_105]
movzx eax, word [0x1402f919c]
mov word [rsp + 0x20], ax
movzx eax, byte [0x1402f919e]
mov byte [rsp + 0x20], 0x7d
xor byte [rsp + 0x21], 0x39
xor al, 0x3a
mov byte [rsp + 0x22], al
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xb8], rdi
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140005fd5
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.140002ef0
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x140005fff
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
lea rcx, [rbp + 0xa0]
call fcn.1400046b0
movzx eax, word [0x1402f91a8]
mov word [rsp + 0x20], ax
cmp byte [0x1402f91a9], 0
je 0x14000602e
mov byte [rsp + 0x20], 0x7e
xor byte [rsp + 0x21], 0x39
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140006036
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.1400046b0
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14000605e
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp + 0xa0]
call fcn.1400046b0
movzx eax, word [0x1402f91a8]
mov word [rsp + 0x20], ax
cmp byte [0x1402f91a9], 0
je 0x14000608d
mov byte [rsp + 0x20], 0x7e
xor byte [rsp + 0x21], 0x39
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140006095
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.1400046b0
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1400060bd
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp + 0xa0]
call fcn.1400046b0
movzx eax, word [0x1402f91a8]
mov word [rsp + 0x20], ax
lea rax, [rsp + 0x20]
mov r8, rbx
cmp byte [0x1402f91a9], 0
je 0x140006100
mov byte [rsp + 0x20], 0x7e
xor byte [rsp + 0x21], 0x39
inc r8
cmp byte [rax + r8], 0
jne 0x1400060f4
jmp 0x14000610a
inc r8
cmp byte [rax + r8], 0
jne 0x140006100
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.1400046b0
mov eax, dword [str.vlvw_]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x1402f91a4]
mov byte [rsp + 0x20], 0x4e
xor byte [rsp + 0x21], 0x39
xor byte [rsp + 0x22], 0x3a
xor byte [rsp + 0x23], 0x3b
xor al, 0x3c
mov byte [rsp + 0x24], al
lea rax, [rsp + 0x20]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140006150
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.1400046b0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
movups xmm0, xmmword [0x1402f91c8]
movups xmmword [rbp + 0x290], xmm0
movzx eax, byte [0x1402f91d8]
mov byte [rbp + 0x2a0], al
mov r8d, edi
mov eax, 5
lea ecx, [rax + 0x1a]
mov r14d, dword [0x140353c80]
cmp r14d, 2
jl 0x1400062ff
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x1403042e0]
movd xmm6, eax
movdqa xmm7, xmmword [0x1403041d0]
movd xmm8, ecx
movdqa xmm0, xmmword [0x140304260]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp + 0x290]
mov edx, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
pxor xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400061f0
cmp r8d, 0x11
jge 0x140006345
movsxd rax, r8d
lea r9, [rbp + 0x290]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x38
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140006310
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
lea rax, [rbp + 0x290]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140006360
mov r8, rbx
lea rdx, [rbp + 0x290]
lea rcx, [rsp + 0x78]
call fcn.140002ef0
nop
mov ecx, dword [rbp + 0x378]
lea r9, [rbp + 0x2a5]
test ecx, ecx
jns 0x1400063e0
neg ecx
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r9], cl
mov ecx, edx
test edx, edx
jne 0x1400063a0
dec r9
mov byte [r9], 0x2d
jmp 0x140006409
dec r9
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r9], cl
mov ecx, edx
test edx, edx
jne 0x1400063e0
lea r8, [rbp + 0x2a5]
mov rdx, r9
lea rcx, [rbp - 0x28]
call fcn.140004ab0
mov dword [rsp + 0x28], 6
lea rax, [rbp + 0x40]
mov qword [rsp + 0x70], rax
mov rdx, r12
lea rcx, [rbp + 0x40]
call fcn.140004590
mov rbx, rax
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x60]
call fcn.140004590
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140001fc0
nop
mov r8d, 1
lea rdx, [0x1402f9110]
mov rcx, rax
call fcn.1400046b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rsp + 0x28], send
lea r9, [rbp - 0x28]
lea r8, [rsp + 0x30]
lea rcx, [rbp + 0x20]
call fcn.1400048c0
mov dword [rsp + 0x28], 0x1e
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x68]
call fcn.140001fc0
mov rbx, rax
lea r9, [rbp + 0x2a5]
mov r8d, 3
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1400064e0
lea r8, [rbp + 0x2a5]
mov rdx, r9
lea rcx, [rbp]
call fcn.140004ab0
mov dword [rsp + 0x28], 0x7e
mov r9, rbx
lea r8, [rbp]
lea rcx, [rbp + 0xc0]
call fcn.1400048c0
mov dword [rsp + 0x28], 0xfe
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14000657f
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006579
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006579
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400065bd
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400065b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000660e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006608
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006608
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14000664c
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006647
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006647
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14000669a
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006695
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006695
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
mov r8d, 1
lea rdx, [0x1402f9154]
lea rcx, [rbp + 0xc0]
call fcn.1400046b0
mov ecx, 0x202
lea rdx, [rbp + 0xf0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140006722
lea rdx, [rsp + 0x30]
call fcn.140006f20
movzx ecx, byte [rax + 9]
test cl, cl
je 0x140006704
xor byte [rax], 0x38
xor byte [rax + 1], 0x39
xor byte [rax + 2], 0x3a
xor byte [rax + 3], 0x3b
xor byte [rax + 4], 0x3c
xor byte [rax + 5], 0x3d
xor byte [rax + 6], 0x3e
xor byte [rax + 7], 0x3f
xor byte [rax + 8], 0x40
xor cl, 0x41
mov byte [rax + 9], cl
xor r9d, r9d
lea r8, [0x1402f9106]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, 1
mov ebx, 2
lea r8d, [rdx + 5]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14000679a
lea rdx, [rsp + 0x30]
call fcn.140006f40
movzx ecx, byte [rax + 9]
test cl, cl
je 0x14000677c
xor byte [rax], 0x38
xor byte [rax + 1], 0x39
xor byte [rax + 2], 0x3a
xor byte [rax + 3], 0x3b
xor byte [rax + 4], 0x3c
xor byte [rax + 5], 0x3d
xor byte [rax + 6], 0x3e
xor byte [rax + 7], 0x3f
xor byte [rax + 8], 0x40
xor cl, 0x41
mov byte [rax + 9], cl
xor r9d, r9d
lea r8, [0x1402f9106]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 0x6959
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0xe2], ax
mov word [rbp + 0xe0], bx
lea rcx, [0x140353cd0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x140353cd0]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0xe4], eax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0xe0]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_connect]
mov rcx, r15
cmp eax, 0xffffffff
jne 0x140006853
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, [rsp + 0x30]
call fcn.140006f60
movzx ecx, byte [rax + 9]
test cl, cl
je 0x140006835
xor byte [rax], 0x38
xor byte [rax + 1], 0x39
xor byte [rax + 2], 0x3a
xor byte [rax + 3], 0x3b
xor byte [rax + 4], 0x3c
xor byte [rax + 5], 0x3d
xor byte [rax + 6], 0x3e
xor byte [rax + 7], 0x3f
xor byte [rax + 8], 0x40
xor cl, 0x41
mov byte [rax + 9], cl
xor r9d, r9d
lea r8, [0x1402f9106]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rdx, qword [rbp + 0xc0]
xor r9d, r9d
mov r8d, dword [rbp + 0xd0]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400068e1
mov rcx, r15
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, [rsp + 0x30]
call fcn.140006f80
movzx ecx, byte [rax + 9]
test cl, cl
je 0x1400068c3
xor byte [rax], 0x38
xor byte [rax + 1], 0x39
xor byte [rax + 2], 0x3a
xor byte [rax + 3], 0x3b
xor byte [rax + 4], 0x3c
xor byte [rax + 5], 0x3d
xor byte [rax + 6], 0x3e
xor byte [rax + 7], 0x3f
xor byte [rax + 8], 0x40
xor cl, 0x41
mov byte [rax + 9], cl
xor r9d, r9d
lea r8, [0x1402f9106]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x2a8], xmm0
mov dword [rbp + 0x2b8], eax
mov word [rbp + 0x2bc], ax
mov byte [rbp + 0x2be], al
xor r9d, r9d
lea r8d, [rax + 0x16]
lea rdx, [rbp + 0x2a8]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140006cbd
cdqe
cmp rax, 0x17
jae 0x140006f0c
mov byte [rbp + rax + 0x2a8], 0
lea rcx, [rbp + 0x2a8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
movsxd r14, eax
test eax, eax
jle 0x140006eaa
mov r12, r14
mov rcx, r14
call fcn.140247a64
mov rsi, rax
mov qword [rsp + 0x20], rax
mov ebx, edi
nop dword [rax + rax]
mov r8d, r14d
sub r8d, ebx
movsxd rdx, ebx
add rdx, rsi
xor r9d, r9d
mov rcx, r15
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140006993
add ebx, eax
cmp r14d, ebx
jg 0x140006970
cmp ebx, r14d
mov rsi, qword [rsp + 0x50]
je 0x140006a09
mov rcx, r15
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x20]
call fcn.140247544
lea rdx, [rsp + 0x30]
call fcn.140006fc0
movzx ecx, byte [rax + 9]
test cl, cl
je 0x1400069eb
xor byte [rax], 0x38
xor byte [rax + 1], 0x39
xor byte [rax + 2], 0x3a
xor byte [rax + 3], 0x3b
xor byte [rax + 4], 0x3c
xor byte [rax + 5], 0x3d
xor byte [rax + 6], 0x3e
xor byte [rax + 7], 0x3f
xor byte [rax + 8], 0x40
xor cl, 0x41
mov byte [rax + 9], cl
xor r9d, r9d
lea r8, [0x1402f9106]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r15, qword [rsp + 0x58]
mov rdx, r15
lea rcx, [rbp - 0x28]
call fcn.140004590
mov r8, rax
mov edx, r14d
mov rcx, qword [rsp + 0x20]
call fcn.140002790
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov dword [rsp + 0x28], 0xff
test r14d, r14d
jle 0x140006a79
mov rdx, rdi
nop
cmp rdx, qword [rsi + 0x10]
je 0x140006a61
movzx eax, byte [rbx]
mov byte [rdx], al
inc qword [rsi + 8]
jmp 0x140006a6c
mov r8, rbx
mov rcx, rsi
call fcn.1400072d0
mov rdx, qword [rsi + 8]
inc rbx
sub r12, 1
jne 0x140006a50
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_505]
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x140006ac4
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006abf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006abf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x140006b21
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006b1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006b1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x140006b75
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x140006b70
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006ca1
mov rcx, r8
call fcn.140247544
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rbx, qword [rsp + 0x60]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140006bc5
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140006bc0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006ca8
mov rcx, r8
call fcn.140247544
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rsp + 0x68]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140006c13
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140006c0e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006caf
mov rcx, r8
call fcn.140247544
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140006c58
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140006c53
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006cb6
mov rcx, r8
call fcn.140247544
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rax, rsi
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.1402474e0
lea r11, [rsp + 0x408]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movups xmm0, xmmword [0x1402f9218]
movups xmmword [rbp + 0x290], xmm0
mov eax, dword [0x1402f9228]
mov dword [rbp + 0x2a0], eax
movzx eax, word [0x1402f922c]
mov word [rbp + 0x2a4], ax
movzx eax, byte [0x1402f922e]
mov byte [rbp + 0x2a6], al
cmp r14d, ebx
jl 0x140006e4c
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x1403042e0]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1403041d0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x140304260]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp + 0x290]
mov edx, dword [rsp + 0x30]
nop
movd xmm2, edi
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rdi + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
pxor xmm2, xmm0
movd dword [rcx + 4], xmm2
add edi, 8
mov eax, edi
lea rcx, [rcx + 8]
cmp edi, 0x10
jl 0x140006d40
cmp eax, 0x17
jge 0x140006e91
movsxd rax, edi
lea r8, [rbp + 0x290]
add r8, rax
nop dword [rax]
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x38
add cl, dil
xor byte [r8], cl
inc edi
lea r8, [r8 + 1]
cmp edi, 0x17
jl 0x140006e60
xor r9d, r9d
lea r8, [0x1402f9106]
lea rdx, [rbp + 0x290]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdx, [rsp + 0x30]
call fcn.140006fa0
movzx ecx, byte [rax + 9]
test cl, cl
je 0x140006eee
xor byte [rax], 0x38
xor byte [rax + 1], 0x39
xor byte [rax + 2], 0x3a
xor byte [rax + 3], 0x3b
xor byte [rax + 4], 0x3c
xor byte [rax + 5], 0x3d
xor byte [rax + 6], 0x3e
xor byte [rax + 7], 0x3f
xor byte [rax + 8], 0x40
xor cl, 0x41
mov byte [rax + 9], cl
xor r9d, r9d
lea r8, [0x1402f9106]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.1402478d0
int3