Function at 0x180246750
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x100
movzx esi, byte [rcx]
mov r13d, r9d
mov r10d, dword [rdx + 0x50]
mov rdi, r8
mov byte [rbp + 0x67], sil
mov r15, rdx
mov rbx, rcx
cmp sil, 3
jne 0x180246944
xor r14d, r14d
mov byte [rcx], 1
test r9d, r9d
jle 0x18024693c
mov r12, qword [rbp + 0x7f]
nop word [rax + rax]
lea rax, [rsp + 0x40]
mov r9d, pe_nt_image_headers64
lea r8, [rbx + 1]
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, rbx
call fcn.180246750
movzx eax, byte [rsp + 0x40]
mov ecx, r14d
and al, 0x80
mov edx, r14d
and ecx, 7
shr rdx, 3
mov r8d, pe_nt_image_headers64
sar r8d, cl
movzx ecx, r14b
and cl, 7
movzx r9d, byte [rdx + rdi]
shr al, cl
and r9b, r8b
xor r9b, al
not r8b
and r8b, byte [rdx + r12]
mov eax, 7
sub al, cl
or r8b, r9b
movzx ecx, al
mov byte [rdx + r12], r8b
shr r9b, cl
movzx ecx, byte [rbx + 0x10]
movzx eax, cl
shr cl, 7
add al, al
xor al, r9b
mov byte [rbx + 0x10], al
movzx edx, byte [rbx + 0xf]
movzx eax, dl
shr dl, 7
add al, al
xor cl, al
mov byte [rbx + 0xf], cl
movzx r8d, byte [rbx + 0xe]
movzx eax, r8b
shr r8b, 7
add al, al
xor al, dl
mov byte [rbx + 0xe], al
movzx ecx, byte [rbx + 0xd]
movzx eax, cl
shr cl, 7
add al, al
xor r8b, al
mov byte [rbx + 0xd], r8b
movzx edx, byte [rbx + 0xc]
movzx eax, dl
shr dl, 7
add al, al
xor al, cl
mov byte [rbx + 0xc], al
movzx ecx, byte [rbx + 0xb]
movzx eax, cl
shr cl, 7
add al, al
xor dl, al
mov byte [rbx + 0xb], dl
movzx edx, byte [rbx + 0xa]
movzx eax, dl
shr dl, 7
add al, al
xor al, cl
mov byte [rbx + 0xa], al
movzx r8d, byte [rbx + 9]
movzx eax, r8b
shr r8b, 7
add al, al
xor al, dl
mov byte [rbx + 9], al
movzx ecx, byte [rbx + 8]
movzx eax, cl
add al, al
xor r8b, al
mov byte [rbx + 8], r8b
inc r14d
movzx edx, byte [rbx + 7]
movzx eax, dl
shr cl, 7
add al, al
shr dl, 7
xor al, cl
mov byte [rbx + 7], al
movzx ecx, byte [rbx + 6]
movzx eax, cl
shr cl, 7
add al, al
xor dl, al
mov byte [rbx + 6], dl
movzx edx, byte [rbx + 5]
movzx eax, dl
shr dl, 7
add al, al
xor al, cl
mov byte [rbx + 5], al
movzx ecx, byte [rbx + 4]
movzx eax, cl
shr cl, 7
add al, al
xor dl, al
mov byte [rbx + 4], dl
movzx edx, byte [rbx + 3]
movzx eax, dl
shr dl, 7
add al, al
xor al, cl
mov byte [rbx + 3], al
movzx ecx, byte [rbx + 2]
movzx eax, cl
shr cl, 7
add al, al
xor dl, al
mov byte [rbx + 2], dl
movzx eax, byte [rbx + 1]
add al, al
xor al, cl
mov byte [rbx + 1], al
cmp r14d, r13d
jl 0x1802467b0
mov byte [rbx], 3
jmp 0x18024746e
add r10d, r10d
cmp byte [rdx], 0
je 0x180246990
lea r8, [rdx + 0xa4]
movsxd r9, r10d
add r9, 0xfffffffffffffffe
lea r9, [r8 + r9*4]
cmp r8, r9
jae 0x18024698c
mov eax, dword [r9]
mov edx, dword [r8]
mov ecx, dword [r8 + 4]
mov dword [r8], eax
mov eax, dword [r9 + 4]
mov dword [r8 + 4], eax
add r8, 8
mov dword [r9], edx
mov dword [r9 + 4], ecx
sub r9, 8
cmp r8, r9
jb 0x180246963
mov byte [r15], 0
lea eax, [r10 + 8]
movsxd r8, eax
lea rdx, [r15 + 0x84]
shl r8, 2
lea rcx, [rsp + 0x50]
call fcn.180298b10
cmp sil, 2
jne 0x1802469c7
mov r8d, dword [rbx + 0x24]
mov r14d, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1c]
mov edx, dword [rbx + 0x20]
mov dword [rsp + 0x38], r8d
jmp 0x1802469d8
xor r14d, r14d
mov r8d, r14d
mov dword [rsp + 0x38], r14d
mov edx, r14d
mov ecx, r14d
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], edx
test r13d, r13d
jle 0x18024745a
mov rax, qword [rbp + 0x7f]
lea r12, [rdi + 8]
dec r13d
shr r13d, 7
lea rbx, [rax + 8]
sub rax, rdi
sub rax, 8
mov qword [rbp + 0xf], rax
inc r13d
nop word [rax + rax]
mov r11d, dword [rsp + 0x50]
xor r11d, dword [r12 - 8]
mov esi, dword [rsp + 0x54]
xor r11d, r14d
xor esi, dword [r12 - 4]
mov eax, r11d
shr eax, 0x18
xor esi, ecx
mov r9d, dword [rsp + 0x58]
xor r9d, dword [r12]
mov edi, dword [rsp + 0x5c]
xor r9d, edx
xor edi, dword [r12 + 4]
lea ecx, [rax + rax]
mov r10, qword [rbp + 7]
xor edi, r8d
mov dword [rsp + 0x4c], edi
mov eax, r11d
shr eax, 8
movzx eax, al
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x48], r9d
mov r8d, dword [r15 + rcx*4 + 0x928]
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r11d
shr eax, 0x10
movzx ecx, al
movzx eax, r11b
rol edi, 1
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, esi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, esi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, sil
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov eax, dword [rbp + 0xb]
add r10d, edx
add r10d, r8d
xor r10d, r9d
ror r10d, 1
lea eax, [rax + rdx*2]
add eax, r8d
xor edi, eax
mov eax, r10d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r10d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r10d
shr eax, 0x10
movzx ecx, al
movzx eax, r10b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, edi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, edi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, dil
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp + 3]
mov r9, qword [rbp - 1]
add r9d, edx
rol esi, 1
add r9d, r8d
rol edi, 1
lea eax, [rax + rdx*2]
xor r9d, r11d
add eax, r8d
mov r11, qword [rbp - 9]
xor esi, eax
ror r9d, 1
mov eax, r9d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r9d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r9d
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, esi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, esi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, sil
rol esi, 1
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 5]
add r11d, edx
add r11d, r8d
xor r11d, r10d
ror r11d, 1
lea eax, [rax + rdx*2]
add eax, r8d
xor edi, eax
mov eax, r11d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r11d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r11d
shr eax, 0x10
movzx ecx, al
movzx eax, r11b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, edi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, edi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, dil
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0xd]
lea eax, [rax + rdx*2]
add eax, r8d
xor esi, eax
mov r10, qword [rbp - 0x11]
add r10d, edx
rol edi, 1
add r10d, r8d
xor r10d, r9d
mov r9, qword [rbp - 0x19]
ror r10d, 1
mov eax, r10d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r10d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r10d
shr eax, 0x10
movzx ecx, al
movzx eax, r10b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, esi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, esi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, sil
rol esi, 1
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0x15]
add r9d, edx
add r9d, r8d
xor r9d, r11d
mov r11, qword [rbp - 0x21]
ror r9d, 1
lea eax, [rax + rdx*2]
add eax, r8d
xor edi, eax
mov eax, r9d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r9d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r9d
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, edi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, edi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, dil
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0x1d]
add r11d, edx
add r11d, r8d
lea eax, [rax + rdx*2]
add eax, r8d
xor esi, eax
xor r11d, r10d
mov r10, qword [rbp - 0x29]
ror r11d, 1
mov eax, r11d
rol edi, 1
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r11d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r11d
shr eax, 0x10
movzx ecx, al
movzx eax, r11b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, esi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, esi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, sil
rol esi, 1
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0x25]
add r10d, edx
add r10d, r8d
xor r10d, r9d
mov r9, qword [rbp - 0x31]
ror r10d, 1
lea eax, [rax + rdx*2]
add eax, r8d
xor edi, eax
mov eax, r10d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r10d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r10d
shr eax, 0x10
movzx ecx, al
movzx eax, r10b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, edi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, edi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, dil
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0x2d]
add r9d, edx
add r9d, r8d
xor r9d, r11d
ror r9d, 1
lea eax, [rax + rdx*2]
add eax, r8d
xor esi, eax
mov eax, r9d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r9d
shr eax, 8
mov r8d, dword [r15 + rcx*4 + 0x928]
movzx eax, al
mov r11, qword [rbp - 0x39]
rol edi, 1
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r9d
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, esi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, esi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, sil
rol esi, 1
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0x35]
add r11d, edx
add r11d, r8d
xor r11d, r10d
mov r10, qword [rbp - 0x41]
ror r11d, 1
lea eax, [rax + rdx*2]
add eax, r8d
xor edi, eax
mov eax, r11d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r11d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r11d
shr eax, 0x10
movzx ecx, al
movzx eax, r11b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, edi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, edi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, dil
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0x3d]
add r10d, edx
add r10d, r8d
xor r10d, r9d
ror r10d, 1
lea eax, [rax + rdx*2]
add eax, r8d
xor esi, eax
mov eax, r10d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r10d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov r9, qword [rbp - 0x49]
movzx eax, r10b
rol edi, 1
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, esi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, esi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, sil
rol esi, 1
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0x45]
add r9d, edx
add r9d, r8d
xor r9d, r11d
mov r11, qword [rbp - 0x51]
ror r9d, 1
lea eax, [rax + rdx*2]
add eax, r8d
xor edi, eax
mov eax, r9d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r9d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r9d
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, edi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, edi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, dil
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0x4d]
add r11d, edx
add r11d, r8d
xor r11d, r10d
ror r11d, 1
lea eax, [rax + rdx*2]
add eax, r8d
xor esi, eax
mov eax, r11d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r11d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r11d
shr eax, 0x10
movzx ecx, al
movzx eax, r11b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov r10, qword [rbp - 0x59]
mov eax, esi
shr eax, 0x18
rol edi, 1
lea ecx, [rax + rax]
mov eax, esi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, sil
rol esi, 1
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0x55]
add r10d, edx
add r10d, r8d
xor r10d, r9d
mov r9, qword [rbp - 0x61]
ror r10d, 1
lea eax, [rax + rdx*2]
add eax, r8d
xor edi, eax
mov eax, r10d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r10d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r10d
shr eax, 0x10
movzx ecx, al
movzx eax, r10b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, edi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, edi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, dil
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0x5d]
add r9d, edx
add r9d, r8d
xor r9d, r11d
ror r9d, 1
lea eax, [rax + rdx*2]
add eax, r8d
xor esi, eax
mov eax, r9d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r9d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r9d
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, esi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, esi
shr eax, 0x10
mov edx, dword [r15 + rcx*4 + 0x124]
mov r11, qword [rbp - 0x69]
movzx eax, al
rol edi, 1
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, sil
rol esi, 1
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0x65]
add r11d, edx
add r11d, r8d
xor r11d, r10d
ror r11d, 1
lea eax, [rax + rdx*2]
mov dword [rsp + 0x48], r11d
add eax, r8d
xor edi, eax
mov eax, r11d
shr eax, 0x18
mov dword [rsp + 0x4c], edi
lea ecx, [rax + rax]
mov eax, r11d
mov r8d, dword [r15 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r15 + rax*8 + 0x128]
mov eax, r11d
shr eax, 0x10
movzx ecx, al
movzx eax, r11b
xor r11d, dword [rsp + 0x60]
xor r8d, dword [r15 + rcx*8 + 0x924]
xor r8d, dword [r15 + rax*8 + 0x124]
mov eax, edi
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, edi
mov edx, dword [r15 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r15 + rax*8 + 0x928]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, dil
xor edx, dword [r15 + rcx*8 + 0x924]
xor edx, dword [r15 + rax*8 + 0x128]
mov rax, qword [rbp - 0x6d]
mov rcx, qword [rbp + 0xf]
lea eax, [rax + rdx*2]
add eax, r8d
mov dword [rcx + r12], r11d
mov ecx, dword [rbp - 0x7d]
xor esi, eax
mov rax, qword [rbp - 0x71]
xor ecx, edi
add eax, edx
mov dword [rsp + 0x44], esi
mov edx, dword [rbp - 0x79]
add eax, r8d
mov r8d, dword [rbp - 0x75]
xor eax, r9d
ror eax, 1
xor r8d, esi
movzx esi, byte [rbp + 0x67]
xor edx, eax
mov dword [rsp + 0x40], eax
mov dword [rbx - 4], ecx
mov dword [rbx], edx
mov dword [rbx + 4], r8d
cmp sil, 2
jne 0x180247433
mov r14d, r11d
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x38], r8d
jmp 0x180247440
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
add r12, 0x10
add rbx, 0x10
sub r13, 1
jne 0x180246a10
mov rbx, qword [rbp + 0x5f]
mov r13d, dword [rbp + 0x77]
cmp sil, 2
jne 0x18024746e
mov dword [rbx + 0x18], r14d
mov dword [rbx + 0x1c], ecx
mov dword [rbx + 0x20], edx
mov dword [rbx + 0x24], r8d
mov rbx, qword [rsp + 0x150]
mov eax, r13d
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret