Function at 0x4850a0
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, 0x88
mov r9d, dword [rcx + 4]
mov rax, r8
mov qword [rsp + 0xe0], r8
shl rax, 3
add qword [rcx + 0xa0], rax
mov eax, dword [rcx]
mov dword [rsp + 0x24], eax
cmp r9d, 3
ja 0x486848
mov r8d, 4
sub r8d, r9d
cmp r8, qword [rsp + 0xe0]
ja 0x486868
mov r8d, 3
sub r8d, r9d
mov r9d, 4
mov eax, dword [rsp + 0x24]
movzx r10d, byte [rdx]
shl eax, 8
or eax, r10d
mov dword [rsp + 0x24], eax
test r8d, r8d
je 0x485153
movzx r10d, byte [rdx + 1]
shl eax, 8
or eax, r10d
mov dword [rsp + 0x24], eax
cmp r8d, 1
je 0x485153
movzx r10d, byte [rdx + 2]
shl eax, 8
or eax, r10d
mov dword [rsp + 0x24], eax
cmp r8d, 2
je 0x485153
movzx r10d, byte [rdx + 3]
shl eax, 8
or eax, r10d
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xe0]
lea rdx, [rdx + r8 + 1]
lea r10, [rax - 1]
sub r10, r8
mov qword [rsp + 0xe0], r10
je 0x487158
mov r8d, dword [rcx + 8]
cmp r8d, 2
je 0x487170
ja 0x486890
test r8d, r8d
je 0x486920
mov eax, dword [rcx + 0x98]
mov r11d, dword [rcx + 0x78]
mov edi, dword [rcx + 0x7c]
mov r15d, dword [rcx + 0x88]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0x80]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x84]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0x2c]
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x58], eax
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x6c], eax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x30], eax
lea rax, [0x0068d0a0]
mov qword [rsp + 0x28], rax
lea rax, [0x0068cca0]
mov qword [rsp + 8], rax
lea rax, [0x0068c8a0]
mov qword [rsp + 0x18], rax
lea rax, [0x0068d4a0]
mov qword [rsp + 0x10], rax
mov r8d, dword [rcx + 0x6c]
xor edi, dword [rcx + 0x54]
mov eax, dword [rsp + 0x44]
xor eax, dword [rsp + 0x24]
mov dword [rsp + 0x5c], edi
xor r8d, edi
mov r9d, dword [rsp + 0x48]
mov esi, dword [rsp + 0x38]
mov dword [rsp + 0x54], eax
mov ebx, dword [rcx + 0x70]
xor r15d, dword [rcx + 0x60]
mov dword [rcx + 0x98], eax
mov eax, edi
mov dword [rcx + 0x7c], edi
mov edi, dword [rsp + 0x40]
xor r11d, esi
xor ebx, esi
xor dword [rcx + 0x24], eax
mov rsi, qword [rsp + 8]
mov eax, r8d
xor r9d, edi
mov dword [rsp + 0x60], r15d
mov r10, qword [rsp + 0x10]
movzx eax, ah
mov ebp, dword [rcx + 0x74]
mov r12d, dword [rsi + rax*4]
mov dword [rcx + 0x2c], r9d
mov r9d, r8d
mov dword [rcx + 0x88], r15d
shr r9d, 0x10
mov r15, qword [rsp + 0x28]
movzx r9d, r9b
mov rax, qword [rsp + 0x18]
xor ebp, edi
xor dword [rcx + 0x28], r11d
mov r13d, dword [r15 + r9*4]
movzx r9d, r8b
shr r8d, 0x18
mov edi, dword [r10 + r8*4]
mov r8d, ebx
mov r14d, dword [rax + r9*4]
movzx eax, bh
shr r8d, 0x18
mov r11d, dword [r10 + r8*4]
mov r10d, dword [rsi + rax*4]
movzx r8d, bl
xor edi, r14d
mov rax, qword [rsp + 0x18]
xor edi, r13d
xor edi, r12d
mov r9d, dword [rax + r8*4]
mov r8d, ebx
mov ebx, r11d
shr r8d, 0x10
movzx r8d, r8b
xor ebx, r9d
mov esi, dword [r15 + r8*4]
mov r8d, ebp
shr r8d, 0x18
xor esi, ebx
mov rbx, qword [rsp + 0x10]
xor esi, r10d
mov ebx, dword [rbx + r8*4]
mov r8d, ebp
shr r8d, 0x10
movzx r8d, r8b
xor r11d, ebx
mov r8d, dword [r15 + r8*4]
movzx r15d, bpl
mov r15d, dword [rax + r15*4]
mov eax, ebp
movzx ebp, ah
mov rax, qword [rsp + 8]
xor ebx, r15d
xor r9d, r15d
mov r15, qword [rsp + 0x28]
xor ebx, r8d
xor ebx, dword [rax + rbp*4]
mov eax, dword [rsp + 0x24]
xor r14d, r9d
mov rbp, qword [rsp + 0x10]
mov r9d, eax
shr r9d, 0x18
mov r9d, dword [rbp + r9*4]
mov ebp, eax
movzx eax, ah
shr ebp, 0x10
movzx ebp, bpl
xor r11d, r9d
mov ebp, dword [r15 + rbp*4]
xor r8d, ebp
xor r13d, r8d
mov r8, rax
mov rax, qword [rsp + 8]
mov r8d, dword [rax + r8*4]
movzx eax, byte [rsp + 0x24]
xor r10d, r8d
xor r10d, r12d
mov r12, qword [rsp + 0x18]
xor r9d, dword [r12 + rax*4]
mov eax, esi
xor r9d, ebp
xor eax, r13d
mov ebp, r14d
xor r8d, r9d
mov r9d, edi
mov dword [rsp + 0x70], eax
mov eax, ebx
xor r9d, r11d
xor eax, r10d
xor ebp, r8d
mov dword [rsp + 0x48], r9d
mov r9d, r11d
shl r9d, 8
mov dword [rsp + 0x7c], eax
mov eax, r9d
mov r9d, r14d
mov dword [rsp + 0x78], ebp
mov ebp, r14d
shr r9d, 0x18
xor eax, esi
shr ebp, 0x10
xor r9d, edi
and eax, 0xff000000
xor ebp, esi
movzx r9d, r9b
movzx ebp, bpl
or eax, r9d
mov r9d, r13d
shl r9d, 8
xor r9d, ebx
and r9d, 0xff0000
or eax, r9d
mov r9d, r10d
shl r9d, 8
xor r9d, r8d
and r9d, 0xff00
or eax, r9d
mov r9d, r11d
shl r9d, 0x10
mov dword [rcx + 0x70], eax
xor r9d, ebx
and r9d, 0xff000000
or r9d, ebp
mov ebp, r13d
shl ebp, 0x10
xor ebp, r8d
and ebp, 0xff0000
shr r14d, 8
shl r11d, 0x18
xor ebx, r14d
shr r13d, 8
or r9d, ebp
xor r11d, r8d
movzx r14d, bl
xor r13d, edi
mov ebp, r10d
and r11d, 0xff000000
and r13d, 0xff0000
shr ebp, 0x10
mov ebx, dword [rcx + 0x64]
shr r10d, 8
or r11d, r14d
xor ebp, edi
mov edi, dword [rcx + 0x68]
xor r10d, esi
or r11d, r13d
and ebp, 0xff00
mov r14, r15
and r10d, 0xff00
or r9d, ebp
or r11d, r10d
mov dword [rsp + 0x44], r9d
xor ebx, r9d
mov esi, r11d
mov dword [rsp + 0x68], r11d
movzx ebp, bh
mov dword [rcx + 0x78], r11d
mov r11d, dword [rcx + 0x60]
xor edi, esi
mov dword [rcx + 0x74], r9d
xor r11d, eax
xor eax, dword [rsp + 0x34]
mov dword [rcx + 0x18], eax
mov r10d, dword [rsp + 0x50]
xor dword [rcx + 0x20], esi
mov esi, r11d
mov r13, qword [rsp + 0x10]
shr esi, 0x10
xor r10d, r9d
movzx r9d, r11b
movzx eax, sil
mov r9d, dword [r12 + r9*4]
mov dword [rcx + 0x1c], r10d
mov r10d, ebx
mov r8d, dword [r15 + rax*4]
mov eax, r11d
shr r11d, 0x18
mov r15, qword [rsp + 8]
mov esi, dword [r13 + r11*4]
movzx eax, ah
shr r10d, 0x18
movzx r11d, bl
mov eax, dword [r15 + rax*4]
mov r10d, dword [r13 + r10*4]
xor esi, r9d
mov ebp, dword [r15 + rbp*4]
mov r15d, dword [r12 + r11*4]
xor esi, r8d
mov dword [rsp + 0x24], eax
xor esi, eax
shr ebx, 0x10
mov rax, r12
xor r9d, r15d
movzx r11d, bl
mov ebx, r10d
xor ebx, r15d
xor ebx, dword [r14 + r11*4]
mov r11d, edi
mov r15, qword [rsp + 8]
shr r11d, 0x18
xor ebx, ebp
mov r13d, dword [r13 + r11*4]
mov r11d, edi
shr r11d, 0x10
movzx r11d, r11b
mov r12d, dword [r14 + r11*4]
movzx r11d, dil
mov r14d, dword [rax + r11*4]
mov eax, edi
mov r11d, r13d
movzx edi, ah
mov rax, qword [rsp + 8]
xor r11d, r14d
xor r14d, r9d
mov r9d, dword [rsp + 0x48]
xor r11d, r12d
xor r11d, dword [rax + rdi*4]
mov rdi, qword [rsp + 0x10]
shr r9d, 0x18
mov eax, dword [rsp + 0x7c]
mov r9d, dword [rdi + r9*4]
mov rdi, qword [rsp + 0x28]
movzx eax, ah
xor r10d, r9d
xor r13d, r10d
mov r10, qword [rsp + 0x70]
shr r10, 0x10
and r10d, 0xff
mov r10d, dword [rdi + r10*4]
movzx edi, byte [rsp + 0x78]
xor r8d, r10d
xor r12d, r8d
mov r8d, dword [r15 + rax*4]
mov r15, qword [rsp + 0x18]
mov eax, dword [rsp + 0x24]
xor r9d, dword [r15 + rdi*4]
mov edi, r13d
xor r9d, r10d
xor eax, ebp
mov r10d, esi
xor eax, r8d
xor r8d, r9d
mov r9d, ebx
xor r10d, r13d
xor r9d, r12d
mov dword [rsp + 0x34], r10d
mov r10d, r14d
mov dword [rsp + 0x48], r9d
mov r9d, r11d
xor r10d, r8d
xor r9d, eax
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x78], r9d
mov r9d, r13d
shl r9d, 8
xor r9d, ebx
mov r10d, r9d
mov r9d, r12d
shl r9d, 8
and r10d, 0xff000000
xor r9d, r11d
and r9d, 0xff0000
shl edi, 0x10
or r9d, r10d
mov r10d, eax
xor edi, r11d
shl r13d, 0x18
shl r10d, 8
and edi, 0xff000000
xor r13d, r8d
xor r10d, r8d
and r13d, 0xff000000
and r10d, 0xff00
or r9d, r10d
mov r10d, r14d
shr r10d, 0x18
xor r10d, esi
movzx r10d, r10b
or r9d, r10d
mov r10d, r9d
mov dword [rsp + 0x50], r9d
mov dword [rcx + 0x64], r9d
mov r9d, r12d
shr r12d, 8
shl r9d, 0x10
xor r12d, esi
xor r9d, r8d
and r12d, 0xff0000
mov r8d, dword [rcx + 0x54]
and r9d, 0xff0000
or r13d, r12d
mov r12, qword [rsp + 0x18]
or edi, r9d
mov r9d, eax
shr eax, 8
shr r9d, 0x10
xor eax, ebx
xor r9d, esi
mov esi, dword [rcx + 0x58]
and r9d, 0xff00
or edi, r9d
mov r9d, r14d
shr r9d, 0x10
xor r9d, ebx
movzx r9d, r9b
or edi, r9d
and eax, 0xff00
shr r14d, 8
xor r8d, r10d
xor r14d, r11d
xor esi, edi
or r13d, eax
mov dword [rcx + 0x68], edi
mov ebx, esi
movzx ebp, r14b
mov esi, dword [rcx + 0x5c]
xor edi, dword [rsp + 0x6c]
or ebp, r13d
mov dword [rcx + 0x10], edi
mov rdi, qword [rsp + 0x28]
xor esi, ebp
mov r14, qword [rsp + 0x10]
mov dword [rcx + 0x6c], ebp
mov r15d, esi
mov esi, dword [rsp + 0x58]
xor ebp, dword [rsp + 0x30]
mov dword [rcx + 0x14], ebp
mov rbp, qword [rsp + 8]
xor esi, r10d
movzx r10d, r8b
mov dword [rcx + 0xc], esi
mov esi, r8d
mov r11d, dword [r12 + r10*4]
shr esi, 0x10
movzx eax, sil
mov esi, dword [rdi + rax*4]
mov eax, r8d
shr r8d, 0x18
mov r13d, dword [r14 + r8*4]
mov r8d, ebx
movzx eax, ah
shr r8d, 0x18
mov r9d, dword [rbp + rax*4]
movzx eax, bh
mov dword [rsp + 0x18], esi
mov r10d, dword [r14 + r8*4]
movzx r8d, bl
xor r13d, r11d
shr ebx, 0x10
mov r8d, dword [r12 + r8*4]
xor r13d, esi
movzx ebx, bl
mov esi, dword [rbp + rax*4]
mov rax, r12
mov r12d, r10d
xor r13d, r9d
xor r12d, r8d
xor r12d, dword [rdi + rbx*4]
xor r9d, esi
xor r8d, r11d
xor r12d, esi
mov esi, r15d
shr esi, 0x18
mov r11d, esi
mov esi, r15d
shr esi, 0x10
mov r11d, dword [r14 + r11*4]
mov r14, rdi
movzx ebx, sil
mov edi, dword [rdi + rbx*4]
mov esi, dword [rsp + 0x18]
movzx ebx, r15b
mov qword [rsp + 0x18], rax
mov ebx, dword [rax + rbx*4]
mov eax, r15d
xor r10d, r11d
mov r15, qword [rsp + 0x10]
xor esi, edi
movzx eax, ah
xor r11d, ebx
mov dword [rsp + 0x24], esi
mov esi, dword [rbp + rax*4]
xor r8d, ebx
xor r11d, edi
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x18]
xor esi, r11d
mov r11d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x24]
shr r11d, 0x18
mov r11d, dword [r15 + r11*4]
xor r10d, r11d
shr rbx, 0x10
and ebx, 0xff
mov r14d, dword [r14 + rbx*4]
mov ebx, dword [rsp + 0x78]
movzx ebx, bh
xor eax, r14d
mov ebp, dword [rbp + rbx*4]
movzx ebx, byte [rsp + 0x70]
xor r11d, dword [rdi + rbx*4]
xor r9d, ebp
xor r11d, r14d
mov r14d, r8d
mov edi, r11d
mov r11d, r13d
xor r11d, r10d
xor edi, ebp
mov ebp, r8d
mov ebx, r11d
mov r11d, r12d
shr ebp, 0x18
xor r11d, eax
and ebx, 0xff000000
xor ebp, r13d
and r11d, 0xff0000
movzx ebp, bpl
or r11d, ebx
mov ebx, r8d
xor ebx, edi
movzx ebx, bl
or r11d, ebx
mov ebx, esi
xor ebx, r9d
and ebx, 0xff00
or r11d, ebx
mov ebx, r10d
shl ebx, 8
mov dword [rcx + 0x54], r11d
xor ebx, r12d
and ebx, 0xff000000
or ebx, ebp
mov ebp, eax
shl ebp, 8
xor ebp, esi
and ebp, 0xff0000
or ebx, ebp
mov ebp, r9d
shl ebp, 8
xor ebp, edi
and ebp, 0xff00
or ebx, ebp
mov ebp, r10d
shl ebp, 0x10
shr r14d, 0x10
mov dword [rcx + 0x58], ebx
shl r10d, 0x18
xor ebp, esi
xor r14d, r12d
shr r8d, 8
and ebp, 0xff000000
movzx r14d, r14b
xor r10d, edi
xor r8d, esi
or ebp, r14d
mov r14d, eax
shr eax, 8
movzx r8d, r8b
shl r14d, 0x10
and r10d, 0xff000000
xor eax, r13d
xor r14d, edi
or r10d, r8d
and eax, 0xff0000
mov r8d, 2
and r14d, 0xff0000
or r10d, eax
or ebp, r14d
mov r14d, r9d
shr r9d, 8
shr r14d, 0x10
xor r9d, r12d
xor r14d, r13d
and r9d, 0xff00
and r14d, 0xff00
or r10d, r9d
or ebp, r14d
mov dword [rsp + 0x30], r10d
cmp qword [rsp + 0xe0], 4
mov dword [rsp + 0x34], ebp
mov dword [rcx + 0x5c], ebp
mov dword [rcx + 0x60], r10d
jbe 0x4867ea
mov eax, dword [rdx]
bswap eax
sub qword [rsp + 0xe0], 4
add rdx, 4
mov r10, r15
mov dword [rsp + 0x24], eax
mov r8d, dword [rcx + 0x48]
xor ebx, dword [rcx + 0x30]
mov eax, dword [rsp + 0x44]
mov esi, dword [rsp + 0x50]
mov dword [rsp + 0x48], ebx
xor eax, dword [rsp + 0x24]
xor esi, dword [rcx + 0x3c]
xor r8d, ebx
mov dword [rcx + 0x58], ebx
mov dword [rsp + 0x44], eax
mov edi, dword [rsp + 0x30]
mov r9d, r8d
mov r15, qword [rsp + 0x28]
shr r9d, 0x10
mov ebp, dword [rcx + 0x50]
mov dword [rcx + 0x74], eax
mov dword [rsp + 0x50], esi
mov eax, ebx
mov ebx, dword [rcx + 0x4c]
movzx r9d, r9b
mov dword [rcx + 0x64], esi
mov esi, dword [rsp + 0x34]
xor ebp, edi
xor dword [rcx + 0x90], eax
mov eax, r8d
mov r13d, dword [r15 + r9*4]
movzx r9d, r8b
xor ebx, esi
xor r11d, esi
mov esi, dword [rsp + 0x54]
movzx eax, ah
shr r8d, 0x18
xor dword [rcx + 0x94], r11d
xor esi, edi
mov edi, dword [r10 + r8*4]
mov r8d, ebx
mov dword [rcx + 0x98], esi
mov rsi, qword [rsp + 8]
shr r8d, 0x18
mov r11d, dword [r10 + r8*4]
movzx r8d, bl
mov r12d, dword [rsi + rax*4]
mov rax, qword [rsp + 0x18]
mov r14d, dword [rax + r9*4]
movzx eax, bh
shr ebx, 0x10
mov r10d, dword [rsi + rax*4]
mov rax, qword [rsp + 0x18]
movzx ebx, bl
xor edi, r14d
mov r9d, dword [rax + r8*4]
mov esi, dword [r15 + rbx*4]
mov r8d, r11d
xor edi, r13d
mov rbx, qword [rsp + 0x10]
xor edi, r12d
xor r8d, r9d
xor esi, r8d
mov r8d, ebp
shr r8d, 0x18
xor esi, r10d
mov ebx, dword [rbx + r8*4]
mov r8d, ebp
shr r8d, 0x10
movzx r8d, r8b
xor r11d, ebx
mov r8d, dword [r15 + r8*4]
movzx r15d, bpl
mov r15d, dword [rax + r15*4]
mov eax, ebp
movzx ebp, ah
mov rax, qword [rsp + 8]
xor ebx, r15d
xor r9d, r15d
mov r15, qword [rsp + 0x28]
xor ebx, r8d
xor ebx, dword [rax + rbp*4]
mov eax, dword [rsp + 0x24]
xor r14d, r9d
mov rbp, qword [rsp + 0x10]
mov r9d, eax
shr r9d, 0x18
mov r9d, dword [rbp + r9*4]
mov ebp, eax
movzx eax, ah
shr ebp, 0x10
movzx ebp, bpl
xor r11d, r9d
mov ebp, dword [r15 + rbp*4]
xor r8d, ebp
xor r13d, r8d
mov r8, rax
mov rax, qword [rsp + 8]
mov r8d, dword [rax + r8*4]
movzx eax, byte [rsp + 0x24]
xor r10d, r8d
xor r10d, r12d
mov r12, qword [rsp + 0x18]
xor r9d, dword [r12 + rax*4]
mov eax, esi
xor r9d, ebp
xor eax, r13d
mov ebp, r14d
xor r8d, r9d
mov r9d, edi
mov dword [rsp + 0x70], eax
mov eax, ebx
xor r9d, r11d
xor eax, r10d
xor ebp, r8d
mov dword [rsp + 0x6c], r9d
mov r9d, r11d
shl r9d, 8
mov dword [rsp + 0x7c], eax
mov eax, r9d
mov r9d, r14d
mov dword [rsp + 0x78], ebp
mov ebp, r14d
shr r9d, 0x18
xor eax, esi
shr ebp, 0x10
xor r9d, edi
and eax, 0xff000000
xor ebp, esi
movzx r9d, r9b
movzx ebp, bpl
or eax, r9d
mov r9d, r13d
shl r9d, 8
xor r9d, ebx
and r9d, 0xff0000
or eax, r9d
mov r9d, r10d
shl r9d, 8
xor r9d, r8d
and r9d, 0xff00
or eax, r9d
mov r9d, r11d
shl r9d, 0x10
mov dword [rcx + 0x4c], eax
xor r9d, ebx
and r9d, 0xff000000
or r9d, ebp
mov ebp, r13d
shl ebp, 0x10
xor ebp, r8d
and ebp, 0xff0000
shl r11d, 0x18
shr r14d, 8
or r9d, ebp
xor r8d, r11d
mov ebp, r10d
shr r13d, 8
xor ebx, r14d
shr r10d, 8
mov r11d, dword [rcx + 0x3c]
movzx r14d, bl
xor r13d, edi
xor r10d, esi
shr ebp, 0x10
and r8d, 0xff000000
xor ebp, edi
mov esi, r10d
xor r11d, eax
or r8d, r14d
and r13d, 0xff0000
mov ebx, dword [rcx + 0x40]
mov edi, dword [rcx + 0x44]
and ebp, 0xff00
or r8d, r13d
xor eax, dword [rsp + 0x40]
mov r14, r15
and esi, 0xff00
or r9d, ebp
mov dword [rcx + 0x84], eax
or r8d, esi
mov esi, r11d
mov dword [rsp + 0x54], r9d
xor ebx, r9d
shr esi, 0x10
mov dword [rcx + 0x50], r9d
xor edi, r8d
movzx ebp, bh
mov dword [rsp + 0x58], r8d
movzx eax, sil
mov dword [rcx + 0x54], r8d
mov r10d, dword [rsp + 0x60]
mov r13, qword [rsp + 0x10]
xor dword [rcx + 0x8c], r8d
xor r10d, r9d
mov r8d, dword [r15 + rax*4]
movzx r9d, r11b
mov eax, r11d
shr r11d, 0x18
mov r15, qword [rsp + 8]
mov r9d, dword [r12 + r9*4]
movzx eax, ah
mov esi, dword [r13 + r11*4]
mov dword [rcx + 0x88], r10d
mov r10d, ebx
movzx r11d, bl
mov eax, dword [r15 + rax*4]
shr r10d, 0x18
mov ebp, dword [r15 + rbp*4]
xor esi, r9d
mov r10d, dword [r13 + r10*4]
mov r15d, dword [r12 + r11*4]
xor esi, r8d
mov dword [rsp + 0x24], eax
xor esi, eax
shr ebx, 0x10
mov rax, r12
xor r9d, r15d
movzx r11d, bl
mov ebx, r10d
xor ebx, r15d
xor ebx, dword [r14 + r11*4]
mov r11d, edi
mov r15, qword [rsp + 0x18]
shr r11d, 0x18
xor ebx, ebp
mov r13d, dword [r13 + r11*4]
mov r11d, edi
shr r11d, 0x10
movzx r11d, r11b
mov r12d, dword [r14 + r11*4]
movzx r11d, dil
mov r14d, dword [rax + r11*4]
mov eax, edi
mov r11d, r13d
movzx edi, ah
mov rax, qword [rsp + 8]
xor r11d, r14d
xor r14d, r9d
mov r9d, dword [rsp + 0x6c]
xor r11d, r12d
xor r11d, dword [rax + rdi*4]
mov rdi, qword [rsp + 0x10]
shr r9d, 0x18
mov eax, dword [rsp + 0x7c]
mov r9d, dword [rdi + r9*4]
mov rdi, qword [rsp + 0x28]
movzx eax, ah
xor r10d, r9d
xor r13d, r10d
mov r10, qword [rsp + 0x70]
shr r10, 0x10
and r10d, 0xff
mov r10d, dword [rdi + r10*4]
movzx edi, byte [rsp + 0x78]
xor r8d, r10d
xor r12d, r8d
mov r8, rax
mov rax, qword [rsp + 8]
mov r8d, dword [rax + r8*4]
mov eax, dword [rsp + 0x24]
xor r9d, dword [r15 + rdi*4]
mov r15d, esi
xor r9d, r10d
xor eax, ebp
mov r10d, ebx
mov ebp, r11d
xor eax, r8d
xor r8d, r9d
mov r9d, r14d
xor r10d, r12d
xor r9d, r8d
mov dword [rsp + 0x60], r10d
xor r15d, r13d
xor ebp, eax
mov dword [rsp + 0x6c], r9d
mov r9d, r13d
shl r9d, 8
mov dword [rsp + 0x40], r15d
xor r9d, ebx
mov dword [rsp + 0x70], ebp
mov ebp, dword [rcx + 0x38]
mov r10d, r9d
mov r9d, r12d
shl r9d, 8
and r10d, 0xff000000
xor r9d, r11d
and r9d, 0xff0000
or r9d, r10d
mov r10d, eax
shl r10d, 8
xor r10d, r8d
and r10d, 0xff00
or r9d, r10d
mov r10d, r14d
shr r10d, 0x18
mov r15d, r9d
mov r9d, r12d
shr r12d, 8
xor r10d, esi
shl r9d, 0x10
xor r12d, esi
movzx r10d, r10b
xor r9d, r8d
and r12d, 0xff0000
or r15d, r10d
mov r10d, r13d
and r9d, 0xff0000
shl r13d, 0x18
shl r10d, 0x10
xor r13d, r8d
mov r8d, dword [rcx + 0x30]
mov dword [rcx + 0x40], r15d
mov edi, r10d
and r13d, 0xff000000
xor edi, r11d
or r13d, r12d
and edi, 0xff000000
or edi, r9d
mov r9d, eax
shr eax, 8
shr r9d, 0x10
xor eax, ebx
xor r9d, esi
mov esi, dword [rsp + 0x68]
and r9d, 0xff00
or edi, r9d
mov r9d, r14d
shr r9d, 0x10
xor r9d, ebx
mov ebx, dword [rcx + 0x34]
movzx r9d, r9b
or edi, r9d
and eax, 0xff00
shr r14d, 8
xor r8d, r15d
xor r14d, r11d
or r13d, eax
xor ebx, edi
mov dword [rcx + 0x44], edi
movzx r12d, r14b
xor edi, dword [rsp + 0x5c]
mov r14, qword [rsp + 0x10]
xor esi, r15d
or r12d, r13d
mov r13d, r8d
mov dword [rcx + 0x7c], edi
mov rdi, qword [rsp + 0x28]
shr r13d, 0x10
xor ebp, r12d
movzx r10d, r8b
mov dword [rcx + 0x48], r12d
movzx eax, r13b
xor r12d, dword [rsp + 0x38]
mov dword [rcx + 0x78], esi
mov eax, dword [rdi + rax*4]
mov rsi, qword [rsp + 8]
mov dword [rcx + 0x80], r12d
mov r12, qword [rsp + 0x18]
mov dword [rsp + 0x24], eax
mov eax, r8d
shr r8d, 0x18
mov r13d, dword [r14 + r8*4]
mov r8d, ebx
mov r11d, dword [r12 + r10*4]
movzx eax, ah
shr r8d, 0x18
mov r9d, dword [rsi + rax*4]
movzx eax, bh
mov r10d, dword [r14 + r8*4]
movzx r8d, bl
shr ebx, 0x10
mov esi, dword [rsi + rax*4]
mov r8d, dword [r12 + r8*4]
mov rax, r12
movzx ebx, bl
xor r13d, r11d
mov r12d, r10d
xor r13d, dword [rsp + 0x24]
xor r12d, r8d
xor r12d, dword [rdi + rbx*4]
mov ebx, ebp
xor r8d, r11d
shr ebx, 0x10
mov r11d, ebp
xor r13d, r9d
xor r12d, esi
shr r11d, 0x18
movzx ebx, bl
xor r9d, esi
mov r11d, dword [r14 + r11*4]
mov r14, rdi
mov edi, dword [rdi + rbx*4]
movzx ebx, bpl
mov ebx, dword [rax + rbx*4]
mov esi, dword [rsp + 0x24]
mov eax, ebp
xor r10d, r11d
movzx ebp, ah
xor r11d, ebx
xor esi, edi
xor r8d, ebx
mov rbx, qword [rsp + 0x60]
xor r11d, edi
mov rdi, qword [rsp + 8]
mov dword [rsp + 0x24], esi
mov eax, dword [rsp + 0x24]
mov esi, dword [rdi + rbp*4]
mov rbp, qword [rsp + 0x10]
xor esi, r11d
mov r11d, dword [rsp + 0x40]
shr r11d, 0x18
mov r11d, dword [rbp + r11*4]
xor r10d, r11d
shr rbx, 0x10
and ebx, 0xff
mov r14d, dword [r14 + rbx*4]
mov ebx, dword [rsp + 0x70]
movzx ebx, bh
xor eax, r14d
mov ebp, dword [rdi + rbx*4]
movzx ebx, byte [rsp + 0x6c]
mov rdi, qword [rsp + 0x18]
xor r9d, ebp
xor r11d, dword [rdi + rbx*4]
xor r11d, r14d
mov r14d, r8d
mov edi, r11d
mov r11d, r13d
xor r11d, r10d
xor edi, ebp
mov ebp, r8d
mov ebx, r11d
mov r11d, r12d
shr ebp, 0x18
xor r11d, eax
and ebx, 0xff000000
xor ebp, r13d
and r11d, 0xff0000
movzx ebp, bpl
or r11d, ebx
mov ebx, r8d
xor ebx, edi
movzx ebx, bl
or r11d, ebx
mov ebx, esi
xor ebx, r9d
and ebx, 0xff00
or r11d, ebx
mov ebx, r10d
shl ebx, 8
mov dword [rcx + 0x30], r11d
xor ebx, r12d
and ebx, 0xff000000
or ebx, ebp
mov ebp, eax
shl ebp, 8
xor ebp, esi
and ebp, 0xff0000
or ebx, ebp
mov ebp, r9d
shl ebp, 8
xor ebp, edi
and ebp, 0xff00
or ebx, ebp
mov ebp, r10d
shl ebp, 0x10
shr r14d, 0x10
mov dword [rcx + 0x34], ebx
shl r10d, 0x18
xor ebp, esi
xor r14d, r12d
shr r8d, 8
and ebp, 0xff000000
movzx r14d, r14b
xor r10d, edi
xor r8d, esi
or ebp, r14d
mov r14d, eax
shr eax, 8
movzx r8d, r8b
shl r14d, 0x10
and r10d, 0xff000000
xor eax, r13d
xor r14d, edi
or r10d, r8d
and eax, 0xff0000
mov r8d, 3
and r14d, 0xff0000
or r10d, eax
or ebp, r14d
mov r14d, r9d
shr r9d, 8
shr r14d, 0x10
xor r9d, r12d
xor r14d, r13d
and r9d, 0xff00
and r14d, 0xff00
or r10d, r9d
or ebp, r14d
mov dword [rsp + 0x38], r10d
cmp qword [rsp + 0xe0], 4
mov dword [rsp + 0x40], ebp
mov dword [rcx + 0x38], ebp
mov dword [rcx + 0x3c], r10d
jbe 0x4867ea
mov eax, dword [rdx]
bswap eax
sub qword [rsp + 0xe0], 4
add rdx, 4
mov dword [rsp + 0x24], eax
mov edi, dword [rsp + 0x38]
mov r8d, dword [rcx + 0x24]
mov r9d, dword [rsp + 0x44]
xor ebx, dword [rcx + 0xc]
mov eax, dword [rsp + 0x54]
xor eax, dword [rsp + 0x24]
xor r8d, ebx
mov dword [rsp + 0x5c], ebx
mov esi, dword [rsp + 0x40]
xor r9d, edi
xor r15d, dword [rcx + 0x18]
mov dword [rsp + 0x54], eax
mov dword [rcx + 0x50], eax
mov eax, ebx
mov r10, qword [rsp + 0x10]
mov dword [rcx + 0x34], ebx
mov ebx, dword [rcx + 0x28]
xor r11d, esi
mov dword [rcx + 0x74], r9d
mov r9d, r8d
mov ebp, dword [rcx + 0x2c]
xor ebx, esi
xor dword [rcx + 0x6c], eax
mov rsi, qword [rsp + 8]
shr r9d, 0x10
mov dword [rsp + 0x60], r15d
mov eax, r8d
movzx r9d, r9b
xor ebp, edi
mov dword [rcx + 0x40], r15d
mov r15, qword [rsp + 0x28]
movzx eax, ah
mov r12d, dword [rsi + rax*4]
mov rax, qword [rsp + 0x18]
mov r13d, dword [r15 + r9*4]
movzx r9d, r8b
shr r8d, 0x18
xor dword [rcx + 0x70], r11d
mov edi, dword [r10 + r8*4]
mov r8d, ebx
mov r14d, dword [rax + r9*4]
movzx eax, bh
shr r8d, 0x18
mov r11d, dword [r10 + r8*4]
mov r10d, dword [rsi + rax*4]
movzx r8d, bl
shr ebx, 0x10
mov rax, qword [rsp + 0x18]
movzx ebx, bl
xor edi, r14d
xor edi, r13d
mov r9d, dword [rax + r8*4]
mov esi, dword [r15 + rbx*4]
mov r8d, r11d
xor edi, r12d
mov rbx, qword [rsp + 0x10]
xor r8d, r9d
xor esi, r8d
mov r8d, ebp
shr r8d, 0x18
xor esi, r10d
mov ebx, dword [rbx + r8*4]
mov r8d, ebp
shr r8d, 0x10
movzx r8d, r8b
xor r11d, ebx
mov r8d, dword [r15 + r8*4]
movzx r15d, bpl
mov r15d, dword [rax + r15*4]
mov eax, ebp
movzx ebp, ah
mov rax, qword [rsp + 8]
xor ebx, r15d
xor r9d, r15d
mov r15, qword [rsp + 0x28]
xor ebx, r8d
xor ebx, dword [rax + rbp*4]
mov eax, dword [rsp + 0x24]
xor r14d, r9d
mov rbp, qword [rsp + 0x10]
mov r9d, eax
shr r9d, 0x18
mov r9d, dword [rbp + r9*4]
mov ebp, eax
movzx eax, ah
shr ebp, 0x10
movzx ebp, bpl
xor r11d, r9d
mov ebp, dword [r15 + rbp*4]
xor r8d, ebp
xor r13d, r8d
mov r8, rax
mov rax, qword [rsp + 8]
mov r8d, dword [rax + r8*4]
movzx eax, byte [rsp + 0x24]
xor r10d, r8d
xor r10d, r12d
mov r12, qword [rsp + 0x18]
xor r9d, dword [r12 + rax*4]
mov eax, esi
xor r9d, ebp
xor eax, r13d
mov ebp, r14d
xor r8d, r9d
mov r9d, edi
mov dword [rsp + 0x70], eax
mov eax, ebx
xor r9d, r11d
xor eax, r10d
xor ebp, r8d
mov dword [rsp + 0x6c], r9d
mov r9d, r11d
shl r9d, 8
mov dword [rsp + 0x7c], eax
mov eax, r9d
mov r9d, r14d
mov dword [rsp + 0x78], ebp
mov ebp, r14d
shr r9d, 0x18
xor eax, esi
shr ebp, 0x10
xor r9d, edi
and eax, 0xff000000
xor ebp, esi
movzx r9d, r9b
movzx ebp, bpl
or eax, r9d
mov r9d, r13d
shl r9d, 8
xor r9d, ebx
and r9d, 0xff0000
or eax, r9d
mov r9d, r10d
shl r9d, 8
xor r9d, r8d
and r9d, 0xff00
or eax, r9d
mov r9d, r11d
shl r9d, 0x10
mov dword [rcx + 0x28], eax
xor r9d, ebx
and r9d, 0xff000000
or r9d, ebp
mov ebp, r13d
shl ebp, 0x10
xor ebp, r8d
and ebp, 0xff0000
shl r11d, 0x18
shr r14d, 8
or r9d, ebp
xor r8d, r11d
mov ebp, r10d
shr r13d, 8
xor ebx, r14d
mov r11d, dword [rcx + 0x18]
shr ebp, 0x10
movzx r14d, bl
xor r13d, edi
and r8d, 0xff000000
xor ebp, edi
shr r10d, 8
or r8d, r14d
xor r11d, eax
and ebp, 0xff00
and r13d, 0xff0000
xor r10d, esi
or r9d, ebp
mov esi, r11d
or r8d, r13d
and r10d, 0xff00
shr esi, 0x10
mov ebx, dword [rcx + 0x1c]
or r8d, r10d
xor eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], r9d
mov r14, r15
mov dword [rcx + 0x2c], r9d
mov edi, dword [rcx + 0x20]
xor ebx, r9d
mov dword [rsp + 0x68], r8d
movzx ebp, bh
mov dword [rcx + 0x30], r8d
xor edi, r8d
mov dword [rcx + 0x60], eax
mov r10d, dword [rsp + 0x50]
movzx eax, sil
mov r13, qword [rsp + 0x10]
xor dword [rcx + 0x68], r8d
xor r10d, r9d
mov r8d, dword [r15 + rax*4]
movzx r9d, r11b
mov eax, r11d
shr r11d, 0x18
mov r15, qword [rsp + 8]
mov r9d, dword [r12 + r9*4]
movzx eax, ah
mov esi, dword [r13 + r11*4]
mov dword [rcx + 0x64], r10d
mov r10d, ebx
movzx r11d, bl
mov eax, dword [r15 + rax*4]
shr r10d, 0x18
mov ebp, dword [r15 + rbp*4]
xor esi, r9d
mov r10d, dword [r13 + r10*4]
mov r15d, dword [r12 + r11*4]
xor esi, r8d
mov dword [rsp + 0x24], eax
xor esi, eax
shr ebx, 0x10
mov rax, r12
xor r9d, r15d
movzx r11d, bl
mov ebx, r10d
xor ebx, r15d
xor ebx, dword [r14 + r11*4]
mov r11d, edi
mov r15, qword [rsp + 0x18]
shr r11d, 0x18
xor ebx, ebp
mov r13d, dword [r13 + r11*4]
mov r11d, edi
shr r11d, 0x10
movzx r11d, r11b
mov r12d, dword [r14 + r11*4]
movzx r11d, dil
mov r14d, dword [rax + r11*4]
mov eax, edi
mov r11d, r13d
movzx edi, ah
mov rax, qword [rsp + 8]
xor r11d, r14d
xor r14d, r9d
mov r9d, dword [rsp + 0x6c]
xor r11d, r12d
xor r11d, dword [rax + rdi*4]
mov rdi, qword [rsp + 0x10]
shr r9d, 0x18
mov eax, dword [rsp + 0x7c]
mov r9d, dword [rdi + r9*4]
mov rdi, qword [rsp + 0x28]
movzx eax, ah
xor r10d, r9d
xor r13d, r10d
mov r10, qword [rsp + 0x70]
shr r10, 0x10
and r10d, 0xff
mov r10d, dword [rdi + r10*4]
movzx edi, byte [rsp + 0x78]
xor r8d, r10d
xor r12d, r8d
mov r8, rax
mov rax, qword [rsp + 8]
mov r8d, dword [rax + r8*4]
mov eax, dword [rsp + 0x24]
xor r9d, dword [r15 + rdi*4]
mov r15d, esi
mov edi, r13d
xor r9d, r10d
xor eax, ebp
mov r10d, r14d
mov ebp, ebx
xor eax, r8d
xor r8d, r9d
mov r9d, r11d
xor r15d, r13d
xor r9d, eax
xor r10d, r8d
xor ebp, r12d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x70], r9d
mov r9d, r13d
mov r15d, dword [rcx + 0x14]
shl r9d, 8
mov dword [rsp + 0x6c], r10d
xor r9d, ebx
mov r10d, r9d
mov r9d, r12d
shl r9d, 8
and r10d, 0xff000000
xor r9d, r11d
and r9d, 0xff0000
shl edi, 0x10
or r9d, r10d
mov r10d, eax
xor edi, r11d
shl r13d, 0x18
shl r10d, 8
and edi, 0xff000000
xor r13d, r8d
xor r10d, r8d
and r13d, 0xff000000
and r10d, 0xff00
or r9d, r10d
mov r10d, r14d
shr r10d, 0x18
xor r10d, esi
movzx r10d, r10b
or r9d, r10d
mov r10d, r9d
mov dword [rsp + 0x50], r9d
mov dword [rcx + 0x1c], r9d
mov r9d, r12d
shr r12d, 8
shl r9d, 0x10
xor r12d, esi
xor r9d, r8d
mov r8d, dword [rcx + 0xc]
and r12d, 0xff0000
and r9d, 0xff0000
or r13d, r12d
or edi, r9d
mov r9d, eax
shr eax, 8
shr r9d, 0x10
xor eax, ebx
xor r9d, esi
mov esi, dword [rsp + 0x58]
and r9d, 0xff00
or edi, r9d
mov r9d, r14d
shr r9d, 0x10
xor r9d, ebx
mov ebx, dword [rcx + 0x10]
movzx r9d, r9b
or edi, r9d
and eax, 0xff00
xor r8d, r10d
xor esi, r10d
xor ebx, edi
mov dword [rcx + 0x20], edi
xor edi, dword [rsp + 0x48]
shr r14d, 8
mov dword [rcx + 0x54], esi
mov esi, r8d
or r13d, eax
xor r14d, r11d
shr esi, 0x10
mov dword [rcx + 0x58], edi
mov rdi, qword [rsp + 0x28]
movzx r12d, r14b
movzx eax, sil
mov r14, qword [rsp + 0x10]
or r12d, r13d
movzx r10d, r8b
mov eax, dword [rdi + rax*4]
xor r15d, r12d
mov rsi, qword [rsp + 8]
mov dword [rcx + 0x24], r12d
xor r12d, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
mov eax, r8d
shr r8d, 0x18
mov r13d, dword [r14 + r8*4]
mov dword [rcx + 0x5c], r12d
mov r8d, ebx
movzx eax, ah
mov r12, qword [rsp + 0x18]
shr r8d, 0x18
mov r9d, dword [rsi + rax*4]
movzx eax, bh
mov esi, dword [rsi + rax*4]
mov r11d, dword [r12 + r10*4]
mov r10d, dword [r14 + r8*4]
movzx r8d, bl
shr ebx, 0x10
mov r8d, dword [r12 + r8*4]
mov rax, r12
movzx ebx, bl
mov r12d, r10d
xor r13d, r11d
xor r13d, dword [rsp + 0x24]
xor r12d, r8d
xor r12d, dword [rdi + rbx*4]
mov ebx, r15d
xor r8d, r11d
shr ebx, 0x10
mov r11d, r15d
xor r13d, r9d
xor r12d, esi
shr r11d, 0x18
movzx ebx, bl
xor r9d, esi
mov r11d, dword [r14 + r11*4]
mov r14, rdi
mov edi, dword [rdi + rbx*4]
movzx ebx, r15b
mov ebx, dword [rax + rbx*4]
mov esi, dword [rsp + 0x24]
mov eax, r15d
xor r10d, r11d
movzx eax, ah
mov r15, qword [rsp + 0x10]
xor r11d, ebx
xor esi, edi
xor r8d, ebx
mov rbx, rbp
xor r11d, edi
mov rdi, qword [rsp + 8]
mov dword [rsp + 0x24], esi
mov esi, dword [rdi + rax*4]
mov eax, dword [rsp + 0x24]
xor esi, r11d
mov r11d, dword [rsp + 0x30]
shr r11d, 0x18
mov r11d, dword [r15 + r11*4]
xor r10d, r11d
shr rbx, 0x10
and ebx, 0xff
mov r14d, dword [r14 + rbx*4]
mov ebx, dword [rsp + 0x70]
movzx ebx, bh
xor eax, r14d
mov ebp, dword [rdi + rbx*4]
movzx ebx, byte [rsp + 0x6c]
mov rdi, qword [rsp + 0x18]
xor r9d, ebp
xor r11d, dword [rdi + rbx*4]
mov ebx, r13d
xor r11d, r14d
xor ebx, r10d
mov r14d, r8d
mov edi, r11d
mov r11d, r12d
and ebx, 0xff000000
xor r11d, eax
xor edi, ebp
mov ebp, r8d
and r11d, 0xff0000
shr ebp, 0x18
or ebx, r11d
mov r11d, r8d
xor ebp, r13d
xor r11d, edi
movzx ebp, bpl
movzx r11d, r11b
or ebx, r11d
mov r11d, esi
xor r11d, r9d
and r11d, 0xff00
or ebx, r11d
mov r11d, r10d
shl r11d, 8
mov dword [rcx + 0xc], ebx
xor r11d, r12d
and r11d, 0xff000000
or r11d, ebp
mov ebp, eax
shl ebp, 8
xor ebp, esi
and ebp, 0xff0000
or r11d, ebp
mov ebp, r9d
shl ebp, 8
xor ebp, edi
and ebp, 0xff00
or r11d, ebp
mov ebp, r10d
shl ebp, 0x10
shr r14d, 0x10
mov dword [rcx + 0x10], r11d
shl r10d, 0x18
xor ebp, esi
xor r14d, r12d
shr r8d, 8
and ebp, 0xff000000
movzx r14d, r14b
xor r10d, edi
xor r8d, esi
or ebp, r14d
mov r14d, eax
shr eax, 8
movzx r8d, r8b
shl r14d, 0x10
and r10d, 0xff000000
xor eax, r13d
xor r14d, edi
or r10d, r8d
and eax, 0xff0000
xor r8d, r8d
and r14d, 0xff0000
or r10d, eax
or ebp, r14d
mov r14d, r9d
shr r9d, 8
shr r14d, 0x10
xor r9d, r12d
xor r14d, r13d
mov eax, r9d
and r14d, 0xff00
and eax, 0xff00
or ebp, r14d
or r10d, eax
cmp qword [rsp + 0xe0], 4
mov dword [rsp + 0x30], ebp
mov dword [rcx + 0x14], ebp
mov dword [rsp + 0x34], r10d
mov dword [rcx + 0x18], r10d
ja 0x487138
mov eax, dword [rsp + 0xe0]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0xe0]
dec rax
cmp qword [rsp + 0xe0], 0
je 0x487208
lea r10, [rdx + rax + 1]
xor eax, eax
nop dword [rax]
movzx r9d, byte [rdx]
shl eax, 8
inc rdx
or eax, r9d
cmp r10, rdx
jne 0x486818
mov dword [rcx], eax
mov dword [rcx + 8], r8d
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8d, dword [rcx + 8]
cmp r8d, 2
je 0x487170
jbe 0x485189
cmp r8d, 3
je 0x48689a
jmp 0x4867ea
add r9d, dword [rsp + 0xe0]
cmp qword [rsp + 0xe0], 0
je 0x487158
mov eax, dword [rsp + 0xe0]
lea r8d, [rax - 1]
jmp 0x485103
cmp r8d, 3
jne 0x487210
mov eax, dword [rcx + 0x50]
mov r11d, dword [rcx + 0x30]
mov ebx, dword [rcx + 0x34]
mov r15d, dword [rcx + 0x40]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 0x38]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0x3c]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x74]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0x60]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x64]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0x54]
mov dword [rsp + 0x58], eax
mov eax, dword [rcx + 0x58]
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x34], eax
lea rax, [0x0068d0a0]
mov qword [rsp + 0x28], rax
lea rax, [0x0068cca0]
mov qword [rsp + 8], rax
lea rax, [0x0068c8a0]
mov qword [rsp + 0x18], rax
lea rax, [0x0068d4a0]
mov qword [rsp + 0x10], rax
jmp 0x4860be
mov eax, dword [rcx + 0x2c]
mov ebx, dword [rcx + 0xc]
mov r11d, dword [rcx + 0x10]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x50]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 0x3c]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x40]
mov dword [rsp + 0x60], eax
mov eax, dword [rcx + 0x30]
mov dword [rsp + 0x68], eax
mov eax, dword [rcx + 0x34]
mov dword [rsp + 0x5c], eax
mov eax, dword [rcx + 0x38]
mov dword [rsp + 0x40], eax
lea rax, [0x0068d0a0]
mov qword [rsp + 0x28], rax
lea rax, [0x0068cca0]
mov qword [rsp + 8], rax
lea rax, [0x0068c8a0]
mov qword [rsp + 0x18], rax
lea rax, [0x0068d4a0]
mov qword [rsp + 0x10], rax
mov r9d, dword [rcx + 0x90]
xor r11d, dword [rcx + 0x78]
mov edi, dword [rsp + 0x30]
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x6c], r11d
xor r9d, r11d
xor eax, dword [rsp + 0x24]
mov r15d, dword [rsp + 0x34]
mov dword [rcx + 0x10], r11d
xor ebx, edi
mov dword [rsp + 0x48], eax
mov r8d, dword [rcx + 0x94]
mov r10d, r9d
mov ebp, dword [rsp + 0x54]
mov r13, qword [rsp + 0x28]
mov dword [rcx + 0x2c], eax
mov eax, r9d
xor dword [rcx + 0x4c], ebx
mov rbx, qword [rsp + 8]
shr r10d, 0x10
movzx eax, ah
xor r8d, edi
xor ebp, r15d
movzx r10d, r10b
mov esi, dword [rsp + 0x50]
mov edi, dword [rbx + rax*4]
mov rax, qword [rsp + 0x10]
mov dword [rcx + 0x50], ebp
xor esi, dword [rcx + 0x84]
mov ebp, dword [r13 + r10*4]
movzx r10d, r9b
shr r9d, 0x18
mov r14d, dword [rax + r9*4]
mov dword [rsp + 0x50], esi
mov r9d, r8d
mov dword [rcx + 0x1c], esi
mov esi, dword [rcx + 0x98]
shr r9d, 0x18
xor dword [rcx + 0x48], r11d
mov r11d, dword [rax + r9*4]
mov eax, r8d
movzx r9d, r8b
xor esi, r15d
mov r15, qword [rsp + 0x18]
movzx eax, ah
shr r8d, 0x10
movzx r8d, r8b
mov r12d, dword [r15 + r10*4]
mov r10d, dword [rbx + rax*4]
mov rax, r15
mov r9d, dword [r15 + r9*4]
mov ebx, dword [r13 + r8*4]
mov r15d, r11d
mov r8d, esi
shr r8d, 0x18
xor r14d, r12d
xor r15d, r9d
xor r14d, ebp
xor ebx, r15d
xor r14d, edi
mov r15d, ebx
mov rbx, qword [rsp + 0x10]
xor r15d, r10d
mov ebx, dword [rbx + r8*4]
mov r8d, esi
shr r8d, 0x10
movzx r8d, r8b
xor r11d, ebx
mov r8d, dword [r13 + r8*4]
movzx r13d, sil
mov r13d, dword [rax + r13*4]
mov eax, esi
movzx esi, ah
mov rax, qword [rsp + 8]
xor ebx, r13d
xor r9d, r13d
mov r13, qword [rsp + 0x28]
xor ebx, r8d
xor ebx, dword [rax + rsi*4]
mov eax, dword [rsp + 0x24]
xor r12d, r9d
mov rsi, qword [rsp + 0x10]
mov r9d, eax
shr r9d, 0x18
mov r9d, dword [rsi + r9*4]
mov esi, eax
movzx eax, ah
shr esi, 0x10
movzx esi, sil
xor r11d, r9d
mov esi, dword [r13 + rsi*4]
xor r8d, esi
xor ebp, r8d
mov r8, rax
mov rax, qword [rsp + 8]
mov r8d, dword [rax + r8*4]
movzx eax, byte [rsp + 0x24]
xor r10d, r8d
xor r10d, edi
mov rdi, qword [rsp + 0x18]
xor r9d, dword [rdi + rax*4]
mov eax, r12d
xor r9d, esi
mov esi, r15d
xor r8d, r9d
xor esi, ebp
mov r9d, r14d
xor eax, r8d
xor r9d, r11d
mov dword [rsp + 0x70], esi
mov esi, r11d
mov dword [rsp + 0x78], eax
mov eax, ebx
shl esi, 8
xor eax, r10d
mov dword [rsp + 0x54], r9d
mov r9d, r12d
mov dword [rsp + 0x7c], eax
shr r9d, 0x18
mov eax, esi
mov esi, r12d
xor eax, r15d
xor r9d, r14d
shr esi, 0x10
and eax, 0xff000000
movzx r9d, r9b
xor esi, r15d
or eax, r9d
mov r9d, ebp
movzx esi, sil
shl r9d, 8
xor r9d, ebx
and r9d, 0xff0000
or eax, r9d
mov r9d, r10d
shl r9d, 8
xor r9d, r8d
and r9d, 0xff00
or eax, r9d
mov r9d, r11d
shl r9d, 0x10
mov dword [rcx + 0x94], eax
xor r9d, ebx
and r9d, 0xff000000
or r9d, esi
mov esi, ebp
shl esi, 0x10
xor esi, r8d
and esi, 0xff0000
shr r12d, 8
shl r11d, 0x18
xor ebx, r12d
shr ebp, 8
or r9d, esi
xor r8d, r11d
movzx r11d, bl
mov ebx, r10d
xor ebp, r14d
and r8d, 0xff000000
shr ebx, 8
and ebp, 0xff0000
mov esi, r10d
or r8d, r11d
xor ebx, r15d
shr esi, 0x10
mov r11d, dword [rcx + 0x88]
or r8d, ebp
and ebx, 0xff00
xor esi, r14d
mov rbp, r13
or r8d, ebx
mov ebx, dword [rcx + 0x84]
and esi, 0xff00
or r9d, esi
mov dword [rsp + 0x58], r8d
xor ebx, eax
xor eax, dword [rsp + 0x38]
mov dword [rsp + 0x44], r9d
xor r11d, r9d
mov esi, ebx
mov dword [rcx + 0x98], r9d
mov ebx, dword [rcx + 0x8c]
mov dword [rcx + 0xc], r8d
mov r15d, esi
mov dword [rcx + 0x3c], eax
mov r10d, dword [rsp + 0x60]
shr r15d, 0x10
xor ebx, r8d
movzx eax, r15b
mov r15, rdi
xor dword [rcx + 0x44], r8d
mov r12, qword [rsp + 8]
xor r10d, r9d
movzx r9d, sil
mov r8d, dword [r13 + rax*4]
mov eax, esi
mov r9d, dword [rdi + r9*4]
mov rdi, qword [rsp + 0x10]
shr esi, 0x18
movzx eax, ah
mov eax, dword [r12 + rax*4]
mov dword [rcx + 0x40], r10d
mov r10d, r11d
mov r14d, dword [rdi + rsi*4]
shr r10d, 0x18
mov r10d, dword [rdi + r10*4]
mov dword [rsp + 0x24], eax
movzx edi, r11b
xor r14d, r9d
mov r13d, dword [r15 + rdi*4]
xor r14d, r8d
xor r14d, eax
mov eax, r11d
shr r11d, 0x10
xor r9d, r13d
movzx esi, ah
movzx r11d, r11b
mov rax, rbp
mov r12d, dword [r12 + rsi*4]
mov esi, r10d
xor esi, r13d
mov r13, rax
mov edi, esi
xor edi, dword [rbp + r11*4]
mov r11d, ebx
mov dword [rsp + 0x38], r12d
mov esi, edi
mov rdi, qword [rsp + 0x10]
shr r11d, 0x18
xor esi, r12d
mov ebp, dword [rdi + r11*4]
mov r11d, ebx
shr r11d, 0x10
movzx r11d, r11b
mov edi, dword [rax + r11*4]
movzx r11d, bl
movzx ebx, bh
mov r12d, dword [r15 + r11*4]
mov r15, qword [rsp + 8]
mov r11d, ebp
xor r11d, r12d
xor r12d, r9d
mov r9d, dword [rsp + 0x54]
xor r11d, edi
xor r11d, dword [r15 + rbx*4]
mov rbx, qword [rsp + 0x10]
shr r9d, 0x18
mov r9d, dword [rbx + r9*4]
movzx ebx, byte [rsp + 0x78]
xor r10d, r9d
xor ebp, r10d
mov r10, qword [rsp + 0x70]
shr r10, 0x10
and r10d, 0xff
mov r10d, dword [rax + r10*4]
mov eax, dword [rsp + 0x7c]
xor r8d, r10d
movzx eax, ah
xor edi, r8d
mov r8d, dword [r15 + rax*4]
mov eax, dword [rsp + 0x24]
xor eax, dword [rsp + 0x38]
mov r15, qword [rsp + 0x18]
xor eax, r8d
xor r9d, dword [r15 + rbx*4]
mov ebx, r11d
xor r9d, r10d
mov r10d, esi
xor ebx, eax
xor r8d, r9d
mov r9d, r14d
xor r10d, edi
mov dword [rsp + 0x60], ebx
xor r9d, ebp
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x24], r9d
mov r9d, r12d
xor r9d, r8d
mov dword [rsp + 0x54], r9d
mov r9d, ebp
shl r9d, 8
xor r9d, esi
mov r10d, r9d
mov r9d, edi
shl r9d, 8
and r10d, 0xff000000
xor r9d, r11d
and r9d, 0xff0000
or r9d, r10d
mov r10d, eax
shl r10d, 8
xor r10d, r8d
and r10d, 0xff00
or r9d, r10d
mov r10d, r12d
shr r10d, 0x18
xor r10d, r14d
movzx r10d, r10b
or r9d, r10d
mov r10, qword [rsp + 0x10]
mov r15d, r9d
mov dword [rcx + 0x88], r9d
mov r9d, ebp
shl ebp, 0x18
shl r9d, 0x10
xor ebp, r8d
xor r9d, r11d
and ebp, 0xff000000
and r9d, 0xff000000
mov ebx, r9d
mov r9d, edi
shr edi, 8
shl r9d, 0x10
xor edi, r14d
xor r9d, r8d
and edi, 0xff0000
mov r8d, dword [rsp + 0x68]
and r9d, 0xff0000
or ebp, edi
or r9d, ebx
mov ebx, eax
shr eax, 8
shr ebx, 0x10
xor eax, esi
xor ebx, r14d
mov r14, r13
and ebx, 0xff00
or r9d, ebx
mov ebx, r12d
shr ebx, 0x10
xor ebx, esi
mov esi, dword [rcx + 0x80]
movzx ebx, bl
or ebx, r9d
and eax, 0xff00
shr r12d, 8
xor r8d, r15d
xor r11d, r12d
or ebp, eax
mov eax, dword [rcx + 0x7c]
mov dword [rcx + 0x8c], ebx
movzx edi, r11b
mov r12, qword [rsp + 8]
mov dword [rcx + 0x30], r8d
or ebp, edi
mov edi, dword [rcx + 0x78]
xor eax, ebx
xor ebx, dword [rsp + 0x5c]
mov dword [rcx + 0x34], ebx
xor esi, ebp
xor edi, r15d
mov dword [rcx + 0x90], ebp
xor ebp, dword [rsp + 0x40]
mov r11d, edi
mov r8d, edi
mov dword [rcx + 0x38], ebp
movzx ebp, ah
mov ebx, r11d
shr r8d, 0x10
mov ebp, dword [r12 + rbp*4]
movzx ebx, bh
movzx r8d, r8b
mov r9d, dword [r12 + rbx*4]
mov rbx, qword [rsp + 0x18]
mov r12, r14
mov edi, dword [r13 + r8*4]
movzx r8d, r11b
shr r11d, 0x18
mov ebx, dword [rbx + r8*4]
mov r8d, eax
mov r13d, dword [r10 + r11*4]
shr r8d, 0x18
mov r11, qword [rsp + 0x18]
mov r10d, dword [r10 + r8*4]
movzx r8d, al
shr eax, 0x10
xor r13d, ebx
mov r8d, dword [r11 + r8*4]
movzx r11d, al
xor r13d, edi
mov eax, r10d
xor r13d, r9d
xor r9d, ebp
xor eax, r8d
xor eax, dword [r14 + r11*4]
xor r8d, ebx
mov rbx, qword [rsp + 0x10]
mov r14d, eax
mov eax, esi
shr eax, 0x18
xor r14d, ebp
mov r11d, dword [rbx + rax*4]
mov eax, esi
movzx ebx, sil
shr eax, 0x10
movzx eax, al
xor r10d, r11d
mov ebp, dword [r12 + rax*4]
xor edi, ebp
mov eax, edi
mov rdi, qword [rsp + 0x18]
mov edi, dword [rdi + rbx*4]
mov ebx, esi
movzx esi, bh
xor r11d, edi
xor r8d, edi
xor r11d, ebp
mov rbp, qword [rsp + 8]
xor r11d, dword [rbp + rsi*4]
mov rsi, qword [rsp + 0x10]
mov ebx, r11d
mov r11d, dword [rsp + 0x24]
shr r11d, 0x18
mov r11d, dword [rsi + r11*4]
mov rsi, qword [rsp + 0x38]
xor r10d, r11d
shr rsi, 0x10
and esi, 0xff
mov ebp, dword [r12 + rsi*4]
mov r12, qword [rsp + 8]
xor eax, ebp
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x60]
movzx esi, ah
mov rax, qword [rsp + 0x18]
mov edi, dword [r12 + rsi*4]
movzx esi, byte [rsp + 0x54]
mov r12d, r8d
xor r11d, dword [rax + rsi*4]
mov eax, dword [rsp + 0x24]
xor r9d, edi
xor r11d, ebp
mov ebp, r8d
mov esi, r11d
mov r11d, r13d
shr ebp, 0x18
xor r11d, r10d
xor esi, edi
xor ebp, r13d
mov edi, r11d
mov r11d, r14d
movzx ebp, bpl
xor r11d, eax
and edi, 0xff000000
shl eax, 8
and r11d, 0xff0000
or r11d, edi
mov edi, r8d
xor edi, esi
movzx edi, dil
or r11d, edi
mov edi, ebx
xor edi, r9d
and edi, 0xff00
or r11d, edi
mov edi, r10d
shl edi, 8
mov dword [rcx + 0x78], r11d
xor edi, r14d
and edi, 0xff000000
or edi, ebp
mov ebp, eax
mov eax, dword [rsp + 0x24]
xor ebp, ebx
and ebp, 0xff0000
or edi, ebp
mov ebp, r9d
shl ebp, 8
xor ebp, esi
and ebp, 0xff00
or edi, ebp
mov ebp, r10d
shl ebp, 0x10
shr r12d, 0x10
mov dword [rcx + 0x7c], edi
shl eax, 0x10
xor ebp, ebx
xor r12d, r14d
shl r10d, 0x18
and ebp, 0xff000000
movzx r12d, r12b
shr r8d, 8
xor r10d, esi
or ebp, r12d
mov r12d, eax
mov eax, dword [rsp + 0x24]
xor r8d, ebx
xor r12d, esi
and r10d, 0xff000000
movzx r8d, r8b
and r12d, 0xff0000
shr eax, 8
or r10d, r8d
mov r8d, 1
or ebp, r12d
xor eax, r13d
mov r12d, r9d
shr r9d, 8
and eax, 0xff0000
shr r12d, 0x10
xor r9d, r14d
or r10d, eax
xor r12d, r13d
mov eax, r9d
and r12d, 0xff00
and eax, 0xff00
or ebp, r12d
or r10d, eax
cmp qword [rsp + 0xe0], 4
mov dword [rsp + 0x38], ebp
mov dword [rcx + 0x80], ebp
mov dword [rsp + 0x40], r10d
mov dword [rcx + 0x84], r10d
jbe 0x4867ea
mov eax, dword [rdx]
bswap eax
sub qword [rsp + 0xe0], 4
add rdx, 4
mov dword [rsp + 0x24], eax
jmp 0x485218
mov eax, dword [rdx]
bswap eax
sub qword [rsp + 0xe0], 4
add rdx, 4
mov dword [rsp + 0x24], eax
jmp 0x48699d
mov eax, dword [rsp + 0x24]
mov dword [rcx + 4], r9d
mov dword [rcx], eax
jmp 0x486830
mov eax, dword [rcx + 0x74]
mov r11d, dword [rcx + 0x54]
mov ebx, dword [rcx + 0x58]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0x64]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x60]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x98]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 0x84]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0x88]
mov dword [rsp + 0x60], eax
mov eax, dword [rcx + 0x78]
mov dword [rsp + 0x68], eax
mov eax, dword [rcx + 0x7c]
mov dword [rsp + 0x5c], eax
mov eax, dword [rcx + 0x80]
mov dword [rsp + 0x38], eax
lea rax, [0x0068d0a0]
mov qword [rsp + 0x28], rax
lea rax, [0x0068cca0]
mov qword [rsp + 8], rax
lea rax, [0x0068c8a0]
mov qword [rsp + 0x18], rax
lea rax, [0x0068d4a0]
mov qword [rsp + 0x10], rax
mov r10, rax
jmp 0x48596d
xor eax, eax
jmp 0x48682a
mov eax, dword [rsp + 0xe0]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0xe0]
dec rax
jmp 0x48680e