Function at 0x1400537e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14049f410]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rax, qword [rcx + 8]
mov rdi, rcx
mov qword [rbp - 0x68], rax
xor ebx, ebx
mov qword [rsp + 0x58], rcx
mov esi, ebx
mov ecx, dword [rcx + 0x188]
mov r12d, ebx
mov eax, dword [rdi + 0x184]
cmp eax, ecx
mov qword [rbp - 0x60], rbx
cmovg ecx, eax
mov qword [rsp + 0x60], rbx
mov eax, dword [rdi + 0x1ec]
shl eax, 0x10
cdq
mov dword [rsp + 0x70], ecx
and edx, 7
mov qword [rbp - 0x78], rbx
mov rcx, rdi
lea r13d, [rdx + rax]
mov eax, dword [rdi + 0x1f0]
shl eax, 0x10
cdq
sar r13d, 3
and edx, 7
sar r13d, 0x10
add eax, edx
lea rdx, [rdi + 0x1e8]
sar eax, 3
sar eax, 0x10
mov dword [rsp + 0x50], eax
call fcn.14008e1d0
mov r14d, eax
test eax, eax
jne 0x140054862
mov qword [rsp + 0x158], r15
mov r14d, ebx
lea r15, [rdi + 0x18]
test r15, r15
je 0x140054854
test r13d, r13d
je 0x140054854
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x140054854
mov r8, qword [rbp - 0x68]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov edx, ecx
mov rcx, r8
movups xmmword [r15 + 0x10], xmm0
movups xmmword [r15 + 0x20], xmm0
movups xmmword [r15 + 0x30], xmm0
movups xmmword [r15 + 0x40], xmm0
mov rax, qword [r8]
imul edx, r13d
call qword [rax + 8]
test rax, rax
je 0x140053910
mov qword [r15 + 0x18], rax
mov eax, dword [rsp + 0x50]
mov dword [r15 + 8], eax
mov dword [r15 + 0x10], r13d
mov dword [r15 + 4], r13d
mov dword [r15], 0x40000001
jmp 0x140053948
mov rdx, qword [r15 + 0x18]
mov r14d, 0xfffffffd
test rdx, rdx
je 0x14005392d
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r15 + 0x18], rbx
xorps xmm0, xmm0
movups xmmword [r15], xmm0
movups xmmword [r15 + 0x10], xmm0
movups xmmword [r15 + 0x20], xmm0
movups xmmword [r15 + 0x30], xmm0
movups xmmword [r15 + 0x40], xmm0
test r14d, r14d
jne 0x14005485a
mov r8d, dword [rdi + 0x20]
xor edx, edx
imul r8d, dword [rdi + 0x1c]
mov rcx, qword [rdi + 0x30]
call fcn.1400fd5ea
mov r8d, dword [rdi + 0x110]
mov r9d, r8d
mov r10, qword [rdi + 0x108]
test r8d, r8d
je 0x140053ddd
lea rdx, [r10 + 0x14]
dec r9d
cmp dword [rdx + 0x84], ebx
je 0x14005399c
mov ecx, dword [rdx]
cmp dword [rdx - 4], ecx
cmovg ecx, dword [rdx - 4]
cmp ecx, esi
cmova esi, ecx
add rdx, 0x208
test r9d, r9d
jne 0x140053983
mov dword [rsp + 0x50], esi
test esi, esi
je 0x140053ddd
cmp dword [rdi + 0x344], 5
jne 0x1400539c7
mov dword [rdi + 0x33c], 1
mov eax, dword [rsp + 0x70]
xor edx, edx
lea eax, [rax + rax*4]
add eax, eax
div esi
cmp eax, 0x19
ja 0x1400539e3
mov dword [rdi + 0x33c], 2
dec r8d
cmp dword [r10 + 0x98], ebx
je 0x140053a04
mov ecx, dword [r10 + 0x14]
cmp dword [r10 + 0x10], ecx
cmovg ecx, dword [r10 + 0x10]
cmp ecx, esi
je 0x140053af8
add r10, 0x208
test r8d, r8d
jne 0x1400539e3
mov r15, rbx
lea r8, [rsp + 0x78]
mov edx, esi
mov rcx, rdi
call fcn.140056bd0
mov r14d, eax
test eax, eax
jne 0x14005485a
mov ecx, dword [rdi + 0x344]
lea rdx, [0x1404a55d0]
lea r13, [0x1404a56d0]
sub ecx, 1
je 0x14005460f
sub ecx, 1
je 0x14005447f
sub ecx, 1
je 0x14005430f
sub ecx, 1
je 0x140053e42
cmp ecx, 1
jne 0x1400540f8
movzx eax, byte [rdi + 0x349]
mov r10d, pe_nt_image_headers64
imul esi, dword [rdi + 0x340], 0xaa8
sub eax, r10d
movzx ecx, byte [rdi + 0x348]
imul eax, eax
sub ecx, r10d
imul ecx, ecx
shr rsi, 8
mov r14d, eax
mov eax, ecx
add r14, rax
mov rax, rdx
nop word [rax + rax]
mov byte [rax], bl
lea rax, [rax + 1]
inc ebx
cmp ebx, 0x100
jl 0x140053ab0
movzx r8d, byte [rdi + 0x348]
mov r9, r14
mov rdx, r13
mov rcx, rsi
call fcn.1400a0ad0
movzx r8d, byte [rdi + 0x349]
lea r15, [0x1404a57d0]
mov rdx, r15
mov r9, r14
mov rcx, rsi
call fcn.1400a0ad0
jmp 0x1400540ff
mov r13d, dword [rdi + 0x194]
lea rax, [rdi + 0x190]
mov r12d, dword [rdi + 0x198]
xor edx, edx
mov qword [rbp - 0x78], rax
mov eax, r13d
shl eax, 0xa
div dword [rdi + 0x184]
mov ecx, dword [r10 + 0x10]
xor edx, edx
mov r11d, dword [r10 + 0xc]
mov r8d, eax
mov esi, dword [r10 + 8]
mov eax, r12d
shl eax, 0xa
div dword [rdi + 0x188]
imul ecx, r8d
imul r11d, eax
mov r9d, eax
mov eax, dword [r10 + 0x14]
imul eax, r9d
imul esi, r8d
mov r15d, ecx
mov qword [rsp + 0x60], rbx
sar r15d, 0x1f
add r15d, ecx
mov dword [rsp + 0x68], ebx
mov r14d, eax
sar r15d, 9
sar r14d, 0x1f
inc r15d
add r14d, eax
sar r15d, 1
sar r14d, 9
mov eax, 0xd5555555
imul r15d
inc r14d
mov eax, 0x99999999
mov edi, edx
sar r14d, 1
shr edi, 0x1f
mov ecx, ebx
add edi, edx
imul r14d
mov r10d, edx
sar r10d, 2
mov eax, r10d
shr eax, 0x1f
add r10d, eax
mov eax, 0x2aaaaaab
imul r15d
mov eax, 0x66666667
mov r9d, edx
shr r9d, 0x1f
add r9d, edx
imul r14d
mov r8d, edx
mov edx, ebx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
mov eax, r11d
sar eax, 0x1f
add eax, r11d
sar eax, 9
inc eax
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
mov eax, esi
sar eax, 0x1f
add eax, esi
sar eax, 9
inc eax
sar eax, 1
add eax, r9d
test eax, eax
cmovg ecx, eax
sub r14d, r8d
sub r15d, r9d
sub r13d, ecx
add r15d, edi
sub r12d, edx
mov rdi, qword [rbp - 0x78]
add r14d, r10d
and ecx, 0xfffffffe
and edx, 0xfffffffe
cmp r13d, r15d
mov dword [rsp + 0x78], ecx
mov dword [rsp + 0x7c], edx
mov ecx, dword [rdi]
cmovl r15d, r13d
and r15d, 0xfffffffe
cmp r12d, r14d
mov dword [rbp - 0x80], r15d
cmovl r14d, r12d
and r14d, 0xfffffffe
mov dword [rbp - 0x7c], r14d
cmp ecx, 0x20200001
ja 0x140053c87
lea eax, [rcx - 0x10200001]
test eax, 0xefffffff
je 0x140053c98
lea eax, [rcx - 0x20000001]
cmp eax, 1
ja 0x140053d55
lea r9, [rbp - 0x30]
mov rcx, rdi
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x78]
call fcn.14006ff70
jmp 0x140053cae
lea eax, [rcx - 0x30100001]
test eax, 0xffefffff
jne 0x140053d55
lea r9, [rbp - 0x30]
mov rcx, rdi
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x78]
call fcn.14006e600
mov r14d, eax
test eax, eax
jne 0x140053dbf
mov ecx, dword [rsp + 0x64]
lea r8, [rbp - 0x58]
mov eax, dword [rsp + 0x60]
lea rdx, [rbp - 8]
shl rax, 0xc
add ecx, 0xffffff80
mov qword [rbp - 0x60], rax
mov eax, dword [rsp + 0x68]
add eax, 0xffffff80
imul ecx, ecx
imul eax, eax
add eax, ecx
lea rcx, [rbp - 0x30]
movsxd r12, eax
shl r12, 0xc
call fcn.1400a8860
mov ecx, dword [rdi]
cmp ecx, 0x20200001
ja 0x140053d45
lea eax, [rcx - 0x10200001]
test eax, 0xefffffff
je 0x140053d65
lea eax, [rcx - 0x20000001]
cmp eax, 1
ja 0x140053d55
mov rdx, rdi
mov qword [rsp + 0x28], r12
mov rdi, qword [rsp + 0x58]
lea rax, [rbp - 0x58]
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x78]
call fcn.14008a530
mov r14d, eax
jmp 0x140053dc7
cmp ecx, 0x30100001
je 0x140053d92
cmp ecx, 0x30200001
je 0x140053d65
mov rdi, qword [rsp + 0x58]
mov r14d, 0xfffffffa
jmp 0x14005485a
mov rdx, rdi
mov qword [rsp + 0x28], r12
mov rdi, qword [rsp + 0x58]
lea rax, [rbp - 0x58]
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x78]
call fcn.1400b45f0
mov r14d, eax
jmp 0x140053dc7
mov rdx, rdi
mov qword [rsp + 0x28], r12
mov rdi, qword [rsp + 0x58]
lea rax, [rbp - 0x58]
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x78]
call fcn.140098820
mov r14d, eax
jmp 0x140053dc7
mov rdi, qword [rsp + 0x58]
mov r12, rbx
test r14d, r14d
jne 0x14005485a
mov esi, dword [rsp + 0x50]
mov r15, qword [rbp - 0x60]
jmp 0x140053a13
test byte [rdi + 0x128], 1
jne 0x140053df1
mov r14d, 0x61
jmp 0x14005485a
mov eax, dword [rdi + 0x184]
lea r9, [rsp + 0x60]
mov ecx, dword [rdi + 0x188]
cmp eax, ecx
cmovg ecx, eax
mov eax, 0xcccccccd
mul ecx
lea rax, [rbp - 0x78]
mov rcx, rdi
mov esi, edx
mov qword [rsp + 0x20], rax
shr esi, 2
xor edx, edx
mov r8d, esi
call fcn.1400a9c70
mov r14d, eax
test eax, eax
jne 0x14005485a
mov r15, qword [rsp + 0x60]
mov r12, qword [rbp - 0x78]
jmp 0x140053a13
mov eax, dword [rdi + 0x340]
lea r9, [0x140000000]
shl eax, 0xd
movabs r8, 0x6666666666666667
sar eax, 1
mov r10d, pe_nt_image_headers64
cdq
movsxd rcx, r15d
sar rcx, 0x1f
and edx, 0xff
add rcx, r15
add eax, edx
sar rcx, 0xb
mov rsi, rbx
inc rcx
sar eax, 8
sar rcx, 1
mov r14, rbx
movsxd r11, eax
mov r15d, r10d
mov rax, r8
mov qword [rbp - 0x78], r11
imul rcx
mov rax, r8
mov r8d, 0x1000
sar rdx, 2
mov r13d, r8d
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
movzx ecx, byte [rdx + r9 + 0x1c1570]
shl rcx, 0xc
imul rcx
mov rcx, rdx
sar rcx, 2
mov rax, rcx
shr rax, 0x3f
add rcx, rax
imul rcx, r11
lea r11, [0x1404a55d0]
sar rcx, 0xc
sub r13, rcx
lea rdi, [r13*2]
nop
movzx eax, byte [r14 + r9 + 0x17f4e0]
lea r14, [r14 + 2]
imul rax, rcx
add rax, rsi
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r14 + r11 - 2], al
movzx eax, byte [r14 + r9 + 0x17f4df]
imul rax, rcx
add rax, r13
add rax, rsi
add rsi, rdi
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r14 + r11 - 1], al
sub r15, 1
jne 0x140053ef0
mov rdi, qword [rsp + 0x58]
mov rsi, rbx
mov r11, qword [rbp - 0x78]
mov r15, r10
movsxd rax, r12d
sar rax, 0x1f
add rax, r12
sar rax, 0xb
inc rax
sar rax, 1
cmp rax, 0x258
jg 0x14005423d
mov r13d, 0xc8
lea r10, [0x1404a57d0]
cmp rax, r13
mov r12, r8
cmovg r13d, eax
lea eax, [r13*4]
add eax, r13d
cdq
sub eax, edx
sar eax, 1
neg eax
mov ecx, eax
mov dword [rsp + 0x70], eax
shl ecx, 0xd
mov eax, 0x10624dd3
add ecx, 0xd48001
sar ecx, 1
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov rcx, rbx
movsxd r14, edx
imul r14, r11
sar r14, 0xc
sub r12, r14
lea rdi, [r12 + r12]
nop word [rax + rax]
movzx eax, byte [rsi + r9 + 0x17f3e0]
lea rsi, [rsi + 2]
imul rax, r14
add rax, rcx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rsi + r10 - 2], al
movzx eax, byte [rsi + r9 + 0x17f3df]
imul rax, r14
add rax, r12
add rax, rcx
add rcx, rdi
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rsi + r10 - 1], al
sub r15, 1
jne 0x140053fe0
mov rdi, qword [rsp + 0x58]
cmp r13d, 0x190
lea r13, [0x1404a56d0]
mov r10d, pe_nt_image_headers64
jge 0x1400541c9
mov ecx, dword [rsp + 0x70]
mov eax, 0x66666667
add ecx, 0x6a4
lea edx, [rcx + rcx*8]
imul edx
mov eax, 0x10624dd3
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov rcx, rbx
shl edx, 0xd
sar edx, 1
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd rsi, edx
imul rsi, r11
sar rsi, 0xc
sub r8, rsi
lea r11, [r8 + r8]
movzx eax, byte [rcx + r9 + 0x17f3e0]
lea rcx, [rcx + 2]
imul rax, rsi
add rax, rbx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rcx + r13 - 2], al
movzx eax, byte [rcx + r9 + 0x17f3df]
imul rax, rsi
add rax, r8
add rax, rbx
add rbx, r11
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rcx + r13 - 1], al
sub r10, 1
jne 0x1400540a0
lea r15, [0x1404a57d0]
mov eax, dword [rdi + 0x1f0]
xor edx, edx
mov r11d, dword [rdi + 0x20]
mov r10d, dword [rdi + 0x1c]
mov ecx, dword [rsp + 0x78]
shl eax, 0xa
div r11d
xor edx, edx
mov dword [rsp + 0x40], r11d
mov r9d, eax
mov dword [rsp + 0x38], r10d
mov eax, dword [rdi + 0x1ec]
shl eax, 0xa
div r10d
imul ecx, eax
mov r8d, eax
mov eax, dword [rsp + 0x7c]
imul eax, r9d
mov edx, ecx
sar edx, 0x1f
add edx, ecx
mov ecx, eax
sar ecx, 0x1f
add ecx, eax
sar edx, 9
mov eax, dword [rbp - 0x80]
inc edx
sar ecx, 9
inc ecx
imul eax, r8d
sar ecx, 1
lea r8, [rbp - 0x78]
mov dword [rbp - 0x74], ecx
sar edx, 1
mov dword [rbp - 0x78], edx
lea rdx, [rdi + 0x1e8]
mov ecx, eax
sar ecx, 0x1f
add ecx, eax
mov eax, dword [rbp - 0x7c]
sar ecx, 9
inc ecx
imul eax, r9d
sar ecx, 1
lea r9, [0x1404a55d0]
mov dword [rbp - 0x70], ecx
mov ecx, eax
sar ecx, 0x1f
add ecx, eax
mov rax, qword [rdi + 0x30]
sar ecx, 9
inc ecx
mov qword [rsp + 0x30], rax
sar ecx, 1
mov dword [rbp - 0x6c], ecx
mov rcx, rdi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r13
call fcn.14005bd40
mov r14d, eax
jmp 0x14005485a
imul r11, r11, 0xa8f
mov rcx, rbx
sar r11, 0xc
sub r8, r11
lea rsi, [r8 + r8]
nop
movzx eax, byte [rcx + r9 + 0x17f6e0]
lea rcx, [rcx + 2]
imul rax, r11
add rax, rbx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rcx + r13 - 2], al
movzx eax, byte [rcx + r9 + 0x17f6df]
imul rax, r11
add rax, rbx
add rbx, rsi
add rax, r8
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rcx + r13 - 1], al
sub r10, 1
jne 0x1400541e0
jmp 0x1400540f8
sub r8, r11
lea r13, [0x1404a56d0]
mov rcx, rbx
lea r14, [r8 + r8]
nop
movzx eax, byte [rsi + r9 + 0x17f5e0]
lea rsi, [rsi + 2]
imul rax, r11
add rax, rcx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rsi + r13 - 2], al
movzx eax, byte [rsi + r9 + 0x17f5df]
imul rax, r11
add rax, rcx
add rcx, r14
add rax, r8
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rsi + r13 - 1], al
sub r15, 1
jne 0x140054250
mov rcx, rbx
lea r15, [0x1404a57d0]
movzx eax, byte [rcx + r9 + 0x17f6e0]
lea rcx, [rcx + 2]
imul rax, r11
add rax, rbx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rcx + r15 - 2], al
movzx eax, byte [rcx + r9 + 0x17f6df]
imul rax, r11
add rax, rbx
add rbx, r14
add rax, r8
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rcx + r15 - 1], al
sub r10, 1
jne 0x1400542b2
jmp 0x1400540ff
mov eax, dword [rdi + 0x340]
lea r9, [0x140000000]
shl eax, 0xd
lea r12, [0x1404a55d0]
sar eax, 1
mov r8d, 0x1000
cdq
mov r10d, pe_nt_image_headers64
and edx, 0xff
mov r11, rbx
add eax, edx
mov rsi, rbx
sar eax, 8
mov r15d, r10d
movsxd rcx, eax
sub r8, rcx
lea r14, [r8 + r8]
movzx eax, byte [rsi + r9 + 0x17f1e0]
lea rsi, [rsi + 2]
imul rax, rcx
add rax, r11
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rsi + r12 - 2], al
movzx eax, byte [rsi + r9 + 0x17f1df]
imul rax, rcx
add rax, r11
add r11, r14
add rax, r8
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rsi + r12 - 1], al
sub r15, 1
jne 0x140054353
mov r11, rbx
mov rsi, rbx
mov r15, r10
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsi + r9 + 0x17f2e0]
lea rsi, [rsi + 2]
imul rax, rcx
add rax, r11
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rsi + r13 - 2], al
movzx eax, byte [rsi + r9 + 0x17f2df]
imul rax, rcx
add rax, r11
add r11, r14
add rax, r8
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rsi + r13 - 1], al
sub r15, 1
jne 0x1400543c0
mov r11, rbx
lea r15, [0x1404a57d0]
movzx eax, byte [r11 + r9 + 0x17f3e0]
lea r11, [r11 + 2]
imul rax, rcx
add rax, rbx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r11 + r15 - 2], al
movzx eax, byte [r11 + r9 + 0x17f3df]
imul rax, rcx
add rax, rbx
add rbx, r14
add rax, r8
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r11 + r15 - 1], al
sub r10, 1
jne 0x140054422
jmp 0x1400540ff
mov eax, dword [rdi + 0x340]
lea r9, [0x140000000]
shl eax, 0xd
lea r13, [0x1404a55d0]
sar eax, 1
mov r8d, 0x1000
cdq
mov r15d, r8d
and edx, 0xff
mov r10d, pe_nt_image_headers64
add eax, edx
mov rcx, rbx
sar eax, 8
mov r11, rbx
movsxd rsi, eax
mov r14d, r10d
sub r15, rsi
lea r12, [r15 + r15]
nop word [rax + rax]
movzx eax, byte [r11 + r9 + 0x17eee0]
lea r11, [r11 + 2]
imul rax, rsi
add rax, rcx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r11 + r13 - 2], al
movzx eax, byte [r11 + r9 + 0x17eedf]
imul rax, rsi
add rax, rcx
add rcx, r12
add rax, r15
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r11 + r13 - 1], al
sub r14, 1
jne 0x1400544d0
imul rcx, rsi, 0x1333
mov r11, rbx
lea r13, [0x1404a56d0]
sar rcx, 0xc
mov rsi, rbx
sub r8, rcx
mov r15, r10
lea r14, [r8 + r8]
nop word [rax + rax]
movzx eax, byte [rsi + r9 + 0x17efe0]
lea rsi, [rsi + 2]
imul rax, rcx
add rax, r11
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rsi + r13 - 2], al
movzx eax, byte [rsi + r9 + 0x17efdf]
imul rax, rcx
add rax, r11
add r11, r14
add rax, r8
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rsi + r13 - 1], al
sub r15, 1
jne 0x140054550
mov r11, rbx
lea r15, [0x1404a57d0]
movzx eax, byte [r11 + r9 + 0x17f0e0]
lea r11, [r11 + 2]
imul rax, rcx
add rax, rbx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r11 + r15 - 2], al
movzx eax, byte [r11 + r9 + 0x17f0df]
imul rax, rcx
add rax, r8
add rax, rbx
add rbx, r14
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r11 + r15 - 1], al
sub r10, 1
jne 0x1400545b2
jmp 0x1400540ff
mov eax, dword [rdi + 0x340]
lea r9, [0x140000000]
add eax, 0x1e
mov ecx, 0xff
cmp eax, ecx
movabs r8, 0x6666666666666667
mov r10d, pe_nt_image_headers64
mov r11, rbx
cmovg eax, ecx
mov r14d, r10d
shl eax, 0xd
sar eax, 1
cdq
and edx, ecx
movsxd rcx, r15d
add eax, edx
sar rcx, 0x1f
sar eax, 8
add rcx, r15
movsxd r13, eax
mov r15d, 0x1000
sar rcx, 0xb
mov rax, r8
inc rcx
sar rcx, 1
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, r8
lea r8, [0x1404a55d0]
movzx ecx, byte [rdx + r9 + 0x1c1550]
shl rcx, 0xc
imul rcx
mov rcx, rbx
mov rsi, rdx
sar rsi, 2
mov rax, rsi
shr rax, 0x3f
add rsi, rax
imul rsi, r13
sar rsi, 0xc
sub r15, rsi
lea r12, [r15 + r15]
nop word [rax + rax]
movzx eax, byte [r11 + r9 + 0x17ede0]
lea r11, [r11 + 2]
imul rax, rsi
add rax, rcx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r11 + r8 - 2], al
movzx eax, byte [r11 + r9 + 0x17eddf]
imul rax, rsi
add rax, r15
add rax, rcx
add rcx, r12
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [r11 + r8 - 1], al
sub r14, 1
jne 0x1400546c0
imul rcx, r13, 0x41
movabs rax, 0xa3d70a3d70a3d70b
lea rdi, [0x1404a56d0]
imul rcx
mov r8d, 0x1000
mov rsi, rbx
mov r15d, r8d
mov r14, r10
lea r11, [rcx + rdx]
mov rcx, rbx
sar r11, 6
mov rax, r11
shr rax, 0x3f
add r11, rax
sub r15, r11
lea r12, [r15 + r15]
nop dword [rax + rax]
movzx eax, byte [rsi + r9 + 0x17efe0]
lea rsi, [rsi + 2]
imul rax, r11
add rax, rcx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rsi + rdi - 2], al
movzx eax, byte [rsi + r9 + 0x17efdf]
imul rax, r11
add rax, rcx
add rcx, r12
add rax, r15
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rsi + rdi - 1], al
sub r14, 1
jne 0x140054760
mov rdi, qword [rsp + 0x58]
lea r15, [0x1404a57d0]
imul rcx, r13, 0x19
movabs rax, 0xa3d70a3d70a3d70b
imul rcx
lea r11, [rcx + rdx]
mov rcx, rbx
sar r11, 6
mov rax, r11
shr rax, 0x3f
add r11, rax
sub r8, r11
lea rsi, [r8 + r8]
nop
movzx eax, byte [rcx + r9 + 0x17f0e0]
lea rcx, [rcx + 2]
imul rax, r11
add rax, rbx
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rcx + r15 - 2], al
movzx eax, byte [rcx + r9 + 0x17f0df]
imul rax, r11
add rax, rbx
add rbx, rsi
add rax, r8
cqo
and edx, 0xfff
add rax, rdx
sar rax, 0xc
mov byte [rcx + r15 - 1], al
sub r10, 1
jne 0x1400547f0
lea r13, [0x1404a56d0]
jmp 0x1400540ff
mov r14d, 0xfffffffc
mov r15, qword [rsp + 0x158]
mov rcx, qword [rbp - 0x68]
lea rdx, [rdi + 0x190]
call fcn.140081c90
mov rcx, qword [rbp - 0x68]
lea rdx, [rdi + 0x18]
call fcn.140081c90
mov eax, r14d
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400fc4b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret