Function at 0x18000d820
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x10], edx
push r12
sub rsp, 0x40
lea eax, [rdx - 0x10]
mov r12, r9
mov r9d, r8d
mov r8d, edx
test eax, 0xffffffe7
jne 0x18000e9d5
cmp edx, 0x28
je 0x18000e9d5
test r9d, r9d
je 0x18000d877
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [rax*2 + 6]
cmp r9d, eax
je 0x18000d877
mov eax, 4
add rsp, 0x40
pop r12
ret
mov qword [rsp + 0x50], rbx
mov eax, r8d
cdq
mov qword [rsp + 0x38], rbp
and edx, 7
mov qword [rsp + 0x30], rsi
add eax, edx
mov qword [rsp + 0x28], rdi
sar eax, 3
mov qword [rsp + 0x18], r14
mov qword [rsp + 0x10], r15
lea eax, [rax*2 + 6]
mov dword [r12 + 0x1e0], eax
movzx eax, byte [rcx + 1]
movzx ebp, byte [rcx]
shl ebp, 8
or ebp, eax
movzx eax, byte [rcx + 2]
shl ebp, 8
or ebp, eax
movzx eax, byte [rcx + 3]
shl ebp, 8
or ebp, eax
mov dword [r12], ebp
movzx eax, byte [rcx + 5]
movzx r9d, byte [rcx + 4]
shl r9d, 8
or r9d, eax
movzx eax, byte [rcx + 6]
shl r9d, 8
or r9d, eax
movzx eax, byte [rcx + 7]
shl r9d, 8
or r9d, eax
mov dword [r12 + 4], r9d
movzx eax, byte [rcx + 9]
movzx r10d, byte [rcx + 8]
shl r10d, 8
or r10d, eax
mov dword [rsp + 4], r9d
movzx eax, byte [rcx + 0xa]
shl r10d, 8
or r10d, eax
movzx eax, byte [rcx + 0xb]
shl r10d, 8
or r10d, eax
mov dword [r12 + 8], r10d
movzx eax, byte [rcx + 0xd]
movzx edi, byte [rcx + 0xc]
shl edi, 8
or edi, eax
mov dword [rsp + 8], r10d
movzx eax, byte [rcx + 0xe]
shl edi, 8
or edi, eax
movzx eax, byte [rcx + 0xf]
shl edi, 8
or edi, eax
mov dword [rsp], edi
mov dword [r12 + 0xc], edi
cmp r8d, 0x10
jne 0x18000dd7f
lea rax, [0x180000000]
mov r8d, edi
mov ecx, edi
shr r8, 0x18
shr ecx, 0x10
movzx edx, cl
mov ecx, edi
shr ecx, 8
mov r11d, dword [rax + r8*4 + 0x12630]
xor r11d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, dil
xor r11d, dword [rax + rdx*4 + 0x10600]
xor r11d, dword [rax + rcx*4 + 0x11200]
xor r11d, ebp
btc r11d, 0x18
mov dword [r12 + 0x10], r11d
mov esi, r11d
xor esi, r9d
mov dword [r12 + 0x14], esi
mov r9d, esi
xor r9d, r10d
mov dword [r12 + 0x18], r9d
mov r10d, r9d
xor r10d, edi
mov dword [r12 + 0x1c], r10d
mov ecx, r10d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr ecx, 8
mov r8d, r10d
shr r8, 0x18
mov ebx, dword [rax + r8*4 + 0x12630]
xor ebx, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r10b
xor ebx, dword [rax + rdx*4 + 0x10600]
xor ebx, dword [rax + rcx*4 + 0x11200]
xor ebx, r11d
btc ebx, 0x19
mov dword [r12 + 0x20], ebx
xor esi, ebx
mov dword [r12 + 0x24], esi
mov r11d, esi
xor r11d, r9d
mov dword [r12 + 0x28], r11d
mov r9d, r11d
xor r9d, r10d
mov dword [r12 + 0x2c], r9d
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 8
mov r8d, r9d
shr r8, 0x18
mov edi, dword [rax + r8*4 + 0x12630]
xor edi, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r9b
xor edi, dword [rax + rdx*4 + 0x10600]
xor edi, dword [rax + rcx*4 + 0x11200]
xor edi, ebx
btc edi, 0x1a
mov dword [r12 + 0x30], edi
mov r10d, edi
xor r10d, esi
mov dword [r12 + 0x34], r10d
mov ebx, r10d
xor ebx, r11d
mov r11d, ebx
mov dword [r12 + 0x38], ebx
xor r11d, r9d
mov r8d, r11d
mov ecx, r11d
shr r8, 0x18
shr ecx, 0x10
mov dword [r12 + 0x3c], r11d
movzx edx, cl
mov esi, dword [rax + r8*4 + 0x12630]
xor esi, dword [rax + rdx*4 + 0x13a30]
mov ecx, r11d
shr ecx, 8
movzx edx, cl
movzx ecx, r11b
xor esi, dword [rax + rdx*4 + 0x10600]
xor esi, dword [rax + rcx*4 + 0x11200]
xor esi, edi
btc esi, 0x1b
mov dword [r12 + 0x40], esi
mov ebp, esi
xor ebp, r10d
mov dword [r12 + 0x44], ebp
mov r9d, ebp
xor r9d, ebx
mov dword [r12 + 0x48], r9d
mov r10d, r9d
xor r10d, r11d
mov dword [r12 + 0x4c], r10d
mov ecx, r10d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr ecx, 8
mov r8d, r10d
shr r8, 0x18
mov ebx, dword [rax + r8*4 + 0x12630]
xor ebx, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r10b
xor ebx, dword [rax + rdx*4 + 0x10600]
xor ebx, dword [rax + rcx*4 + 0x11200]
xor ebx, esi
btc ebx, 0x1c
mov dword [r12 + 0x50], ebx
xor ebp, ebx
mov dword [r12 + 0x54], ebp
mov r11d, ebp
xor r11d, r9d
mov dword [r12 + 0x58], r11d
mov r9d, r11d
xor r9d, r10d
mov dword [r12 + 0x5c], r9d
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 8
mov r8d, r9d
shr r8, 0x18
mov edi, dword [rax + r8*4 + 0x12630]
xor edi, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r9b
xor edi, dword [rax + rdx*4 + 0x10600]
xor edi, dword [rax + rcx*4 + 0x11200]
xor edi, ebx
btc edi, 0x1d
xor ebp, edi
mov dword [r12 + 0x60], edi
mov dword [r12 + 0x64], ebp
mov r10d, ebp
xor r10d, r11d
mov r11d, r10d
mov dword [r12 + 0x68], r10d
xor r11d, r9d
mov ecx, r11d
mov r8d, r11d
shr ecx, 0x10
movzx edx, cl
mov ecx, r11d
shr ecx, 8
shr r8, 0x18
mov dword [r12 + 0x6c], r11d
mov r9d, dword [rax + r8*4 + 0x12630]
xor r9d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r11b
xor r9d, dword [rax + rdx*4 + 0x10600]
xor r9d, dword [rax + rcx*4 + 0x11200]
xor r9d, edi
btc r9d, 0x1e
mov dword [r12 + 0x70], r9d
xor ebp, r9d
mov dword [r12 + 0x74], ebp
mov ebx, ebp
xor ebx, r10d
mov dword [r12 + 0x78], ebx
mov edi, ebx
xor edi, r11d
mov dword [r12 + 0x7c], edi
mov ecx, edi
shr ecx, 0x10
movzx edx, cl
mov ecx, edi
shr ecx, 8
mov r8d, edi
shr r8, 0x18
mov r11d, dword [rax + r8*4 + 0x12630]
xor r11d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, dil
xor r11d, dword [rax + rdx*4 + 0x10600]
xor r11d, dword [rax + rcx*4 + 0x11200]
xor r11d, r9d
btc r11d, 0x1f
mov dword [r12 + 0x80], r11d
xor ebp, r11d
mov dword [r12 + 0x84], ebp
mov r9d, ebp
xor r9d, ebx
mov dword [r12 + 0x88], r9d
mov r10d, r9d
xor r10d, edi
mov dword [r12 + 0x8c], r10d
mov ecx, r10d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr ecx, 8
mov r8d, r10d
shr r8, 0x18
mov edi, dword [rax + r8*4 + 0x12630]
xor edi, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r10b
xor edi, dword [rax + rdx*4 + 0x10600]
xor edi, dword [rax + rcx*4 + 0x11200]
xor edi, r11d
xor edi, 0x1b000000
mov dword [r12 + 0x90], edi
xor ebp, edi
mov dword [r12 + 0x94], ebp
mov r11d, ebp
xor r11d, r9d
mov dword [r12 + 0x98], r11d
mov ebx, r11d
xor ebx, r10d
mov dword [r12 + 0x9c], ebx
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
mov r8d, ebx
shr r8, 0x18
mov r9d, dword [rax + r8*4 + 0x12630]
xor r9d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, bl
xor r9d, dword [rax + rdx*4 + 0x10600]
xor r9d, dword [rax + rcx*4 + 0x11200]
xor r9d, edi
xor r9d, 0x36000000
xor ebp, r9d
mov dword [r12 + 0xa0], r9d
mov dword [r12 + 0xa4], ebp
xor ebp, r11d
mov dword [r12 + 0xa8], ebp
xor ebp, ebx
mov dword [r12 + 0xac], ebp
jmp 0x18000e814
cmp r8d, 0x18
jne 0x18000e1bf
movzx eax, byte [rcx + 0x11]
movzx edi, byte [rcx + 0x10]
shl edi, 8
or edi, eax
movzx eax, byte [rcx + 0x12]
shl edi, 8
or edi, eax
movzx eax, byte [rcx + 0x13]
shl edi, 8
or edi, eax
mov dword [r12 + 0x10], edi
movzx eax, byte [rcx + 0x15]
movzx esi, byte [rcx + 0x14]
shl esi, 8
or esi, eax
movzx eax, byte [rcx + 0x16]
shl esi, 8
or esi, eax
movzx eax, byte [rcx + 0x17]
shl esi, 8
or esi, eax
lea rax, [0x180000000]
mov dword [r12 + 0x14], esi
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
mov ecx, esi
shr ecx, 8
mov r8d, esi
shr r8, 0x18
mov ebx, dword [rax + r8*4 + 0x12630]
xor ebx, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, sil
xor ebx, dword [rax + rdx*4 + 0x10600]
xor ebx, dword [rax + rcx*4 + 0x11200]
xor ebx, ebp
btc ebx, 0x18
mov dword [r12 + 0x18], ebx
mov r15d, ebx
xor r15d, r9d
mov dword [r12 + 0x1c], r15d
mov r9d, r15d
xor r9d, r10d
mov dword [r12 + 0x20], r9d
mov r10d, r9d
xor r10d, dword [rsp]
mov dword [r12 + 0x24], r10d
mov r11d, r10d
xor r11d, edi
xor esi, r11d
mov dword [r12 + 0x28], r11d
mov dword [r12 + 0x2c], esi
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
mov ecx, esi
shr ecx, 8
mov r8d, esi
shr r8, 0x18
mov edi, dword [rax + r8*4 + 0x12630]
xor edi, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, sil
xor edi, dword [rax + rdx*4 + 0x10600]
xor edi, dword [rax + rcx*4 + 0x11200]
xor edi, ebx
btc edi, 0x19
mov dword [r12 + 0x30], edi
xor r15d, edi
mov dword [r12 + 0x34], r15d
mov ebx, r15d
xor ebx, r9d
mov dword [r12 + 0x38], ebx
mov r9d, ebx
xor r9d, r10d
mov r10d, r9d
mov dword [r12 + 0x3c], r9d
xor r10d, r11d
mov dword [r12 + 0x40], r10d
mov r11d, r10d
xor r11d, esi
mov dword [r12 + 0x44], r11d
mov ecx, r11d
shr ecx, 0x10
movzx edx, cl
mov ecx, r11d
shr ecx, 8
mov r8d, r11d
shr r8, 0x18
mov esi, dword [rax + r8*4 + 0x12630]
xor esi, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r11b
xor esi, dword [rax + rdx*4 + 0x10600]
xor esi, dword [rax + rcx*4 + 0x11200]
xor esi, edi
btc esi, 0x1a
mov dword [r12 + 0x48], esi
xor r15d, esi
mov dword [r12 + 0x4c], r15d
mov edi, r15d
xor edi, ebx
mov dword [r12 + 0x50], edi
mov ebx, edi
xor ebx, r9d
mov dword [r12 + 0x54], ebx
mov r9d, ebx
xor r9d, r10d
mov dword [r12 + 0x58], r9d
mov r10d, r9d
xor r10d, r11d
mov dword [r12 + 0x5c], r10d
mov ecx, r10d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr ecx, 8
mov r8d, r10d
shr r8, 0x18
mov ebp, dword [rax + r8*4 + 0x12630]
xor ebp, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r10b
xor ebp, dword [rax + rdx*4 + 0x10600]
xor ebp, dword [rax + rcx*4 + 0x11200]
xor ebp, esi
btc ebp, 0x1b
mov dword [r12 + 0x60], ebp
xor r15d, ebp
mov dword [r12 + 0x64], r15d
mov r11d, r15d
xor r11d, edi
mov dword [r12 + 0x68], r11d
mov esi, r11d
xor esi, ebx
mov dword [r12 + 0x6c], esi
mov ebx, esi
xor ebx, r9d
mov dword [r12 + 0x70], ebx
mov r14d, ebx
xor r14d, r10d
mov ecx, r14d
mov dword [r12 + 0x74], r14d
shr ecx, 0x10
movzx edx, cl
mov ecx, r14d
shr ecx, 8
mov r8d, r14d
shr r8, 0x18
mov r10d, dword [rax + r8*4 + 0x12630]
xor r10d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r14b
xor r10d, dword [rax + rdx*4 + 0x10600]
xor r10d, dword [rax + rcx*4 + 0x11200]
xor r10d, ebp
btc r10d, 0x1c
xor r15d, r10d
mov dword [r12 + 0x78], r10d
mov dword [r12 + 0x7c], r15d
mov r9d, r15d
xor r9d, r11d
mov dword [r12 + 0x80], r9d
xor esi, r9d
mov dword [r12 + 0x84], esi
xor ebx, esi
xor r14d, ebx
mov dword [r12 + 0x88], ebx
mov dword [r12 + 0x8c], r14d
mov ecx, r14d
shr ecx, 0x10
movzx edx, cl
mov ecx, r14d
shr ecx, 8
mov r8d, r14d
shr r8, 0x18
mov edi, dword [rax + r8*4 + 0x12630]
xor edi, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r14b
xor edi, dword [rax + rdx*4 + 0x10600]
xor edi, dword [rax + rcx*4 + 0x11200]
xor edi, r10d
btc edi, 0x1d
mov dword [r12 + 0x90], edi
xor r15d, edi
mov dword [r12 + 0x94], r15d
mov r10d, r15d
xor r10d, r9d
mov dword [r12 + 0x98], r10d
mov r9d, r10d
xor r9d, esi
mov dword [r12 + 0x9c], r9d
mov r11d, r9d
xor r11d, ebx
mov dword [r12 + 0xa0], r11d
mov ebx, r11d
xor ebx, r14d
mov dword [r12 + 0xa4], ebx
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
mov r8d, ebx
shr r8, 0x18
mov r14d, dword [rax + r8*4 + 0x12630]
xor r14d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, bl
xor r14d, dword [rax + rdx*4 + 0x10600]
xor r14d, dword [rax + rcx*4 + 0x11200]
xor r14d, edi
btc r14d, 0x1e
mov dword [r12 + 0xa8], r14d
mov edi, r14d
xor edi, r15d
mov dword [r12 + 0xac], edi
mov esi, edi
xor esi, r10d
mov dword [r12 + 0xb0], esi
mov ebp, esi
xor ebp, r9d
mov dword [r12 + 0xb4], ebp
mov r9d, ebp
xor r9d, r11d
mov dword [r12 + 0xb8], r9d
xor r9d, ebx
mov ecx, r9d
mov r8d, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 8
shr r8, 0x18
mov dword [r12 + 0xbc], r9d
mov r10d, dword [rax + r8*4 + 0x12630]
xor r10d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r9b
xor r10d, dword [rax + rdx*4 + 0x10600]
xor r10d, dword [rax + rcx*4 + 0x11200]
xor r10d, r14d
btc r10d, 0x1f
mov dword [r12 + 0xc0], r10d
xor r10d, edi
mov dword [r12 + 0xc4], r10d
xor r10d, esi
mov dword [r12 + 0xc8], r10d
xor r10d, ebp
mov dword [r12 + 0xcc], r10d
jmp 0x18000e814
cmp r8d, 0x20
jne 0x18000e9ce
movzx eax, byte [rcx + 0x11]
movzx ebx, byte [rcx + 0x10]
mov r9, qword [rsp + 0x68]
mov qword [rsp + 0x20], r13
shl ebx, 8
or ebx, eax
movzx eax, byte [rcx + 0x12]
shl ebx, 8
or ebx, eax
movzx eax, byte [rcx + 0x13]
shl ebx, 8
or ebx, eax
mov dword [r12 + 0x10], ebx
movzx eax, byte [rcx + 0x15]
movzx r13d, byte [rcx + 0x14]
shl r13d, 8
or r13d, eax
movzx eax, byte [rcx + 0x16]
shl r13d, 8
or r13d, eax
movzx eax, byte [rcx + 0x17]
shl r13d, 8
or r13d, eax
mov dword [r12 + 0x14], r13d
movzx eax, byte [rcx + 0x19]
movzx r12d, byte [rcx + 0x18]
shl r12d, 8
or r12d, eax
movzx eax, byte [rcx + 0x1a]
shl r12d, 8
or r12d, eax
movzx eax, byte [rcx + 0x1b]
shl r12d, 8
or r12d, eax
mov dword [r9 + 0x18], r12d
movzx eax, byte [rcx + 0x1d]
movzx r14d, byte [rcx + 0x1c]
shl r14d, 8
or r14d, eax
movzx eax, byte [rcx + 0x1e]
shl r14d, 8
or r14d, eax
movzx eax, byte [rcx + 0x1f]
shl r14d, 8
or r14d, eax
lea rax, [0x180000000]
mov dword [r9 + 0x1c], r14d
mov ecx, r14d
shr ecx, 0x10
movzx edx, cl
mov ecx, r14d
shr ecx, 8
mov r8d, r14d
shr r8, 0x18
mov r10d, dword [rax + r8*4 + 0x12630]
xor r10d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r14b
xor r10d, dword [rax + rdx*4 + 0x10600]
xor r10d, dword [rax + rcx*4 + 0x11200]
xor r10d, ebp
btc r10d, 0x18
mov dword [r9 + 0x20], r10d
mov ebp, r10d
xor ebp, dword [rsp + 4]
mov dword [r9 + 0x24], ebp
mov esi, ebp
xor esi, dword [rsp + 8]
mov dword [r9 + 0x28], esi
mov r15d, esi
xor r15d, edi
mov dword [r9 + 0x2c], r15d
mov r9d, r15d
ror r9d, 8
mov r8d, r9d
mov ecx, r9d
shr r8, 0x18
shr ecx, 0x10
movzx edx, cl
mov r11d, dword [rax + r8*4 + 0x12630]
xor r11d, dword [rax + rdx*4 + 0x13a30]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
xor r11d, dword [rax + rdx*4 + 0x10600]
xor r11d, dword [rax + rcx*4 + 0x11200]
xor r11d, ebx
mov rbx, qword [rsp + 0x68]
xor r13d, r11d
xor r12d, r13d
xor r14d, r12d
mov dword [rbx + 0x3c], r14d
mov ecx, r14d
shr ecx, 0x10
movzx edx, cl
mov ecx, r14d
shr ecx, 8
mov dword [rbx + 0x30], r11d
mov r8d, r14d
mov dword [rbx + 0x38], r12d
shr r8, 0x18
mov dword [rbx + 0x34], r13d
mov edi, dword [rax + r8*4 + 0x12630]
xor edi, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r14b
xor edi, dword [rax + rdx*4 + 0x10600]
xor edi, dword [rax + rcx*4 + 0x11200]
xor edi, r10d
btc edi, 0x19
mov dword [rbx + 0x40], edi
xor ebp, edi
mov dword [rbx + 0x44], ebp
xor esi, ebp
mov dword [rbx + 0x48], esi
xor r15d, esi
mov dword [rbx + 0x4c], r15d
mov r9d, r15d
ror r9d, 8
mov dword [rsp + 8], ebp
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 8
mov r8d, r9d
shr r8, 0x18
mov ebp, dword [rax + r8*4 + 0x12630]
xor ebp, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r9b
xor ebp, dword [rax + rdx*4 + 0x10600]
xor ebp, dword [rax + rcx*4 + 0x11200]
xor ebp, r11d
mov dword [rbx + 0x50], ebp
mov r10d, ebp
xor r10d, r13d
mov dword [rbx + 0x54], r10d
mov r11d, r10d
xor r11d, r12d
mov r12, qword [rsp + 0x68]
mov dword [rbx + 0x58], r11d
mov ebx, r11d
xor ebx, r14d
mov ecx, ebx
mov r8d, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
shr r8, 0x18
mov dword [r12 + 0x5c], ebx
mov r14d, dword [rax + r8*4 + 0x12630]
xor r14d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, bl
xor r14d, dword [rax + rdx*4 + 0x10600]
xor r14d, dword [rax + rcx*4 + 0x11200]
xor r14d, edi
btc r14d, 0x1a
mov dword [r12 + 0x60], r14d
mov r13d, dword [rsp + 8]
xor r13d, r14d
mov dword [r12 + 0x64], r13d
mov edi, r13d
xor edi, esi
mov dword [r12 + 0x68], edi
mov esi, edi
xor esi, r15d
mov dword [r12 + 0x6c], esi
mov r9d, esi
ror r9d, 8
mov ecx, r9d
mov r8d, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 8
shr r8, 0x18
mov r15d, dword [rax + r8*4 + 0x12630]
xor r15d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r9b
mov r9, qword [rsp + 0x68]
xor r15d, dword [rax + rdx*4 + 0x10600]
xor r15d, dword [rax + rcx*4 + 0x11200]
xor r15d, ebp
mov dword [r12 + 0x70], r15d
mov ebp, r15d
xor ebp, r10d
mov dword [r12 + 0x74], ebp
mov r10d, ebp
xor r10d, r11d
mov dword [r12 + 0x78], r10d
mov r11d, r10d
xor r11d, ebx
mov dword [r12 + 0x7c], r11d
mov ecx, r11d
shr ecx, 0x10
movzx edx, cl
mov ecx, r11d
shr ecx, 8
mov r8d, r11d
shr r8, 0x18
mov r12d, dword [rax + r8*4 + 0x12630]
xor r12d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r11b
xor r12d, dword [rax + rdx*4 + 0x10600]
xor r12d, dword [rax + rcx*4 + 0x11200]
xor r12d, r14d
btc r12d, 0x1b
mov dword [r9 + 0x80], r12d
mov ebx, r12d
xor ebx, r13d
mov dword [r9 + 0x84], ebx
mov r14d, ebx
xor r14d, edi
mov dword [r9 + 0x88], r14d
mov edi, r14d
xor edi, esi
mov dword [r9 + 0x8c], edi
mov r9d, edi
ror r9d, 8
mov ecx, r9d
mov r8d, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 8
shr r8, 0x18
mov r13d, dword [rax + r8*4 + 0x12630]
xor r13d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r9b
mov r9, qword [rsp + 0x68]
xor r13d, dword [rax + rdx*4 + 0x10600]
xor r13d, dword [rax + rcx*4 + 0x11200]
xor r13d, r15d
mov esi, r13d
mov dword [r9 + 0x90], r13d
xor esi, ebp
mov dword [r9 + 0x94], esi
mov ebp, esi
xor ebp, r10d
mov dword [r9 + 0x98], ebp
mov r10d, ebp
xor r10d, r11d
mov dword [r9 + 0x9c], r10d
mov ecx, r10d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr ecx, 8
mov r8d, r10d
shr r8, 0x18
mov r15d, dword [rax + r8*4 + 0x12630]
xor r15d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r10b
xor r15d, dword [rax + rdx*4 + 0x10600]
xor r15d, dword [rax + rcx*4 + 0x11200]
xor r15d, r12d
btc r15d, 0x1c
mov dword [r9 + 0xa0], r15d
mov r11d, r15d
xor r11d, ebx
mov dword [r9 + 0xa4], r11d
mov ebx, r11d
xor ebx, r14d
mov dword [r9 + 0xa8], ebx
mov r14d, ebx
xor r14d, edi
mov dword [r9 + 0xac], r14d
mov r9d, r14d
ror r9d, 8
mov ecx, r9d
mov r8d, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 8
shr r8, 0x18
mov r12d, dword [rax + r8*4 + 0x12630]
xor r12d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r9b
mov r9, qword [rsp + 0x68]
xor r12d, dword [rax + rdx*4 + 0x10600]
xor r12d, dword [rax + rcx*4 + 0x11200]
xor r12d, r13d
mov dword [r9 + 0xb0], r12d
mov edi, r12d
xor edi, esi
mov dword [r9 + 0xb4], edi
mov esi, edi
xor esi, ebp
mov dword [r9 + 0xb8], esi
mov ebp, esi
xor ebp, r10d
mov dword [r9 + 0xbc], ebp
mov ecx, ebp
shr ecx, 0x10
movzx edx, cl
mov ecx, ebp
shr ecx, 8
mov r8d, ebp
shr r8, 0x18
mov r13d, dword [rax + r8*4 + 0x12630]
xor r13d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, bpl
xor r13d, dword [rax + rdx*4 + 0x10600]
xor r13d, dword [rax + rcx*4 + 0x11200]
xor r13d, r15d
btc r13d, 0x1d
mov dword [r9 + 0xc0], r13d
mov r15d, r13d
xor r15d, r11d
mov r11d, r15d
mov dword [r9 + 0xc4], r15d
xor r11d, ebx
mov dword [r9 + 0xc8], r11d
mov ebx, r11d
xor ebx, r14d
mov dword [r9 + 0xcc], ebx
mov r9d, ebx
ror r9d, 8
mov ecx, r9d
mov r8d, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr ecx, 8
shr r8, 0x18
mov r10d, dword [rax + r8*4 + 0x12630]
xor r10d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r9b
xor r10d, dword [rax + rdx*4 + 0x10600]
xor r10d, dword [rax + rcx*4 + 0x11200]
xor r10d, r12d
mov r12, qword [rsp + 0x68]
mov dword [r12 + 0xd0], r10d
xor r10d, edi
mov dword [r12 + 0xd4], r10d
xor r10d, esi
mov dword [r12 + 0xd8], r10d
xor r10d, ebp
mov dword [r12 + 0xdc], r10d
mov ecx, r10d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr ecx, 8
mov r8d, r10d
shr r8, 0x18
mov r9d, dword [rax + r8*4 + 0x12630]
xor r9d, dword [rax + rdx*4 + 0x13a30]
movzx edx, cl
movzx ecx, r10b
xor r9d, dword [rax + rdx*4 + 0x10600]
xor r9d, dword [rax + rcx*4 + 0x11200]
xor r9d, r13d
mov r13, qword [rsp + 0x20]
btc r9d, 0x1e
xor r15d, r9d
mov dword [r12 + 0xe0], r9d
mov dword [r12 + 0xe4], r15d
xor r15d, r11d
mov dword [r12 + 0xe8], r15d
xor r15d, ebx
mov dword [r12 + 0xec], r15d
mov ecx, dword [rsp + 0x58]
lea r11, [r12 + 0xf0]
add ecx, 0x1c
mov edi, 1
movsxd rbx, ecx
add rbx, 0xfffffffffffffffc
mov ecx, dword [r12 + rbx*4]
lea rbx, [r12 + rbx*4]
mov dword [r11], ecx
mov ecx, dword [rbx + 4]
mov dword [r11 + 4], ecx
mov ecx, dword [rbx + 8]
mov dword [r11 + 8], ecx
mov ecx, dword [rbx + 0xc]
mov dword [r11 + 0xc], ecx
cmp dword [r12 + 0x1e0], edi
jle 0x18000e98b
nop dword [rax]
mov r10d, dword [rbx - 0x10]
sub rbx, 0x10
mov ecx, r10d
add r11, 0x10
shr ecx, 0x10
mov r8d, r10d
movzx edx, cl
inc edi
shr r8, 0x18
mov ecx, r10d
shr ecx, 8
mov r9d, dword [rax + r8*4 + 0x10e00]
xor r9d, dword [rax + rdx*4 + 0x11a30]
movzx edx, cl
movzx ecx, r10b
xor r9d, dword [rax + rdx*4 + 0x12e30]
xor r9d, dword [rax + rcx*4 + 0x12230]
mov dword [r11], r9d
mov r10d, dword [rbx + 4]
mov ecx, r10d
mov r8d, r10d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr ecx, 8
shr r8, 0x18
mov r9d, dword [rax + r8*4 + 0x10e00]
xor r9d, dword [rax + rdx*4 + 0x11a30]
movzx edx, cl
movzx ecx, r10b
xor r9d, dword [rax + rdx*4 + 0x12e30]
xor r9d, dword [rax + rcx*4 + 0x12230]
mov dword [r11 + 4], r9d
mov r10d, dword [rbx + 8]
mov ecx, r10d
mov r8d, r10d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr ecx, 8
shr r8, 0x18
mov r9d, dword [rax + r8*4 + 0x10e00]
xor r9d, dword [rax + rdx*4 + 0x11a30]
movzx edx, cl
movzx ecx, r10b
xor r9d, dword [rax + rdx*4 + 0x12e30]
xor r9d, dword [rax + rcx*4 + 0x12230]
mov dword [r11 + 8], r9d
mov r10d, dword [rbx + 0xc]
mov ecx, r10d
mov r8d, r10d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr ecx, 8
shr r8, 0x18
mov r9d, dword [rax + r8*4 + 0x10e00]
xor r9d, dword [rax + rdx*4 + 0x11a30]
movzx edx, cl
movzx ecx, r10b
xor r9d, dword [rax + rdx*4 + 0x12e30]
xor r9d, dword [rax + rcx*4 + 0x12230]
mov dword [r11 + 0xc], r9d
cmp edi, dword [r12 + 0x1e0]
jl 0x18000e860
mov eax, dword [rbx - 0x10]
mov dword [r11 + 0x10], eax
mov eax, dword [rbx - 0xc]
mov dword [r11 + 0x14], eax
mov eax, dword [rbx - 8]
mov dword [r11 + 0x18], eax
mov eax, dword [rbx - 4]
mov dword [r11 + 0x1c], eax
xor eax, eax
mov r14, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x10]
add rsp, 0x40
pop r12
ret
mov eax, 1
jmp 0x18000e9a9
mov eax, 3
add rsp, 0x40
pop r12
ret