Function at 0x479020
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 0x47a7c8
mov r8d, 4
sub r8d, r9d
cmp r8, qword [rsp + 0xe0]
ja 0x47a7e8
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 0x4790d3
movzx r10d, byte [rdx + 1]
shl eax, 8
or eax, r10d
mov dword [rsp + 0x24], eax
cmp r8d, 1
je 0x4790d3
movzx r10d, byte [rdx + 2]
shl eax, 8
or eax, r10d
mov dword [rsp + 0x24], eax
cmp r8d, 2
je 0x4790d3
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 0x47b0d8
mov r8d, dword [rcx + 8]
cmp r8d, 2
je 0x47b0f0
ja 0x47a810
test r8d, r8d
je 0x47a8a0
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, [0x00600220]
mov qword [rsp + 0x28], rax
lea rax, [0x005ffe20]
mov qword [rsp + 8], rax
lea rax, [0x005ffa20]
mov qword [rsp + 0x18], rax
lea rax, [0x00600620]
mov qword [rsp + 0x10], rax
xor edi, dword [rcx + 0x54]
mov eax, dword [rsp + 0x44]
mov r8d, dword [rcx + 0x6c]
xor eax, dword [rsp + 0x24]
mov esi, dword [rsp + 0x38]
mov dword [rsp + 0x5c], edi
mov ebx, dword [rcx + 0x70]
mov dword [rcx + 0x7c], edi
xor r8d, edi
xor r15d, dword [rcx + 0x60]
mov r9d, dword [rsp + 0x48]
mov dword [rsp + 0x54], eax
mov dword [rcx + 0x98], eax
mov eax, edi
mov edi, dword [rsp + 0x40]
xor r11d, esi
xor ebx, esi
mov rsi, qword [rsp + 8]
xor dword [rcx + 0x24], eax
mov dword [rsp + 0x60], r15d
mov eax, r8d
mov dword [rcx + 0x88], r15d
mov r15, qword [rsp + 0x28]
movzx eax, ah
xor r9d, edi
mov r10, qword [rsp + 0x10]
mov ebp, dword [rcx + 0x74]
mov dword [rcx + 0x2c], r9d
mov r9d, r8d
mov r12d, dword [rsi + rax*4]
shr r9d, 0x10
mov rax, qword [rsp + 0x18]
movzx r9d, r9b
mov r13d, dword [r15 + r9*4]
movzx r9d, r8b
shr r8d, 0x18
xor dword [rcx + 0x28], r11d
xor ebp, edi
mov edi, dword [r10 + r8*4]
mov r8d, ebx
mov r14d, dword [rax + r9*4]
shr r8d, 0x18
movzx eax, bh
mov r11d, dword [r10 + r8*4]
movzx r8d, bl
shr ebx, 0x10
mov r10d, dword [rsi + rax*4]
mov rax, qword [rsp + 0x18]
xor edi, r14d
xor edi, r13d
xor edi, r12d
mov r9d, dword [rax + r8*4]
movzx r8d, bl
mov ebx, r11d
mov esi, dword [r15 + r8*4]
mov r8d, ebp
shr r8d, 0x18
xor ebx, r9d
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
mov r8d, dword [r15 + r8*4]
movzx r15d, bpl
mov r15d, dword [rax + r15*4]
mov eax, ebp
xor r11d, ebx
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]
xor r14d, r9d
mov eax, dword [rsp + 0x24]
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
mov ebp, dword [r15 + rbp*4]
xor r11d, r9d
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 eax, r13d
mov dword [rsp + 0x70], eax
mov eax, ebx
xor eax, r10d
xor r9d, ebp
mov dword [rsp + 0x7c], eax
mov ebp, r14d
xor r8d, r9d
mov r9d, edi
xor r9d, r11d
xor ebp, r8d
mov dword [rsp + 0x48], r9d
mov r9d, r11d
shl r9d, 8
mov dword [rsp + 0x78], ebp
mov ebp, r14d
mov eax, r9d
mov r9d, r14d
shr ebp, 0x10
shr r9d, 0x18
xor eax, esi
xor ebp, esi
xor r9d, edi
and eax, 0xff000000
movzx ebp, bpl
movzx r9d, r9b
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
xor r11d, r8d
or r9d, ebp
movzx r14d, bl
mov ebx, dword [rcx + 0x64]
xor r13d, edi
mov ebp, r10d
and r11d, 0xff000000
shr r10d, 8
or r11d, r14d
and r13d, 0xff0000
xor r10d, esi
or r11d, r13d
shr ebp, 0x10
and r10d, 0xff00
xor ebp, edi
mov edi, dword [rcx + 0x68]
mov r14, r15
or r11d, r10d
and ebp, 0xff00
mov esi, r11d
mov dword [rsp + 0x68], r11d
or r9d, ebp
mov dword [rcx + 0x78], r11d
mov r11d, dword [rcx + 0x60]
xor ebx, r9d
xor edi, esi
mov dword [rsp + 0x44], r9d
movzx ebp, bh
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
movzx eax, sil
mov r8d, dword [r15 + rax*4]
xor r10d, r9d
mov eax, r11d
movzx r9d, r11b
mov r15, qword [rsp + 8]
shr r11d, 0x18
mov dword [rcx + 0x1c], r10d
movzx eax, ah
mov r9d, dword [r12 + r9*4]
mov r10d, ebx
mov esi, dword [r13 + r11*4]
shr r10d, 0x18
movzx r11d, bl
mov r10d, dword [r13 + r10*4]
mov eax, dword [r15 + rax*4]
mov ebp, dword [r15 + rbp*4]
xor esi, r9d
mov r15d, dword [r12 + r11*4]
xor esi, r8d
xor esi, eax
shr ebx, 0x10
mov dword [rsp + 0x24], eax
mov rax, r12
movzx r11d, bl
mov ebx, r10d
xor ebx, r15d
xor ebx, dword [r14 + r11*4]
mov r11d, edi
xor r9d, r15d
shr r11d, 0x18
mov r15, qword [rsp + 8]
mov r13d, dword [r13 + r11*4]
mov r11d, edi
shr r11d, 0x10
movzx r11d, r11b
xor ebx, ebp
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]
mov eax, dword [rsp + 0x7c]
shr r9d, 0x18
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 eax, ebp
xor eax, r8d
xor r9d, r10d
mov r10d, esi
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 r10d, 8
and edi, 0xff000000
shl r13d, 0x18
xor r10d, r8d
xor r13d, r8d
and r10d, 0xff00
and r13d, 0xff000000
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 esi, edi
xor r11d, r14d
or r13d, eax
mov dword [rcx + 0x68], edi
mov ebx, esi
mov esi, dword [rcx + 0x5c]
movzx ebp, r11b
xor r8d, r10d
or ebp, r13d
xor edi, dword [rsp + 0x6c]
mov r14, qword [rsp + 0x10]
mov dword [rcx + 0x6c], ebp
xor esi, ebp
xor ebp, dword [rsp + 0x30]
mov r15d, esi
mov esi, dword [rsp + 0x58]
mov dword [rcx + 0x10], edi
mov rdi, qword [rsp + 0x28]
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 r10d, dword [r14 + r8*4]
movzx r8d, bl
shr ebx, 0x10
mov r8d, dword [r12 + r8*4]
mov dword [rsp + 0x18], esi
movzx ebx, bl
xor r13d, r11d
xor r13d, esi
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 r8d, r11d
xor r9d, esi
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]
movzx ebx, r15b
mov esi, dword [rsp + 0x18]
mov qword [rsp + 0x18], rax
mov ebx, dword [rax + rbx*4]
mov eax, r15d
xor r10d, r11d
movzx eax, ah
mov r15, qword [rsp + 0x10]
xor esi, edi
mov dword [rsp + 0x24], esi
mov esi, dword [rbp + rax*4]
xor r11d, ebx
xor r8d, ebx
xor r11d, edi
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x18]
mov eax, dword [rsp + 0x24]
xor esi, r11d
mov r11d, dword [rsp + 0x34]
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]
xor eax, r14d
movzx ebx, bh
mov ebp, dword [rbp + rbx*4]
movzx ebx, byte [rsp + 0x70]
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 + 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
xor ebp, esi
xor r14d, r12d
shl r10d, 0x18
and ebp, 0xff000000
movzx r14d, r14b
shr r8d, 8
or ebp, r14d
mov r14d, eax
xor r10d, edi
shl r14d, 0x10
xor r8d, esi
shr eax, 8
xor r14d, edi
and r10d, 0xff000000
movzx r8d, r8b
and r14d, 0xff0000
xor eax, r13d
or r10d, r8d
or ebp, r14d
mov r14d, r9d
shr r9d, 8
shr r14d, 0x10
and eax, 0xff0000
xor r9d, r12d
xor r14d, r13d
or r10d, eax
and r9d, 0xff00
and r14d, 0xff00
or r10d, r9d
mov r8d, 2
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 0x47a766
mov eax, dword [rdx]
bswap eax
sub qword [rsp + 0xe0], 4
mov dword [rsp + 0x24], eax
add rdx, 4
mov r10, r15
xor ebx, dword [rcx + 0x30]
mov eax, dword [rsp + 0x44]
mov esi, dword [rsp + 0x50]
xor eax, dword [rsp + 0x24]
xor esi, dword [rcx + 0x3c]
mov dword [rsp + 0x48], ebx
mov r8d, dword [rcx + 0x48]
mov dword [rcx + 0x58], ebx
mov edi, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
mov r15, qword [rsp + 0x28]
mov dword [rcx + 0x74], eax
mov eax, ebx
mov ebp, dword [rcx + 0x50]
xor dword [rcx + 0x90], eax
xor r8d, ebx
mov dword [rsp + 0x50], esi
mov ebx, dword [rcx + 0x4c]
mov dword [rcx + 0x64], esi
mov eax, r8d
mov r9d, r8d
mov esi, dword [rsp + 0x34]
movzx eax, ah
shr r9d, 0x10
movzx r9d, r9b
xor ebp, edi
mov r13d, dword [r15 + r9*4]
movzx r9d, r8b
shr r8d, 0x18
xor ebx, esi
xor r11d, esi
mov esi, dword [rsp + 0x54]
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]
movzx ebx, bl
mov rax, qword [rsp + 0x18]
xor edi, r14d
xor edi, r13d
mov r9d, dword [rax + r8*4]
mov r8d, r11d
xor edi, r12d
mov esi, dword [r15 + rbx*4]
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
mov r8d, dword [r15 + r8*4]
movzx r15d, bpl
mov r15d, dword [rax + r15*4]
mov eax, ebp
xor r11d, ebx
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]
xor r14d, r9d
mov eax, dword [rsp + 0x24]
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
mov ebp, dword [r15 + rbp*4]
xor r11d, r9d
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 eax, r13d
mov dword [rsp + 0x70], eax
mov eax, ebx
xor eax, r10d
xor r9d, ebp
mov dword [rsp + 0x7c], eax
mov ebp, r14d
xor r8d, r9d
mov r9d, edi
xor r9d, r11d
xor ebp, r8d
mov dword [rsp + 0x6c], r9d
mov r9d, r11d
shl r9d, 8
mov dword [rsp + 0x78], ebp
mov ebp, r14d
mov eax, r9d
mov r9d, r14d
shr ebp, 0x10
shr r9d, 0x18
xor eax, esi
xor ebp, esi
xor r9d, edi
and eax, 0xff000000
movzx ebp, bpl
movzx r9d, r9b
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
xor r8d, r11d
mov r11d, dword [rcx + 0x3c]
shr r14d, 8
or r9d, ebp
xor ebx, r14d
mov ebp, r10d
shr r13d, 8
shr r10d, 8
movzx r14d, bl
xor r13d, edi
mov ebx, dword [rcx + 0x40]
xor r10d, esi
shr ebp, 0x10
and r8d, 0xff000000
xor r11d, eax
xor eax, dword [rsp + 0x40]
xor ebp, edi
or r8d, r14d
and r13d, 0xff0000
mov esi, r10d
mov edi, dword [rcx + 0x44]
and ebp, 0xff00
or r8d, r13d
and esi, 0xff00
or r9d, ebp
or r8d, esi
mov esi, r11d
mov dword [rsp + 0x54], r9d
shr esi, 0x10
mov r14, r15
xor ebx, r9d
mov dword [rcx + 0x50], r9d
xor edi, r8d
movzx ebp, bh
mov dword [rsp + 0x58], r8d
mov dword [rcx + 0x54], r8d
mov dword [rcx + 0x84], eax
mov r10d, dword [rsp + 0x60]
movzx eax, sil
mov r13, qword [rsp + 0x10]
xor dword [rcx + 0x8c], r8d
mov r8d, dword [r15 + rax*4]
mov eax, r11d
mov r15, qword [rsp + 8]
xor r10d, r9d
movzx r9d, r11b
shr r11d, 0x18
mov r9d, dword [r12 + r9*4]
mov dword [rcx + 0x88], r10d
movzx eax, ah
mov r10d, ebx
mov esi, dword [r13 + r11*4]
shr r10d, 0x18
movzx r11d, bl
mov r10d, dword [r13 + r10*4]
mov eax, dword [r15 + rax*4]
mov ebp, dword [r15 + rbp*4]
xor esi, r9d
mov r15d, dword [r12 + r11*4]
xor esi, r8d
xor esi, eax
shr ebx, 0x10
mov dword [rsp + 0x24], eax
mov rax, r12
movzx r11d, bl
mov ebx, r10d
xor ebx, r15d
xor ebx, dword [r14 + r11*4]
mov r11d, edi
xor r9d, r15d
shr r11d, 0x18
mov r15, qword [rsp + 0x18]
mov r13d, dword [r13 + r11*4]
mov r11d, edi
shr r11d, 0x10
movzx r11d, r11b
xor ebx, ebp
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]
mov eax, dword [rsp + 0x7c]
shr r9d, 0x18
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 r15d, r13d
mov dword [rsp + 0x40], r15d
xor eax, ebp
mov ebp, r11d
xor r9d, r10d
xor eax, r8d
mov r10d, ebx
xor r8d, r9d
mov r9d, r14d
xor r10d, r12d
xor r9d, r8d
mov dword [rsp + 0x60], r10d
xor ebp, eax
mov dword [rsp + 0x6c], r9d
mov r9d, r13d
shl r9d, 8
mov dword [rsp + 0x70], ebp
mov ebp, dword [rcx + 0x38]
xor r9d, ebx
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
shl r9d, 0x10
xor r10d, esi
shr r12d, 8
movzx r10d, r10b
xor r9d, r8d
xor r12d, esi
or r15d, r10d
mov r10d, r13d
and r9d, 0xff0000
shl r10d, 0x10
shl r13d, 0x18
and r12d, 0xff0000
mov dword [rcx + 0x40], r15d
mov edi, r10d
xor r13d, r8d
mov r8d, dword [rcx + 0x30]
xor edi, r11d
and r13d, 0xff000000
and edi, 0xff000000
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 + 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
mov dword [rcx + 0x44], edi
xor r11d, r14d
xor r8d, r15d
or r13d, eax
xor ebx, edi
xor edi, dword [rsp + 0x5c]
movzx r12d, r11b
movzx r10d, r8b
or r12d, r13d
mov r13d, r8d
mov r14, qword [rsp + 0x10]
shr r13d, 0x10
xor ebp, r12d
mov dword [rcx + 0x48], r12d
xor r12d, dword [rsp + 0x38]
movzx eax, r13b
xor esi, r15d
mov dword [rcx + 0x7c], edi
mov rdi, qword [rsp + 0x28]
mov dword [rcx + 0x78], esi
mov rsi, qword [rsp + 8]
mov dword [rcx + 0x80], r12d
mov r12, qword [rsp + 0x18]
mov eax, dword [rdi + rax*4]
mov r11d, dword [r12 + r10*4]
mov dword [rsp + 0x24], eax
mov eax, r8d
shr r8d, 0x18
mov r13d, dword [r14 + r8*4]
mov r8d, ebx
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 r8d, dword [r12 + r8*4]
movzx ebx, bl
mov esi, dword [rsi + rax*4]
mov rax, r12
xor r13d, r11d
xor r13d, dword [rsp + 0x24]
mov r12d, r10d
xor r12d, r8d
xor r12d, dword [rdi + rbx*4]
mov ebx, ebp
xor r8d, r11d
shr ebx, 0x10
mov r11d, ebp
shr r11d, 0x18
movzx ebx, bl
xor r13d, r9d
mov r11d, dword [r14 + r11*4]
mov r14, rdi
xor r9d, esi
mov edi, dword [rdi + rbx*4]
movzx ebx, bpl
xor r12d, esi
mov ebx, dword [rax + rbx*4]
mov eax, ebp
mov esi, dword [rsp + 0x24]
movzx ebp, ah
xor r10d, r11d
xor r11d, ebx
xor r8d, ebx
mov rbx, qword [rsp + 0x60]
xor esi, edi
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]
xor eax, r14d
movzx ebx, bh
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
xor ebp, esi
xor r14d, r12d
shl r10d, 0x18
and ebp, 0xff000000
movzx r14d, r14b
shr r8d, 8
or ebp, r14d
mov r14d, eax
xor r10d, edi
shl r14d, 0x10
xor r8d, esi
shr eax, 8
xor r14d, edi
and r10d, 0xff000000
movzx r8d, r8b
and r14d, 0xff0000
xor eax, r13d
or r10d, r8d
or ebp, r14d
mov r14d, r9d
shr r9d, 8
shr r14d, 0x10
and eax, 0xff0000
xor r9d, r12d
xor r14d, r13d
or r10d, eax
and r9d, 0xff00
and r14d, 0xff00
or r10d, r9d
mov r8d, 3
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 0x47a766
mov eax, dword [rdx]
bswap eax
sub qword [rsp + 0xe0], 4
mov dword [rsp + 0x24], eax
add rdx, 4
xor ebx, dword [rcx + 0xc]
mov eax, dword [rsp + 0x54]
mov r8d, dword [rcx + 0x24]
xor eax, dword [rsp + 0x24]
mov esi, dword [rsp + 0x40]
mov dword [rsp + 0x5c], ebx
mov dword [rcx + 0x34], ebx
xor r15d, dword [rcx + 0x18]
xor r8d, ebx
mov edi, dword [rsp + 0x38]
mov dword [rsp + 0x54], eax
mov r9d, dword [rsp + 0x44]
mov dword [rcx + 0x50], eax
mov eax, ebx
mov ebx, dword [rcx + 0x28]
xor r11d, esi
xor dword [rcx + 0x6c], eax
mov dword [rsp + 0x60], r15d
mov eax, r8d
mov dword [rcx + 0x40], r15d
mov r15, qword [rsp + 0x28]
movzx eax, ah
xor r9d, edi
mov r10, qword [rsp + 0x10]
xor ebx, esi
mov rsi, qword [rsp + 8]
mov dword [rcx + 0x74], r9d
mov r9d, r8d
mov ebp, dword [rcx + 0x2c]
shr r9d, 0x10
xor dword [rcx + 0x70], r11d
movzx r9d, r9b
mov r13d, dword [r15 + r9*4]
movzx r9d, r8b
shr r8d, 0x18
mov r12d, dword [rsi + rax*4]
mov rax, qword [rsp + 0x18]
xor ebp, edi
mov edi, dword [r10 + r8*4]
mov r8d, ebx
shr r8d, 0x18
mov r11d, dword [r10 + r8*4]
movzx r8d, bl
mov r14d, dword [rax + r9*4]
movzx eax, bh
shr ebx, 0x10
mov r10d, dword [rsi + rax*4]
movzx ebx, bl
mov rax, qword [rsp + 0x18]
xor edi, r14d
xor edi, r13d
mov r9d, dword [rax + r8*4]
mov r8d, r11d
xor edi, r12d
mov esi, dword [r15 + rbx*4]
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
mov r8d, dword [r15 + r8*4]
movzx r15d, bpl
mov r15d, dword [rax + r15*4]
mov eax, ebp
xor r11d, ebx
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]
xor r14d, r9d
mov eax, dword [rsp + 0x24]
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
mov ebp, dword [r15 + rbp*4]
xor r11d, r9d
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 eax, r13d
mov dword [rsp + 0x70], eax
mov eax, ebx
xor eax, r10d
xor r9d, ebp
mov dword [rsp + 0x7c], eax
mov ebp, r14d
xor r8d, r9d
mov r9d, edi
xor r9d, r11d
xor ebp, r8d
mov dword [rsp + 0x6c], r9d
mov r9d, r11d
shl r9d, 8
mov dword [rsp + 0x78], ebp
mov ebp, r14d
mov eax, r9d
mov r9d, r14d
shr ebp, 0x10
shr r9d, 0x18
xor eax, esi
xor ebp, esi
xor r9d, edi
and eax, 0xff000000
movzx ebp, bpl
movzx r9d, r9b
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
xor r8d, r11d
mov r11d, dword [rcx + 0x18]
shr r14d, 8
or r9d, ebp
xor ebx, r14d
mov ebp, r10d
shr r13d, 8
movzx r14d, bl
xor r13d, edi
shr ebp, 0x10
mov ebx, dword [rcx + 0x1c]
and r8d, 0xff000000
shr r10d, 8
xor ebp, edi
mov edi, dword [rcx + 0x20]
xor r11d, eax
xor eax, dword [rsp + 0x30]
or r8d, r14d
xor r10d, esi
and r13d, 0xff0000
and ebp, 0xff00
or r8d, r13d
and r10d, 0xff00
or r9d, ebp
or r8d, r10d
mov dword [rsp + 0x44], r9d
mov esi, r11d
mov r14, r15
mov dword [rcx + 0x2c], r9d
shr esi, 0x10
xor edi, r8d
xor ebx, r9d
mov dword [rsp + 0x68], r8d
movzx ebp, bh
mov dword [rcx + 0x30], r8d
mov dword [rcx + 0x60], eax
mov r10d, dword [rsp + 0x50]
movzx eax, sil
mov r13, qword [rsp + 0x10]
xor dword [rcx + 0x68], r8d
mov r8d, dword [r15 + rax*4]
mov eax, r11d
mov r15, qword [rsp + 8]
xor r10d, r9d
movzx r9d, r11b
shr r11d, 0x18
mov r9d, dword [r12 + r9*4]
mov dword [rcx + 0x64], r10d
movzx eax, ah
mov r10d, ebx
mov esi, dword [r13 + r11*4]
shr r10d, 0x18
movzx r11d, bl
mov r10d, dword [r13 + r10*4]
mov eax, dword [r15 + rax*4]
mov ebp, dword [r15 + rbp*4]
xor esi, r9d
mov r15d, dword [r12 + r11*4]
xor esi, r8d
xor esi, eax
shr ebx, 0x10
mov dword [rsp + 0x24], eax
mov rax, r12
movzx r11d, bl
mov ebx, r10d
xor ebx, r15d
xor ebx, dword [r14 + r11*4]
mov r11d, edi
xor r9d, r15d
shr r11d, 0x18
mov r15, qword [rsp + 0x18]
mov r13d, dword [r13 + r11*4]
mov r11d, edi
shr r11d, 0x10
movzx r11d, r11b
xor ebx, ebp
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]
mov eax, dword [rsp + 0x7c]
shr r9d, 0x18
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 r15d, r13d
mov dword [rsp + 0x30], r15d
mov r15d, dword [rcx + 0x14]
xor eax, ebp
mov ebp, ebx
xor r9d, r10d
xor eax, r8d
mov r10d, r14d
xor r8d, r9d
mov r9d, r11d
xor ebp, r12d
xor r9d, eax
xor r10d, r8d
mov dword [rsp + 0x70], r9d
mov r9d, r13d
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 r10d, 8
and edi, 0xff000000
shl r13d, 0x18
xor r10d, r8d
xor r13d, r8d
and r10d, 0xff00
and r13d, 0xff000000
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
and r12d, 0xff0000
mov r8d, dword [rcx + 0xc]
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
shr r14d, 8
mov dword [rcx + 0x20], edi
xor r8d, r10d
xor r11d, r14d
xor esi, r10d
xor ebx, edi
xor edi, dword [rsp + 0x48]
or r13d, eax
movzx r12d, r11b
mov dword [rcx + 0x54], esi
mov esi, r8d
or r12d, r13d
mov r14, qword [rsp + 0x10]
shr esi, 0x10
xor r15d, r12d
mov dword [rcx + 0x24], r12d
xor r12d, dword [rsp + 0x34]
movzx eax, sil
movzx r10d, r8b
mov rsi, qword [rsp + 8]
mov dword [rcx + 0x58], edi
mov rdi, qword [rsp + 0x28]
mov dword [rcx + 0x5c], r12d
mov r12, qword [rsp + 0x18]
mov eax, dword [rdi + rax*4]
mov r11d, dword [r12 + r10*4]
mov dword [rsp + 0x24], eax
mov eax, r8d
shr r8d, 0x18
mov r13d, dword [r14 + r8*4]
mov r8d, ebx
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 r8d, dword [r12 + r8*4]
movzx ebx, bl
mov esi, dword [rsi + rax*4]
mov rax, r12
xor r13d, r11d
xor r13d, dword [rsp + 0x24]
mov r12d, r10d
xor r12d, r8d
xor r12d, dword [rdi + rbx*4]
mov ebx, r15d
xor r8d, r11d
shr ebx, 0x10
mov r11d, r15d
shr r11d, 0x18
movzx ebx, bl
xor r13d, r9d
mov r11d, dword [r14 + r11*4]
mov r14, rdi
xor r9d, esi
mov edi, dword [rdi + rbx*4]
movzx ebx, r15b
xor r12d, esi
mov ebx, dword [rax + rbx*4]
mov eax, r15d
mov esi, dword [rsp + 0x24]
movzx eax, ah
xor r10d, r11d
mov r15, qword [rsp + 0x10]
xor r11d, ebx
xor r8d, ebx
mov rbx, rbp
xor esi, edi
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]
xor eax, r14d
movzx ebx, bh
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 ebx, r10d
and ebx, 0xff000000
xor r11d, r14d
mov r14d, r8d
mov edi, r11d
mov r11d, r12d
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
xor ebp, esi
xor r14d, r12d
shl r10d, 0x18
and ebp, 0xff000000
movzx r14d, r14b
shr r8d, 8
or ebp, r14d
mov r14d, eax
xor r10d, edi
shl r14d, 0x10
xor r8d, esi
shr eax, 8
xor r14d, edi
and r10d, 0xff000000
movzx r8d, r8b
and r14d, 0xff0000
xor eax, r13d
or r10d, r8d
or ebp, r14d
mov r14d, r9d
shr r9d, 8
and eax, 0xff0000
shr r14d, 0x10
xor r9d, r12d
or r10d, eax
xor r14d, r13d
mov eax, r9d
and r14d, 0xff00
and eax, 0xff00
xor r8d, r8d
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 0x47b0b8
mov eax, dword [rsp + 0xe0]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0xe0]
sub rax, 1
cmp qword [rsp + 0xe0], 0
je 0x47b188
lea r10, [rdx + rax + 1]
xor eax, eax
nop word [rax + rax]
movzx r9d, byte [rdx]
shl eax, 8
add rdx, 1
or eax, r9d
cmp r10, rdx
jne 0x47a798
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 0x47b0f0
jbe 0x479109
cmp r8d, 3
je 0x47a81a
jmp 0x47a766
add r9d, dword [rsp + 0xe0]
cmp qword [rsp + 0xe0], 0
je 0x47b0d8
mov eax, dword [rsp + 0xe0]
lea r8d, [rax - 1]
jmp 0x479083
cmp r8d, 3
jne 0x47b190
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, [0x00600220]
mov qword [rsp + 0x28], rax
lea rax, [0x005ffe20]
mov qword [rsp + 8], rax
lea rax, [0x005ffa20]
mov qword [rsp + 0x18], rax
lea rax, [0x00600620]
mov qword [rsp + 0x10], rax
jmp 0x47a03a
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, [0x00600220]
mov qword [rsp + 0x28], rax
lea rax, [0x005ffe20]
mov qword [rsp + 8], rax
lea rax, [0x005ffa20]
mov qword [rsp + 0x18], rax
lea rax, [0x00600620]
mov qword [rsp + 0x10], rax
mov edi, dword [rsp + 0x30]
xor r11d, dword [rcx + 0x78]
mov r9d, dword [rcx + 0x90]
mov eax, dword [rsp + 0x44]
xor eax, dword [rsp + 0x24]
xor ebx, edi
mov esi, dword [rsp + 0x50]
mov dword [rsp + 0x6c], r11d
xor esi, dword [rcx + 0x84]
xor r9d, r11d
mov dword [rcx + 0x10], r11d
xor dword [rcx + 0x4c], ebx
mov r10d, r9d
mov rbx, qword [rsp + 8]
mov dword [rsp + 0x48], eax
shr r10d, 0x10
mov r8d, dword [rcx + 0x94]
movzx r10d, r10b
mov r15d, dword [rsp + 0x34]
mov dword [rcx + 0x2c], eax
mov eax, r9d
mov ebp, dword [rsp + 0x54]
movzx eax, ah
mov dword [rsp + 0x50], esi
mov r13, qword [rsp + 0x28]
mov dword [rcx + 0x1c], esi
xor r8d, edi
mov esi, dword [rcx + 0x98]
mov edi, dword [rbx + rax*4]
mov rax, qword [rsp + 0x10]
xor ebp, r15d
xor dword [rcx + 0x48], r11d
mov dword [rcx + 0x50], ebp
mov ebp, dword [r13 + r10*4]
movzx r10d, r9b
shr r9d, 0x18
xor esi, r15d
mov r15, qword [rsp + 0x18]
mov r14d, dword [rax + r9*4]
mov r9d, r8d
shr r9d, 0x18
mov r11d, dword [rax + r9*4]
mov eax, r8d
movzx r9d, r8b
shr r8d, 0x10
movzx eax, ah
mov r12d, dword [r15 + r10*4]
movzx r8d, r8b
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 r14d, ebp
xor r15d, r9d
xor r14d, edi
xor ebx, r15d
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
mov r8d, dword [r13 + r8*4]
movzx r13d, sil
mov r13d, dword [rax + r13*4]
mov eax, esi
xor r11d, ebx
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]
xor r12d, r9d
mov eax, dword [rsp + 0x24]
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
mov esi, dword [r13 + rsi*4]
xor r11d, r9d
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
xor ebx, r12d
shl r11d, 0x18
or r9d, esi
xor r8d, r11d
movzx r11d, bl
mov ebx, dword [rcx + 0x84]
mov esi, r10d
shr ebp, 8
and r8d, 0xff000000
shr esi, 0x10
xor ebp, r14d
shr r10d, 8
xor esi, r14d
or r11d, r8d
and ebp, 0xff0000
xor r10d, r15d
xor ebx, eax
xor eax, dword [rsp + 0x38]
and esi, 0xff00
or r11d, ebp
and r10d, 0xff00
or r9d, esi
or r11d, r10d
mov esi, ebx
mov ebx, dword [rcx + 0x8c]
mov dword [rsp + 0x44], r9d
mov r15d, r11d
mov dword [rcx + 0x98], r9d
mov rbp, r13
mov dword [rsp + 0x58], r11d
mov dword [rcx + 0xc], r11d
mov r11d, dword [rcx + 0x88]
mov dword [rcx + 0x3c], eax
mov r10d, dword [rsp + 0x60]
xor ebx, r15d
xor dword [rcx + 0x44], r15d
mov r15d, esi
shr r15d, 0x10
mov r12, qword [rsp + 8]
xor r11d, r9d
movzx eax, r15b
mov r15, rdi
xor r10d, r9d
movzx r9d, sil
mov r8d, dword [r13 + rax*4]
mov eax, esi
mov r9d, dword [rdi + r9*4]
shr esi, 0x18
movzx eax, ah
mov dword [rcx + 0x40], r10d
mov rdi, qword [rsp + 0x10]
mov r10d, r11d
mov eax, dword [r12 + rax*4]
shr r10d, 0x18
mov r14d, dword [rdi + rsi*4]
mov r10d, dword [rdi + r10*4]
movzx edi, r11b
mov dword [rsp + 0x24], eax
mov r13d, dword [r15 + rdi*4]
xor r14d, r9d
xor r14d, r8d
xor r14d, eax
mov eax, r11d
shr r11d, 0x10
movzx esi, ah
movzx r11d, r11b
mov rax, rbp
mov r12d, dword [r12 + rsi*4]
mov esi, r10d
xor r9d, r13d
xor esi, r13d
mov r13, rax
mov edi, esi
xor edi, dword [rbp + r11*4]
mov r11d, ebx
shr r11d, 0x18
mov dword [rsp + 0x38], r12d
mov esi, edi
mov rdi, qword [rsp + 0x10]
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 r11d, ebp
mov r15, qword [rsp + 8]
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 ebx, eax
mov dword [rsp + 0x60], ebx
xor r9d, r10d
mov r10d, esi
xor r8d, r9d
mov r9d, r14d
xor r10d, edi
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 r11d, r12d
or ebp, eax
mov eax, dword [rcx + 0x7c]
mov dword [rcx + 0x8c], ebx
movzx edi, r11b
mov r12, qword [rsp + 8]
xor r8d, r15d
or ebp, edi
mov edi, dword [rcx + 0x78]
mov dword [rcx + 0x30], r8d
xor esi, ebp
mov dword [rcx + 0x90], ebp
xor ebp, dword [rsp + 0x40]
xor eax, ebx
xor ebx, dword [rsp + 0x5c]
xor edi, r15d
mov r11d, edi
mov r8d, edi
mov dword [rcx + 0x38], ebp
movzx ebp, ah
mov dword [rcx + 0x34], ebx
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 r12, r14
mov rbx, qword [rsp + 0x18]
mov edi, dword [r13 + r8*4]
movzx r8d, r11b
shr r11d, 0x18
mov r13d, dword [r10 + r11*4]
mov r11, qword [rsp + 0x18]
mov ebx, dword [rbx + r8*4]
mov r8d, eax
shr r8d, 0x18
mov r10d, dword [r10 + r8*4]
movzx r8d, al
shr eax, 0x10
mov r8d, dword [r11 + r8*4]
movzx r11d, al
xor r13d, ebx
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
mov ebp, dword [r12 + rax*4]
xor r10d, r11d
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]
mov r12d, r8d
movzx esi, byte [rsp + 0x54]
xor r9d, edi
xor r11d, dword [rax + rsi*4]
mov eax, dword [rsp + 0x24]
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
xor ebp, ebx
xor r12d, r14d
shl eax, 0x10
and ebp, 0xff000000
movzx r12d, r12b
shl r10d, 0x18
or ebp, r12d
mov r12d, eax
mov eax, dword [rsp + 0x24]
shr r8d, 8
xor r12d, esi
xor r10d, esi
xor r8d, ebx
and r12d, 0xff0000
and r10d, 0xff000000
movzx r8d, r8b
or ebp, r12d
mov r12d, r9d
shr r9d, 8
shr eax, 8
or r10d, r8d
shr r12d, 0x10
xor eax, r13d
xor r9d, r14d
xor r12d, r13d
and eax, 0xff0000
and r12d, 0xff00
mov r8d, 1
or r10d, eax
mov eax, r9d
or ebp, r12d
and eax, 0xff00
mov dword [rsp + 0x38], ebp
or r10d, eax
mov dword [rcx + 0x80], ebp
cmp qword [rsp + 0xe0], 4
mov dword [rsp + 0x40], r10d
mov dword [rcx + 0x84], r10d
jbe 0x47a766
mov eax, dword [rdx]
bswap eax
sub qword [rsp + 0xe0], 4
mov dword [rsp + 0x24], eax
add rdx, 4
jmp 0x479198
mov eax, dword [rdx]
bswap eax
sub qword [rsp + 0xe0], 4
mov dword [rsp + 0x24], eax
add rdx, 4
jmp 0x47a91d
mov eax, dword [rsp + 0x24]
mov dword [rcx + 4], r9d
mov dword [rcx], eax
jmp 0x47a7b1
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, [0x00600220]
mov qword [rsp + 0x28], rax
lea rax, [0x005ffe20]
mov qword [rsp + 8], rax
lea rax, [0x005ffa20]
mov qword [rsp + 0x18], rax
lea rax, [0x00600620]
mov qword [rsp + 0x10], rax
mov r10, rax
jmp 0x4798e9
xor eax, eax
jmp 0x47a7ab
mov eax, dword [rsp + 0xe0]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0xe0]
sub rax, 1
jmp 0x47a78b