Function at 0x1400f8f40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x1403a8088]
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.1400f8a70
test rax, rax
je 0x1400f95f1
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 0x1400f900a
cmp r9d, 0x18
jge 0x1400f901d
mov ecx, r12d
mov eax, 0x55555556
sub ecx, r14d
sub ecx, 0x18
imul ecx
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
jmp 0x1400f901d
cmp r9d, 0x10
jge 0x1400f901d
mov r15d, r12d
sub r15d, r14d
sub r15d, r13d
sar r15d, 2
mov ecx, dword [rsp + 0x60]
cmp r9d, 0x18
jne 0x1400f9038
cmp ecx, 0xff000000
jne 0x1400f9038
mov dword [rbx + 8], 3
jmp 0x1400f9045
xor eax, eax
test ecx, ecx
setne al
add eax, 3
mov dword [rbx + 8], eax
mov edi, dword [rbx]
test edi, edi
js 0x1400f9d35
je 0x1400f9069
xor ecx, ecx
mov eax, 0x7fffffff
cdq
idiv edi
cmp eax, 4
setge cl
test ecx, ecx
je 0x1400f9d35
lea r9d, [rdi*4]
test r9d, r9d
js 0x1400f9d35
test r8d, r8d
js 0x1400f9d35
je 0x1400f909e
xor ecx, ecx
mov eax, 0x7fffffff
cdq
idiv r8d
cmp r9d, eax
setle cl
test ecx, ecx
je 0x1400f9d35
xor r9d, r9d
mov qword [rsp + 0x508], rsi
mov edx, edi
lea ecx, [r9 + 4]
call fcn.1400ef1b0
test eax, eax
je 0x1400f9d18
imul edi, r8d
shl edi, 2
movsxd rcx, edi
call fcn.140280918
mov qword [rbp - 0x78], rax
mov rsi, rax
test rax, rax
je 0x1400f9d18
cmp dword [rsp + 0x48], 0x10
jge 0x1400f962e
xor edi, edi
test r15d, r15d
je 0x1400f960c
cmp r15d, 0x100
jg 0x1400f960c
xor r14d, r14d
test r15d, r15d
jle 0x1400f9237
movsxd rsi, r15d
nop dword [rax]
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f912f
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f9154
cmp dword [rbx + 0x30], edi
je 0x1400f9152
mov rcx, rbx
call fcn.1400ef9e0
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f9154
xor cl, cl
mov rax, qword [rbx + 0xb8]
mov byte [rbp + r14*4 - 0x2e], cl
cmp rax, qword [rbx + 0xc0]
jae 0x1400f9178
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f919d
cmp dword [rbx + 0x30], edi
je 0x1400f919b
mov rcx, rbx
call fcn.1400ef9e0
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f919d
xor cl, cl
mov rax, qword [rbx + 0xb8]
mov byte [rbp + r14*4 - 0x2f], cl
cmp rax, qword [rbx + 0xc0]
jae 0x1400f91c1
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f91e6
cmp dword [rbx + 0x30], edi
je 0x1400f91e4
mov rcx, rbx
call fcn.1400ef9e0
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f91e6
xor cl, cl
mov byte [rbp + r14*4 - 0x30], cl
cmp r13d, 0xc
je 0x1400f9221
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f920d
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f9221
cmp dword [rbx + 0x30], edi
je 0x1400f9221
mov rcx, rbx
call fcn.1400ef9e0
inc qword [rbx + 0xb8]
mov byte [rbp + r14*4 - 0x2d], 0xff
inc r14
cmp r14, rsi
jl 0x1400f9110
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.1400efa50
mov r13d, dword [rsp + 0x48]
cmp r13d, 1
jne 0x1400f9275
mov r12d, dword [rbx]
add r12d, 7
shr r12d, 3
jmp 0x1400f9293
cmp r13d, 4
jne 0x1400f9286
mov r12d, dword [rbx]
inc r12d
shr r12d, 1
jmp 0x1400f9293
cmp r13d, 8
jne 0x1400f95a3
mov r12d, dword [rbx]
neg r12d
and r12d, 3
cmp r13d, 1
jne 0x1400f93fa
xor r13d, r13d
cmp dword [rbx + 4], edi
jle 0x1400f9c1e
mov rax, qword [rbx + 0xb8]
mov r14d, 7
cmp rax, qword [rbx + 0xc0]
jae 0x1400f92d5
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f92fb
cmp dword [rbx + 0x30], 0
je 0x1400f92f9
mov rcx, rbx
call fcn.1400ef9e0
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f92fb
xor cl, cl
xor r15d, r15d
movzx edx, cl
cmp dword [rbx], r15d
jle 0x1400f93aa
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 0x1400f93aa
sub r14d, 1
jns 0x1400f93a1
mov rax, qword [rbx + 0xb8]
mov r14d, 7
cmp rax, qword [rbx + 0xc0]
jae 0x1400f9378
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f939e
cmp dword [rbx + 0x30], 0
je 0x1400f939c
mov rcx, rbx
call fcn.1400ef9e0
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f939e
xor cl, cl
movzx edx, cl
cmp r15d, dword [rbx]
jl 0x1400f9310
cmp qword [rbx + 0x10], 0
je 0x1400f93de
mov ecx, dword [rbx + 0xc0]
sub ecx, dword [rbx + 0xb8]
cmp ecx, r12d
jge 0x1400f93de
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 0x1400f93e8
mov eax, r12d
add qword [rbx + 0xb8], rax
inc r13d
cmp r13d, dword [rbx + 4]
jl 0x1400f92b0
jmp 0x1400f9c1e
xor r15d, r15d
cmp dword [rbx + 4], edi
jle 0x1400f9c1e
nop word [rax + rax]
xor r14d, r14d
cmp dword [rbx], r14d
jle 0x1400f9553
nop dword [rax]
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f943f
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f9465
cmp dword [rbx + 0x30], 0
je 0x1400f9463
mov rcx, rbx
call fcn.1400ef9e0
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f9465
xor cl, cl
xor r8d, r8d
movzx eax, cl
cmp r13d, 4
jne 0x1400f947b
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 0x1400f9553
cmp r13d, 8
jne 0x1400f950e
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f94e4
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f950a
cmp dword [rbx + 0x30], 0
je 0x1400f9508
mov rcx, rbx
call fcn.1400ef9e0
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f950a
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 0x1400f9420
cmp qword [rbx + 0x10], 0
je 0x1400f9587
mov ecx, dword [rbx + 0xc0]
sub ecx, dword [rbx + 0xb8]
cmp ecx, r12d
jge 0x1400f9587
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 0x1400f9591
mov eax, r12d
add qword [rbx + 0xb8], rax
inc r15d
cmp r15d, dword [rbx + 4]
jl 0x1400f9410
jmp 0x1400f9c1e
mov rcx, rsi
call fcn.1402804a8
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.14012a2b0
add rsp, 0x510
pop r15
pop rbx
pop rbp
ret
mov rcx, rsi
call fcn.1402804a8
mov rax, qword gs:[0x58]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rax]
lea rax, str.invalid
jmp 0x1400f95c3
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.1400efa50
mov ecx, dword [rsp + 0x48]
cmp ecx, 0x18
jne 0x1400f9666
mov eax, dword [rbx]
lea edx, [rax + rax*2]
jmp 0x1400f9673
cmp ecx, 0x10
jne 0x1400f9671
mov edx, dword [rbx]
add edx, edx
jmp 0x1400f9673
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 0x1400f96ad
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 0x1400f9865
cmp ecx, 0x20
jne 0x1400f96e0
cmp r10d, 0xff
jne 0x1400f96e0
cmp r9d, 0xff00
jne 0x1400f96e0
cmp r8d, 0xff0000
jne 0x1400f96e0
mov r11d, dword [rsp + 0x60]
cmp r11d, 0xff000000
jne 0x1400f9700
lea edi, [rcx - 0x1e]
jmp 0x1400f9693
test r8d, r8d
je 0x1400f9cf3
test r9d, r9d
je 0x1400f9cf3
test r10d, r10d
je 0x1400f9cf3
mov r11d, dword [rsp + 0x60]
mov ecx, r8d
call fcn.1400f8a20
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.1400f8a20
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.1400f8a20
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.1400f8a20
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 0x1400f9c1e
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 0x1400f9a73
xor r13d, r13d
cmp dword [rbx], r13d
jle 0x1400f9bc2
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 0x1400f993f
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f9965
cmp dword [rbx + 0x30], 0
je 0x1400f9963
mov rcx, rbx
call fcn.1400ef9e0
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f9965
xor cl, cl
mov byte [r12], cl
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f9988
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f99ae
cmp dword [rbx + 0x30], 0
je 0x1400f99ac
mov rcx, rbx
call fcn.1400ef9e0
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f99ae
xor cl, cl
mov byte [r14], cl
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f99d0
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f99f6
cmp dword [rbx + 0x30], 0
je 0x1400f99f4
mov rcx, rbx
call fcn.1400ef9e0
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f99f6
xor cl, cl
cmp qword [rbp - 0x70], 2
mov byte [rdi], cl
jne 0x1400f9a46
mov rax, qword [rbx + 0xb8]
cmp rax, qword [rbx + 0xc0]
jae 0x1400f9a1e
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f9a48
cmp dword [rbx + 0x30], 0
je 0x1400f9a42
mov rcx, rbx
call fcn.1400ef9e0
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x1400f9a48
xor cl, cl
jmp 0x1400f9a48
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 0x1400f9920
jmp 0x1400f9bc2
xor r12d, r12d
cmp dword [rbx], r12d
jle 0x1400f9bc2
lea r14, [rax + rsi]
movsxd r13, ecx
mov esi, dword [rsp + 0x20]
nop word [rax + rax]
mov rcx, rbx
call fcn.1400efc60
cmp r13, 0x10
je 0x1400f9ab1
mov rcx, rbx
mov edi, eax
call fcn.1400efc60
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 0x1400f9ac7
mov ecx, dword [rsp + 0x3c]
shl edx, cl
jmp 0x1400f9ac9
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 + 0x35ad80]
mov ecx, dword [r9 + r8*4 + 0x35ad58]
sar edx, cl
mov ecx, dword [rsp + 0x2c]
mov byte [r14], dl
mov edx, eax
and edx, dword [rsp + 0x58]
test ecx, ecx
jns 0x1400f9b06
mov ecx, dword [rsp + 0x34]
shl edx, cl
jmp 0x1400f9b08
shr edx, cl
mov r8, qword [rbp - 0x58]
mov ecx, dword [rsp + 0x70]
shr edx, cl
imul edx, dword [r9 + r8*4 + 0x35ad80]
mov ecx, dword [r9 + r8*4 + 0x35ad58]
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 0x1400f9b3f
mov ecx, dword [rsp + 0x74]
shl edx, cl
jmp 0x1400f9b41
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 + 0x35ad80]
mov ecx, dword [r9 + r8*4 + 0x35ad58]
sar edx, cl
mov byte [r14 + 2], dl
test r11d, r11d
je 0x1400f9b9b
mov ecx, dword [rsp + 0x30]
and eax, r11d
test ecx, ecx
jns 0x1400f9b7f
mov ecx, dword [rsp + 0x7c]
shl eax, cl
jmp 0x1400f9b81
shr eax, cl
mov ecx, dword [rbp - 0x80]
shr eax, cl
imul eax, dword [r9 + rdi*4 + 0x35ad80]
mov ecx, dword [r9 + rdi*4 + 0x35ad58]
sar eax, cl
jmp 0x1400f9ba0
mov eax, 0xff
mov byte [r14 + 3], al
or esi, eax
add r14, 4
add r15d, 4
inc r12d
cmp r12d, dword [rbx]
jl 0x1400f9a90
mov dword [rsp + 0x20], esi
mov rsi, qword [rbp - 0x78]
cmp qword [rbx + 0x10], 0
mov edx, dword [rsp + 0x44]
je 0x1400f9bf6
mov ecx, dword [rbx + 0xc0]
sub ecx, dword [rbx + 0xb8]
cmp ecx, edx
jge 0x1400f9bf6
mov rax, qword [rbx + 0xc0]
sub edx, ecx
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0xb8], rax
call qword [rbx + Ordinal_26]
jmp 0x1400f9bff
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 0x1400f98f0
cmp dword [rsp + 0x20], 0
jne 0x1400f9c4a
mov eax, dword [rbx + 4]
imul eax, dword [rbx]
lea eax, [rax*4 - 1]
movsxd rcx, eax
test eax, eax
js 0x1400f9c4a
nop dword [rax]
mov byte [rcx + rsi], 0xff
sub rcx, 4
jns 0x1400f9c40
cmp dword [rbp - 0x7c], 0
jle 0x1400f9ccc
xor r10d, r10d
test dword [rbx + 4], 0xfffffffe
jle 0x1400f9ccc
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 0x1400f9cbf
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 0x1400f9ca0
mov eax, dword [rbx + 4]
inc r10d
sar eax, 1
cmp r10d, eax
jl 0x1400f9c60
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 0x1400f9ceb
mov eax, dword [rbx + 8]
mov dword [rcx], eax
mov rax, rsi
jmp 0x1400f95c9
mov rcx, rsi
call fcn.1402804a8
mov rax, qword gs:[0x58]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rax]
lea rax, str.bad_masks
jmp 0x1400f95c3
mov rax, qword gs:[0x58]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rax]
lea rax, str.outofmem
jmp 0x1400f95c3
mov rax, qword gs:[0x58]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rax]
lea rax, [0x14035a8a8]
mov qword [rdx + rcx], rax
xor eax, eax
jmp 0x1400f95d1