Function at 0x493a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov r9d, dword [rcx + 4]
mov rax, r8
mov qword [rsp + 0xd0], r8
shl rax, 3
add qword [rcx + 0xa0], rax
mov eax, dword [rcx]
mov dword [rsp + 0x20], eax
cmp r9d, 3
ja 0x4952b0
mov r8d, 4
sub r8d, r9d
cmp r8, qword [rsp + 0xd0]
ja 0x4952d0
mov r8d, 3
sub r8d, r9d
mov r9d, 4
mov eax, dword [rsp + 0x20]
movzx r10d, byte [rdx]
shl eax, 8
or eax, r10d
mov dword [rsp + 0x20], eax
test r8d, r8d
je 0x493ab0
movzx r10d, byte [rdx + 1]
shl eax, 8
or eax, r10d
mov dword [rsp + 0x20], eax
cmp r8d, 1
je 0x493ab0
movzx r10d, byte [rdx + 2]
shl eax, 8
or eax, r10d
mov dword [rsp + 0x20], eax
cmp r8d, 2
je 0x493ab0
movzx r10d, byte [rdx + 3]
shl eax, 8
or eax, r10d
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xd0]
lea rdx, [rdx + r8 + 1]
lea r10, [rax - 1]
sub r10, r8
mov qword [rsp + 0xd0], r10
je 0x495bf0
mov r9d, dword [rcx + 8]
cmp r9d, 2
je 0x495c00
ja 0x495300
test r9d, r9d
je 0x495390
mov eax, dword [rcx + 0x98]
mov r13d, dword [rcx + 0x78]
mov r8d, dword [rcx + 0x7c]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x88]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x80]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x84]
mov dword [rsp + 0x2c], eax
mov eax, dword [rcx + 0x2c]
mov dword [rsp + 0x3c], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x24], eax
lea rax, [0x006a0f60]
mov qword [rsp + 0x18], rax
lea rax, [0x006a0b60]
mov qword [rsp + 0x10], rax
lea rax, [0x006a0760]
mov qword [rsp + 8], rax
lea rax, [0x006a1360]
mov qword [rsp], rax
xor r8d, dword [rcx + 0x54]
mov eax, dword [rsp + 0x34]
xor eax, dword [rsp + 0x20]
mov esi, dword [rsp + 0x38]
xor esi, dword [rcx + 0x60]
mov edi, dword [rsp + 0x2c]
mov ebx, dword [rcx + 0x70]
mov r9d, dword [rsp + 0x3c]
mov r14, qword [rsp + 0x10]
mov dword [rsp + 0x4c], r8d
mov dword [rcx + 0x7c], r8d
mov r11, qword [rsp + 8]
mov r15d, dword [rcx + 0x74]
mov dword [rsp + 0x34], eax
mov dword [rcx + 0x98], eax
mov eax, r8d
mov dword [rsp + 0x50], esi
mov dword [rcx + 0x88], esi
xor r9d, edi
xor r8d, dword [rcx + 0x6c]
mov esi, dword [rsp + 0x30]
mov dword [rcx + 0x2c], r9d
xor r15d, edi
xor dword [rcx + 0x24], eax
xor ebx, esi
xor r13d, esi
mov rsi, qword [rsp + 0x18]
xor dword [rcx + 0x28], r13d
mov eax, r8d
mov r9d, r8d
movzx r10d, bl
movzx eax, ah
shr r9d, 0x10
mov ebp, dword [r14 + rax*4]
mov rax, qword [rsp]
movzx r9d, r9b
mov r12d, dword [rsi + r9*4]
movzx r9d, r8b
shr r8d, 0x18
mov r13d, dword [r11 + r9*4]
mov r9, r11
mov edi, dword [rax + r8*4]
mov r8d, r12d
xor r8d, ebp
xor edi, r13d
xor edi, r8d
mov r8d, ebx
shr r8d, 0x18
mov r8d, dword [rax + r8*4]
movzx eax, bh
shr ebx, 0x10
movzx ebx, bl
mov r14d, dword [r14 + rax*4]
mov r10d, dword [r11 + r10*4]
mov rax, rsi
mov esi, dword [rsi + rbx*4]
mov ebx, r8d
xor ebx, r10d
mov dword [rsp + 0x38], r14d
xor esi, r14d
movzx r14d, r15b
xor esi, ebx
mov ebx, r15d
mov r14d, dword [r9 + r14*4]
shr ebx, 0x18
mov r11d, ebx
mov rbx, qword [rsp]
xor r10d, r14d
xor r13d, r10d
mov ebx, dword [rbx + r11*4]
mov r11d, r15d
shr r11d, 0x10
movzx r11d, r11b
mov r11d, dword [rax + r11*4]
mov eax, r15d
movzx eax, ah
xor r8d, ebx
xor ebx, r14d
mov r14, qword [rsp]
mov r15, rax
mov rax, qword [rsp + 0x10]
mov r9d, dword [rax + r15*4]
mov eax, dword [rsp + 0x20]
mov r15, qword [rsp + 0x18]
xor r9d, r11d
mov r10d, eax
xor ebx, r9d
mov r9d, eax
shr r10d, 0x18
movzx eax, ah
shr r9d, 0x10
mov r10d, dword [r14 + r10*4]
movzx r14d, r9b
mov r9d, dword [rsp + 0x38]
mov r14d, dword [r15 + r14*4]
xor r8d, r10d
xor r11d, r14d
xor r12d, r11d
mov r11, rax
mov rax, qword [rsp + 0x10]
mov r11d, dword [rax + r11*4]
movzx eax, byte [rsp + 0x20]
xor r9d, r11d
xor r14d, r11d
mov r11d, ebx
xor ebp, r9d
mov r9, qword [rsp + 8]
xor r11d, ebp
mov dword [rsp + 0x3c], r11d
mov r11d, edi
xor r11d, r8d
xor r10d, dword [r9 + rax*4]
mov eax, esi
mov dword [rsp + 0x60], r11d
xor eax, r12d
mov dword [rsp + 0x68], eax
mov eax, ebp
shl eax, 8
xor r14d, r10d
mov r10d, r13d
xor r10d, r14d
xor eax, r14d
mov dword [rsp + 0x58], r10d
mov r10d, r12d
and eax, 0xff00
shl r10d, 8
xor r10d, ebx
mov r9d, r10d
and r9d, 0xff0000
or r9d, eax
mov eax, r13d
mov r10d, r9d
mov r9d, r8d
shr eax, 0x18
shl r9d, 8
xor eax, edi
xor r9d, esi
movzx eax, al
and r9d, 0xff000000
or eax, r9d
or eax, r10d
mov r10d, r12d
shl r10d, 0x10
mov dword [rcx + 0x70], eax
xor r10d, r14d
and r10d, 0xff0000
mov r11d, r10d
mov r10d, ebp
shr r10d, 0x10
xor r10d, edi
mov r9d, r10d
mov r10d, r11d
mov r11d, r13d
and r9d, 0xff00
or r10d, r9d
mov r9d, r8d
shl r9d, 0x10
xor r9d, ebx
shr r11d, 0x10
shr r12d, 8
shr ebp, 8
xor r11d, esi
xor r12d, edi
xor ebp, esi
shr r13d, 8
mov esi, dword [rcx + 0x60]
shl r8d, 0x18
and ebp, 0xff00
xor ebx, r13d
xor r8d, r14d
and r12d, 0xff0000
movzx r13d, bl
and r9d, 0xff000000
or r12d, ebp
movzx r11d, r11b
and r8d, 0xff000000
or r9d, r11d
or r8d, r13d
mov ebp, r12d
mov r11d, dword [rcx + 0x68]
or r10d, r9d
or ebp, r8d
xor esi, eax
mov ebx, esi
mov dword [rsp + 0x38], r10d
mov esi, dword [rcx + 0x64]
mov dword [rcx + 0x74], r10d
mov dword [rsp + 0x54], ebp
mov dword [rcx + 0x78], ebp
xor r11d, ebp
xor eax, dword [rsp + 0x28]
mov r13, qword [rsp + 0x10]
xor dword [rcx + 0x20], ebp
mov r8d, dword [rsp + 0x40]
mov ebp, ebx
xor esi, r10d
mov r12, qword [rsp + 8]
mov rdi, qword [rsp]
shr ebp, 0x10
mov dword [rcx + 0x18], eax
movzx eax, bpl
xor r8d, r10d
movzx ebp, sil
mov r9d, dword [r15 + rax*4]
movzx eax, bh
mov dword [rcx + 0x1c], r8d
mov r10d, dword [r13 + rax*4]
movzx eax, bl
shr ebx, 0x18
mov r8d, dword [r12 + rax*4]
mov r14d, dword [rdi + rbx*4]
mov eax, r9d
xor eax, r10d
xor r14d, r8d
mov ebx, r14d
mov r14d, dword [r12 + rbp*4]
xor ebx, eax
mov eax, esi
mov dword [rsp + 0x20], ebx
shr eax, 0x18
mov ebx, esi
shr esi, 0x10
mov eax, dword [rdi + rax*4]
movzx esi, sil
movzx edi, bh
mov rbx, r12
mov edi, dword [r13 + rdi*4]
mov ebp, dword [r15 + rsi*4]
movzx r13d, r11b
xor r8d, r14d
mov r12, qword [rsp]
mov r13d, dword [rbx + r13*4]
mov ebx, r11d
movzx ebx, bh
mov esi, eax
xor ebp, edi
xor esi, r14d
mov r14, qword [rsp]
xor r10d, edi
xor esi, ebp
mov ebp, r11d
shr ebp, 0x18
mov r12d, dword [r12 + rbp*4]
mov ebp, r11d
mov r11, rbx
mov rbx, qword [rsp + 0x10]
shr ebp, 0x10
movzx ebp, bpl
mov ebp, dword [r15 + rbp*4]
mov r15d, dword [rbx + r11*4]
mov ebx, dword [rsp + 0x3c]
xor r15d, ebp
movzx ebx, bh
mov r11d, r15d
mov r15d, r12d
xor r15d, r13d
xor r13d, r8d
mov r8d, dword [rsp + 0x60]
xor r11d, r15d
shr r8d, 0x18
mov r8d, dword [r14 + r8*4]
mov r14, qword [rsp + 0x18]
xor eax, r8d
xor r12d, eax
mov rax, qword [rsp + 0x68]
shr rax, 0x10
and eax, 0xff
mov eax, dword [r14 + rax*4]
xor r9d, eax
xor ebp, r9d
mov r9, rbx
mov rbx, qword [rsp + 0x10]
mov r9d, dword [rbx + r9*4]
movzx edi, byte [rsp + 0x58]
mov r15, qword [rsp + 8]
xor eax, r9d
xor r10d, r9d
mov r9d, r13d
xor r8d, dword [r15 + rdi*4]
mov edi, dword [rsp + 0x20]
mov r15d, r11d
xor r15d, r10d
mov dword [rsp + 0x28], r15d
mov r15d, edi
xor eax, r8d
mov r8d, esi
xor r15d, r12d
xor r9d, eax
xor r8d, ebp
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0x3c], r9d
mov dword [rsp + 0x60], r8d
mov r9d, r10d
mov r8d, r13d
shl r9d, 8
shr r8d, 0x18
xor r9d, eax
xor r8d, edi
mov edi, ebp
movzx r8d, r8b
and r9d, 0xff00
or r9d, r8d
mov r8d, r12d
shl edi, 8
shl r8d, 8
xor edi, r11d
xor r8d, esi
and edi, 0xff0000
and r8d, 0xff000000
or r8d, edi
mov edi, r12d
shl r12d, 0x18
or r9d, r8d
mov r8d, r10d
shr r10d, 8
shl edi, 0x10
shr r8d, 0x10
xor r8d, dword [rsp + 0x20]
mov ebx, r9d
mov dword [rsp + 0x40], r9d
mov dword [rcx + 0x64], r9d
mov r9d, r13d
xor r10d, esi
shr r9d, 0x10
xor edi, r11d
xor r12d, eax
and r10d, 0xff00
xor r9d, esi
mov esi, r13d
and edi, 0xff000000
and r12d, 0xff000000
movzx r9d, r9b
shr esi, 8
mov r13, qword [rsp + 0x10]
and r8d, 0xff00
xor r11d, esi
mov esi, dword [rcx + 0x58]
or r8d, r9d
mov r9d, ebp
movzx r15d, r11b
mov r11d, ebx
shl r9d, 0x10
or r10d, r15d
xor r9d, eax
mov eax, r12d
mov r12, qword [rsp + 8]
and r9d, 0xff0000
or edi, r9d
or r8d, edi
shr ebp, 8
xor ebp, dword [rsp + 0x20]
xor esi, r8d
mov dword [rcx + 0x68], r8d
xor r8d, dword [rsp + 0x48]
and ebp, 0xff0000
or eax, ebp
mov dword [rcx + 0x10], r8d
mov r15d, eax
mov eax, dword [rcx + 0x54]
or r15d, r10d
mov r10d, dword [rcx + 0x5c]
mov dword [rcx + 0x6c], r15d
xor eax, ebx
xor r10d, r15d
movzx edi, ah
xor r15d, dword [rsp + 0x24]
movzx r9d, al
mov ebx, r10d
mov r10d, dword [rsp + 0x44]
xor r10d, r11d
mov dword [rcx + 0x14], r15d
mov r11d, dword [r12 + r9*4]
mov r15, r14
mov dword [rcx + 0xc], r10d
mov r10d, eax
shr eax, 0x18
movzx r9d, sil
shr r10d, 0x10
movzx r8d, r10b
mov r10d, dword [r14 + r8*4]
mov r8d, dword [r13 + rdi*4]
mov rdi, qword [rsp]
mov r14d, dword [rdi + rax*4]
mov eax, r10d
xor eax, r8d
xor r14d, r11d
xor r14d, eax
mov eax, esi
shr eax, 0x18
mov eax, dword [rdi + rax*4]
mov dword [rsp + 8], eax
mov eax, esi
shr esi, 0x10
mov r9d, dword [r12 + r9*4]
movzx eax, ah
movzx esi, sil
mov ebp, dword [r13 + rax*4]
mov eax, dword [rsp + 8]
xor r8d, ebp
xor ebp, dword [r15 + rsi*4]
mov esi, ebx
xor eax, r9d
shr esi, 0x10
xor r9d, r11d
movzx esi, sil
mov esi, dword [r15 + rsi*4]
xor ebp, eax
mov eax, ebx
shr eax, 0x18
mov r11d, eax
xor r10d, esi
mov eax, dword [rsp + 8]
mov qword [rsp + 8], r12
mov r11d, dword [rdi + r11*4]
movzx edi, bl
movzx ebx, bh
xor esi, dword [r13 + rbx*4]
mov edi, dword [r12 + rdi*4]
mov ebx, dword [rsp + 0x28]
xor eax, r11d
xor r11d, edi
xor r9d, edi
mov rdi, qword [rsp]
xor esi, r11d
mov r11d, dword [rsp + 0x58]
movzx ebx, bh
mov r12d, dword [r13 + rbx*4]
movzx ebx, byte [rsp + 0x3c]
shr r11d, 0x18
mov edi, dword [rdi + r11*4]
mov r11, qword [rsp + 0x60]
xor eax, edi
shr r11, 0x10
xor r8d, r12d
and r11d, 0xff
mov r11d, dword [r15 + r11*4]
mov r15, qword [rsp + 8]
xor edi, dword [r15 + rbx*4]
xor r10d, r11d
xor r11d, r12d
mov ebx, r9d
mov r12d, ebp
mov r13d, r10d
xor r12d, r10d
shl r13d, 8
and r12d, 0xff0000
xor r13d, esi
and r13d, 0xff0000
xor edi, r11d
mov r11d, esi
xor r11d, r8d
xor ebx, edi
and r11d, 0xff00
movzx ebx, bl
or r11d, ebx
mov ebx, r14d
xor ebx, eax
and ebx, 0xff000000
or ebx, r12d
mov r12d, r13d
or r11d, ebx
mov ebx, r8d
shl ebx, 8
mov dword [rcx + 0x54], r11d
xor ebx, edi
and ebx, 0xff00
or r12d, ebx
mov ebx, r9d
mov r13d, r12d
mov r12d, eax
shr ebx, 0x18
shl r12d, 8
xor ebx, r14d
xor r12d, ebp
movzx ebx, bl
and r12d, 0xff000000
or ebx, r12d
or ebx, r13d
mov r13d, r10d
shl r13d, 0x10
shr r10d, 8
mov dword [rcx + 0x58], ebx
xor r13d, edi
xor r10d, r14d
mov r15d, r13d
mov r13d, r8d
shr r8d, 8
and r10d, 0xff0000
shr r13d, 0x10
and r15d, 0xff0000
xor r8d, ebp
xor r13d, r14d
and r8d, 0xff00
mov r12d, r13d
or r10d, r8d
and r12d, 0xff00
or r15d, r12d
mov r12d, eax
shl eax, 0x18
mov r13d, r15d
mov r15d, r9d
shl r12d, 0x10
shr r9d, 8
shr r15d, 0x10
xor r9d, esi
xor r12d, esi
xor eax, edi
xor r15d, ebp
and r12d, 0xff000000
and eax, 0xff000000
movzx r8d, r9b
movzx r15d, r15b
or eax, r8d
mov r9d, 2
or r12d, r15d
or r10d, eax
or r13d, r12d
cmp qword [rsp + 0xd0], 4
mov dword [rsp + 0x24], r10d
mov dword [rcx + 0x60], r10d
mov dword [rsp + 0x28], r13d
mov dword [rcx + 0x5c], r13d
jbe 0x49524e
mov eax, dword [rdx]
bswap eax
sub qword [rsp + 0xd0], 4
mov dword [rsp + 0x20], eax
add rdx, 4
mov esi, dword [rsp + 0x40]
xor esi, dword [rcx + 0x3c]
xor ebx, dword [rcx + 0x30]
mov eax, dword [rsp + 0x38]
mov r8d, dword [rcx + 0x48]
xor eax, dword [rsp + 0x20]
mov edi, dword [rsp + 0x24]
mov r9d, dword [rsp + 0x34]
mov r13, qword [rsp + 0x10]
mov r15, qword [rsp + 0x18]
mov dword [rsp + 0x40], esi
mov dword [rcx + 0x64], esi
mov esi, dword [rsp + 0x28]
mov ebp, dword [rcx + 0x50]
xor r8d, ebx
mov dword [rsp + 0x3c], ebx
mov dword [rcx + 0x58], ebx
mov dword [rsp + 0x38], eax
mov dword [rcx + 0x74], eax
mov eax, ebx
xor r9d, edi
mov dword [rcx + 0x98], r9d
mov r9d, r8d
xor dword [rcx + 0x90], eax
mov eax, r8d
xor r11d, esi
shr r9d, 0x10
movzx eax, ah
xor dword [rcx + 0x94], r11d
mov r11, qword [rsp + 8]
movzx r9d, r9b
mov r12d, dword [r13 + rax*4]
xor ebp, edi
mov rax, qword [rsp]
mov r10d, dword [r15 + r9*4]
movzx r9d, r8b
shr r8d, 0x18
mov ebx, dword [rcx + 0x4c]
mov r14d, dword [r11 + r9*4]
mov edi, dword [rax + r8*4]
mov r8d, r10d
xor ebx, esi
mov dword [rsp + 0x34], r10d
xor r8d, r12d
movzx r10d, bl
xor edi, r14d
xor edi, r8d
mov r8d, ebx
shr r8d, 0x18
mov r8d, dword [rax + r8*4]
movzx eax, bh
shr ebx, 0x10
movzx ebx, bl
mov r9d, dword [r13 + rax*4]
mov r10d, dword [r11 + r10*4]
mov rax, r11
mov r11d, dword [r15 + rbx*4]
mov rbx, qword [rsp]
xor r11d, r9d
mov esi, r11d
mov r11d, r8d
xor r11d, r10d
xor esi, r11d
mov r11d, ebp
shr r11d, 0x18
mov ebx, dword [rbx + r11*4]
mov r11d, ebp
shr r11d, 0x10
movzx r11d, r11b
mov r11d, dword [r15 + r11*4]
movzx r15d, bpl
mov r15d, dword [rax + r15*4]
mov eax, ebp
xor r8d, ebx
movzx ebp, ah
mov eax, dword [rsp + 0x20]
mov r13d, dword [r13 + rbp*4]
mov rbp, qword [rsp]
xor r10d, r15d
xor ebx, r15d
mov r15, qword [rsp + 0x18]
xor r14d, r10d
mov r10d, eax
shr r10d, 0x18
xor r13d, r11d
mov r10d, dword [rbp + r10*4]
mov ebp, eax
xor ebx, r13d
mov r13d, dword [rsp + 0x34]
shr ebp, 0x10
movzx eax, ah
movzx ebp, bpl
mov ebp, dword [r15 + rbp*4]
xor r8d, r10d
xor r11d, ebp
xor r13d, r11d
mov r11, rax
mov rax, qword [rsp + 0x10]
mov r11d, dword [rax + r11*4]
movzx eax, byte [rsp + 0x20]
xor r9d, r11d
xor ebp, r11d
mov r11d, r14d
xor r12d, r9d
mov r9, qword [rsp + 8]
xor r10d, dword [r9 + rax*4]
mov r9d, esi
xor r9d, r13d
mov dword [rsp + 0x68], r9d
xor ebp, r10d
mov r10d, ebx
xor r10d, r12d
xor r11d, ebp
mov dword [rsp + 0x34], r10d
mov r10d, r13d
mov dword [rsp + 0x58], r11d
mov r11d, edi
shl r10d, 8
xor r11d, r8d
mov eax, r10d
mov r10d, r12d
mov dword [rsp + 0x60], r11d
xor eax, ebx
shl r10d, 8
mov r9d, eax
mov eax, r10d
mov r10d, r14d
xor eax, ebp
and r9d, 0xff0000
shr r10d, 0x18
and eax, 0xff00
xor r10d, edi
or eax, r9d
mov r9d, r8d
movzx r10d, r10b
shl r9d, 8
xor r9d, esi
and r9d, 0xff000000
or r9d, r10d
mov r10d, r13d
shl r10d, 0x10
or eax, r9d
xor r10d, ebp
mov dword [rcx + 0x4c], eax
and r10d, 0xff0000
mov r11d, r10d
mov r10d, r12d
shr r10d, 0x10
xor r10d, edi
and r10d, 0xff00
mov r9d, r10d
mov r10d, r11d
mov r11d, r14d
or r10d, r9d
mov r9d, r8d
shl r9d, 0x10
xor r9d, ebx
shr r13d, 8
shr r12d, 8
shr r14d, 8
xor r13d, edi
mov edi, dword [rcx + 0x3c]
xor r12d, esi
shr r11d, 0x10
shl r8d, 0x18
xor r11d, esi
and r12d, 0xff00
xor ebx, r14d
xor r8d, ebp
and r13d, 0xff0000
movzx r14d, bl
and r9d, 0xff000000
or r13d, r12d
movzx r11d, r11b
and r8d, 0xff000000
mov esi, dword [rcx + 0x40]
xor edi, eax
xor eax, dword [rsp + 0x2c]
or r9d, r11d
or r8d, r14d
mov r11d, r13d
or r10d, r9d
mov r14d, edi
mov ebx, dword [rcx + 0x44]
or r11d, r8d
shr r14d, 0x10
mov dword [rsp + 0x44], r10d
mov dword [rcx + 0x50], r10d
mov dword [rsp + 0x48], r11d
mov dword [rcx + 0x54], r11d
xor esi, r10d
mov dword [rcx + 0x84], eax
mov r13, qword [rsp + 0x10]
mov r8d, dword [rsp + 0x50]
movzx eax, r14b
mov r12, qword [rsp + 8]
xor ebx, r11d
mov r14, qword [rsp]
mov r9d, dword [r15 + rax*4]
mov eax, edi
movzx eax, ah
xor dword [rcx + 0x8c], r11d
xor r8d, r10d
mov r10d, dword [r13 + rax*4]
movzx eax, dil
shr edi, 0x18
mov dword [rcx + 0x88], r8d
mov r8d, dword [r12 + rax*4]
mov ebp, dword [r14 + rdi*4]
mov eax, r9d
xor eax, r10d
xor ebp, r8d
mov r11d, ebp
movzx ebp, sil
xor r11d, eax
mov eax, esi
shr eax, 0x18
mov eax, dword [r14 + rax*4]
mov r14d, dword [r12 + rbp*4]
mov dword [rsp + 0x20], eax
mov eax, esi
shr esi, 0x10
xor r8d, r14d
movzx edi, ah
movzx esi, sil
mov rax, r13
mov edi, dword [r13 + rdi*4]
mov ebp, dword [r15 + rsi*4]
mov esi, dword [rsp + 0x20]
mov r13, qword [rsp]
xor ebp, edi
xor r10d, edi
xor esi, r14d
mov r14, qword [rsp]
xor esi, ebp
mov ebp, ebx
shr ebp, 0x18
mov r12d, dword [r13 + rbp*4]
mov ebp, ebx
movzx r13d, bl
movzx ebx, bh
shr ebp, 0x10
movzx ebp, bpl
mov ebp, dword [r15 + rbp*4]
mov r15, qword [rsp + 8]
mov r13d, dword [r15 + r13*4]
mov r15d, dword [rax + rbx*4]
mov eax, dword [rsp + 0x20]
xor r15d, ebp
mov ebx, r15d
mov r15d, r12d
xor r15d, r13d
xor r13d, r8d
mov r8d, dword [rsp + 0x60]
xor ebx, r15d
shr r8d, 0x18
mov r8d, dword [r14 + r8*4]
mov r14, qword [rsp + 0x68]
xor eax, r8d
shr r14, 0x10
xor r12d, eax
mov rax, r14
mov r14, qword [rsp + 0x18]
and eax, 0xff
mov eax, dword [r14 + rax*4]
xor r9d, eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
xor ebp, r9d
movzx eax, ah
mov r9, rax
mov rax, qword [rsp + 0x10]
movzx edi, byte [rsp + 0x58]
mov r15, qword [rsp + 8]
mov r9d, dword [rax + r9*4]
mov eax, dword [rsp + 0x20]
xor r8d, dword [r15 + rdi*4]
mov edi, ebp
mov r15d, ebp
xor eax, r9d
xor r10d, r9d
mov r9d, ebx
xor r9d, r10d
xor eax, r8d
mov r8d, r13d
mov dword [rsp + 0x20], r9d
mov r9d, r11d
xor r8d, eax
xor r9d, r12d
mov dword [rsp + 0x2c], r8d
mov r8d, esi
mov dword [rsp + 0x50], r9d
mov r9d, r10d
xor r8d, ebp
shl r9d, 8
mov dword [rsp + 0x58], r8d
mov r8d, r13d
xor r9d, eax
shr r8d, 0x18
and r9d, 0xff00
xor r8d, r11d
movzx r8d, r8b
or r9d, r8d
mov r8d, r12d
shl edi, 8
shl r15d, 0x10
shl r8d, 8
xor edi, ebx
xor r8d, esi
and edi, 0xff0000
and r8d, 0xff000000
or r8d, edi
mov edi, r13d
or r9d, r8d
shr edi, 0x10
mov r8d, r10d
shr r10d, 8
mov dword [rsp + 0x34], r9d
mov dword [rcx + 0x40], r9d
shr r8d, 0x10
mov r9d, edi
xor r8d, r11d
xor r9d, esi
mov edi, r12d
xor r10d, esi
and r8d, 0xff00
movzx r9d, r9b
shl edi, 0x10
mov esi, r13d
or r8d, r9d
mov r9d, r15d
xor edi, ebx
shr esi, 8
xor r9d, eax
xor ebx, esi
and edi, 0xff000000
shl r12d, 0x18
and r9d, 0xff0000
movzx r15d, bl
xor r12d, eax
and r10d, 0xff00
or edi, r9d
or r10d, r15d
and r12d, 0xff000000
mov ebx, dword [rcx + 0x38]
or r8d, edi
shr ebp, 8
mov esi, r12d
mov r13, qword [rsp + 0x10]
xor ebp, r11d
mov dword [rcx + 0x44], r8d
mov r12, qword [rsp + 8]
and ebp, 0xff0000
or esi, ebp
mov ebp, dword [rsp + 0x54]
mov r15d, esi
mov esi, dword [rcx + 0x30]
or r15d, r10d
mov r10d, dword [rsp + 0x34]
xor ebx, r15d
mov dword [rcx + 0x48], r15d
xor r15d, dword [rsp + 0x30]
xor esi, r10d
xor ebp, r10d
mov eax, esi
mov esi, dword [rcx + 0x34]
mov dword [rcx + 0x78], ebp
mov r10d, eax
movzx edi, ah
movzx r9d, al
shr eax, 0x18
shr r10d, 0x10
mov r11d, dword [r12 + r9*4]
mov dword [rcx + 0x80], r15d
mov r15, r14
xor esi, r8d
xor r8d, dword [rsp + 0x4c]
movzx r9d, sil
mov dword [rcx + 0x7c], r8d
movzx r8d, r10b
mov r10d, dword [r14 + r8*4]
mov r8d, dword [r13 + rdi*4]
mov rdi, qword [rsp]
mov r14d, dword [rdi + rax*4]
mov eax, r10d
xor eax, r8d
xor r14d, r11d
xor r14d, eax
mov eax, esi
shr eax, 0x18
mov eax, dword [rdi + rax*4]
mov dword [rsp + 8], eax
mov eax, esi
shr esi, 0x10
mov r9d, dword [r12 + r9*4]
movzx eax, ah
movzx esi, sil
mov ebp, dword [r13 + rax*4]
mov eax, dword [rsp + 8]
xor r8d, ebp
xor ebp, dword [r15 + rsi*4]
mov esi, ebx
xor eax, r9d
shr esi, 0x10
xor r9d, r11d
movzx esi, sil
mov esi, dword [r15 + rsi*4]
xor ebp, eax
mov eax, ebx
shr eax, 0x18
mov r11d, eax
xor r10d, esi
mov eax, dword [rsp + 8]
mov qword [rsp + 8], r12
mov r11d, dword [rdi + r11*4]
movzx edi, bl
movzx ebx, bh
xor esi, dword [r13 + rbx*4]
mov edi, dword [r12 + rdi*4]
mov ebx, dword [rsp + 0x20]
xor eax, r11d
xor r11d, edi
xor r9d, edi
mov rdi, qword [rsp]
xor esi, r11d
mov r11d, dword [rsp + 0x50]
movzx ebx, bh
mov r12d, dword [r13 + rbx*4]
movzx ebx, byte [rsp + 0x2c]
mov r13d, r9d
shr r11d, 0x18
mov edi, dword [rdi + r11*4]
mov r11, qword [rsp + 0x58]
xor eax, edi
shr r11, 0x10
xor r8d, r12d
shr r13d, 0x18
and r11d, 0xff
xor r13d, r14d
mov r11d, dword [r15 + r11*4]
mov r15, qword [rsp + 8]
movzx r13d, r13b
xor edi, dword [r15 + rbx*4]
xor r10d, r11d
xor r11d, r12d
mov ebx, r9d
mov r12d, ebp
xor r12d, r10d
and r12d, 0xff0000
xor edi, r11d
mov r11d, esi
xor r11d, r8d
xor ebx, edi
and r11d, 0xff00
movzx ebx, bl
or r11d, ebx
mov ebx, r14d
xor ebx, eax
and ebx, 0xff000000
or ebx, r12d
or r11d, ebx
mov ebx, r10d
shl ebx, 8
mov dword [rcx + 0x30], r11d
xor ebx, esi
and ebx, 0xff0000
mov r12d, ebx
mov ebx, r8d
shl ebx, 8
xor ebx, edi
and ebx, 0xff00
or ebx, r12d
mov r12d, eax
shl r12d, 8
xor r12d, ebp
and r12d, 0xff000000
or r12d, r13d
mov r13d, r10d
or ebx, r12d
shl r13d, 0x10
shr r10d, 8
xor r13d, edi
xor r10d, r14d
mov dword [rcx + 0x34], ebx
mov r15d, r13d
mov r13d, r8d
shr r8d, 8
and r10d, 0xff0000
shr r13d, 0x10
and r15d, 0xff0000
xor r8d, ebp
xor r13d, r14d
and r8d, 0xff00
mov r12d, r13d
or r10d, r8d
and r12d, 0xff00
or r15d, r12d
mov r12d, eax
shl eax, 0x18
mov r13d, r15d
mov r15d, r9d
shl r12d, 0x10
shr r9d, 8
shr r15d, 0x10
xor r9d, esi
xor r12d, esi
xor eax, edi
xor r15d, ebp
and r12d, 0xff000000
and eax, 0xff000000
movzx r8d, r9b
movzx r15d, r15b
or eax, r8d
mov r9d, 3
or r12d, r15d
or r10d, eax
or r13d, r12d
cmp qword [rsp + 0xd0], 4
mov dword [rsp + 0x30], r10d
mov dword [rcx + 0x3c], r10d
mov dword [rsp + 0x2c], r13d
mov dword [rcx + 0x38], r13d
jbe 0x49524e
mov eax, dword [rdx]
bswap eax
sub qword [rsp + 0xd0], 4
mov dword [rsp + 0x20], eax
add rdx, 4
mov esi, dword [rsp + 0x34]
xor esi, dword [rcx + 0x18]
xor ebx, dword [rcx + 0xc]
mov eax, dword [rsp + 0x44]
mov r8d, dword [rcx + 0x24]
xor eax, dword [rsp + 0x20]
mov edi, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x38]
mov r13, qword [rsp + 0x10]
mov r15, qword [rsp + 0x18]
mov dword [rsp + 0x50], esi
mov dword [rcx + 0x40], esi
mov esi, dword [rsp + 0x2c]
mov ebp, dword [rcx + 0x2c]
xor r8d, ebx
mov dword [rsp + 0x4c], ebx
mov dword [rcx + 0x34], ebx
mov dword [rsp + 0x44], eax
mov dword [rcx + 0x50], eax
mov eax, ebx
xor r9d, edi
mov dword [rcx + 0x74], r9d
mov r9d, r8d
xor dword [rcx + 0x6c], eax
mov eax, r8d
xor r11d, esi
shr r9d, 0x10
movzx eax, ah
xor dword [rcx + 0x70], r11d
mov r11, qword [rsp + 8]
movzx r9d, r9b
mov r12d, dword [r13 + rax*4]
xor ebp, edi
mov rax, qword [rsp]
mov r10d, dword [r15 + r9*4]
movzx r9d, r8b
shr r8d, 0x18
mov ebx, dword [rcx + 0x28]
mov r14d, dword [r11 + r9*4]
mov edi, dword [rax + r8*4]
mov r8d, r10d
xor ebx, esi
mov dword [rsp + 0x34], r10d
xor r8d, r12d
movzx r10d, bl
xor edi, r14d
xor edi, r8d
mov r8d, ebx
shr r8d, 0x18
mov r8d, dword [rax + r8*4]
movzx eax, bh
shr ebx, 0x10
movzx ebx, bl
mov r9d, dword [r13 + rax*4]
mov r10d, dword [r11 + r10*4]
mov rax, r11
mov r11d, dword [r15 + rbx*4]
mov rbx, qword [rsp]
xor r11d, r9d
mov esi, r11d
mov r11d, r8d
xor r11d, r10d
xor esi, r11d
mov r11d, ebp
shr r11d, 0x18
mov ebx, dword [rbx + r11*4]
mov r11d, ebp
shr r11d, 0x10
movzx r11d, r11b
mov r11d, dword [r15 + r11*4]
movzx r15d, bpl
mov r15d, dword [rax + r15*4]
mov eax, ebp
xor r8d, ebx
movzx ebp, ah
mov eax, dword [rsp + 0x20]
mov r13d, dword [r13 + rbp*4]
mov rbp, qword [rsp]
xor r10d, r15d
xor ebx, r15d
mov r15, qword [rsp + 0x18]
xor r14d, r10d
mov r10d, eax
shr r10d, 0x18
xor r13d, r11d
mov r10d, dword [rbp + r10*4]
mov ebp, eax
xor ebx, r13d
mov r13d, dword [rsp + 0x34]
shr ebp, 0x10
movzx eax, ah
movzx ebp, bpl
mov ebp, dword [r15 + rbp*4]
xor r8d, r10d
xor r11d, ebp
xor r13d, r11d
mov r11, rax
mov rax, qword [rsp + 0x10]
mov r11d, dword [rax + r11*4]
movzx eax, byte [rsp + 0x20]
xor r9d, r11d
xor ebp, r11d
mov r11d, ebx
xor r12d, r9d
mov r9, qword [rsp + 8]
xor r11d, r12d
mov dword [rsp + 0x34], r11d
mov r11d, edi
xor r11d, r8d
xor r10d, dword [r9 + rax*4]
mov r9d, esi
mov dword [rsp + 0x60], r11d
mov r11d, r14d
xor r9d, r13d
shr r11d, 0x18
mov dword [rsp + 0x68], r9d
xor ebp, r10d
mov r10d, r14d
xor r10d, ebp
mov dword [rsp + 0x58], r10d
mov r10d, r13d
shl r10d, 8
xor r10d, ebx
and r10d, 0xff0000
mov r9d, r10d
mov r10d, r12d
shl r10d, 8
mov eax, r10d
mov r10d, r9d
mov r9d, r8d
xor eax, ebp
shl r9d, 8
and eax, 0xff00
xor r9d, esi
or r10d, eax
mov eax, r11d
and r9d, 0xff000000
xor eax, edi
movzx eax, al
or eax, r9d
or eax, r10d
mov r10d, r13d
shl r10d, 0x10
mov dword [rcx + 0x28], eax
xor r10d, ebp
and r10d, 0xff0000
mov r11d, r10d
mov r10d, r12d
shr r10d, 0x10
xor r10d, edi
mov r9d, r10d
mov r10d, r11d
mov r11d, r14d
and r9d, 0xff00
or r10d, r9d
mov r9d, r8d
shl r9d, 0x10
xor r9d, ebx
shr r11d, 0x10
shr r12d, 8
shr r14d, 8
xor r11d, esi
xor r12d, esi
mov esi, dword [rcx + 0x18]
shr r13d, 8
xor r13d, edi
xor ebx, r14d
shl r8d, 0x18
and r12d, 0xff00
xor r8d, ebp
movzx r14d, bl
and r13d, 0xff0000
mov ebx, dword [rcx + 0x20]
or r13d, r12d
and r9d, 0xff000000
movzx r11d, r11b
and r8d, 0xff000000
xor esi, eax
xor eax, dword [rsp + 0x24]
or r9d, r11d
or r8d, r14d
mov r14d, r13d
or r10d, r9d
mov r11d, esi
mov esi, dword [rcx + 0x1c]
or r14d, r8d
mov dword [rsp + 0x38], r10d
mov dword [rcx + 0x2c], r10d
xor ebx, r14d
mov dword [rsp + 0x54], r14d
mov dword [rcx + 0x30], r14d
mov dword [rcx + 0x60], eax
xor dword [rcx + 0x68], r14d
mov r14d, r11d
mov r13, qword [rsp + 0x10]
shr r14d, 0x10
mov r8d, dword [rsp + 0x40]
xor esi, r10d
mov r12, qword [rsp + 8]
movzx eax, r14b
movzx ebp, sil
mov rdi, qword [rsp]
mov r9d, dword [r15 + rax*4]
mov eax, r11d
movzx eax, ah
xor r8d, r10d
mov r10d, dword [r13 + rax*4]
movzx eax, r11b
shr r11d, 0x18
mov dword [rcx + 0x64], r8d
mov r8d, dword [r12 + rax*4]
mov r14d, dword [rdi + r11*4]
mov eax, r9d
xor eax, r10d
xor r14d, r8d
mov r11d, r14d
mov r14d, dword [r12 + rbp*4]
xor r11d, eax
mov eax, esi
shr eax, 0x18
mov eax, dword [rdi + rax*4]
mov dword [rsp + 0x20], eax
mov eax, esi
shr esi, 0x10
xor r8d, r14d
movzx edi, ah
movzx esi, sil
mov rax, r13
mov edi, dword [r13 + rdi*4]
mov ebp, dword [r15 + rsi*4]
mov esi, dword [rsp + 0x20]
mov r13, qword [rsp]
xor ebp, edi
xor r10d, edi
xor esi, r14d
mov r14, qword [rsp]
xor esi, ebp
mov ebp, ebx
shr ebp, 0x18
mov r12d, dword [r13 + rbp*4]
mov ebp, ebx
movzx r13d, bl
movzx ebx, bh
shr ebp, 0x10
movzx ebp, bpl
mov ebp, dword [r15 + rbp*4]
mov r15, qword [rsp + 8]
mov r13d, dword [r15 + r13*4]
mov r15d, dword [rax + rbx*4]
mov eax, dword [rsp + 0x20]
xor r15d, ebp
mov ebx, r15d
mov r15d, r12d
xor r15d, r13d
xor r13d, r8d
mov r8d, dword [rsp + 0x60]
xor ebx, r15d
shr r8d, 0x18
mov r8d, dword [r14 + r8*4]
mov r14, qword [rsp + 0x68]
xor eax, r8d
shr r14, 0x10
xor r12d, eax
mov rax, r14
mov r14, qword [rsp + 0x18]
and eax, 0xff
mov eax, dword [r14 + rax*4]
xor r9d, eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
xor ebp, r9d
movzx eax, ah
mov r9, rax
mov rax, qword [rsp + 0x10]
movzx edi, byte [rsp + 0x58]
mov r15, qword [rsp + 8]
mov r9d, dword [rax + r9*4]
mov eax, dword [rsp + 0x20]
xor r8d, dword [r15 + rdi*4]
mov edi, ebp
mov r15d, ebp
xor eax, r9d
xor r10d, r9d
mov r9d, ebx
xor r9d, r10d
xor eax, r8d
mov r8d, r13d
mov dword [rsp + 0x20], r9d
mov r9d, r11d
xor r8d, eax
xor r9d, r12d
mov dword [rsp + 0x24], r8d
mov r8d, esi
mov dword [rsp + 0x40], r9d
mov r9d, r10d
xor r8d, ebp
shl r9d, 8
mov dword [rsp + 0x58], r8d
mov r8d, r13d
xor r9d, eax
shr r8d, 0x18
and r9d, 0xff00
xor r8d, r11d
movzx r8d, r8b
or r9d, r8d
mov r8d, r12d
shl edi, 8
shl r15d, 0x10
shl r8d, 8
xor edi, ebx
xor r8d, esi
and edi, 0xff0000
and r8d, 0xff000000
or r8d, edi
mov edi, r13d
or r9d, r8d
shr edi, 0x10
mov r8d, r10d
shr r10d, 8
mov dword [rsp + 0x34], r9d
mov dword [rcx + 0x1c], r9d
shr r8d, 0x10
mov r9d, edi
xor r8d, r11d
xor r9d, esi
mov edi, r12d
xor r10d, esi
and r8d, 0xff00
movzx r9d, r9b
shl edi, 0x10
mov esi, r13d
or r8d, r9d
mov r9d, r15d
xor edi, ebx
shr esi, 8
xor r9d, eax
xor ebx, esi
and edi, 0xff000000
shl r12d, 0x18
and r9d, 0xff0000
movzx r15d, bl
xor r12d, eax
and r10d, 0xff00
or edi, r9d
or r10d, r15d
and r12d, 0xff000000
mov ebx, dword [rcx + 0x14]
or r8d, edi
shr ebp, 8
mov esi, r12d
mov r13d, dword [rsp + 0x48]
xor ebp, r11d
mov dword [rcx + 0x20], r8d
mov r12, qword [rsp + 8]
mov rdi, qword [rsp]
and ebp, 0xff0000
or esi, ebp
mov ebp, dword [rcx + 0x10]
mov r15d, esi
mov esi, dword [rcx + 0xc]
or r15d, r10d
mov r10d, dword [rsp + 0x34]
xor ebx, r15d
mov dword [rcx + 0x24], r15d
xor r15d, dword [rsp + 0x28]
xor ebp, r8d
xor r8d, dword [rsp + 0x3c]
xor esi, r10d
xor r13d, r10d
mov r10d, esi
mov dword [rcx + 0x54], r13d
mov r13, qword [rsp + 0x10]
shr r10d, 0x10
mov dword [rcx + 0x5c], r15d
mov r15, r14
movzx eax, r10b
mov dword [rcx + 0x58], r8d
movzx r8d, sil
mov r10d, dword [r14 + rax*4]
mov eax, esi
shr esi, 0x18
movzx eax, ah
mov r11d, dword [r12 + r8*4]
mov r14d, dword [rdi + rsi*4]
mov r9d, dword [r13 + rax*4]
mov eax, r10d
mov dword [rsp + 8], r10d
xor r14d, r11d
xor eax, r9d
xor r14d, eax
mov eax, ebp
shr eax, 0x18
mov r8d, eax
mov eax, ebp
movzx eax, ah
mov r10d, dword [rdi + r8*4]
movzx r8d, bpl
shr ebp, 0x10
mov esi, dword [r13 + rax*4]
movzx ebp, bpl
mov r8d, dword [r12 + r8*4]
mov rdi, qword [rsp]
mov eax, r10d
xor r9d, esi
xor esi, dword [r15 + rbp*4]
xor eax, r8d
xor r8d, r11d
movzx ebp, bl
mov ebp, dword [r12 + rbp*4]
xor esi, eax
mov eax, ebx
shr eax, 0x18
xor r8d, ebp
mov r11d, eax
mov eax, ebx
movzx ebx, bh
shr eax, 0x10
mov r11d, dword [rdi + r11*4]
movzx edi, al
mov eax, dword [rsp + 8]
mov qword [rsp + 8], r12
mov edi, dword [r15 + rdi*4]
xor r10d, r11d
xor r11d, ebp
mov rbp, qword [rsp]
xor eax, edi
xor edi, dword [r13 + rbx*4]
mov ebx, dword [rsp + 0x20]
movzx ebx, bh
xor edi, r11d
mov r11d, dword [rsp + 0x40]
mov r12d, dword [r13 + rbx*4]
movzx ebx, byte [rsp + 0x24]
shr r11d, 0x18
mov ebp, dword [rbp + r11*4]
mov r11, qword [rsp + 0x58]
xor r10d, ebp
shr r11, 0x10
xor r9d, r12d
and r11d, 0xff
mov r11d, dword [r15 + r11*4]
mov r15, qword [rsp + 8]
xor ebp, dword [r15 + rbx*4]
xor eax, r11d
xor r11d, r12d
mov ebx, edi
xor ebx, r9d
mov r12d, esi
mov r13d, eax
and ebx, 0xff00
xor r12d, eax
shl r13d, 8
and r12d, 0xff0000
xor r13d, edi
xor ebp, r11d
mov r11d, r8d
xor r11d, ebp
movzx r11d, r11b
or ebx, r11d
mov r11d, r14d
xor r11d, r10d
and r11d, 0xff000000
or r11d, r12d
mov r12d, r13d
or ebx, r11d
mov r11d, r9d
and r12d, 0xff0000
shl r11d, 8
mov dword [rcx + 0xc], ebx
xor r11d, ebp
and r11d, 0xff00
or r12d, r11d
mov r11d, r8d
mov r13d, r12d
mov r12d, r10d
shr r11d, 0x18
shl r12d, 8
xor r11d, r14d
xor r12d, esi
movzx r11d, r11b
and r12d, 0xff000000
or r11d, r12d
or r11d, r13d
mov r13d, eax
shl r13d, 0x10
shr eax, 8
mov dword [rcx + 0x10], r11d
xor r13d, ebp
xor eax, r14d
mov r15d, r13d
mov r13d, r9d
shr r9d, 8
and eax, 0xff0000
shr r13d, 0x10
and r15d, 0xff0000
xor r9d, esi
xor r13d, r14d
and r9d, 0xff00
mov r12d, r13d
or eax, r9d
xor r9d, r9d
and r12d, 0xff00
or r15d, r12d
mov r12d, r10d
shl r10d, 0x18
mov r13d, r15d
mov r15d, r8d
shl r12d, 0x10
shr r8d, 8
shr r15d, 0x10
xor r12d, edi
xor r10d, ebp
xor r8d, edi
xor r15d, esi
and r12d, 0xff000000
and r10d, 0xff000000
movzx r8d, r8b
movzx r15d, r15b
or r10d, r8d
or r12d, r15d
or r10d, eax
or r13d, r12d
cmp qword [rsp + 0xd0], 4
mov dword [rsp + 0x28], r10d
mov dword [rcx + 0x18], r10d
mov dword [rsp + 0x24], r13d
mov dword [rcx + 0x14], r13d
ja 0x495bd0
mov eax, dword [rsp + 0xd0]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0xd0]
dec rax
cmp qword [rsp + 0xd0], 0
je 0x495c90
lea r10, [rdx + rax + 1]
xor eax, eax
nop dword [rax]
movzx r8d, byte [rdx]
shl eax, 8
inc rdx
or eax, r8d
cmp r10, rdx
jne 0x495280
mov dword [rcx], eax
mov dword [rcx + 8], r9d
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, dword [rcx + 8]
cmp r9d, 2
je 0x495c00
jbe 0x493ae6
cmp r9d, 3
je 0x49530a
jmp 0x49524e
add r9d, dword [rsp + 0xd0]
cmp qword [rsp + 0xd0], 0
je 0x495bf0
mov eax, dword [rsp + 0xd0]
lea r8d, [rax - 1]
jmp 0x493a60
cmp r9d, 3
jne 0x495ca0
mov eax, dword [rcx + 0x50]
mov r11d, dword [rcx + 0x30]
mov ebx, dword [rcx + 0x34]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0x40]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x38]
mov dword [rsp + 0x2c], eax
mov eax, dword [rcx + 0x3c]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x74]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x60]
mov dword [rsp + 0x24], eax
mov eax, dword [rcx + 0x64]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0x54]
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x58]
mov dword [rsp + 0x3c], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x28], eax
lea rax, [0x006a0f60]
mov qword [rsp + 0x18], rax
lea rax, [0x006a0b60]
mov qword [rsp + 0x10], rax
lea rax, [0x006a0760]
mov qword [rsp + 8], rax
lea rax, [0x006a1360]
mov qword [rsp], rax
jmp 0x494ab6
mov eax, dword [rcx + 0x2c]
mov ebx, dword [rcx + 0xc]
mov r11d, dword [rcx + 0x10]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x24], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rcx + 0x50]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0x3c]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x40]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0x30]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 0x34]
mov dword [rsp + 0x4c], eax
mov eax, dword [rcx + 0x38]
mov dword [rsp + 0x2c], eax
lea rax, [0x006a0f60]
mov qword [rsp + 0x18], rax
lea rax, [0x006a0b60]
mov qword [rsp + 0x10], rax
lea rax, [0x006a0760]
mov qword [rsp + 8], rax
lea rax, [0x006a1360]
mov qword [rsp], rax
xor r11d, dword [rcx + 0x78]
mov eax, dword [rsp + 0x38]
xor eax, dword [rsp + 0x20]
mov edi, dword [rsp + 0x24]
mov r8d, dword [rcx + 0x90]
mov r14d, dword [rsp + 0x28]
mov esi, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x44]
xor esi, dword [rcx + 0x84]
mov dword [rsp + 0x48], r11d
mov dword [rcx + 0x10], r11d
mov r13, qword [rsp + 0x18]
mov r15, qword [rsp + 8]
xor r8d, r11d
xor ebx, edi
mov dword [rsp + 0x3c], eax
mov dword [rcx + 0x2c], eax
mov eax, r11d
xor dword [rcx + 0x4c], ebx
mov r11d, dword [rcx + 0x94]
xor r9d, r14d
mov rbx, qword [rsp + 0x10]
xor dword [rcx + 0x48], eax
mov eax, r8d
mov dword [rsp + 0x40], esi
movzx eax, ah
mov dword [rcx + 0x1c], esi
mov dword [rcx + 0x50], r9d
mov r9d, r8d
xor r11d, edi
mov esi, dword [rcx + 0x98]
shr r9d, 0x10
mov edi, dword [rbx + rax*4]
mov rax, qword [rsp]
movzx r9d, r9b
movzx r10d, r11b
mov ebp, dword [r13 + r9*4]
movzx r9d, r8b
shr r8d, 0x18
mov r12d, dword [r15 + r9*4]
xor esi, r14d
mov r14d, dword [rax + r8*4]
mov dword [rsp + 0x34], edi
xor r14d, r12d
mov r8d, r14d
mov r14d, ebp
xor r14d, edi
mov rdi, rbx
xor r14d, r8d
mov r8d, r11d
shr r8d, 0x18
mov r8d, dword [rax + r8*4]
mov eax, r11d
shr r11d, 0x10
movzx eax, ah
movzx r11d, r11b
mov r9d, dword [rbx + rax*4]
mov r10d, dword [r15 + r10*4]
mov rax, r15
mov r15d, dword [r13 + r11*4]
mov rbx, qword [rsp]
mov r11d, r8d
xor r11d, r10d
xor r15d, r9d
xor r15d, r11d
mov r11d, esi
shr r11d, 0x18
mov ebx, dword [rbx + r11*4]
mov r11d, esi
shr r11d, 0x10
movzx r11d, r11b
mov r11d, dword [r13 + r11*4]
movzx r13d, sil
mov r13d, dword [rax + r13*4]
mov eax, esi
xor r8d, ebx
movzx esi, ah
mov eax, dword [rsp + 0x20]
mov edi, dword [rdi + rsi*4]
mov rsi, qword [rsp]
xor r10d, r13d
xor ebx, r13d
mov r13, qword [rsp + 0x18]
xor r12d, r10d
mov r10d, eax
xor edi, r11d
shr r10d, 0x18
xor ebx, edi
mov edi, eax
mov r10d, dword [rsi + r10*4]
movzx eax, ah
shr edi, 0x10
movzx esi, dil
mov edi, dword [rsp + 0x34]
mov esi, dword [r13 + rsi*4]
xor r8d, r10d
xor r11d, esi
xor ebp, r11d
mov r11, rax
mov rax, qword [rsp + 0x10]
mov r11d, dword [rax + r11*4]
movzx eax, byte [rsp + 0x20]
xor r9d, r11d
xor esi, r11d
mov r11d, ebx
xor edi, r9d
mov r9, qword [rsp + 8]
xor r11d, edi
mov dword [rsp + 0x38], r11d
mov r11d, r14d
xor r11d, r8d
xor r10d, dword [r9 + rax*4]
mov eax, ebp
mov r9d, r15d
mov dword [rsp + 0x60], r11d
shl eax, 8
xor r9d, ebp
xor eax, ebx
mov dword [rsp + 0x68], r9d
and eax, 0xff0000
mov r9d, eax
mov eax, edi
xor esi, r10d
shl eax, 8
mov r10d, r12d
xor eax, esi
xor r10d, esi
and eax, 0xff00
mov dword [rsp + 0x58], r10d
mov r10d, r12d
or eax, r9d
mov r9d, r8d
shr r10d, 0x18
shl r9d, 8
xor r10d, r14d
xor r9d, r15d
movzx r10d, r10b
and r9d, 0xff000000
or r9d, r10d
mov r10d, ebp
shl r10d, 0x10
or eax, r9d
xor r10d, esi
mov dword [rcx + 0x94], eax
and r10d, 0xff0000
mov r11d, r10d
mov r10d, edi
shr r10d, 0x10
xor r10d, r14d
and r10d, 0xff00
mov r9d, r10d
mov r10d, r11d
mov r11d, r12d
or r10d, r9d
mov r9d, r8d
shl r9d, 0x10
xor r9d, ebx
shr ebp, 8
shr edi, 8
shr r11d, 0x10
xor ebp, r14d
xor edi, r15d
xor r11d, r15d
shr r12d, 8
and edi, 0xff00
and ebp, 0xff0000
mov r15d, dword [rsp + 0x30]
and r9d, 0xff000000
or ebp, edi
mov edi, dword [rcx + 0x84]
movzx r11d, r11b
shl r8d, 0x18
or r9d, r11d
xor ebx, r12d
xor r8d, esi
mov r11d, dword [rcx + 0x8c]
or r10d, r9d
and r8d, 0xff000000
movzx r9d, bl
mov r14d, ebp
or r8d, r9d
xor r15d, eax
mov esi, dword [rcx + 0x88]
mov dword [rsp + 0x34], r10d
xor edi, eax
or r14d, r8d
mov dword [rcx + 0x98], r10d
mov ebx, edi
mov dword [rsp + 0x44], r14d
mov dword [rcx + 0xc], r14d
xor r11d, r14d
mov edi, ebx
mov dword [rcx + 0x3c], r15d
shr edi, 0x10
mov rbp, qword [rsp + 0x10]
xor esi, r10d
movzx eax, dil
mov r15d, dword [rsp + 0x50]
mov r12, qword [rsp]
mov r9d, dword [r13 + rax*4]
xor dword [rcx + 0x44], r14d
mov r14, r13
movzx eax, bh
mov r13, qword [rsp + 8]
xor r15d, r10d
mov r10d, dword [rbp + rax*4]
movzx eax, bl
shr ebx, 0x18
mov edi, dword [r12 + rbx*4]
mov dword [rcx + 0x40], r15d
mov r15d, r9d
mov ebx, esi
mov r8d, dword [r13 + rax*4]
mov eax, esi
movzx ebx, bh
shr eax, 0x18
mov ebp, dword [rbp + rbx*4]
mov rbx, r13
xor r15d, r10d
mov eax, dword [r12 + rax*4]
mov r12, qword [rsp]
xor edi, r8d
xor r15d, edi
movzx edi, sil
shr esi, 0x10
mov dword [rsp + 0x20], ebp
movzx esi, sil
mov r13d, dword [r13 + rdi*4]
mov edi, dword [r14 + rsi*4]
mov esi, eax
xor r10d, dword [rsp + 0x20]
xor esi, r13d
xor r8d, r13d
mov r13, qword [rsp]
xor edi, ebp
xor esi, edi
mov edi, r11d
shr edi, 0x18
mov ebp, dword [r12 + rdi*4]
movzx r12d, r11b
mov edi, r11d
mov r12d, dword [rbx + r12*4]
mov ebx, r11d
shr edi, 0x10
movzx ebx, bh
movzx edi, dil
mov r11, rbx
mov rbx, qword [rsp + 0x10]
mov edi, dword [r14 + rdi*4]
mov r14d, dword [rbx + r11*4]
mov ebx, dword [rsp + 0x38]
xor r14d, edi
movzx ebx, bh
mov r11d, r14d
mov r14d, ebp
xor r14d, r12d
xor r12d, r8d
mov r8d, dword [rsp + 0x60]
xor r11d, r14d
mov r14, qword [rsp + 0x18]
shr r8d, 0x18
mov r8d, dword [r13 + r8*4]
xor eax, r8d
xor ebp, eax
mov rax, qword [rsp + 0x68]
shr rax, 0x10
and eax, 0xff
mov eax, dword [r14 + rax*4]
xor r9d, eax
xor edi, r9d
mov r9, rbx
mov rbx, qword [rsp + 0x10]
mov r9d, dword [rbx + r9*4]
movzx ebx, byte [rsp + 0x58]
mov r13, qword [rsp + 8]
xor r10d, r9d
xor eax, r9d
mov r9d, r11d
xor r8d, dword [r13 + rbx*4]
xor r9d, r10d
mov ebx, esi
mov dword [rsp + 0x30], r9d
mov r9d, r15d
xor ebx, edi
xor r9d, ebp
mov dword [rsp + 0x60], ebx
mov ebx, edi
mov dword [rsp + 0x58], r9d
mov r9d, r10d
shl r9d, 8
xor eax, r8d
mov r8d, r12d
xor r8d, eax
xor r9d, eax
mov dword [rsp + 0x50], r8d
mov r8d, r12d
and r9d, 0xff00
shr r8d, 0x18
xor r8d, r15d
movzx r8d, r8b
or r9d, r8d
mov r8d, ebp
shl ebx, 8
shl r8d, 8
xor ebx, r11d
xor r8d, esi
and ebx, 0xff0000
and r8d, 0xff000000
or r8d, ebx
mov ebx, ebp
shl ebp, 0x18
or r9d, r8d
mov r8d, r10d
shr r10d, 8
shl ebx, 0x10
mov r13d, r9d
mov dword [rsp + 0x38], r9d
mov dword [rcx + 0x88], r9d
mov r9d, r12d
shr r8d, 0x10
shr r9d, 0x10
xor r10d, esi
xor ebx, r11d
xor r8d, r15d
xor r9d, esi
mov esi, r12d
and ebx, 0xff000000
and r8d, 0xff00
movzx r9d, r9b
shr esi, 8
xor ebp, eax
or r8d, r9d
mov r9d, edi
xor r11d, esi
mov esi, dword [rcx + 0x7c]
shl r9d, 0x10
movzx r14d, r11b
and r10d, 0xff00
and ebp, 0xff000000
xor r9d, eax
or r10d, r14d
mov eax, dword [rcx + 0x78]
mov r11d, dword [rsp + 0x54]
and r9d, 0xff0000
mov r12, qword [rsp + 8]
or ebx, r9d
or r8d, ebx
shr edi, 8
xor edi, r15d
xor esi, r8d
mov dword [rcx + 0x8c], r8d
xor r8d, dword [rsp + 0x4c]
mov ebx, esi
and edi, 0xff0000
mov esi, dword [rcx + 0x80]
xor eax, r13d
or ebp, edi
xor r11d, r13d
movzx edi, ah
mov r13, qword [rsp + 0x18]
or r10d, ebp
mov rbp, qword [rsp + 0x10]
mov dword [rcx + 0x30], r11d
mov r15d, eax
mov dword [rcx + 0x90], r10d
shr r15d, 0x10
xor esi, r10d
xor r10d, dword [rsp + 0x2c]
mov dword [rcx + 0x34], r8d
movzx r8d, r15b
mov r11d, dword [rbp + rdi*4]
mov rdi, qword [rsp]
mov dword [rcx + 0x38], r10d
mov r10d, dword [r13 + r8*4]
movzx r8d, al
shr eax, 0x18
mov r9d, dword [r12 + r8*4]
movzx r8d, bl
mov r14d, dword [rdi + rax*4]
mov r8d, dword [r12 + r8*4]
xor r14d, r9d
xor r9d, r8d
mov eax, r14d
mov r14d, r10d
xor r14d, r11d
xor r14d, eax
mov eax, ebx
shr eax, 0x18
mov eax, dword [rdi + rax*4]
movzx edi, bh
shr ebx, 0x10
mov r15d, dword [rbp + rdi*4]
movzx ebx, bl
xor r11d, r15d
xor r15d, dword [r13 + rbx*4]
mov rbx, qword [rsp]
mov edi, r11d
mov r11d, eax
xor r11d, r8d
xor r15d, r11d
mov r11d, esi
shr r11d, 0x18
mov r8d, r11d
mov r11d, esi
mov r8d, dword [rbx + r8*4]
shr r11d, 0x10
movzx r11d, r11b
mov ebx, dword [r13 + r11*4]
movzx r11d, sil
mov r11d, dword [r12 + r11*4]
xor eax, r8d
mov dword [rsp + 0x20], eax
mov eax, esi
movzx esi, ah
xor r10d, ebx
mov eax, dword [rsp + 0x20]
xor ebx, dword [rbp + rsi*4]
xor r8d, r11d
mov rsi, qword [rsp]
xor r9d, r11d
mov r11, qword [rsp + 0x60]
xor ebx, r8d
mov r8d, dword [rsp + 0x58]
shr r8d, 0x18
mov esi, dword [rsi + r8*4]
xor eax, esi
shr r11, 0x10
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
mov r8, r11
and r8d, 0xff
mov r8d, dword [r13 + r8*4]
mov r13d, ebx
movzx eax, ah
mov ebp, dword [rbp + rax*4]
mov eax, dword [rsp + 0x20]
xor r10d, r8d
xor edi, ebp
xor r8d, ebp
mov ebp, r9d
mov r11d, edi
movzx edi, byte [rsp + 0x50]
shr ebp, 0x18
xor r13d, r11d
xor ebp, r14d
and r13d, 0xff00
movzx ebp, bpl
xor esi, dword [r12 + rdi*4]
mov edi, r15d
xor edi, r10d
and edi, 0xff0000
xor esi, r8d
mov r8d, r9d
xor r8d, esi
movzx r8d, r8b
or r13d, r8d
mov r8d, r14d
xor r8d, eax
shl eax, 8
and r8d, 0xff000000
or r8d, edi
or r13d, r8d
mov r8d, r10d
shl r8d, 8
mov dword [rcx + 0x78], r13d
xor r8d, ebx
mov edi, r8d
mov r8d, r11d
shl r8d, 8
and edi, 0xff0000
xor r8d, esi
and r8d, 0xff00
or r8d, edi
mov edi, eax
mov eax, dword [rsp + 0x20]
xor edi, r15d
and edi, 0xff000000
or edi, ebp
mov ebp, r10d
or r8d, edi
shl ebp, 0x10
shl eax, 0x10
shr r10d, 8
xor ebp, esi
xor r10d, r14d
mov dword [rcx + 0x7c], r8d
and ebp, 0xff0000
and r10d, 0xff0000
mov r12d, ebp
mov ebp, r11d
shr r11d, 8
shr ebp, 0x10
xor r11d, r15d
xor ebp, r14d
and r11d, 0xff00
mov edi, ebp
mov ebp, r12d
mov r12d, r9d
shr r9d, 8
and edi, 0xff00
shr r12d, 0x10
xor r9d, ebx
or r10d, r11d
or ebp, edi
mov edi, eax
mov eax, dword [rsp + 0x20]
xor r12d, r15d
xor edi, ebx
movzx r9d, r9b
movzx r12d, r12b
and edi, 0xff000000
or edi, r12d
shl eax, 0x18
or ebp, edi
xor eax, esi
mov dword [rsp + 0x30], ebp
mov dword [rcx + 0x80], ebp
and eax, 0xff000000
or eax, r9d
mov r9d, 1
or r10d, eax
cmp qword [rsp + 0xd0], 4
mov dword [rsp + 0x2c], r10d
mov dword [rcx + 0x84], r10d
jbe 0x49524e
mov eax, dword [rdx]
bswap eax
sub qword [rsp + 0xd0], 4
mov dword [rsp + 0x20], eax
add rdx, 4
jmp 0x493b78
mov eax, dword [rdx]
bswap eax
sub qword [rsp + 0xd0], 4
mov dword [rsp + 0x20], eax
add rdx, 4
jmp 0x49540c
mov eax, dword [rsp + 0x20]
mov dword [rcx + 4], r9d
mov dword [rcx], eax
jmp 0x495298
mov eax, dword [rcx + 0x74]
mov r11d, dword [rcx + 0x54]
mov ebx, dword [rcx + 0x58]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x64]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x28], eax
mov eax, dword [rcx + 0x60]
mov dword [rsp + 0x24], eax
mov eax, dword [rcx + 0x98]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x84]
mov dword [rsp + 0x2c], eax
mov eax, dword [rcx + 0x88]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0x78]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 0x7c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rcx + 0x80]
mov dword [rsp + 0x30], eax
lea rax, [0x006a0f60]
mov qword [rsp + 0x18], rax
lea rax, [0x006a0b60]
mov qword [rsp + 0x10], rax
lea rax, [0x006a0760]
mov qword [rsp + 8], rax
lea rax, [0x006a1360]
mov qword [rsp], rax
jmp 0x49430d
xor eax, eax
jmp 0x495292
mov eax, dword [rsp + 0xd0]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0xd0]
dec rax
jmp 0x495272