Function at 0x180247490
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
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 edi, r9d
mov r10d, dword [rdx + 0x50]
mov r14, r8
mov byte [rbp + 0x5f], sil
mov r13, rdx
mov rbx, rcx
cmp sil, 3
jne 0x180247686
xor esi, esi
mov byte [rcx], 1
test r9d, r9d
jle 0x18024767e
mov r12, qword [rbp + 0x7f]
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x38]
mov r9d, pe_nt_image_headers64
lea r8, [rbx + 1]
mov qword [rsp + 0x20], rax
mov rdx, r13
mov rcx, rbx
call fcn.180246750
mov eax, esi
mov ecx, esi
shr rax, 3
and ecx, 7
lea rdx, [rax + r12]
mov r8d, pe_nt_image_headers64
sar r8d, cl
movzx ecx, sil
and cl, 7
movzx r9d, byte [r14 + rax]
movzx eax, byte [rsp + 0x38]
and r9b, r8b
and al, 0x80
not r8b
and r8b, byte [rdx]
shr al, cl
xor al, r9b
or al, r8b
mov byte [rdx], al
mov eax, 7
sub al, cl
movzx ecx, al
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 ecx, byte [rbx + 0xe]
movzx eax, cl
shr cl, 7
add al, al
xor al, dl
mov byte [rbx + 0xe], al
movzx edx, byte [rbx + 0xd]
movzx eax, dl
shr dl, 7
add al, al
xor cl, al
mov byte [rbx + 0xd], cl
movzx ecx, byte [rbx + 0xc]
movzx eax, cl
shr cl, 7
add al, al
xor dl, al
mov byte [rbx + 0xc], dl
movzx edx, byte [rbx + 0xb]
movzx eax, dl
shr dl, 7
add al, al
xor al, cl
mov byte [rbx + 0xb], al
movzx r8d, byte [rbx + 0xa]
movzx eax, r8b
shr r8b, 7
add al, al
xor al, dl
mov byte [rbx + 0xa], al
movzx ecx, byte [rbx + 9]
movzx eax, cl
add al, al
xor r8b, al
mov byte [rbx + 9], r8b
movzx edx, byte [rbx + 8]
movzx eax, dl
add al, al
shr cl, 7
xor al, cl
shr dl, 7
mov byte [rbx + 8], al
inc esi
movzx r8d, byte [rbx + 7]
movzx eax, r8b
shr r8b, 7
add al, al
xor dl, al
mov byte [rbx + 7], dl
movzx ecx, byte [rbx + 6]
movzx eax, cl
shr cl, 7
add al, al
xor r8b, al
mov byte [rbx + 6], r8b
movzx edx, byte [rbx + 5]
movzx eax, dl
shr dl, 7
add al, al
xor al, cl
mov byte [rbx + 5], al
movzx r8d, byte [rbx + 4]
movzx eax, r8b
shr r8b, 7
add al, al
xor dl, al
mov byte [rbx + 4], dl
movzx ecx, byte [rbx + 3]
movzx eax, cl
shr cl, 7
add al, al
xor r8b, al
mov byte [rbx + 3], r8b
movzx edx, byte [rbx + 2]
movzx eax, dl
shr dl, 7
add al, al
xor al, cl
mov byte [rbx + 2], al
movzx eax, byte [rbx + 1]
add al, al
xor dl, al
mov byte [rbx + 1], dl
cmp esi, edi
jl 0x1802474f0
mov byte [rbx], 3
jmp 0x1802481f1
add r10d, r10d
cmp byte [rdx], 1
je 0x1802476de
lea r8, [rdx + 0xa4]
movsxd r9, r10d
add r9, 0xfffffffffffffffe
lea r9, [r8 + r9*4]
cmp r8, r9
jae 0x1802476d9
nop word [rax + rax]
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 0x1802476b0
mov byte [r13], 1
lea eax, [r10 + 8]
movsxd r8, eax
lea rdx, [r13 + 0x84]
shl r8, 2
lea rcx, [rsp + 0x60]
call fcn.180298b10
cmp sil, 2
jne 0x180247719
mov eax, dword [rbx + 0x1c]
mov esi, dword [rbx + 0x18]
mov dword [rbp + 0x67], eax
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x34], eax
jmp 0x180247726
xor esi, esi
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x30], esi
mov dword [rbp + 0x67], esi
test edi, edi
jle 0x1802481d4
mov rax, qword [rbp + 0x7f]
lea ecx, [rdi - 1]
shr ecx, 7
lea r12, [r14 + 8]
lea r15, [rax + 8]
sub rax, r14
sub rax, 8
inc ecx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rcx
nop dword [rax]
nop word [rax + rax]
mov edi, dword [rbp - 0x71]
xor edi, dword [r12 - 8]
mov r14d, dword [rbp - 0x69]
mov eax, edi
shr eax, 0x18
xor r14d, dword [r12]
mov r9d, dword [rbp - 0x65]
xor r9d, dword [r12 + 4]
lea ecx, [rax + rax]
mov r11d, dword [rbp - 0x6d]
xor r11d, dword [r12 - 4]
mov eax, edi
shr eax, 8
movzx eax, al
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x3c], r9d
mov r8d, dword [r13 + rcx*4 + 0x928]
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, dil
rol r14d, 1
rol edi, 1
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r11d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r11d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r11b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp + 0x17]
add eax, edx
add eax, r8d
xor r14d, eax
mov eax, dword [rbp + 0x1b]
lea r10d, [rax + rdx*2]
mov eax, r14d
shr eax, 0x18
add r10d, r8d
xor r10d, r9d
ror r10d, 1
lea ecx, [rax + rax]
mov eax, r14d
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, r14d
shr eax, 0x10
movzx ecx, al
movzx eax, r14b
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r10d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r10d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r10d
shr eax, 8
movzx ecx, al
movzx eax, r10b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp + 0xf]
add eax, edx
add eax, r8d
xor edi, eax
mov rax, qword [rbp + 0x13]
rol r14d, 1
lea r9d, [rax + rdx*2]
mov eax, edi
shr eax, 0x18
add r9d, r8d
xor r9d, r11d
ror r9d, 1
lea ecx, [rax + rax]
mov eax, edi
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, dil
rol edi, 1
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r9d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r9d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r9d
shr eax, 8
movzx ecx, al
movzx eax, r9b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp + 7]
add eax, edx
add eax, r8d
xor r14d, eax
mov rax, qword [rbp + 0xb]
lea r11d, [rax + rdx*2]
mov eax, r14d
shr eax, 0x18
add r11d, r8d
xor r11d, r10d
ror r11d, 1
lea ecx, [rax + rax]
mov eax, r14d
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, r14d
shr eax, 0x10
movzx ecx, al
movzx eax, r14b
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r11d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r11d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r11b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 1]
add eax, edx
add eax, r8d
xor edi, eax
mov rax, qword [rbp + 3]
lea r10d, [rax + rdx*2]
add r10d, r8d
xor r10d, r9d
ror r10d, 1
mov eax, edi
rol r14d, 1
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, edi
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, dil
rol edi, 1
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r10d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r10d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r10d
shr eax, 8
movzx ecx, al
movzx eax, r10b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 9]
add eax, edx
add eax, r8d
xor r14d, eax
mov rax, qword [rbp - 5]
lea r9d, [rax + rdx*2]
mov eax, r14d
shr eax, 0x18
add r9d, r8d
xor r9d, r11d
ror r9d, 1
lea ecx, [rax + rax]
mov eax, r14d
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, r14d
shr eax, 0x10
movzx ecx, al
movzx eax, r14b
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r9d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r9d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r9d
shr eax, 8
movzx ecx, al
movzx eax, r9b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 0x11]
add eax, edx
add eax, r8d
xor edi, eax
mov rax, qword [rbp - 0xd]
lea r11d, [rax + rdx*2]
mov eax, edi
shr eax, 0x18
add r11d, r8d
xor r11d, r10d
ror r11d, 1
lea ecx, [rax + rax]
mov eax, edi
shr eax, 8
movzx eax, al
mov r8d, dword [r13 + rcx*4 + 0x928]
rol r14d, 1
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, dil
rol edi, 1
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r11d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r11d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r11b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 0x19]
add eax, edx
add eax, r8d
xor r14d, eax
mov rax, qword [rbp - 0x15]
lea r10d, [rax + rdx*2]
mov eax, r14d
shr eax, 0x18
add r10d, r8d
xor r10d, r9d
ror r10d, 1
lea ecx, [rax + rax]
mov eax, r14d
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, r14d
shr eax, 0x10
movzx ecx, al
movzx eax, r14b
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r10d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r10d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r10d
shr eax, 8
movzx ecx, al
movzx eax, r10b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 0x21]
add eax, edx
add eax, r8d
xor edi, eax
mov rax, qword [rbp - 0x1d]
lea r9d, [rax + rdx*2]
mov eax, edi
shr eax, 0x18
add r9d, r8d
xor r9d, r11d
ror r9d, 1
lea ecx, [rax + rax]
mov eax, edi
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, dil
rol r14d, 1
rol edi, 1
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r9d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r9d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r9d
shr eax, 8
movzx ecx, al
movzx eax, r9b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 0x29]
add eax, edx
add eax, r8d
xor r14d, eax
mov rax, qword [rbp - 0x25]
lea r11d, [rax + rdx*2]
mov eax, r14d
shr eax, 0x18
add r11d, r8d
xor r11d, r10d
ror r11d, 1
lea ecx, [rax + rax]
mov eax, r14d
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, r14d
shr eax, 0x10
movzx ecx, al
movzx eax, r14b
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r11d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r11d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r11b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 0x31]
add eax, edx
add eax, r8d
xor edi, eax
mov rax, qword [rbp - 0x2d]
lea r10d, [rax + rdx*2]
mov eax, edi
shr eax, 0x18
add r10d, r8d
xor r10d, r9d
ror r10d, 1
lea ecx, [rax + rax]
mov eax, edi
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, dil
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r10d
shr eax, 0x18
rol r14d, 1
rol edi, 1
lea ecx, [rax + rax]
mov eax, r10d
shr eax, 0x10
movzx eax, al
mov edx, dword [r13 + rcx*4 + 0x124]
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r10d
shr eax, 8
movzx ecx, al
movzx eax, r10b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 0x39]
add eax, edx
add eax, r8d
xor r14d, eax
mov rax, qword [rbp - 0x35]
lea r9d, [rax + rdx*2]
mov eax, r14d
shr eax, 0x18
add r9d, r8d
xor r9d, r11d
ror r9d, 1
lea ecx, [rax + rax]
mov eax, r14d
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, r14d
shr eax, 0x10
movzx ecx, al
movzx eax, r14b
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r9d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r9d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r9d
shr eax, 8
movzx ecx, al
movzx eax, r9b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 0x41]
add eax, edx
add eax, r8d
xor edi, eax
mov rax, qword [rbp - 0x3d]
lea r11d, [rax + rdx*2]
mov eax, edi
shr eax, 0x18
add r11d, r8d
xor r11d, r10d
ror r11d, 1
lea ecx, [rax + rax]
mov eax, edi
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, dil
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r11d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r11d
shr eax, 0x10
movzx eax, al
mov edx, dword [r13 + rcx*4 + 0x124]
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r11b
rol r14d, 1
rol edi, 1
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 0x49]
add eax, edx
add eax, r8d
xor r14d, eax
mov rax, qword [rbp - 0x45]
lea r10d, [rax + rdx*2]
mov eax, r14d
shr eax, 0x18
add r10d, r8d
xor r10d, r9d
ror r10d, 1
lea ecx, [rax + rax]
mov eax, r14d
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, r14d
shr eax, 0x10
movzx ecx, al
movzx eax, r14b
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r10d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r10d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r10d
shr eax, 8
movzx ecx, al
movzx eax, r10b
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 0x51]
add eax, edx
add eax, r8d
xor edi, eax
mov rax, qword [rbp - 0x4d]
lea r9d, [rax + rdx*2]
mov eax, edi
shr eax, 0x18
add r9d, r8d
xor r9d, r11d
ror r9d, 1
lea ecx, [rax + rax]
mov eax, edi
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, dil
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r9d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r9d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r9d
shr eax, 8
movzx ecx, al
xor edx, dword [r13 + rcx*8 + 0x924]
rol r14d, 1
movzx eax, r9b
rol edi, 1
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 0x59]
add eax, edx
add eax, r8d
xor r14d, eax
mov rax, qword [rbp - 0x55]
mov dword [rsp + 0x38], r14d
lea r11d, [rax + rdx*2]
mov eax, r14d
shr eax, 0x18
add r11d, r8d
xor r11d, r10d
ror r11d, 1
mov dword [rsp + 0x3c], r11d
lea ecx, [rax + rax]
mov eax, r14d
mov r8d, dword [r13 + rcx*4 + 0x928]
shr eax, 8
movzx eax, al
xor r8d, dword [r13 + rax*8 + 0x128]
mov eax, r14d
shr eax, 0x10
movzx ecx, al
movzx eax, r14b
xor r14d, dword [rsp + 0x60]
xor r8d, dword [r13 + rcx*8 + 0x924]
xor r8d, dword [r13 + rax*8 + 0x124]
mov eax, r11d
shr eax, 0x18
lea ecx, [rax + rax]
mov eax, r11d
mov edx, dword [r13 + rcx*4 + 0x124]
shr eax, 0x10
movzx eax, al
xor edx, dword [r13 + rax*8 + 0x928]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r11b
xor r11d, dword [rbp - 0x7d]
xor edx, dword [r13 + rcx*8 + 0x924]
xor edx, dword [r13 + rax*8 + 0x128]
mov rax, qword [rbp - 0x61]
mov rcx, qword [rsp + 0x48]
add eax, edx
add eax, r8d
xor edi, eax
mov rax, qword [rbp - 0x5d]
mov dword [rsp + 0x40], edi
xor edi, dword [rbp - 0x79]
lea eax, [rax + rdx*2]
add eax, r8d
xor eax, r9d
ror eax, 1
mov dword [rsp + 0x44], eax
xor eax, dword [rbp - 0x75]
cmp byte [rbx], 1
jne 0x180248179
mov dword [r12 + rcx], r14d
mov dword [r15 - 4], r11d
mov dword [r15], edi
jmp 0x1802481b9
xor edi, dword [rsp + 0x30]
xor r14d, esi
mov esi, dword [r12 - 8]
xor r11d, dword [rbp + 0x67]
xor eax, dword [rsp + 0x34]
mov dword [r12 + rcx], r14d
mov ecx, dword [r12 - 4]
mov dword [rbp + 0x67], ecx
mov dword [r15 - 4], r11d
mov ecx, dword [r12]
mov dword [rsp + 0x30], ecx
mov dword [r15], edi
mov ecx, dword [r12 + 4]
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x44], eax
mov dword [r15 + 4], eax
add r12, 0x10
add r15, 0x10
sub qword [rsp + 0x50], 1
jne 0x180247760
mov edi, dword [rbp + 0x77]
cmp byte [rbp + 0x5f], 2
jne 0x1802481f1
mov ecx, dword [rbp + 0x67]
mov dword [rbx + 0x18], esi
mov dword [rbx + 0x1c], ecx
mov ecx, dword [rsp + 0x30]
mov dword [rbx + 0x20], ecx
mov ecx, dword [rsp + 0x34]
mov dword [rbx + 0x24], ecx
mov rbx, qword [rsp + 0x150]
mov eax, edi
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret