Function at 0x140089b10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [0x140d5c040]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov qword [rsp + 0x38], rcx
lea rcx, [0x145d1ef60]
movsxd r14, edx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [reloc.WS2_32.dll_closesocket], 3
jne 0x140089b6e
movsx rax, byte [0x140d5bfc2]
mov dword [rax], 3
jmp 0x140089b90
movzx eax, word [0x140d5bfc0]
movsx edx, byte [reloc.WS2_32.dll_closesocket]
movzx ecx, al
xor cl, 0x36
cmp cl, dl
je 0x140089b97
movsx rax, byte [0x140d5bfc2]
mov dword [rax], edx
movzx eax, word [0x140d5bfc0]
movsx r8d, byte [0x140d5bfc5]
cmp r8b, 5
jne 0x140089bb4
movsx ecx, al
movsx rax, byte [0x140d5bfc2]
mov dword [rax], ecx
jmp 0x140089bdf
movsx ecx, byte [0x140d5bfc4]
mov edx, r8d
xor edx, ecx
add ecx, 0x20
cmp edx, ecx
je 0x140089be7
movsx edx, byte [0x140d5bfc2]
movsx rcx, al
movsx rax, byte [reloc.WS2_32.dll_closesocket]
xor rcx, rax
mov dword [rcx], edx
movzx r8d, byte [0x140d5bfc5]
cmp byte [0x145d1ef08], 0
je 0x140089bf9
cmp byte [0x145d1ef09], 0
jne 0x140089c04
movsx rax, byte [0x140d5bfc4]
mov byte [rax], r8b
movzx r11d, byte [0x145d1ef48]
movzx r10d, byte [0x145d1ef4a]
movzx r9d, byte [0x145d1ef4b]
lea ecx, [r10 + r11]
cmp r9d, ecx
je 0x140089c47
mov ecx, r10d
and rcx, r9
mov word [rcx], r11w
movzx r9d, byte [0x145d1ef4b]
movzx r10d, byte [0x145d1ef4a]
movzx r11d, byte [0x145d1ef48]
movzx r8d, r9b
movzx ecx, r10b
mov eax, r8d
sub eax, ecx
movzx ecx, r11b
cdq
idiv ecx
movzx edx, byte [0x145d1ef49]
add eax, r8d
cmp edx, eax
je 0x140089c8e
movzx ecx, r11b
movzx eax, r10b
and rcx, rax
mov byte [rcx], dl
movzx r9d, byte [0x145d1ef4b]
movzx r10d, byte [0x145d1ef4a]
movzx r11d, byte [0x145d1ef48]
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movzx ecx, r9b
cdq
idiv ecx
movsx ecx, byte [reloc.WS2_32.dll_gethostbyname]
cmp eax, ecx
je 0x140089cc5
movzx ecx, r10b
movzx eax, r9b
and rcx, rax
mov byte [rcx], r11b
movzx r9d, byte [0x145d1ef4b]
movzx r10d, byte [0x145d1ef4a]
movzx r8d, byte [0x145d1ef4c]
movsx eax, byte [reloc.WS2_32.dll_closesocket]
mov r11d, r8d
movzx ecx, r9b
cdq
idiv ecx
mov ecx, r8d
lea r9, [0x140000000]
imul eax, r8d
mov edx, r8d
shl edx, cl
cmp edx, eax
jne 0x140089d01
test r8b, 0xf6
jne 0x140089d2e
cmp r8b, 9
je 0x140089d2e
mov edx, r11d
imul edx, r11d
lea r8d, [rdx + 1]
shl r8b, cl
mov ecx, edx
imul ecx, r11d
shl edx, cl
movsxd rax, edx
mov byte [rax + r9 + 0xd5bfcc], r8b
movsx rax, r8b
mov byte [rax + r9 + 0x5d1ef48], r10b
xor r13d, r13d
mov r15d, r13d
nop dword [rax]
nop dword [rax + rax]
cmp byte [r15 + r9 + 0x5d1e94c], r13b
jne 0x140089f95
mov rax, qword [0x140d5bfb8]
inc byte [rax + 6]
mov rsi, qword [0x140d5bfb8]
movsx edi, byte [rsi + 6]
movsx r8d, byte [rsi + 3]
movsx r10d, byte [rsi + 2]
movsx ecx, byte [rsi + 9]
movsx r9d, byte [rsi + 1]
movsx ebx, byte [rsi + 8]
lea eax, [rdi + r10]
imul eax, ecx
cdqe
movsx rdx, byte [rax + rsi]
mov eax, r9d
imul eax, ecx
movzx r11d, byte [rdx + rsi]
cdqe
movsx rcx, byte [rax + rsi]
mov eax, r8d
imul eax, ebx
add r11b, byte [rcx + rsi]
lea ecx, [rdi + r8]
cdqe
movsx edx, byte [rax + rsi]
movsx eax, byte [rsi + 7]
imul edx, ecx
imul edx, r9d
movsxd rcx, edx
movsx rdx, byte [rcx + rsi]
movsx r8d, byte [rdx + rsi]
cdq
idiv r10d
movsxd rcx, eax
mov eax, edi
movsx edx, byte [rcx + rsi]
imul r8d, edx
cdq
idiv ebx
mov ecx, eax
mov eax, r8d
cdq
idiv ecx
movsxd rcx, eax
mov byte [rcx + rsi], r11b
mov rdx, qword [0x140d5bfb8]
movsx eax, byte [rdx + 2]
movsx ecx, byte [rdx + 6]
add ecx, eax
movsx eax, byte [rdx + 9]
imul eax, ecx
cdqe
movsx rcx, byte [rax + rdx]
inc byte [rcx + rdx]
mov r8, qword [0x140d5bfb8]
movsx eax, byte [r8 + 5]
movsx ecx, byte [r8 + 6]
movsx edx, byte [r8 + 7]
imul edx, eax
movzx eax, byte [r8 + 1]
imul edx, ecx
imul edx, ecx
movsxd rcx, edx
mov byte [rcx + r8], al
mov rax, qword [0x140d5bfb8]
inc byte [rax + 1]
mov rdi, qword [0x140d5bfb8]
movsx r9d, byte [rdi + 3]
movsx ebx, byte [rdi + 1]
mov eax, r9d
movsx r8d, byte [rdi + 4]
cdq
idiv r8d
mov r10d, ebx
mov r11d, eax
movsx eax, byte [rdi]
imul eax, ebx
cdq
idiv r11d
movsxd rcx, eax
movsx rdx, byte [rcx + rdi]
add bl, byte [rdx + rdi]
movsx ecx, byte [rdi + 9]
mov eax, r8d
cdq
idiv ecx
mov ecx, eax
movsx eax, byte [rdi + 2]
imul eax, r9d
cdq
idiv ecx
movsxd rcx, eax
movsx rax, byte [rcx + rdi]
movsx eax, byte [rax + rdi]
imul eax, r10d
cdq
idiv r11d
movsxd rcx, eax
mov byte [rcx + rdi], bl
mov r9, qword [0x140d5bfb8]
movsx ecx, byte [r9 + 4]
movsx eax, byte [r9 + 3]
cdq
idiv ecx
movsx ecx, byte [r9]
mov r8d, eax
movsx eax, byte [r9 + 1]
imul eax, ecx
cdq
idiv r8d
movsxd rcx, eax
movsx rax, byte [rcx + r9]
inc byte [rax + r9]
mov rsi, qword [0x140d5bfb8]
movsx edi, byte [rsi + 6]
movsx ecx, byte [rsi + 9]
movsx r8d, byte [rsi + 3]
movsx r10d, byte [rsi + 2]
movsx r9d, byte [rsi + 1]
movsx ebx, byte [rsi + 8]
lea eax, [rdi + r10]
imul eax, ecx
cdqe
movsx rdx, byte [rax + rsi]
mov eax, r9d
imul eax, ecx
movzx r11d, byte [rdx + rsi]
cdqe
movsx rcx, byte [rax + rsi]
mov eax, r8d
imul eax, ebx
add r11b, byte [rcx + rsi]
lea ecx, [r8 + rdi]
cdqe
movsx edx, byte [rax + rsi]
movsx eax, byte [rsi + 7]
imul edx, ecx
imul edx, r9d
movsxd rcx, edx
movsx rdx, byte [rcx + rsi]
movsx r8d, byte [rdx + rsi]
cdq
idiv r10d
movsxd rcx, eax
mov eax, edi
movsx edx, byte [rcx + rsi]
imul r8d, edx
cdq
idiv ebx
mov ecx, eax
mov eax, r8d
cdq
idiv ecx
movsxd rcx, eax
mov byte [rcx + rsi], r11b
mov rdx, qword [0x140d5bfb8]
movsx eax, byte [rdx + 2]
movsx ecx, byte [rdx + 6]
add ecx, eax
movsx eax, byte [rdx + 9]
imul eax, ecx
cdqe
movsx rcx, byte [rax + rdx]
inc byte [rcx + rdx]
lea r9, [0x140000000]
inc r15
cmp r15, 3
jb 0x140089d40
movzx r8d, byte [0x140d5bfcc]
movzx edx, byte [reloc.WS2_32.dll_socket]
cmp r8b, 8
je 0x140089fbc
cmp dl, 0x17
jne 0x140089fd2
movzx ecx, byte [0x140d5c815]
movzx eax, byte [0x140d5cc63]
shl al, cl
mov byte [0x140d5c201], al
test r8b, r8b
jne 0x140089fdc
cmp dl, 6
je 0x140089fee
movzx ecx, byte [0x140d5bfd8]
movzx eax, cl
shl al, cl
mov byte [0x140d5c046], al
cmp byte [0x140d5bfc8], r13b
jne 0x14008a00a
movsx rax, byte [0x140d5bfc5]
movsx ecx, byte [0x140d5bfc4]
mov dword [rax], ecx
jmp 0x14008a037
movsx r8, byte [0x140d5bfc5]
movzx ecx, byte [reloc.WS2_32.dll_gethostbyname]
mov edx, r8d
movsx eax, byte [0x140d5bfc0]
sar edx, cl
sub eax, 4
cmp edx, eax
je 0x14008a037
movsx rax, byte [0x140d5bfc6]
mov qword [rax], r8
mov rax, qword [0x145d1e950]
lea rcx, [rbp + 0xd0]
xor edx, edx
mov qword [rsp + 0x40], rax
mov r8d, Ordinal_265
call sub.VCRUNTIME140.dll_memset
mov edi, 8
mov edx, 0x1f
mov ecx, edi
call fcn.140091e60
test eax, eax
mov ebx, eax
cmove ebx, edi
mov rdi, r13
movsxd rsi, ebx
test ebx, ebx
je 0x14008a09e
nop dword [rax]
mov edx, 0xff
mov ecx, 1
call fcn.140091e60
mov byte [rbp + rdi + 0xd0], al
inc rdi
cmp rdi, rsi
jb 0x14008a080
mov rax, qword [0x145d1ef88]
mov qword [rsp + 0x60], r13
test rax, rax
je 0x14008a0bc
movsx rcx, byte [0x145d1efa1]
xor rcx, rax
jmp 0x14008a0bf
mov rcx, r13
mov r15, 0xffffffffffffffff
lea r12, [0x145d1efa0]
mov rax, r15
inc rax
cmp byte [r12 + rax], r13b
jne 0x14008a0d0
movsx r8, byte [0x145d1efa2]
lea rdx, [0x1400b3d10]
xor r8, qword [0x145d1ef90]
add rax, rcx
add r8, rax
lea rcx, [rsp + 0x48]
add r8, rsi
call fcn.14008cd90
mov rcx, qword [0x145d1ef90]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rax + 0x10]
xorps xmm0, xmm0
xor eax, eax
movsd qword [rbp - 0x80], xmm1
xorps xmm1, xmm1
mov dword [rbp + 0x50], eax
mov dword [rbp + 0xc0], eax
movsx rax, byte [0x145d1efa2]
mov r8, rax
xor r8, rcx
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x60], xmm1
movups xmmword [rbp + 0x70], xmm1
movups xmmword [rbp + 0x80], xmm1
movups xmmword [rbp + 0x90], xmm1
movups xmmword [rbp + 0xa0], xmm1
movups xmmword [rbp + 0xb0], xmm1
je 0x14008a1ae
mov rax, r15
nop dword [rax + rax]
inc rax
cmp byte [r12 + rax], r13b
jne 0x14008a180
mov r9, r12
mov dword [rsp + 0x20], eax
lea rdx, [rbp - 0x10]
lea rcx, [0x145d1f480]
call fcn.1400913b0
mov rcx, qword [0x145d1ef90]
movzx eax, byte [0x145d1efa2]
movsx r8, al
lea rdx, [rbp - 0x10]
xor r8, rcx
lea rcx, [rsp + 0x70]
call fcn.14008cd40
mov rax, qword [0x145d1ef88]
test rax, rax
je 0x14008a205
movsx rdi, byte [0x145d1efa1]
xor rdi, rax
je 0x14008a208
mov rax, r15
nop
inc rax
cmp byte [r12 + rax], r13b
jne 0x14008a1e0
mov r9, r12
mov dword [rsp + 0x20], eax
mov r8, rdi
lea rdx, [rbp + 0x60]
lea rcx, [0x145d1f080]
call fcn.1400913b0
jmp 0x14008a208
mov rdi, r13
mov r8, rdi
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14008cd40
mov r8, r15
nop dword [rax]
inc r8
cmp byte [r12 + r8], r13b
jne 0x14008a220
mov rdx, r12
lea rcx, [rsp + 0x70]
call fcn.14008cd40
mov r8, rsi
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x70]
call fcn.14008cd40
movzx eax, byte [0x145d1efa0]
cmp byte [0x1410cdeac], al
jne 0x14008a2e2
movzx edx, byte [0x1410cdeaa]
lea r8, [0x140000000]
movzx eax, byte [rbp - 0x10]
cmp dl, al
je 0x14008a2a2
movsx rax, byte [0x1410cdea9]
movsx rcx, byte [rax + r12]
movsx rax, byte [0x140d5bfc6]
xor rcx, rax
movsx rax, byte [rcx + r8 + 0xd5bfc4]
mov qword [rcx], rax
movzx eax, byte [rbp - 0x10]
movzx edx, byte [0x1410cdeaa]
movsx ecx, byte [0x1410cdea9]
cmp cl, al
jne 0x14008a2e2
movsx eax, dl
add eax, ecx
cdqe
movsx rcx, byte [rax + r8 + 0x10cdea8]
movsx rax, byte [rcx + r8 + 0x10cdea8]
movsx rcx, byte [rax + r12]
movsx rax, byte [0x140d5bfc6]
xor rcx, rax
movsx rax, byte [rcx + r8 + 0xd5bfc4]
mov qword [rcx], rax
movsxd rax, dword [0x145d1ede4]
lea r9, [0x145d1ee00]
mov r8, rsi
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xd0]
call fcn.1400911e0
mov edx, 2
lea rcx, [rsp + 0x70]
call fcn.14008cf60
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14008e800
mov byte [rsp + 0x30], al
call fcn.14008e650
mov rdx, qword [rsp + 0x60]
mov edi, r13d
mov r12, r14
test rdx, rdx
je 0x14008a7a2
mov rcx, qword [rdx]
mov rax, rcx
mov qword [rbp - 0x78], rcx
shr rax, 0x20
mov r8, rcx
and al, 0xf8
shr r8, 8
cmp al, 0xc0
jne 0x14008a50e
movzx eax, r8b
xor al, 8
cmp al, 0xde
jne 0x14008a457
mov rax, rcx
shr rax, 0x18
xor al, cl
cmp al, 0x57
jne 0x14008a388
mov r8d, 1
jmp 0x14008a59d
test r8b, r8b
je 0x14008a59a
movzx r15d, byte [rbp - 0x76]
test r14d, r14d
je 0x14008a589
movzx ecx, byte [rbp - 0x74]
movzx eax, r15b
mov r8d, eax
shr r8, cl
movzx eax, byte [rbp + rax - 0x78]
movzx ecx, byte [rbp + rax - 0x78]
movzx eax, byte [rbp + r8 - 0x78]
movzx edx, byte [rbp + rcx - 0x78]
mov byte [rbp + rdx - 0x78], al
movzx eax, byte [rbp - 0x76]
movzx ecx, byte [rbp + rax - 0x78]
movzx eax, byte [rbp + rcx - 0x78]
lea rcx, [rbp - 0x78]
add rcx, rax
movzx eax, byte [rcx]
movzx edx, byte [rbp + rax - 0x78]
inc al
mov byte [rcx], al
movzx eax, byte [rbp - 0x76]
movzx ecx, byte [rbp + rax - 0x78]
inc byte [rbp + rcx - 0x78]
movzx eax, byte [rbp - 0x76]
inc byte [rbp + rax - 0x78]
mov eax, edx
movzx r15d, byte [rbp - 0x76]
movzx r8d, byte [rbp - 0x75]
inc r15b
movzx edi, byte [rbp - 0x77]
movzx r10d, byte [rbp - 0x73]
mov ecx, edi
inc byte [rbp - 0x74]
movzx r9d, r15b
imul r8d, r9d
mov byte [rbp - 0x76], r15b
imul r8d, edx
xor edx, edx
add r8d, edi
div r8d
mov edx, r10d
movsxd r8, eax
call r8
test dil, dil
jne 0x14008a396
mov rdx, qword [rsp + 0x60]
mov r15, 0xffffffffffffffff
mov r8d, r13d
jmp 0x14008a59d
test cl, cl
je 0x14008a59a
movzx edi, byte [rbp - 0x76]
movzx r15d, byte [rbp - 0x77]
nop dword [rax + rax]
test r14d, r14d
je 0x14008a589
movzx eax, r15b
movzx ecx, r15b
movzx edx, dil
xor rdx, rax
movzx eax, dil
shl eax, cl
movsxd rcx, eax
movzx eax, byte [rbp + rdx - 0x78]
xor edx, edx
mov byte [rbp + rcx - 0x78], al
movzx edi, byte [rbp - 0x76]
movzx r15d, byte [rbp - 0x77]
mov eax, edi
movzx r9d, byte [rbp - 0x73]
mov ecx, r15d
movzx r8d, byte [rbp - 0x74]
inc dil
movzx r10d, byte [rbp - 0x75]
inc r15b
shl eax, cl
cdqe
movzx r11d, dil
imul r9d, r11d
movzx ecx, byte [rbp + rax - 0x78]
mov eax, ecx
mov byte [rbp - 0x77], r15b
mov byte [rbp - 0x76], dil
imul r9d, ecx
mov ecx, r11d
add r9d, r8d
div r9d
mov edx, r10d
movsxd r8, eax
call r8
cmp byte [rbp - 0x78], r13b
jne 0x14008a470
mov rdx, qword [rsp + 0x60]
mov r15, 0xffffffffffffffff
mov r8d, r13d
jmp 0x14008a59d
test r8b, r8b
je 0x14008a59a
movzx edi, byte [rbp - 0x75]
movzx r15d, byte [rbp - 0x77]
test r14d, r14d
je 0x14008a589
movzx eax, dil
movzx ecx, r15b
shl eax, cl
xor edx, edx
movzx ecx, dil
cdqe
movzx eax, byte [rbp + rax - 0x78]
mov byte [rbp + rcx - 0x78], al
movzx edi, byte [rbp - 0x75]
movzx r8d, byte [rbp - 0x78]
movzx r15d, byte [rbp - 0x77]
movzx ecx, byte [rbp - 0x76]
inc r15b
movzx eax, byte [rbp + rdi - 0x78]
inc dil
imul r8d, eax
movzx r9d, r15b
movzx r10d, dil
mov byte [rbp - 0x75], dil
mov byte [rbp - 0x77], r15b
inc r8d
imul r8d, r9d
div r8d
mov edx, r10d
movsxd r8, eax
call r8
test r15b, r15b
jne 0x14008a520
mov rdx, qword [rsp + 0x60]
mov r15, 0xffffffffffffffff
mov r8d, r13d
jmp 0x14008a59d
mov r8d, edi
mov r9, qword [rsp + 0x38]
test r9, r9
je 0x14008a5bf
lea rcx, [rdx + 0x20]
sub r9, rcx
nop
movzx eax, byte [rcx]
mov byte [rcx + r9], al
lea rcx, [rcx + 1]
test al, al
jne 0x14008a5b0
xor al, al
mov qword [rsp + 0x68], r13
xor dil, dil
cmp r8d, 1
jne 0x14008a6f2
inc r15
cmp byte [rdx + r15 + 0x20], al
jne 0x14008a5d3
add r15, rdx
movsxd rax, dword [r15 + 0x21]
mov qword [rsp + 0x38], rax
cmp rax, qword [rdx + 0x10]
jge 0x14008a735
xorps xmm0, xmm0
lea rcx, [rbp + 0x1e0]
xor eax, eax
xor edx, edx
mov r8d, Ordinal_265
mov dword [rbp - 0x20], eax
movups xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x1c], al
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [0x145d1ede4]
lea r8, [rbp - 0x70]
lea rdx, [0x145d1ee00]
lea rcx, [0x145d1ece0]
call fcn.140091240
movsxd rax, dword [0x145d1ede4]
lea rcx, [r15 + 0x25]
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x1e0]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.140090170
movsxd rax, dword [0x145d1ede4]
lea r9, [0x145d1ee00]
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm0
mov r8, rsi
movdqa xmmword [rbp - 0x60], xmm1
lea rdx, [rbp + 0x1e0]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp + 0x1e0]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], r13d
mov byte [rbp - 0x1c], dil
call fcn.1400911e0
mov rcx, r13
test ebx, ebx
je 0x14008a6e9
mov dil, 1
nop dword [rax]
movzx eax, byte [rbp + rcx + 0xd0]
cmp byte [rbp + rcx + 0x1e0], al
jne 0x14008a730
inc rcx
cmp rcx, rsi
jb 0x14008a6d0
mov rdx, qword [rsp + 0x60]
movzx eax, dil
test ebx, ebx
je 0x14008a700
cmp qword [rsp + 0x68], r13
jne 0x14008a705
nop dword [rax]
movzx eax, byte [rsp + 0x68]
mov rcx, rdx
movzx edi, al
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rdx, qword [rsp + 0x60]
cmp edi, 1
jne 0x14008a7af
mov rax, qword [rsp + 0x40]
cmp rax, qword [0x145d1e950]
cmove edi, r13d
jmp 0x14008a7af
xor dil, dil
jmp 0x14008a6e9
test r14d, r14d
je 0x14008a6ee
shl rsi, 5
shl r12, 5
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rsi + rdx - 0x20]
dec ebx
lea rsi, [rsi - 0x20]
lea rax, [r12 + rsi]
mov rcx, qword [rax + rdx + 0x18]
mov eax, r14d
shl rcx, 5
imul eax, r14d
movups xmmword [rcx + rdx], xmm0
movups xmm1, xmmword [rsi + rdx + 0x10]
add eax, ebx
movups xmmword [rcx + rdx + 0x10], xmm1
mov ecx, eax
cdq
imul ecx, ebx
imul ecx, ebx
inc ecx
imul ecx, r14d
idiv ecx
mov edx, r14d
mov ecx, ebx
movsxd r8, eax
call r8
mov rdx, qword [rsp + 0x60]
jmp 0x14008a750
cmp byte [rsp + 0x30], dil
mov eax, 2
cmove edi, eax
test ebx, ebx
mov esi, ebx
cmovne esi, edi
jne 0x14008a81d
shl r12, 5
nop dword [rax]
test r14d, r14d
je 0x14008a81d
movups xmm0, xmmword [rdx + r13 - 0x20]
dec ebx
sub r13, 0x20
lea rax, [r12 + r13]
mov rcx, qword [rax + rdx + 0x18]
mov eax, r14d
shl rcx, 5
imul eax, r14d
movups xmmword [rcx + rdx], xmm0
movups xmm1, xmmword [rdx + r13 + 0x10]
add eax, ebx
movups xmmword [rcx + rdx + 0x10], xmm1
mov ecx, eax
cdq
imul ecx, ebx
imul ecx, ebx
inc ecx
imul ecx, r14d
idiv ecx
mov edx, r14d
mov ecx, ebx
movsxd r8, eax
call r8
test ebx, ebx
jne 0x14008a81d
mov rdx, qword [rsp + 0x60]
jmp 0x14008a7c0
lea rcx, [0x145d1ef60]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.140093920
mov rbx, qword [rsp + 0x450]
add rsp, 0x400
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret