Function at 0x1400f46e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov qword [rbp - 0x48], rdx
mov rbx, rcx
lea rdx, [rsp + 0x48]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x40], r8
xor r15d, r15d
mov dword [rsp + 0x64], 0xff
call fcn.1400f4210
test rax, rax
je 0x1400f4d91
mov eax, dword [rbx + 4]
mov r9d, dword [rsp + 0x48]
mov qword [rsp + 0x500], rdi
mov qword [rsp + 0x4f8], r12
mov r12d, dword [rsp + 0x4c]
mov dword [rbp - 0x7c], eax
cdq
mov r8d, eax
mov qword [rsp + 0x4f0], r13
mov r13d, dword [rsp + 0x50]
xor r8d, edx
mov eax, dword [rsp + 0x64]
sub r8d, edx
mov qword [rsp + 0x4e8], r14
mov r14d, dword [rsp + 0x68]
mov dword [rbx + 4], r8d
mov dword [rsp + 0x20], eax
cmp r13d, 0xc
jne 0x1400f47aa
cmp r9d, 0x18
jge 0x1400f47bd
mov ecx, r12d
mov eax, 0x55555556
sub ecx, r14d
sub ecx, 0x18
imul ecx
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
jmp 0x1400f47bd
cmp r9d, 0x10
jge 0x1400f47bd
mov r15d, r12d
sub r15d, r14d
sub r15d, r13d
sar r15d, 2
mov ecx, dword [rsp + 0x60]
cmp r9d, 0x18
jne 0x1400f47d8
cmp ecx, 0xff000000
jne 0x1400f47d8
mov dword [rbx + 8], 3
jmp 0x1400f47e5
xor eax, eax
test ecx, ecx
setne al
add eax, 3
mov dword [rbx + 8], eax
mov edi, dword [rbx]
test edi, edi
js 0x1400f54d5
je 0x1400f4809
xor ecx, ecx
mov eax, 0x7fffffff
cdq
idiv edi
cmp eax, 4
setge cl
test ecx, ecx
je 0x1400f54d5
lea r9d, [rdi*4]
test r9d, r9d
js 0x1400f54d5
test r8d, r8d
js 0x1400f54d5
je 0x1400f483e
xor ecx, ecx
mov eax, 0x7fffffff
cdq
idiv r8d
cmp r9d, eax
setle cl
test ecx, ecx
je 0x1400f54d5
xor r9d, r9d
mov qword [rsp + 0x508], rsi
mov edx, edi
lea ecx, [r9 + 4]
call fcn.1400ea950
test eax, eax
je 0x1400f54b8
imul edi, r8d
shl edi, 2
movsxd rcx, edi
call fcn.14027bdf8
mov qword [rbp - 0x78], rax
mov rsi, rax
test rax, rax
je 0x1400f54b8
cmp dword [rsp + 0x48], 0x10
jge 0x1400f4dce
xor edi, edi
test r15d, r15d
je 0x1400f4dac
cmp r15d, 0x100
jg 0x1400f4dac
xor r14d, r14d
test r15d, r15d
jle 0x1400f49d7
movsxd rsi, r15d
nop dword [rax]
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f48cf
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f48f4
cmp dword [rbx + 0x30], edi
je 0x1400f48f2
mov rcx, rbx
call fcn.1400eb180
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f48f4
xor cl, cl
mov rax, qword [rbx + 0xb8]
mov byte [rbp + r14*4 - 0x2e], cl
cmp rax, qword [rbx + 0xc0]
jae 0x1400f4918
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f493d
cmp dword [rbx + 0x30], edi
je 0x1400f493b
mov rcx, rbx
call fcn.1400eb180
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f493d
xor cl, cl
mov rax, qword [rbx + 0xb8]
mov byte [rbp + r14*4 - 0x2f], cl
cmp rax, qword [rbx + 0xc0]
jae 0x1400f4961
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f4986
cmp dword [rbx + 0x30], edi
je 0x1400f4984
mov rcx, rbx
call fcn.1400eb180
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f4986
xor cl, cl
mov byte [rbp + r14*4 - 0x30], cl
cmp r13d, 0xc
je 0x1400f49c1
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f49ad
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f49c1
cmp dword [rbx + 0x30], edi
je 0x1400f49c1
mov rcx, rbx
call fcn.1400eb180
inc qword [rbx + 0xb8]
mov byte [rbp + r14*4 - 0x2d], 0xff
inc r14
cmp r14, rsi
jl 0x1400f48b0
mov rsi, qword [rbp - 0x78]
xor eax, eax
mov rcx, rbx
cmp r13d, 0xc
setne al
add eax, 3
imul eax, r15d
sub r12d, eax
sub r12d, dword [rsp + 0x68]
sub r12d, r13d
mov edx, r12d
call fcn.1400eb1f0
mov r13d, dword [rsp + 0x48]
cmp r13d, 1
jne 0x1400f4a15
mov r12d, dword [rbx]
add r12d, 7
shr r12d, 3
jmp 0x1400f4a33
cmp r13d, 4
jne 0x1400f4a26
mov r12d, dword [rbx]
inc r12d
shr r12d, 1
jmp 0x1400f4a33
cmp r13d, 8
jne 0x1400f4d43
mov r12d, dword [rbx]
neg r12d
and r12d, 3
cmp r13d, 1
jne 0x1400f4b9a
xor r13d, r13d
cmp dword [rbx + 4], edi
jle 0x1400f53be
mov rax, qword [rbx + 0xb8]
mov r14d, 7
cmp rax, qword [rbx + 0xc0]
jae 0x1400f4a75
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f4a9b
cmp dword [rbx + 0x30], 0
je 0x1400f4a99
mov rcx, rbx
call fcn.1400eb180
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f4a9b
xor cl, cl
xor r15d, r15d
movzx edx, cl
cmp dword [rbx], r15d
jle 0x1400f4b4a
nop word [rax + rax]
mov eax, edx
mov ecx, r14d
sar eax, cl
and eax, 1
lea rcx, [rax*4]
movzx eax, byte [rbp + rcx - 0x30]
mov byte [rdi + rsi], al
movzx eax, byte [rbp + rcx - 0x2f]
mov byte [rdi + rsi + 1], al
movzx eax, byte [rbp + rcx - 0x2e]
mov byte [rdi + rsi + 2], al
mov byte [rdi + rsi + 3], 0xff
add rdi, 4
inc r15d
cmp r15d, dword [rbx]
je 0x1400f4b4a
sub r14d, 1
jns 0x1400f4b41
mov rax, qword [rbx + 0xb8]
mov r14d, 7
cmp rax, qword [rbx + 0xc0]
jae 0x1400f4b18
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f4b3e
cmp dword [rbx + 0x30], 0
je 0x1400f4b3c
mov rcx, rbx
call fcn.1400eb180
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f4b3e
xor cl, cl
movzx edx, cl
cmp r15d, dword [rbx]
jl 0x1400f4ab0
cmp qword [rbx + 0x10], 0
je 0x1400f4b7e
mov ecx, dword [rbx + 0xc0]
sub ecx, dword [rbx + 0xb8]
cmp ecx, r12d
jge 0x1400f4b7e
mov rax, qword [rbx + 0xc0]
mov edx, r12d
sub edx, ecx
mov qword [rbx + 0xb8], rax
mov rcx, qword [rbx + 0x28]
call qword [rbx + Ordinal_26]
jmp 0x1400f4b88
mov eax, r12d
add qword [rbx + 0xb8], rax
inc r13d
cmp r13d, dword [rbx + 4]
jl 0x1400f4a50
jmp 0x1400f53be
xor r15d, r15d
cmp dword [rbx + 4], edi
jle 0x1400f53be
nop word [rax + rax]
xor r14d, r14d
cmp dword [rbx], r14d
jle 0x1400f4cf3
nop dword [rax]
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f4bdf
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f4c05
cmp dword [rbx + 0x30], 0
je 0x1400f4c03
mov rcx, rbx
call fcn.1400eb180
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f4c05
xor cl, cl
xor r8d, r8d
movzx eax, cl
cmp r13d, 4
jne 0x1400f4c1b
mov r8d, eax
and r8d, 0xf
shr eax, 4
movsxd rcx, edi
lea rdx, [rax*4]
movzx eax, byte [rbp + rdx - 0x30]
inc edi
mov byte [rcx + rsi], al
movzx eax, byte [rbp + rdx - 0x2f]
movsxd rcx, edi
inc edi
mov byte [rcx + rsi], al
movzx eax, byte [rbp + rdx - 0x2e]
movsxd rcx, edi
inc edi
mov byte [rcx + rsi], al
movsxd rax, edi
inc edi
mov byte [rax + rsi], 0xff
lea eax, [r14 + 1]
cmp eax, dword [rbx]
je 0x1400f4cf3
cmp r13d, 8
jne 0x1400f4cae
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f4c84
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f4caa
cmp dword [rbx + 0x30], 0
je 0x1400f4ca8
mov rcx, rbx
call fcn.1400eb180
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f4caa
xor cl, cl
movzx r8d, cl
movsxd rcx, edi
lea rdx, [r8*4]
movzx eax, byte [rbp + rdx - 0x30]
inc edi
add r14d, 2
mov byte [rcx + rsi], al
movzx eax, byte [rbp + rdx - 0x2f]
movsxd rcx, edi
inc edi
mov byte [rcx + rsi], al
movzx eax, byte [rbp + rdx - 0x2e]
movsxd rcx, edi
inc edi
mov byte [rcx + rsi], al
movsxd rax, edi
inc edi
mov byte [rax + rsi], 0xff
cmp r14d, dword [rbx]
jl 0x1400f4bc0
cmp qword [rbx + 0x10], 0
je 0x1400f4d27
mov ecx, dword [rbx + 0xc0]
sub ecx, dword [rbx + 0xb8]
cmp ecx, r12d
jge 0x1400f4d27
mov rax, qword [rbx + 0xc0]
mov edx, r12d
sub edx, ecx
mov qword [rbx + 0xb8], rax
mov rcx, qword [rbx + 0x28]
call qword [rbx + Ordinal_26]
jmp 0x1400f4d31
mov eax, r12d
add qword [rbx + 0xb8], rax
inc r15d
cmp r15d, dword [rbx + 4]
jl 0x1400f4bb0
jmp 0x1400f53be
mov rcx, rsi
call fcn.14027b988
mov rax, qword gs:[0x58]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rax]
lea rax, str.bad_bpp
mov qword [rdx + rcx], rax
xor eax, eax
mov rsi, qword [rsp + 0x508]
mov r12, qword [rsp + 0x4f8]
mov rdi, qword [rsp + 0x500]
mov r13, qword [rsp + 0x4f0]
mov r14, qword [rsp + 0x4e8]
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x510
pop r15
pop rbx
pop rbp
ret
mov rcx, rsi
call fcn.14027b988
mov rax, qword gs:[0x58]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rax]
lea rax, str.invalid
jmp 0x1400f4d63
xor eax, eax
sub r12d, r14d
sub r12d, r13d
mov dword [rsp + 0x28], eax
mov edx, r12d
mov dword [rsp + 0x2c], eax
mov rcx, rbx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x30], eax
mov r15d, eax
mov edi, eax
call fcn.1400eb1f0
mov ecx, dword [rsp + 0x48]
cmp ecx, 0x18
jne 0x1400f4e06
mov eax, dword [rbx]
lea edx, [rax + rax*2]
jmp 0x1400f4e13
cmp ecx, 0x10
jne 0x1400f4e11
mov edx, dword [rbx]
add edx, edx
jmp 0x1400f4e13
xor edx, edx
mov r10d, dword [rsp + 0x5c]
neg edx
mov r9d, dword [rsp + 0x58]
and edx, 3
mov r8d, dword [rsp + 0x54]
mov dword [rsp + 0x44], edx
cmp ecx, 0x18
jne 0x1400f4e4d
lea edi, [rcx - 0x17]
mov eax, r15d
mov r8d, r15d
mov r14d, eax
mov r12d, eax
mov r13d, eax
mov r9d, r15d
mov r10d, r15d
jmp 0x1400f5005
cmp ecx, 0x20
jne 0x1400f4e80
cmp r10d, 0xff
jne 0x1400f4e80
cmp r9d, 0xff00
jne 0x1400f4e80
cmp r8d, 0xff0000
jne 0x1400f4e80
mov r11d, dword [rsp + 0x60]
cmp r11d, 0xff000000
jne 0x1400f4ea0
lea edi, [rcx - 0x1e]
jmp 0x1400f4e33
test r8d, r8d
je 0x1400f5493
test r9d, r9d
je 0x1400f5493
test r10d, r10d
je 0x1400f5493
mov r11d, dword [rsp + 0x60]
mov ecx, r8d
call fcn.1400f41c0
mov edx, r8d
mov ecx, r8d
shr edx, 1
and ecx, 0x55555555
and edx, 0x55555555
add edx, ecx
lea r12d, [rax - 7]
mov ecx, edx
mov dword [rsp + 0x28], r12d
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
mov ecx, r9d
and edx, 0xf0f0f0f
mov eax, edx
shr eax, 8
add edx, eax
mov eax, edx
shr eax, 0x10
add eax, edx
movzx r8d, al
call fcn.1400f41c0
mov edx, r9d
mov ecx, r9d
shr edx, 1
and ecx, 0x55555555
and edx, 0x55555555
add edx, ecx
lea r13d, [rax - 7]
mov ecx, edx
mov dword [rsp + 0x2c], r13d
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
mov ecx, r10d
and edx, 0xf0f0f0f
mov eax, edx
shr eax, 8
add edx, eax
mov eax, edx
shr eax, 0x10
add eax, edx
movzx r9d, al
call fcn.1400f41c0
sub eax, 7
mov edx, r10d
shr edx, 1
mov ecx, r10d
and edx, 0x55555555
mov dword [rsp + 0x40], eax
and ecx, 0x55555555
add edx, ecx
mov ecx, edx
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
mov ecx, r11d
and edx, 0xf0f0f0f
mov eax, edx
shr eax, 8
add edx, eax
mov eax, edx
shr eax, 0x10
add eax, edx
movzx r10d, al
call fcn.1400f41c0
lea r14d, [rax - 7]
mov edx, r11d
mov dword [rsp + 0x30], r14d
shr edx, 1
mov ecx, r11d
and edx, 0x55555555
and ecx, 0x55555555
add edx, ecx
mov ecx, edx
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
mov ecx, dword [rsp + 0x48]
and edx, 0xf0f0f0f
mov eax, edx
shr eax, 8
add edx, eax
mov eax, edx
shr eax, 0x10
add eax, edx
movzx eax, al
mov dword [rsp + 0x24], r15d
cmp dword [rbx + 4], r15d
jle 0x1400f53be
mov edx, r12d
neg edx
mov dword [rsp + 0x3c], edx
mov edx, 8
mov r11d, edx
sub r11d, r8d
mov dword [rsp + 0x38], r11d
mov r11d, r13d
neg r11d
mov dword [rsp + 0x34], r11d
mov r11d, edx
sub r11d, r9d
mov dword [rsp + 0x70], r11d
mov r11d, dword [rsp + 0x40]
neg r11d
mov dword [rsp + 0x74], r11d
mov r11d, edx
sub r11d, r10d
mov dword [rsp + 0x78], r11d
mov r11d, r14d
neg r11d
sub edx, eax
mov dword [rsp + 0x7c], r11d
mov r11d, r8d
mov r8d, r9d
mov dword [rbp - 0x80], edx
mov edx, edi
mov edi, eax
mov r9d, r10d
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x60], r11
mov qword [rbp - 0x58], r8
mov qword [rbp - 0x50], r9
nop dword [rax]
movsxd rax, r15d
test rdx, rdx
je 0x1400f5213
xor r13d, r13d
cmp dword [rbx], r13d
jle 0x1400f5362
lea rdi, [rax + rsi]
lea r14, [rdi + 1]
lea r12, [rdi + 2]
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f50df
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f5105
cmp dword [rbx + 0x30], 0
je 0x1400f5103
mov rcx, rbx
call fcn.1400eb180
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f5105
xor cl, cl
mov byte [r12], cl
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f5128
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f514e
cmp dword [rbx + 0x30], 0
je 0x1400f514c
mov rcx, rbx
call fcn.1400eb180
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f514e
xor cl, cl
mov byte [r14], cl
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f5170
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f5196
cmp dword [rbx + 0x30], 0
je 0x1400f5194
mov rcx, rbx
call fcn.1400eb180
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f5196
xor cl, cl
cmp qword [rbp - 0x70], 2
mov byte [rdi], cl
jne 0x1400f51e6
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f51be
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f51e8
cmp dword [rbx + 0x30], 0
je 0x1400f51e2
mov rcx, rbx
call fcn.1400eb180
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f51e8
xor cl, cl
jmp 0x1400f51e8
mov cl, 0xff
mov byte [rdi + 3], cl
add r15d, 4
movzx eax, cl
add r12, 4
or dword [rsp + 0x20], eax
add r14, 4
add rdi, 4
inc r13d
cmp r13d, dword [rbx]
jl 0x1400f50c0
jmp 0x1400f5362
xor r12d, r12d
cmp dword [rbx], r12d
jle 0x1400f5362
lea r14, [rax + rsi]
movsxd r13, ecx
mov esi, dword [rsp + 0x20]
nop word [rax + rax]
mov rcx, rbx
call fcn.1400eb400
cmp r13, 0x10
je 0x1400f5251
mov rcx, rbx
mov edi, eax
call fcn.1400eb400
shl eax, 0x10
add eax, edi
mov rdi, qword [rbp - 0x68]
mov ecx, dword [rsp + 0x28]
mov edx, eax
and edx, dword [rsp + 0x54]
test ecx, ecx
jns 0x1400f5267
mov ecx, dword [rsp + 0x3c]
shl edx, cl
jmp 0x1400f5269
shr edx, cl
mov r8, qword [rbp - 0x60]
lea r9, [0x140000000]
mov ecx, dword [rsp + 0x38]
shr edx, cl
imul edx, dword [r9 + r8*4 + 0x354230]
mov ecx, dword [r9 + r8*4 + 0x354208]
sar edx, cl
mov ecx, dword [rsp + 0x2c]
mov byte [r14], dl
mov edx, eax
and edx, dword [rsp + 0x58]
test ecx, ecx
jns 0x1400f52a6
mov ecx, dword [rsp + 0x34]
shl edx, cl
jmp 0x1400f52a8
shr edx, cl
mov r8, qword [rbp - 0x58]
mov ecx, dword [rsp + 0x70]
shr edx, cl
imul edx, dword [r9 + r8*4 + 0x354230]
mov ecx, dword [r9 + r8*4 + 0x354208]
sar edx, cl
mov ecx, dword [rsp + 0x40]
mov byte [r14 + 1], dl
mov edx, eax
and edx, dword [rsp + 0x5c]
test ecx, ecx
jns 0x1400f52df
mov ecx, dword [rsp + 0x74]
shl edx, cl
jmp 0x1400f52e1
shr edx, cl
mov r8, qword [rbp - 0x50]
mov ecx, dword [rsp + 0x78]
mov r11d, dword [rsp + 0x60]
shr edx, cl
imul edx, dword [r9 + r8*4 + 0x354230]
mov ecx, dword [r9 + r8*4 + 0x354208]
sar edx, cl
mov byte [r14 + 2], dl
test r11d, r11d
je 0x1400f533b
mov ecx, dword [rsp + 0x30]
and eax, r11d
test ecx, ecx
jns 0x1400f531f
mov ecx, dword [rsp + 0x7c]
shl eax, cl
jmp 0x1400f5321
shr eax, cl
mov ecx, dword [rbp - 0x80]
shr eax, cl
imul eax, dword [r9 + rdi*4 + 0x354230]
mov ecx, dword [r9 + rdi*4 + 0x354208]
sar eax, cl
jmp 0x1400f5340
mov eax, 0xff
mov byte [r14 + 3], al
or esi, eax
add r14, 4
add r15d, 4
inc r12d
cmp r12d, dword [rbx]
jl 0x1400f5230
mov dword [rsp + 0x20], esi
mov rsi, qword [rbp - 0x78]
cmp qword [rbx + 0x10], 0
mov edx, dword [rsp + 0x44]
je 0x1400f5396
mov ecx, dword [rbx + 0xc0]
sub ecx, dword [rbx + 0xb8]
cmp ecx, edx
jge 0x1400f5396
mov rax, qword [rbx + 0xc0]
sub edx, ecx
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0xb8], rax
call qword [rbx + Ordinal_26]
jmp 0x1400f539f
mov eax, edx
add qword [rbx + 0xb8], rax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x48]
inc eax
mov rdx, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x68]
mov dword [rsp + 0x24], eax
cmp eax, dword [rbx + 4]
jl 0x1400f5090
cmp dword [rsp + 0x20], 0
jne 0x1400f53ea
mov eax, dword [rbx + 4]
imul eax, dword [rbx]
lea eax, [rax*4 - 1]
movsxd rcx, eax
test eax, eax
js 0x1400f53ea
nop dword [rax]
mov byte [rcx + rsi], 0xff
sub rcx, 4
jns 0x1400f53e0
cmp dword [rbp - 0x7c], 0
jle 0x1400f546c
xor r10d, r10d
test dword [rbx + 4], 0xfffffffe
jle 0x1400f546c
nop dword [rax]
mov ecx, dword [rbx]
xor r8d, r8d
mov edx, dword [rbx + 4]
mov r9d, ecx
sub edx, r10d
imul r9d, r10d
dec edx
imul edx, ecx
lea eax, [rcx*4]
shl r9d, 2
add r9, rsi
shl edx, 2
add rdx, rsi
test eax, eax
jle 0x1400f545f
sub r9, rdx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx]
inc r8d
movzx ecx, byte [r9 + rdx]
mov byte [r9 + rdx], al
mov byte [rdx], cl
lea rdx, [rdx + 1]
mov eax, dword [rbx]
shl eax, 2
cmp r8d, eax
jl 0x1400f5440
mov eax, dword [rbx + 4]
inc r10d
sar eax, 1
cmp r10d, eax
jl 0x1400f5400
mov eax, dword [rbx]
mov rcx, qword [rbp - 0x48]
mov dword [rcx], eax
mov rcx, qword [rbp - 0x40]
mov eax, dword [rbx + 4]
mov dword [rcx], eax
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400f548b
mov eax, dword [rbx + 8]
mov dword [rcx], eax
mov rax, rsi
jmp 0x1400f4d69
mov rcx, rsi
call fcn.14027b988
mov rax, qword gs:[0x58]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rax]
lea rax, str.bad_masks
jmp 0x1400f4d63
mov rax, qword gs:[0x58]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rax]
lea rax, str.outofmem
jmp 0x1400f4d63
mov rax, qword gs:[0x58]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rax]
lea rax, [0x140353d38]
mov qword [rdx + rcx], rax
xor eax, eax
jmp 0x1400f4d71