Function at 0x471340
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, 0xd8
mov rax, r8
mov qword [rsp + 0x130], r8
mov r8d, dword [rcx + 4]
shl rax, 3
add qword [rcx + 0xa0], rax
mov eax, dword [rcx]
mov dword [rsp + 0x20], eax
cmp r8d, 3
ja 0x471490
mov eax, 4
sub eax, r8d
cmp rax, qword [rsp + 0x130]
ja 0x4714d0
mov eax, 3
mov r11d, 4
sub eax, r8d
mov r9d, dword [rsp + 0x20]
movzx r10d, byte [rdx]
shl r9d, 8
mov esi, r10d
or esi, r9d
mov dword [rsp + 0x20], esi
test eax, eax
je 0x471400
movzx r10d, byte [rdx + 1]
shl esi, 8
mov r9d, esi
mov esi, r10d
or esi, r9d
mov dword [rsp + 0x20], esi
cmp eax, 1
je 0x471400
movzx r10d, byte [rdx + 2]
shl esi, 8
mov r9d, esi
mov esi, r10d
or esi, r9d
mov dword [rsp + 0x20], esi
cmp eax, 2
je 0x471400
movzx r10d, byte [rdx + 3]
shl esi, 8
or r10d, esi
mov dword [rsp + 0x20], r10d
mov rsi, qword [rsp + 0x130]
lea rdx, [rdx + rax + 1]
lea r8, [rsi - 1]
sub r8, rax
mov qword [rsp + 0x130], r8
je 0x4737a0
mov eax, dword [rcx + 8]
cmp eax, 1
je 0x472c00
cmp eax, 2
je 0x4720a0
test eax, eax
je 0x471500
mov esi, dword [rsp + 0x130]
mov dword [rcx + 4], esi
mov rsi, qword [rsp + 0x130]
lea r8, [rsi - 1]
nop dword [rax]
lea r10, [rdx + r8 + 1]
xor r8d, r8d
movzx r9d, byte [rdx]
shl r8d, 8
add rdx, 1
or r8d, r9d
cmp r10, rdx
jne 0x471460
mov dword [rcx], r8d
mov dword [rcx + 8], eax
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rcx + 8]
cmp eax, 1
je 0x472c00
cmp eax, 2
je 0x4720a0
test eax, eax
je 0x471500
mov esi, dword [rsp + 0x130]
mov dword [rcx + 4], esi
mov rsi, qword [rsp + 0x130]
lea r8, [rsi - 1]
test rsi, rsi
jne 0x471458
xor r8d, r8d
jmp 0x471474
mov r11d, dword [rsp + 0x130]
add r11d, r8d
cmp qword [rsp + 0x130], 0
je 0x4737a0
mov eax, dword [rsp + 0x130]
sub eax, 1
jmp 0x4713a1
mov eax, dword [rcx + 0x64]
mov edi, dword [rcx + 0xc]
mov r11d, dword [rcx + 0x10]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0x2c]
mov dword [rsp + 0xb8], eax
mov eax, dword [rcx + 0x6c]
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x58], eax
mov eax, dword [rcx + 0x78]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x28]
mov dword [rsp + 0x68], eax
mov eax, dword [rcx + 0x94]
mov dword [rsp + 0x8c], 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 + 0x48]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x4c]
mov dword [rsp + 0x90], eax
mov eax, dword [rcx + 0x3c]
mov dword [rsp + 0xac], eax
mov eax, dword [rcx + 0x40]
mov dword [rsp + 0x98], eax
mov eax, dword [rcx + 0x44]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x7c]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0x80]
mov dword [rsp + 0x9c], eax
mov eax, dword [rcx + 0x30]
mov dword [rsp + 0xb0], eax
mov eax, dword [rcx + 0x34]
mov dword [rsp + 0xa8], eax
mov eax, dword [rcx + 0x38]
mov dword [rsp + 0xa0], eax
mov eax, dword [rcx + 0x70]
mov dword [rsp + 0x4c], eax
mov eax, dword [rcx + 0x74]
mov dword [rsp + 0x3c], eax
mov eax, dword [rcx + 0x24]
mov dword [rsp + 0x5c], eax
lea rax, [0x005f3b60]
mov qword [rsp + 0x18], rax
lea rax, [0x005f3760]
mov qword [rsp + 0x10], rax
lea rax, [0x005f3360]
mov qword [rsp], rax
lea rax, [0x005f3f60]
mov qword [rsp + 8], rax
xor edi, dword [rsp + 0x44]
mov ebp, dword [rsp + 0x24]
mov ebx, dword [rcx + 0x90]
xor r11d, dword [rsp + 0x48]
mov dword [rsp + 0x40], edi
mov r15d, dword [rsp + 0x34]
mov esi, dword [rsp + 0x58]
mov dword [rcx + 0x64], edi
xor ebx, r11d
xor esi, dword [rsp + 0x38]
mov r14d, dword [rsp + 0x28]
mov dword [rcx + 0x10], r11d
mov edi, dword [rsp + 0x90]
xor r15d, r11d
mov r10d, dword [rcx + 0x84]
mov dword [rcx + 0x1c], esi
mov dword [rsp + 0x58], esi
mov esi, dword [rcx + 0x98]
xor edi, ebp
mov dword [rcx + 0x48], r15d
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x88], edi
mov r13, qword [rsp]
xor esi, r14d
mov dword [rcx + 0x4c], edi
mov edi, ebx
xor r14d, dword [rcx + 0x50]
xor eax, ebp
shr edi, 0x10
mov dword [rsp + 0x44], r15d
mov r15, qword [rsp + 0x18]
movzx r8d, dil
mov dword [rsp + 0x80], r11d
mov r11, qword [rsp + 0x10]
movzx edi, bh
mov r12d, dword [r15 + r8*4]
movzx r8d, bl
mov dword [rcx + 0x50], r14d
shr ebx, 0x18
mov ebp, dword [r11 + rdi*4]
mov r13d, dword [r13 + r8*4]
mov dword [rsp + 0x60], r10d
movzx edi, ah
mov dword [rsp + 0x90], r14d
mov r10, qword [rsp + 8]
mov r9d, dword [r11 + rdi*4]
mov rdi, qword [rsp]
mov r14d, dword [r10 + rbx*4]
mov ebx, eax
mov r11, qword [rsp + 8]
shr ebx, 0x18
mov r8d, ebx
xor r14d, r13d
mov r10d, dword [r10 + r8*4]
movzx r8d, al
shr eax, 0x10
xor r14d, r12d
mov r8d, dword [rdi + r8*4]
movzx eax, al
movzx edi, sil
xor r14d, ebp
mov ebx, r10d
xor ebx, r8d
xor ebx, dword [r15 + rax*4]
mov eax, esi
xor ebx, r9d
shr eax, 0x18
mov dword [rsp + 0x18], ebx
mov rbx, qword [rsp]
mov r11d, dword [r11 + rax*4]
mov eax, esi
mov edi, dword [rbx + rdi*4]
shr eax, 0x10
mov ebx, esi
movzx eax, al
xor r10d, r11d
movzx esi, bh
mov rbx, qword [rsp + 0x10]
mov eax, dword [r15 + rax*4]
xor r8d, edi
xor r11d, edi
mov edi, dword [rsp + 0x20]
xor r13d, r8d
xor r11d, eax
mov r8d, edi
xor r11d, dword [rbx + rsi*4]
mov rsi, qword [rsp + 8]
shr r8d, 0x18
mov r8d, dword [rsi + r8*4]
mov esi, edi
shr esi, 0x10
movzx esi, sil
xor r10d, r8d
mov esi, dword [r15 + rsi*4]
xor eax, esi
xor r12d, eax
mov eax, edi
mov rdi, qword [rsp]
movzx eax, ah
mov eax, dword [rbx + rax*4]
mov ebx, dword [rsp + 0x18]
xor r9d, eax
xor ebp, r9d
movzx r9d, byte [rsp + 0x20]
xor r8d, dword [rdi + r9*4]
mov edi, r13d
mov r9d, r14d
xor r8d, esi
mov esi, ebx
xor r9d, r10d
xor eax, r8d
mov r8d, r13d
xor esi, r12d
mov dword [rsp + 0x64], r9d
xor edi, eax
shr r8d, 0x18
mov dword [rsp + 0x70], esi
mov esi, r11d
mov dword [rsp + 0x78], edi
mov edi, r10d
xor r8d, r14d
xor esi, ebp
shl edi, 8
movzx r8d, r8b
mov dword [rsp + 0x84], esi
xor edi, ebx
and edi, 0xff000000
or edi, r8d
mov r8d, r12d
shl r8d, 8
xor r8d, r11d
and r8d, 0xff0000
or edi, r8d
mov r8d, ebp
shl r8d, 8
mov r9d, edi
xor r8d, eax
and r8d, 0xff00
or r9d, r8d
mov r8d, r10d
mov esi, r9d
mov dword [rsp + 0xbc], r9d
shl r8d, 0x10
mov dword [rcx + 0x94], r9d
mov r9d, r13d
xor r8d, r11d
shr r9d, 0x10
and r8d, 0xff000000
xor r9d, ebx
movzx r9d, r9b
or r8d, r9d
mov r9d, r12d
shl r9d, 0x10
xor r9d, eax
and r9d, 0xff0000
or r8d, r9d
shr r13d, 8
mov r9d, ebp
shl r10d, 0x18
xor r11d, r13d
shr r12d, 8
xor r10d, eax
movzx r13d, r11b
xor r12d, r14d
shr r9d, 0x10
and r10d, 0xff000000
shr ebp, 8
xor r9d, r14d
and r12d, 0xff0000
or r10d, r13d
xor ebp, ebx
and r9d, 0xff00
or r10d, r12d
and ebp, 0xff00
or r8d, r9d
or r10d, ebp
mov dword [rsp + 0xc0], r8d
mov r11d, r10d
mov dword [rcx + 0x98], r8d
mov dword [rsp + 0x6c], r10d
mov r14d, dword [rcx + 0x88]
mov ebp, dword [rsp + 0xac]
mov edi, dword [rcx + 0x8c]
mov dword [rcx + 0xc], r10d
mov r10d, dword [rsp + 0x60]
xor r14d, r8d
mov r12, qword [rsp + 8]
xor ebp, esi
mov ebx, r14d
xor edi, r11d
xor r10d, esi
mov dword [rsp + 0x34], ebp
mov dword [rcx + 0x3c], ebp
mov r14d, r10d
mov ebp, dword [rsp + 0x98]
movzx r9d, r10b
shr r14d, 0x10
xor ebp, r8d
movzx eax, r14b
mov r14, r15
mov r8d, dword [r15 + rax*4]
mov r15, qword [rsp + 0x10]
mov dword [rcx + 0x40], ebp
mov eax, r10d
mov dword [rsp + 0xc8], ebp
mov ebp, dword [rsp + 0x30]
movzx eax, ah
shr r10d, 0x18
mov qword [rsp + 0x18], r14
xor ebp, r11d
mov r11d, dword [r15 + rax*4]
mov rax, qword [rsp]
mov dword [rsp + 0xcc], ebp
mov r9d, dword [rax + r9*4]
mov dword [rcx + 0x44], ebp
mov ebp, dword [r12 + r10*4]
mov dword [rsp + 0x30], r11d
xor ebp, r9d
mov esi, ebp
mov ebp, ebx
shr ebp, 0x18
xor esi, r8d
mov r10d, ebp
xor esi, r11d
movzx ebp, bh
movzx r11d, bl
mov r10d, dword [r12 + r10*4]
mov ebp, dword [r15 + rbp*4]
shr ebx, 0x10
mov r15d, dword [rax + r11*4]
movzx r11d, bl
mov ebx, r10d
xor ebx, r15d
xor ebx, dword [r14 + r11*4]
mov r11d, edi
xor r9d, r15d
shr r11d, 0x18
xor ebx, ebp
mov r13d, dword [r12 + 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 + 0x10]
xor r11d, r14d
xor r14d, r9d
mov r9d, dword [rsp + 0x64]
xor r11d, r12d
xor r11d, dword [rax + rdi*4]
mov rdi, qword [rsp + 8]
shr r9d, 0x18
mov r15, qword [rsp + 0x18]
mov eax, dword [rsp + 0x84]
mov r9d, dword [rdi + r9*4]
movzx edi, ah
mov eax, dword [rsp + 0x30]
xor r10d, r9d
xor r13d, r10d
mov r10, qword [rsp + 0x70]
xor eax, ebp
mov rbp, qword [rsp]
shr r10, 0x10
and r10d, 0xff
mov r10d, dword [r15 + r10*4]
mov r15d, r11d
xor r8d, r10d
xor r12d, r8d
mov r8, rdi
mov rdi, qword [rsp + 0x10]
mov r8d, dword [rdi + r8*4]
movzx edi, byte [rsp + 0x78]
xor eax, r8d
xor r9d, dword [rbp + rdi*4]
mov edi, ebx
xor r15d, eax
xor r9d, r10d
xor edi, r12d
mov dword [rsp + 0x84], r15d
mov r15d, r13d
xor r8d, r9d
mov r9d, esi
shl r15d, 8
xor r9d, r13d
mov dword [rsp + 0x70], edi
xor r15d, ebx
mov dword [rsp + 0x64], r9d
mov r9d, r14d
mov r10d, r15d
mov r15d, r12d
xor r9d, r8d
shl r15d, 8
mov dword [rsp + 0x78], r9d
and r10d, 0xff000000
xor r15d, r11d
mov r9d, r15d
and r9d, 0xff0000
or r10d, r9d
mov r9d, eax
shl r9d, 8
mov r15d, r10d
xor r9d, r8d
and r9d, 0xff00
or r15d, r9d
mov r9d, r14d
shr r9d, 0x18
mov r10d, r15d
xor r9d, esi
movzx r9d, r9b
or r10d, r9d
mov r9d, r13d
shl r13d, 0x18
shl r9d, 0x10
mov r15d, r10d
xor r13d, r8d
mov dword [rsp + 0x98], r10d
xor r9d, r11d
mov dword [rcx + 0x88], r10d
and r13d, 0xff000000
mov r10d, r9d
mov r9d, r12d
shr r12d, 8
shl r9d, 0x10
and r10d, 0xff000000
xor r12d, esi
xor r9d, r8d
and r12d, 0xff0000
mov r8d, dword [rsp + 0x38]
and r9d, 0xff0000
or r13d, r12d
mov r12d, dword [rsp + 0x9c]
or r9d, r10d
mov r10d, eax
shr eax, 8
shr r10d, 0x10
xor eax, ebx
xor r10d, esi
and eax, 0xff00
and r10d, 0xff00
or r9d, r10d
mov r10d, r14d
shr r10d, 0x10
xor r10d, ebx
movzx r10d, r10b
or r9d, r10d
or r13d, eax
shr r14d, 8
xor r8d, r15d
xor r11d, r14d
mov r10d, r8d
mov r8d, dword [rsp + 0xa0]
mov dword [rsp + 0x8c], r9d
movzx eax, r11b
mov dword [rcx + 0x8c], r9d
mov r11d, dword [rsp + 0x50]
or r13d, eax
xor r12d, r13d
xor r8d, r13d
mov dword [rcx + 0x90], r13d
xor r11d, r9d
mov ebx, r12d
mov r12d, dword [rsp + 0xb0]
mov dword [rcx + 0x38], r8d
mov r8d, r10d
shr r8d, 0x10
mov dword [rsp + 0xac], r13d
xor r12d, r15d
movzx eax, r8b
movzx r8d, r10b
mov dword [rcx + 0x30], r12d
mov r12d, dword [rsp + 0xa8]
xor r12d, r9d
mov dword [rsp + 0x30], r12d
mov dword [rcx + 0x34], r12d
mov r15, qword [rsp + 0x18]
mov r12, rbp
mov r14, qword [rsp + 0x10]
mov edi, dword [rbp + r8*4]
mov r8d, r11d
mov eax, dword [r15 + rax*4]
shr r8d, 0x18
mov dword [rsp + 0x18], eax
mov eax, r10d
shr r10d, 0x18
movzx esi, ah
mov eax, r11d
mov r9d, dword [r14 + rsi*4]
mov rsi, qword [rsp + 8]
mov r13d, dword [rsi + r10*4]
mov r10d, dword [rsi + r8*4]
movzx r8d, r11b
movzx esi, ah
mov r8d, dword [r12 + r8*4]
shr r11d, 0x10
mov ebp, dword [r14 + rsi*4]
movzx r11d, r11b
mov esi, r10d
xor r13d, edi
xor r13d, dword [rsp + 0x18]
xor esi, r8d
xor r8d, edi
xor esi, dword [r15 + r11*4]
mov rdi, qword [rsp + 8]
mov r11d, ebx
xor r13d, r9d
xor esi, ebp
xor r9d, ebp
shr r11d, 0x18
mov rbp, qword [rsp]
mov eax, dword [rsp + 0x18]
mov qword [rsp + 0x18], r15
mov edi, dword [rdi + r11*4]
mov r11d, ebx
shr r11d, 0x10
movzx r11d, r11b
xor r10d, edi
mov r12d, dword [r15 + r11*4]
movzx r11d, bl
movzx ebx, bh
mov ebp, dword [rbp + r11*4]
mov r11d, dword [r14 + rbx*4]
mov ebx, dword [rsp + 0x64]
xor eax, r12d
xor edi, ebp
xor r8d, ebp
xor edi, r12d
shr ebx, 0x18
xor r11d, edi
mov rdi, qword [rsp + 8]
mov ebx, dword [rdi + rbx*4]
mov rdi, qword [rsp + 0x70]
xor r10d, ebx
mov dword [rsp + 0x38], ebx
shr rdi, 0x10
mov ebx, dword [rsp + 0x84]
and edi, 0xff
mov r12d, dword [r15 + rdi*4]
movzx edi, bh
mov rbx, qword [rsp]
mov ebp, dword [r14 + rdi*4]
movzx edi, byte [rsp + 0x78]
mov r15d, dword [rsp + 0x38]
xor eax, r12d
xor r15d, dword [rbx + rdi*4]
xor r9d, ebp
mov edi, r8d
mov ebx, r15d
shr edi, 0x18
xor ebx, r12d
xor edi, r13d
mov r12d, r13d
xor ebp, ebx
mov ebx, r8d
movzx edi, dil
xor r12d, r10d
xor ebx, ebp
mov dword [rsp + 0x38], r12d
mov r12d, esi
mov r14d, ebx
mov ebx, r11d
xor r12d, eax
xor ebx, r9d
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x64], ebx
mov ebx, r10d
shl ebx, 8
xor ebx, esi
and ebx, 0xff000000
or ebx, edi
mov edi, eax
shl edi, 8
xor edi, r11d
and edi, 0xff0000
or ebx, edi
mov edi, r9d
shl edi, 8
mov r15d, ebx
mov ebx, r8d
xor edi, ebp
shr ebx, 0x10
and edi, 0xff00
xor ebx, esi
or r15d, edi
mov edi, r10d
movzx ebx, bl
shl edi, 0x10
mov dword [rcx + 0x7c], r15d
xor edi, r11d
and edi, 0xff000000
or edi, ebx
mov ebx, eax
shl ebx, 0x10
xor ebx, ebp
shl r10d, 0x18
shr r8d, 8
xor r10d, ebp
shr eax, 8
and ebx, 0xff0000
xor r8d, r11d
xor eax, r13d
and r10d, 0xff000000
or edi, ebx
movzx r8d, r8b
and eax, 0xff0000
mov ebx, r9d
shr r9d, 8
or r10d, r8d
xor r9d, esi
shr ebx, 0x10
mov esi, dword [rsp + 0x4c]
or r10d, eax
xor ebx, r13d
mov r11d, dword [rsp + 0x48]
mov rbp, qword [rsp + 0x10]
and r9d, 0xff00
mov r8d, r10d
and ebx, 0xff00
mov r10d, dword [rsp + 0x20]
or r8d, r9d
mov r9d, dword [rsp + 0x5c]
or ebx, edi
xor r11d, r15d
xor esi, ebx
xor r10d, dword [rsp + 0xb8]
mov dword [rcx + 0x80], ebx
xor r9d, r15d
mov eax, esi
mov esi, dword [rsp + 0x3c]
xor r10d, r8d
mov dword [rcx + 0x24], r9d
mov r9d, dword [rsp + 0x60]
xor r9d, dword [rsp + 0x68]
xor esi, r8d
mov dword [rcx + 0x2c], r10d
xor ebx, r9d
mov r13, qword [rsp + 0x18]
mov r10, qword [rsp + 8]
mov dword [rsp + 0x9c], r8d
mov dword [rcx + 0x84], r8d
mov r8d, r11d
mov dword [rcx + 0x28], ebx
mov ebx, r11d
shr r8d, 0x10
movzx ebx, bh
movzx r8d, r8b
mov r9d, dword [rbp + rbx*4]
mov rbx, qword [rsp]
movzx ebp, ah
mov edi, dword [r13 + r8*4]
movzx r8d, r11b
shr r11d, 0x18
mov ebx, dword [rbx + r8*4]
mov r8d, dword [r10 + r11*4]
mov r11, qword [rsp]
xor r8d, ebx
mov r12d, r8d
mov r8d, eax
xor r12d, edi
shr r8d, 0x18
mov r10d, dword [r10 + r8*4]
mov r8, rbp
mov rbp, qword [rsp + 0x10]
xor r12d, r9d
mov ebp, dword [rbp + r8*4]
movzx r8d, al
shr eax, 0x10
mov r8d, dword [r11 + r8*4]
movzx r11d, al
mov eax, r10d
xor r9d, ebp
xor eax, r8d
xor eax, dword [r13 + r11*4]
mov r11, qword [rsp + 8]
xor r8d, ebx
xor eax, ebp
mov rbx, qword [rsp + 0x18]
mov r13d, eax
mov eax, esi
shr eax, 0x18
mov r11d, dword [r11 + rax*4]
mov eax, esi
shr eax, 0x10
movzx eax, al
xor r10d, r11d
mov ebp, dword [rbx + rax*4]
mov eax, edi
mov rdi, qword [rsp]
movzx ebx, sil
mov edi, dword [rdi + rbx*4]
xor eax, ebp
mov ebx, esi
movzx esi, bh
xor r11d, edi
xor r8d, edi
mov rdi, qword [rsp + 0x18]
xor r11d, ebp
mov rbp, qword [rsp + 0x10]
mov ebx, dword [rbp + rsi*4]
mov rsi, qword [rsp + 8]
xor ebx, r11d
mov r11d, dword [rsp + 0x38]
shr r11d, 0x18
mov r11d, dword [rsi + r11*4]
mov rsi, qword [rsp + 0x50]
shr rsi, 0x10
xor r10d, r11d
and esi, 0xff
mov ebp, dword [rdi + rsi*4]
xor eax, ebp
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x64]
movzx esi, ah
mov rax, qword [rsp + 0x10]
mov edi, dword [rax + rsi*4]
mov rax, qword [rsp]
movzx esi, r14b
xor r11d, dword [rax + rsi*4]
mov eax, dword [rsp + 0x20]
xor r9d, edi
xor r11d, ebp
mov ebp, r8d
mov esi, r11d
mov r11d, r12d
xor r11d, r10d
xor esi, edi
mov edi, r11d
mov r11d, r13d
xor r11d, eax
and edi, 0xff000000
and r11d, 0xff0000
or r11d, edi
mov edi, r8d
xor edi, esi
movzx edi, dil
or r11d, edi
mov edi, ebx
shl eax, 8
xor edi, r9d
mov r14d, r11d
mov r11d, r10d
shr ebp, 0x10
and edi, 0xff00
shl r11d, 8
xor ebp, r13d
or r14d, edi
mov edi, r8d
xor r11d, r13d
movzx ebp, bpl
shr edi, 0x18
and r11d, 0xff000000
mov dword [rcx + 0x6c], r14d
xor edi, r12d
movzx edi, dil
or r11d, edi
mov edi, eax
mov eax, dword [rsp + 0x20]
xor edi, ebx
and edi, 0xff0000
shl eax, 0x10
or r11d, edi
mov edi, r9d
shl edi, 8
xor edi, esi
and edi, 0xff00
or r11d, edi
mov edi, r10d
shl edi, 0x10
mov dword [rcx + 0x70], r11d
xor edi, ebx
and edi, 0xff000000
or edi, ebp
mov ebp, eax
mov eax, dword [rsp + 0x20]
xor ebp, esi
and ebp, 0xff0000
or edi, ebp
mov ebp, r9d
shr ebp, 0x10
xor ebp, r12d
and ebp, 0xff00
or edi, ebp
shl r10d, 0x18
shr r8d, 8
xor r10d, esi
shr eax, 8
mov dword [rsp + 0x3c], edi
xor r8d, ebx
and r10d, 0xff000000
xor eax, r12d
mov dword [rcx + 0x74], edi
shr r9d, 8
movzx r8d, r8b
and eax, 0xff0000
or r10d, r8d
xor r9d, r13d
or r10d, eax
and r9d, 0xff00
mov eax, 1
or r10d, r9d
cmp qword [rsp + 0x130], 4
mov dword [rsp + 0x38], r10d
mov dword [rcx + 0x78], r10d
jbe 0x4714a9
mov r9d, dword [rdx]
bswap r9d
sub qword [rsp + 0x130], 4
add rdx, 4
mov dword [rsp + 0x20], r9d
jmp 0x472d01
mov eax, dword [rcx + 0x94]
mov edi, dword [rcx + 0x3c]
mov r11d, dword [rcx + 0x40]
mov dword [rsp + 0x24], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x78], eax
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0x4c]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rcx + 0x58]
mov dword [rsp + 0x70], eax
mov eax, dword [rcx + 0x34]
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x44]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x48]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x78]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x7c]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 0x6c]
mov dword [rsp + 0x68], eax
mov eax, dword [rcx + 0x70]
mov dword [rsp + 0x4c], eax
mov eax, dword [rcx + 0x74]
mov dword [rsp + 0x3c], eax
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x58], eax
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x5c], eax
mov eax, dword [rcx + 0x60]
mov dword [rsp + 0x84], eax
mov eax, dword [rcx + 0x64]
mov dword [rsp + 0x60], eax
mov eax, dword [rcx + 0x68]
mov dword [rsp + 0x64], eax
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x6c], eax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x80], eax
mov eax, dword [rcx + 0x54]
mov dword [rsp + 0x88], eax
lea rax, [0x005f3b60]
mov qword [rsp + 0x18], rax
lea rax, [0x005f3760]
mov qword [rsp + 0x10], rax
lea rax, [0x005f3360]
mov qword [rsp], rax
lea rax, [0x005f3f60]
mov qword [rsp + 8], rax
mov esi, dword [rsp + 0x44]
xor esi, dword [rsp + 0x28]
mov ebp, dword [rsp + 0x30]
mov ebx, dword [rcx + 0x30]
mov dword [rsp + 0x90], esi
xor r11d, dword [rsp + 0x40]
xor edi, dword [rsp + 0x24]
mov dword [rcx + 0x4c], esi
mov esi, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x38]
xor ebx, r11d
mov dword [rcx + 0x40], r11d
mov r14d, dword [rsp + 0x34]
mov dword [rsp + 0x8c], edi
xor esi, ebp
mov dword [rcx + 0x94], edi
mov edi, dword [rcx + 0x38]
xor r15d, r11d
mov dword [rsp + 0x50], esi
mov r10d, dword [rcx + 0x24]
mov dword [rcx + 0x7c], esi
mov esi, ebx
xor edi, r14d
xor r14d, dword [rcx + 0x80]
shr esi, 0x10
mov dword [rcx + 0x78], r15d
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x38], r15d
mov r15, qword [rsp + 0x18]
movzx r8d, sil
movzx esi, bh
mov dword [rsp + 0x98], r11d
mov r11, qword [rsp]
xor eax, ebp
mov dword [rsp + 0x9c], r14d
mov r12d, dword [r15 + r8*4]
movzx r8d, bl
shr ebx, 0x18
mov dword [rcx + 0x80], r14d
mov r14, qword [rsp + 0x10]
mov r13d, dword [r11 + r8*4]
mov dword [rsp + 0x24], r10d
mov ebp, dword [r14 + rsi*4]
mov r10, qword [rsp + 8]
mov esi, dword [r10 + rbx*4]
mov ebx, eax
shr ebx, 0x18
mov r8d, ebx
movzx ebx, ah
xor esi, r13d
mov r10d, dword [r10 + r8*4]
movzx r8d, al
shr eax, 0x10
mov r9d, dword [r14 + rbx*4]
mov r8d, dword [r11 + r8*4]
movzx eax, al
mov r14, qword [rsp + 8]
xor esi, r12d
mov ebx, r10d
xor esi, ebp
xor ebx, r8d
xor ebx, dword [r15 + rax*4]
mov eax, edi
xor ebx, r9d
shr eax, 0x18
mov r11d, dword [r14 + rax*4]
mov dword [rsp + 0x18], ebx
mov eax, edi
movzx r14d, dil
mov rbx, qword [rsp]
shr eax, 0x10
movzx eax, al
xor r10d, r11d
mov r14d, dword [rbx + r14*4]
mov ebx, edi
mov eax, dword [r15 + rax*4]
movzx edi, bh
mov rbx, qword [rsp + 0x10]
xor r11d, r14d
xor r8d, r14d
mov r14, qword [rsp + 8]
xor r11d, eax
xor r11d, dword [rbx + rdi*4]
mov edi, dword [rsp + 0x20]
xor r13d, r8d
mov r8d, edi
shr r8d, 0x18
mov r8d, dword [r14 + r8*4]
mov r14d, edi
shr edi, 0x10
movzx edi, dil
mov edi, dword [r15 + rdi*4]
xor r10d, r8d
xor eax, edi
xor r12d, eax
mov eax, r14d
mov r14, qword [rsp]
movzx eax, ah
mov eax, dword [rbx + rax*4]
xor r9d, eax
xor ebp, r9d
movzx r9d, byte [rsp + 0x20]
xor r8d, dword [r14 + r9*4]
mov r9d, r13d
mov r14d, dword [rsp + 0x18]
xor r8d, edi
mov edi, esi
xor eax, r8d
mov r8d, r10d
mov ebx, r14d
xor edi, r10d
xor r9d, eax
shl r8d, 8
xor ebx, r12d
mov dword [rsp + 0xb8], edi
mov dword [rsp + 0xbc], r9d
mov r9d, r13d
xor r8d, r14d
mov edi, r11d
shr r9d, 0x18
and r8d, 0xff000000
mov dword [rsp + 0xb0], ebx
xor edi, ebp
xor r9d, esi
mov dword [rsp + 0xc0], edi
movzx r9d, r9b
or r8d, r9d
mov r9d, r12d
shl r9d, 8
xor r9d, r11d
and r9d, 0xff0000
or r8d, r9d
mov r9d, ebp
shl r9d, 8
xor r9d, eax
and r9d, 0xff00
or r8d, r9d
mov r9d, r13d
mov ebx, r8d
mov dword [rsp + 0xa8], r8d
shr r9d, 0x10
mov dword [rcx + 0x34], r8d
mov r8d, r10d
xor r9d, r14d
shl r8d, 0x10
movzx r9d, r9b
xor r8d, r11d
and r8d, 0xff000000
or r8d, r9d
mov r9d, r12d
shl r9d, 0x10
xor r9d, eax
and r9d, 0xff0000
or r8d, r9d
shl r10d, 0x18
mov r9d, ebp
shr r13d, 8
xor eax, r10d
shr r12d, 8
xor r11d, r13d
xor r12d, esi
and eax, 0xff000000
shr r9d, 0x10
movzx r13d, r11b
and r12d, 0xff0000
shr ebp, 8
xor r9d, esi
or eax, r13d
xor ebp, r14d
and r9d, 0xff00
mov r14, r15
or eax, r12d
and ebp, 0xff00
or r8d, r9d
mov r9d, ebx
mov r11d, eax
mov dword [rsp + 0xa0], r8d
mov edi, r8d
or r11d, ebp
mov dword [rcx + 0x38], r8d
mov dword [rsp + 0xac], r11d
mov dword [rcx + 0x3c], r11d
mov esi, dword [rsp + 0x3c]
mov r10d, dword [rsp + 0x24]
mov ebp, dword [rsp + 0x68]
mov qword [rsp + 0x18], r14
xor esi, r11d
xor edi, dword [rcx + 0x28]
mov r13, qword [rsp + 0x10]
xor r10d, ebx
xor ebp, r9d
mov dword [rsp + 0x3c], esi
mov ebx, edi
mov edi, dword [rcx + 0x2c]
mov r12, qword [rsp + 8]
mov dword [rcx + 0x74], esi
mov esi, r10d
shr esi, 0x10
mov dword [rsp + 0x48], ebp
movzx r9d, r10b
mov dword [rcx + 0x6c], ebp
mov ebp, dword [rsp + 0x4c]
movzx eax, sil
xor edi, r11d
xor ebp, r8d
mov r8d, dword [r15 + rax*4]
mov eax, r10d
shr r10d, 0x18
movzx eax, ah
mov esi, dword [r12 + r10*4]
mov dword [rsp + 0x4c], ebp
mov r11d, dword [r13 + rax*4]
mov rax, qword [rsp]
mov dword [rcx + 0x70], ebp
mov ebp, ebx
shr ebp, 0x18
mov r9d, dword [rax + r9*4]
mov r10d, ebp
mov dword [rsp + 0x44], r11d
movzx ebp, bh
mov r10d, dword [r12 + r10*4]
mov ebp, dword [r13 + rbp*4]
xor esi, r9d
xor esi, r8d
xor esi, r11d
movzx r11d, bl
shr ebx, 0x10
mov r15d, dword [rax + r11*4]
movzx r11d, bl
mov ebx, r10d
xor ebx, r15d
xor ebx, dword [r14 + r11*4]
mov r11d, edi
xor r9d, r15d
shr r11d, 0x18
xor ebx, ebp
mov r13d, dword [r12 + 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 + 0x10]
xor r11d, r14d
xor r14d, r9d
xor r11d, r12d
xor r11d, dword [rax + rdi*4]
mov edi, dword [rsp + 0xb8]
shr edi, 0x18
mov r9d, edi
mov rdi, qword [rsp + 8]
mov r9d, dword [rdi + r9*4]
mov r15, qword [rsp + 0x18]
mov eax, dword [rsp + 0xc0]
xor r10d, r9d
xor r13d, r10d
mov r10, qword [rsp + 0xb0]
movzx edi, ah
mov eax, dword [rsp + 0x44]
shr r10, 0x10
xor eax, ebp
mov rbp, qword [rsp]
and r10d, 0xff
mov r10d, dword [r15 + r10*4]
mov r15d, ebx
xor r8d, r10d
xor r12d, r8d
mov r8, rdi
mov rdi, qword [rsp + 0x10]
xor r15d, r12d
mov r8d, dword [rdi + r8*4]
movzx edi, byte [rsp + 0xbc]
mov dword [rsp + 0xc0], r15d
mov r15d, r14d
xor r9d, dword [rbp + rdi*4]
xor eax, r8d
mov edi, r13d
xor r9d, r10d
shl edi, 8
mov r10d, r11d
xor r8d, r9d
mov r9d, esi
xor r10d, eax
xor r9d, r13d
mov dword [rsp + 0xc8], r10d
xor r15d, r8d
mov dword [rsp + 0xbc], r9d
mov r9d, edi
mov edi, r12d
xor r9d, ebx
shl edi, 8
mov r10d, r9d
mov r9d, edi
xor r9d, r11d
and r10d, 0xff000000
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
xor r10d, esi
movzx r10d, r10b
or r9d, r10d
mov edi, r9d
mov dword [rsp + 0x68], r9d
mov dword [rcx + 0x28], r9d
mov r9d, r13d
shl r13d, 0x18
shl r9d, 0x10
xor r13d, r8d
xor r9d, r11d
and r13d, 0xff000000
mov r10d, r9d
mov r9d, r12d
shr r12d, 8
shl r9d, 0x10
and r10d, 0xff000000
xor r12d, esi
xor r9d, r8d
and r12d, 0xff0000
and r9d, 0xff0000
or r13d, r12d
or r9d, r10d
mov r10d, eax
shr eax, 8
shr r10d, 0x10
xor eax, ebx
xor r10d, esi
and eax, 0xff00
mov esi, dword [rsp + 0x60]
and r10d, 0xff00
or r9d, r10d
mov r10d, r14d
shr r10d, 0x10
xor r10d, ebx
movzx r10d, r10b
or r9d, r10d
or r13d, eax
shr r14d, 8
xor r11d, r14d
mov r8d, r13d
mov r14, qword [rsp + 0x18]
xor esi, r9d
movzx eax, r11b
mov r11d, dword [rsp + 0x28]
mov dword [rsp + 0x44], esi
or r8d, eax
mov eax, dword [rsp + 0x5c]
mov dword [rcx + 0x64], esi
xor r11d, edi
mov esi, dword [rsp + 0x64]
mov dword [rcx + 0x2c], r9d
xor eax, r8d
mov r10d, r11d
mov dword [rcx + 0x30], r8d
mov r11d, dword [rsp + 0x58]
mov ebx, eax
mov eax, dword [rsp + 0x84]
xor esi, r8d
mov dword [rsp + 0xb8], r9d
xor r11d, r9d
mov dword [rsp + 0xb0], r8d
movzx r8d, r10b
xor eax, edi
mov dword [rcx + 0x68], esi
mov dword [rcx + 0x60], eax
mov eax, r10d
shr eax, 0x10
movzx eax, al
mov eax, dword [r14 + rax*4]
mov dword [rsp + 0x18], eax
mov eax, r10d
mov r13, qword [rsp + 0x10]
shr r10d, 0x18
movzx esi, ah
mov eax, r11d
mov ebp, dword [rbp + r8*4]
mov r12, qword [rsp + 8]
shr eax, 0x18
mov r9d, dword [r13 + rsi*4]
mov r8d, eax
mov eax, r11d
mov edi, dword [r12 + r10*4]
movzx esi, ah
mov r10d, dword [r12 + r8*4]
movzx r8d, r11b
shr r11d, 0x10
mov r12d, dword [r13 + rsi*4]
mov rsi, qword [rsp]
movzx r11d, r11b
xor edi, ebp
xor edi, dword [rsp + 0x18]
mov eax, dword [rsp + 0x18]
mov qword [rsp + 0x18], r14
mov r8d, dword [rsi + r8*4]
mov esi, r10d
xor edi, r9d
xor r9d, r12d
xor esi, r8d
xor esi, dword [r14 + r11*4]
mov r11d, ebx
xor r8d, ebp
xor esi, r12d
mov r12, qword [rsp + 8]
shr r11d, 0x18
mov ebp, dword [r12 + r11*4]
mov r11d, ebx
mov r12, qword [rsp]
shr r11d, 0x10
movzx r11d, r11b
xor r10d, ebp
mov r13d, dword [r14 + r11*4]
movzx r11d, bl
movzx ebx, bh
mov r12d, dword [r12 + r11*4]
xor eax, r13d
xor ebp, r12d
xor r8d, r12d
xor ebp, r13d
mov r13, qword [rsp + 0x10]
mov r11d, dword [r13 + rbx*4]
mov ebx, dword [rsp + 0xbc]
xor r11d, ebp
mov rbp, qword [rsp + 8]
shr ebx, 0x18
mov ebx, dword [rbp + rbx*4]
mov rbp, qword [rsp + 0xc0]
xor r10d, ebx
mov dword [rsp + 0x28], ebx
shr rbp, 0x10
mov ebx, dword [rsp + 0xc8]
and ebp, 0xff
mov r13d, dword [r14 + rbp*4]
movzx ebp, bh
mov rbx, qword [rsp + 0x10]
mov r12d, dword [rbx + rbp*4]
mov rbx, qword [rsp]
movzx ebp, r15b
xor eax, r13d
mov r15d, dword [rsp + 0x28]
xor r15d, dword [rbx + rbp*4]
mov ebp, edi
xor r9d, r12d
xor ebp, r10d
mov ebx, r15d
mov r15d, r11d
mov r14d, ebp
mov ebp, esi
xor ebx, r13d
mov r13d, r8d
xor ebp, eax
xor r12d, ebx
mov ebx, r10d
xor r15d, r9d
mov dword [rsp + 0x28], ebp
mov ebp, r8d
shl ebx, 8
xor r13d, r12d
shr ebp, 0x18
xor ebx, esi
mov dword [rsp + 0x60], r13d
xor ebp, edi
and ebx, 0xff000000
mov dword [rsp + 0x64], r15d
mov r15d, r10d
movzx ebp, bpl
shl r15d, 0x10
or ebx, ebp
mov ebp, eax
xor r15d, r11d
shl ebp, 8
and r15d, 0xff000000
xor ebp, r11d
and ebp, 0xff0000
or ebx, ebp
mov ebp, r9d
mov r13d, ebx
mov ebx, r8d
shl ebp, 8
shr ebx, 0x10
xor ebp, r12d
xor ebx, esi
and ebp, 0xff00
movzx ebx, bl
or r13d, ebp
mov ebp, dword [rsp + 0x80]
or r15d, ebx
mov ebx, eax
mov dword [rsp + 0x58], r13d
shl ebx, 0x10
mov dword [rcx + 0x1c], r13d
xor ebx, r12d
shl r10d, 0x18
shr r8d, 8
and ebx, 0xff0000
xor r10d, r12d
shr eax, 8
or r15d, ebx
mov ebx, r9d
xor r8d, r11d
xor eax, edi
shr ebx, 0x10
movzx r8d, r8b
shr r9d, 8
and eax, 0xff0000
xor ebx, edi
and r10d, 0xff000000
xor r9d, esi
mov r12, qword [rsp]
and ebx, 0xff00
or r10d, r8d
mov r8d, dword [rsp + 0x40]
and r9d, 0xff00
or r15d, ebx
or r10d, eax
mov ebx, dword [rsp + 0x6c]
mov r11, qword [rsp + 0x10]
or r10d, r9d
xor r8d, r13d
mov r9d, dword [rsp + 0x24]
xor r9d, dword [rsp + 0x70]
xor ebx, r15d
mov dword [rcx + 0x20], r15d
mov esi, r8d
xor r15d, r9d
shr esi, 0x10
mov dword [rcx + 0x58], r15d
mov r15, qword [rsp + 0x18]
xor ebp, r10d
movzx eax, sil
mov edi, r10d
mov dword [rcx + 0x24], r10d
mov r9d, dword [rsp + 0x20]
mov eax, dword [r15 + rax*4]
xor r9d, dword [rsp + 0x78]
mov dword [rsp + 0x5c], r10d
mov r10d, dword [rsp + 0x88]
xor r9d, edi
mov dword [rsp + 0x20], eax
mov eax, r8d
xor r10d, r13d
movzx esi, ah
mov rax, qword [rsp + 8]
mov dword [rcx + 0x5c], r9d
mov r9d, dword [r11 + rsi*4]
mov r13d, dword [rsp + 0x20]
mov dword [rcx + 0x54], r10d
movzx r10d, r8b
shr r8d, 0x18
mov esi, dword [r12 + r10*4]
mov edi, dword [rax + r8*4]
mov r8d, ebx
xor edi, esi
xor r13d, edi
shr r8d, 0x18
movzx edi, bh
mov r10d, dword [rax + r8*4]
movzx r8d, bl
shr ebx, 0x10
mov edi, dword [r11 + rdi*4]
mov r8d, dword [r12 + r8*4]
movzx ebx, bl
xor r13d, r9d
shr r14d, 0x18
mov r12d, dword [r15 + rbx*4]
mov r11d, r10d
mov ebx, ebp
xor r9d, edi
xor r11d, r8d
shr ebx, 0x18
xor r8d, esi
xor r12d, r11d
mov r11d, ebx
mov ebx, ebp
shr ebx, 0x10
mov r11d, dword [rax + r11*4]
mov rsi, qword [rsp]
xor r12d, edi
movzx ebx, bl
mov eax, dword [rsp + 0x20]
mov edi, dword [r15 + rbx*4]
movzx ebx, bpl
xor r10d, r11d
mov esi, dword [rsi + rbx*4]
mov ebx, ebp
xor eax, edi
movzx ebp, bh
xor r11d, esi
xor r8d, esi
xor r11d, edi
mov rdi, qword [rsp + 0x10]
xor r11d, dword [rdi + rbp*4]
mov ebx, r11d
mov r11d, r14d
mov r14, qword [rsp + 8]
mov r11d, dword [r14 + r11*4]
mov r14, qword [rsp + 0x28]
shr r14, 0x10
xor r10d, r11d
mov rsi, r14
and esi, 0xff
mov r14d, dword [r15 + rsi*4]
xor eax, r14d
mov r15d, eax
mov eax, dword [rsp + 0x64]
movzx esi, ah
mov eax, r15d
mov ebp, dword [rdi + rsi*4]
movzx edi, byte [rsp + 0x60]
mov rsi, qword [rsp]
xor r9d, ebp
xor r11d, dword [rsi + rdi*4]
mov edi, r13d
xor r11d, r14d
xor edi, r10d
mov r14d, r8d
mov esi, r11d
mov r11d, r12d
and edi, 0xff000000
xor r11d, r15d
xor esi, ebp
mov ebp, r8d
and r11d, 0xff0000
or edi, r11d
mov r11d, r8d
xor r11d, esi
movzx r11d, r11b
or edi, r11d
mov r11d, ebx
shr ebp, 0x18
shl eax, 8
xor r11d, r9d
xor ebp, r13d
shr r14d, 0x10
and r11d, 0xff00
movzx ebp, bpl
xor r14d, r12d
or edi, r11d
mov r11d, r10d
movzx r14d, r14b
shl r11d, 8
mov dword [rcx + 0xc], edi
xor r11d, r12d
and r11d, 0xff000000
or r11d, ebp
mov ebp, eax
mov eax, r15d
xor ebp, ebx
shl eax, 0x10
and ebp, 0xff0000
or r11d, ebp
mov ebp, r9d
shl ebp, 8
xor ebp, esi
and ebp, 0xff00
or r11d, ebp
mov ebp, r10d
shl ebp, 0x10
mov dword [rcx + 0x10], r11d
xor ebp, ebx
and ebp, 0xff000000
or ebp, r14d
mov r14d, eax
mov eax, r15d
xor r14d, esi
and r14d, 0xff0000
or ebp, r14d
mov r14d, r9d
shr r14d, 0x10
xor r14d, r13d
and r14d, 0xff00
or ebp, r14d
shl r10d, 0x18
shr r8d, 8
xor r10d, esi
shr eax, 8
mov dword [rsp + 0x24], ebp
xor r8d, ebx
and r10d, 0xff000000
xor eax, r13d
mov dword [rcx + 0x14], ebp
shr r9d, 8
movzx r8d, r8b
and eax, 0xff0000
or r10d, r8d
xor r9d, r12d
or r10d, eax
and r9d, 0xff00
xor eax, eax
or r10d, r9d
cmp qword [rsp + 0x130], 4
mov dword [rsp + 0x28], r10d
mov dword [rcx + 0x18], r10d
jbe 0x4714a9
mov r9d, dword [rdx]
bswap r9d
sub qword [rsp + 0x130], 4
add rdx, 4
mov dword [rsp + 0x20], r9d
jmp 0x4715f1
mov eax, dword [rcx + 0x34]
mov r14d, dword [rcx + 0x6c]
mov r11d, dword [rcx + 0x70]
mov r15d, dword [rcx + 0x7c]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0x8c]
mov dword [rsp + 0x8c], eax
mov eax, dword [rcx + 0x3c]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x48]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx + 0x88]
mov dword [rsp + 0x98], eax
mov eax, dword [rcx + 0x64]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0x74]
mov dword [rsp + 0x3c], eax
mov eax, dword [rcx + 0x78]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x58], eax
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x6c], eax
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x80], eax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x24], eax
mov eax, dword [rcx + 0x4c]
mov dword [rsp + 0x88], eax
mov eax, dword [rcx + 0x50]
mov dword [rsp + 0x90], eax
mov eax, dword [rcx + 0x90]
mov dword [rsp + 0xac], eax
mov eax, dword [rcx + 0x94]
mov dword [rsp + 0xbc], eax
mov eax, dword [rcx + 0x98]
mov dword [rsp + 0xc0], eax
mov eax, dword [rcx + 0x40]
mov dword [rsp + 0xc8], eax
mov eax, dword [rcx + 0x44]
mov dword [rsp + 0xcc], eax
mov eax, dword [rcx + 0x84]
mov dword [rsp + 0x9c], eax
lea rax, [0x005f3b60]
mov qword [rsp + 0x18], rax
lea rax, [0x005f3760]
mov qword [rsp + 0x10], rax
lea rax, [0x005f3360]
mov qword [rsp], rax
lea rax, [0x005f3f60]
mov qword [rsp + 8], rax
xor r15d, dword [rsp + 0x44]
mov ebp, dword [rsp + 0x3c]
mov esi, dword [rsp + 0x58]
mov ebx, dword [rcx + 0x60]
mov dword [rsp + 0x50], r15d
xor r11d, dword [rsp + 0x34]
xor r14d, dword [rsp + 0x30]
mov dword [rcx + 0x7c], r15d
mov edi, dword [rcx + 0x68]
mov r15d, dword [rsp + 0x38]
xor ebx, r11d
xor esi, ebp
mov dword [rsp + 0x48], r14d
mov r10d, dword [rcx + 0x54]
mov dword [rcx + 0x34], r14d
mov r14d, dword [rsp + 0x28]
xor edi, r15d
xor r15d, dword [rcx + 0x20]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x58], esi
mov dword [rcx + 0x1c], esi
mov esi, ebx
xor r14d, r11d
shr esi, 0x10
mov dword [rsp + 0x5c], r15d
xor eax, ebp
mov dword [rcx + 0x20], r15d
mov r15, qword [rsp + 0x18]
movzx r8d, sil
movzx esi, bh
mov dword [rsp + 0x4c], r11d
mov dword [rcx + 0x70], r11d
mov r11, qword [rsp]
mov dword [rsp + 0x30], r10d
mov r10, qword [rsp + 8]
mov dword [rsp + 0x28], r14d
mov r12d, dword [r15 + r8*4]
movzx r8d, bl
shr ebx, 0x18
mov dword [rcx + 0x18], r14d
mov r14, qword [rsp + 0x10]
mov r13d, dword [r11 + r8*4]
mov ebp, dword [r14 + rsi*4]
mov esi, dword [r10 + rbx*4]
mov ebx, eax
shr ebx, 0x18
mov r8d, ebx
movzx ebx, ah
xor esi, r13d
mov r10d, dword [r10 + r8*4]
movzx r8d, al
shr eax, 0x10
mov r9d, dword [r14 + rbx*4]
mov r8d, dword [r11 + r8*4]
movzx eax, al
mov r14, qword [rsp + 8]
xor esi, r12d
mov ebx, r10d
xor esi, ebp
xor ebx, r8d
xor ebx, dword [r15 + rax*4]
mov eax, edi
xor ebx, r9d
shr eax, 0x18
mov r11d, dword [r14 + rax*4]
mov dword [rsp + 0x18], ebx
mov eax, edi
movzx r14d, dil
mov rbx, qword [rsp]
shr eax, 0x10
movzx eax, al
xor r10d, r11d
mov r14d, dword [rbx + r14*4]
mov ebx, edi
mov eax, dword [r15 + rax*4]
movzx edi, bh
mov rbx, qword [rsp + 0x10]
xor r11d, r14d
xor r8d, r14d
mov r14, qword [rsp + 8]
xor r11d, eax
xor r11d, dword [rbx + rdi*4]
mov edi, dword [rsp + 0x20]
xor r13d, r8d
mov r8d, edi
shr r8d, 0x18
mov r8d, dword [r14 + r8*4]
mov r14d, edi
shr edi, 0x10
movzx edi, dil
mov edi, dword [r15 + rdi*4]
xor r10d, r8d
xor eax, edi
xor r12d, eax
mov eax, r14d
mov r14, qword [rsp]
movzx eax, ah
mov eax, dword [rbx + rax*4]
xor r9d, eax
xor ebp, r9d
movzx r9d, byte [rsp + 0x20]
xor r8d, dword [r14 + r9*4]
mov r9d, r13d
mov r14d, dword [rsp + 0x18]
xor r8d, edi
mov edi, esi
xor eax, r8d
xor edi, r10d
mov r8d, r13d
mov ebx, r14d
xor r9d, eax
mov dword [rsp + 0x70], edi
mov edi, r11d
shr r8d, 0x18
xor edi, ebp
mov dword [rsp + 0x84], r9d
mov r9d, r10d
xor r8d, esi
mov dword [rsp + 0xa8], edi
shl r9d, 8
mov edi, r12d
movzx r8d, r8b
xor r9d, r14d
shl edi, 8
xor ebx, r12d
xor edi, r11d
and r9d, 0xff000000
mov dword [rsp + 0x78], ebx
or r9d, r8d
and edi, 0xff0000
mov r8d, r13d
or r9d, edi
mov edi, ebp
shr r8d, 0x10
shl edi, 8
xor r8d, r14d
xor edi, eax
movzx r8d, r8b
and edi, 0xff00
or r9d, edi
mov ebx, r9d
mov dword [rsp + 0x60], r9d
mov dword [rcx + 0x64], r9d
mov r9d, r10d
shl r9d, 0x10
xor r9d, r11d
and r9d, 0xff000000
or r9d, r8d
mov r8d, r12d
shl r8d, 0x10
xor r8d, eax
and r8d, 0xff0000
or r9d, r8d
shl r10d, 0x18
mov r8d, ebp
shr r13d, 8
xor eax, r10d
shr r12d, 8
xor r11d, r13d
and eax, 0xff000000
xor r12d, esi
shr r8d, 0x10
movzx r13d, r11b
and r12d, 0xff0000
shr ebp, 8
xor r8d, esi
or r13d, eax
xor ebp, r14d
and r8d, 0xff00
mov r14, r15
or r13d, r12d
and ebp, 0xff00
or r9d, r8d
mov r11d, r13d
mov dword [rsp + 0x64], r9d
mov edi, r9d
or r11d, ebp
mov dword [rcx + 0x68], r9d
mov r9d, ebx
mov esi, edi
mov dword [rsp + 0x68], r11d
mov dword [rcx + 0x6c], r11d
mov r10d, dword [rsp + 0x30]
mov ebp, dword [rsp + 0x6c]
xor edi, dword [rcx + 0x58]
mov qword [rsp + 0x18], r14
xor r10d, ebx
mov ebx, edi
mov edi, dword [rcx + 0x5c]
mov r12, qword [rsp + 8]
xor ebp, r9d
movzx r9d, r10b
mov dword [rsp + 0x40], ebp
xor edi, r11d
mov dword [rcx + 0xc], ebp
mov ebp, dword [rsp + 0x80]
mov r13d, edi
xor ebp, esi
mov esi, dword [rsp + 0x24]
mov dword [rsp + 0x6c], ebp
xor esi, r11d
mov dword [rcx + 0x10], ebp
mov ebp, ebx
mov dword [rsp + 0x80], esi
shr ebp, 0x18
mov dword [rcx + 0x14], esi
mov esi, r10d
shr esi, 0x10
movzx eax, sil
mov r8d, dword [r15 + rax*4]
mov r15, qword [rsp + 0x10]
mov eax, r10d
shr r10d, 0x18
movzx eax, ah
mov esi, dword [r12 + r10*4]
mov r10d, ebp
movzx ebp, bh
mov r11d, dword [r15 + rax*4]
mov rax, qword [rsp]
mov r10d, dword [r12 + r10*4]
mov ebp, dword [r15 + rbp*4]
mov r9d, dword [rax + r9*4]
mov dword [rsp + 0x24], r11d
xor esi, r9d
xor esi, r8d
xor esi, r11d
movzx r11d, bl
shr ebx, 0x10
mov r15d, dword [rax + r11*4]
movzx r11d, bl
mov ebx, r10d
xor ebx, r15d
shr r13d, 0x18
xor ebx, dword [r14 + r11*4]
xor r9d, r15d
mov r11d, r13d
xor ebx, ebp
mov r13d, dword [r12 + 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 + 0x10]
xor r11d, r14d
xor r14d, r9d
xor r11d, r12d
xor r11d, dword [rax + rdi*4]
mov edi, dword [rsp + 0x70]
shr edi, 0x18
mov r9d, edi
mov rdi, qword [rsp + 8]
mov r9d, dword [rdi + r9*4]
mov r15, qword [rsp + 0x18]
mov eax, dword [rsp + 0xa8]
xor r10d, r9d
xor r13d, r10d
mov r10, qword [rsp + 0x78]
movzx edi, ah
mov eax, dword [rsp + 0x24]
shr r10, 0x10
xor eax, ebp
mov rbp, qword [rsp]
and r10d, 0xff
mov r10d, dword [r15 + r10*4]
mov r15d, r11d
xor r8d, r10d
xor r12d, r8d
mov r8, rdi
mov rdi, qword [rsp + 0x10]
mov r8d, dword [rdi + r8*4]
movzx edi, byte [rsp + 0x84]
xor eax, r8d
xor r9d, dword [rbp + rdi*4]
mov edi, r14d
xor r15d, eax
xor r9d, r10d
mov r10d, ebx
mov dword [rsp + 0xb0], r15d
mov r15d, r13d
xor r10d, r12d
xor r8d, r9d
shl r15d, 8
mov dword [rsp + 0xa0], r10d
mov r9d, esi
xor edi, r8d
xor r15d, ebx
xor r9d, r13d
mov dword [rsp + 0xb8], edi
mov r10d, r15d
mov r15d, r12d
mov dword [rsp + 0xa8], r9d
shl r15d, 8
and r10d, 0xff000000
xor r15d, r11d
mov r9d, r15d
and r9d, 0xff0000
or r10d, r9d
mov r9d, eax
shl r9d, 8
mov r15d, r10d
xor r9d, r8d
and r9d, 0xff00
or r15d, r9d
mov r9d, r14d
shr r9d, 0x18
mov r10d, r15d
mov r15, qword [rsp + 0x18]
xor r9d, esi
movzx r9d, r9b
or r10d, r9d
mov r9d, r13d
shl r13d, 0x18
shl r9d, 0x10
mov edi, r10d
mov dword [rsp + 0x70], r10d
xor r13d, r8d
xor r9d, r11d
mov dword [rcx + 0x58], r10d
and r13d, 0xff000000
mov r10d, r9d
mov r9d, r12d
shr r12d, 8
shl r9d, 0x10
and r10d, 0xff000000
xor r12d, esi
xor r9d, r8d
and r12d, 0xff0000
and r9d, 0xff0000
or r13d, r12d
or r9d, r10d
mov r10d, eax
shr eax, 8
shr r10d, 0x10
xor eax, ebx
xor r10d, esi
and eax, 0xff00
mov esi, dword [rsp + 0xbc]
and r10d, 0xff00
or r9d, r10d
mov r10d, r14d
shr r10d, 0x10
xor r10d, ebx
movzx r10d, r10b
or r9d, r10d
or r13d, eax
shr r14d, 8
xor r11d, r14d
xor esi, r9d
mov dword [rsp + 0x78], r9d
movzx eax, r11b
mov r11d, dword [rsp + 0x44]
mov dword [rsp + 0x24], esi
or r13d, eax
mov eax, dword [rsp + 0x90]
mov dword [rcx + 0x94], esi
xor r11d, edi
mov esi, dword [rsp + 0xc0]
mov dword [rcx + 0x5c], r9d
xor eax, r13d
mov r10d, r11d
mov dword [rsp + 0x84], r13d
mov r11d, dword [rsp + 0x88]
mov ebx, eax
mov eax, dword [rsp + 0xac]
xor esi, r13d
mov dword [rcx + 0x60], r13d
mov dword [rcx + 0x98], esi
movzx r8d, r10b
xor r11d, r9d
mov r13, rbp
xor eax, edi
mov dword [rcx + 0x90], eax
mov eax, r10d
shr eax, 0x10
movzx eax, al
mov eax, dword [r15 + rax*4]
mov r14, qword [rsp + 0x10]
mov r12, qword [rsp + 8]
mov ebp, dword [rbp + r8*4]
mov dword [rsp + 0x18], eax
mov eax, r10d
shr r10d, 0x18
mov edi, dword [rsp + 0x18]
movzx esi, ah
mov eax, r11d
mov r9d, dword [r14 + rsi*4]
mov esi, dword [r12 + r10*4]
xor esi, ebp
xor edi, esi
mov esi, r11d
shr esi, 0x18
xor edi, r9d
mov r8d, esi
movzx esi, ah
mov eax, dword [rsp + 0x18]
mov qword [rsp + 0x18], r15
mov r10d, dword [r12 + r8*4]
movzx r8d, r11b
shr r11d, 0x10
mov r12d, dword [r14 + rsi*4]
mov r8d, dword [r13 + r8*4]
movzx r11d, r11b
mov esi, r10d
xor r9d, r12d
xor esi, r8d
xor esi, dword [r15 + r11*4]
mov r11d, ebx
xor r8d, ebp
xor esi, r12d
mov r12, qword [rsp + 8]
shr r11d, 0x18
mov ebp, dword [r12 + r11*4]
mov r11d, ebx
mov r12, qword [rsp]
shr r11d, 0x10
movzx r11d, r11b
xor r10d, ebp
mov r13d, dword [r15 + r11*4]
movzx r11d, bl
movzx ebx, bh
mov r12d, dword [r12 + r11*4]
mov r11d, dword [r14 + rbx*4]
mov ebx, dword [rsp + 0xa8]
xor eax, r13d
xor ebp, r12d
xor r8d, r12d
xor ebp, r13d
shr ebx, 0x18
xor r11d, ebp
mov rbp, qword [rsp + 8]
mov ebx, dword [rbp + rbx*4]
mov rbp, qword [rsp + 0xa0]
xor r10d, ebx
mov dword [rsp + 0x44], ebx
shr rbp, 0x10
mov ebx, dword [rsp + 0xb0]
and ebp, 0xff
mov r13d, dword [r15 + rbp*4]
movzx ebp, bh
mov rbx, qword [rsp]
mov r12d, dword [r14 + rbp*4]
movzx ebp, byte [rsp + 0xb8]
mov r15d, dword [rsp + 0x44]
xor eax, r13d
xor r15d, dword [rbx + rbp*4]
mov ebp, edi
xor r9d, r12d
mov ebx, r15d
xor ebp, r10d
xor ebx, r13d
mov r14d, ebp
mov ebp, esi
mov r13d, r8d
xor r12d, ebx
mov ebx, r11d
xor ebp, eax
xor ebx, r9d
mov dword [rsp + 0x90], ebp
mov ebp, r8d
xor r13d, r12d
mov dword [rsp + 0xa0], ebx
mov ebx, r10d
shr ebp, 0x18
shl ebx, 8
xor ebp, edi
mov dword [rsp + 0xa8], r13d
mov r13d, r10d
xor ebx, esi
movzx ebp, bpl
shl r13d, 0x10
and ebx, 0xff000000
mov r15d, r13d
or ebx, ebp
mov ebp, eax
xor r15d, r11d
shl ebp, 8
and r15d, 0xff000000
xor ebp, r11d
and ebp, 0xff0000
or ebx, ebp
mov ebp, r9d
shl ebp, 8
xor ebp, r12d
and ebp, 0xff00
or ebx, ebp
mov ebp, ebx
mov dword [rsp + 0x44], ebx
mov dword [rcx + 0x4c], ebx
mov ebx, r8d
shr ebx, 0x10
xor ebx, esi
movzx ebx, bl
or r15d, ebx
mov ebx, eax
shl ebx, 0x10
xor ebx, r12d
shl r10d, 0x18
shr r8d, 8
xor r10d, r12d
and ebx, 0xff0000
shr eax, 8
xor r8d, r11d
and r10d, 0xff000000
or r15d, ebx
xor eax, edi
movzx r8d, r8b
mov ebx, r9d
shr r9d, 8
and eax, 0xff0000
or r10d, r8d
mov r8d, dword [rsp + 0x34]
xor r9d, esi
shr ebx, 0x10
xor ebx, edi
or r10d, eax
and r9d, 0xff00
mov esi, ebp
xor r8d, ebp
or r10d, r9d
and ebx, 0xff00
mov r12, qword [rsp]
or r15d, ebx
mov edi, r10d
mov dword [rcx + 0x54], r10d
mov r9d, dword [rsp + 0x30]
mov ebp, dword [rsp + 0xcc]
mov dword [rsp + 0x88], r10d
mov ebx, dword [rsp + 0xc8]
mov r11, qword [rsp + 0x10]
mov dword [rcx + 0x50], r15d
xor ebp, r10d
mov r10d, dword [rsp + 0x9c]
xor r9d, dword [rsp + 0x98]
xor ebx, r15d
xor r15d, r9d
mov r9d, dword [rsp + 0x20]
xor r9d, dword [rsp + 0x8c]
xor r10d, esi
mov esi, r8d
mov dword [rcx + 0x88], r15d
xor r9d, edi
mov r15, qword [rsp + 0x18]
shr esi, 0x10
mov dword [rcx + 0x84], r10d
movzx r10d, r8b
movzx eax, sil
mov dword [rcx + 0x8c], r9d
mov eax, dword [r15 + rax*4]
mov dword [rsp + 0x20], eax
mov eax, r8d
shr r8d, 0x18
mov r13d, dword [rsp + 0x20]
movzx esi, ah
mov rax, qword [rsp + 8]
mov r9d, dword [r11 + rsi*4]
mov esi, dword [r12 + r10*4]
mov edi, dword [rax + r8*4]
mov r8d, ebx
xor edi, esi
xor r13d, edi
shr r8d, 0x18
movzx edi, bh
mov r10d, dword [rax + r8*4]
movzx r8d, bl
shr ebx, 0x10
mov edi, dword [r11 + rdi*4]
mov r8d, dword [r12 + r8*4]
movzx ebx, bl
xor r13d, r9d
shr r14d, 0x18
mov r12d, dword [r15 + rbx*4]
mov r11d, r10d
xor r9d, edi
xor r11d, r8d
xor r8d, esi
mov esi, ebp
xor r12d, r11d
mov r11d, ebp
shr esi, 0x10
shr r11d, 0x18
movzx ebx, sil
xor r12d, edi
mov r11d, dword [rax + r11*4]
mov rsi, qword [rsp]
mov edi, dword [r15 + rbx*4]
movzx ebx, bpl
mov eax, dword [rsp + 0x20]
mov esi, dword [rsi + rbx*4]
xor r10d, r11d
mov ebx, ebp
xor eax, edi
movzx ebp, bh
xor r11d, esi
xor r8d, esi
xor r11d, edi
mov rdi, qword [rsp + 0x10]
xor r11d, dword [rdi + rbp*4]
mov ebx, r11d
mov r11d, r14d
mov r14, qword [rsp + 8]
mov r11d, dword [r14 + r11*4]
mov r14, qword [rsp + 0x90]
shr r14, 0x10
xor r10d, r11d
mov rsi, r14
and esi, 0xff
mov r14d, dword [r15 + rsi*4]
xor eax, r14d
mov r15d, eax
mov eax, dword [rsp + 0xa0]
movzx esi, ah
mov eax, r15d
mov ebp, dword [rdi + rsi*4]
movzx edi, byte [rsp + 0xa8]
mov rsi, qword [rsp]
xor r9d, ebp
xor r11d, dword [rsi + rdi*4]
mov edi, r13d
xor r11d, r14d
xor edi, r10d
mov r14d, r8d
mov esi, r11d
mov r11d, r12d
and edi, 0xff000000
xor r11d, r15d
xor esi, ebp
mov ebp, r8d
and r11d, 0xff0000
or edi, r11d
mov r11d, r8d
xor r11d, esi
movzx r11d, r11b
or edi, r11d
mov r11d, ebx
shr ebp, 0x18
shl eax, 8
xor r11d, r9d
xor ebp, r13d
shr r14d, 0x10
and r11d, 0xff00
movzx ebp, bpl
xor r14d, r12d
or edi, r11d
mov r11d, r10d
movzx r14d, r14b
shl r11d, 8
mov dword [rcx + 0x3c], edi
xor r11d, r12d
and r11d, 0xff000000
or r11d, ebp
mov ebp, eax
mov eax, r15d
xor ebp, ebx
shl eax, 0x10
and ebp, 0xff0000
or r11d, ebp
mov ebp, r9d
shl ebp, 8
xor ebp, esi
and ebp, 0xff00
or r11d, ebp
mov ebp, r10d
shl ebp, 0x10
mov dword [rcx + 0x40], r11d
xor ebp, ebx
and ebp, 0xff000000
or ebp, r14d
mov r14d, eax
mov eax, r15d
xor r14d, esi
and r14d, 0xff0000
or ebp, r14d
mov r14d, r9d
shr r14d, 0x10
xor r14d, r13d
and r14d, 0xff00
or ebp, r14d
shl r10d, 0x18
shr r8d, 8
xor r10d, esi
shr eax, 8
mov dword [rsp + 0x30], ebp
xor r8d, ebx
and r10d, 0xff000000
xor eax, r13d
mov dword [rcx + 0x44], ebp
shr r9d, 8
movzx r8d, r8b
and eax, 0xff0000
or r10d, r8d
xor r9d, r12d
or r10d, eax
and r9d, 0xff00
mov eax, 2
or r10d, r9d
cmp qword [rsp + 0x130], 4
mov dword [rsp + 0x34], r10d
mov dword [rcx + 0x48], r10d
jbe 0x4714a9
mov r9d, dword [rdx]
bswap r9d
sub qword [rsp + 0x130], 4
add rdx, 4
mov dword [rsp + 0x20], r9d
jmp 0x47217c
mov eax, dword [rsp + 0x20]
mov dword [rcx + 4], r11d
mov dword [rcx], eax
jmp 0x47147a