Function at 0x593ae0
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, 0x1c8
mov ebp, dword [r9]
lea r12, [rsp + 0x15f]
mov rdi, rcx
mov qword [rsp + 0x218], rdx
mov qword [rsp + 0x220], r8
and r12, 0xffffffffffffffc0
cmp ebp, 5
je 0x593b23
cmp ebp, 0xa
jne 0x593d08
mov ecx, dword [r9 + 4]
lea eax, [rcx - 0x400]
mov dword [rsp + 0x68], ecx
cmp eax, 0x7fc00
ja 0x593d08
mov eax, dword [r9 + 8]
lea edx, [rax - 8]
cmp edx, 0x18
ja 0x593d08
lea esi, [rcx - 1]
mov dword [rsp + 0x6c], esi
and esi, ecx
mov dword [rsp + 0xb8], esi
jne 0x593d08
mov rbx, qword [r9 + 0x10]
mov rsi, qword [r9 + 0x18]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
test rbx, rbx
jne 0x593b82
test rsi, rsi
jne 0x593d08
mov r15d, dword [rsp + 0x68]
mov r13d, eax
mov rax, r13
shl rax, 7
mov qword [rsp + 0x60], rax
imul r15, rax
cmp ebp, 5
je 0x594b10
lea r14, [rax + 0x40]
mov r8d, 0x8000
mov ebx, 0x1000
mov eax, 0x18000
mov edx, 0x18000
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x110], edx
lea rdx, [rcx + r15]
add rdx, r14
add rdx, rax
cmp qword [rdi + 0x18], rdx
jb 0x5940b0
mov rsi, qword [rdi + 8]
mov rax, qword [rsp + 0x60]
add rax, rsi
add r15, rax
mov qword [rsp + 0x40], rax
add r14, r15
mov qword [rsp + 0x88], r15
cmp qword [rsp + 0x220], 0x50
mov qword [rsp + 0xf0], r14
lea rax, [r14 + r8]
mov qword [rsp + 0xf8], rax
je 0x594b60
mov r8, qword [rsp + 0x220]
lea rax, [rsp + 0xd0]
mov rdx, qword [rsp + 0x218]
mov rcx, rax
mov qword [rsp + 0x98], rax
call fcn.00517980
movsxd rax, dword [rsp + 0x238]
shl rax, 7
mov qword [rsp + 0x90], rax
cmp ebp, 5
je 0x594c10
mov qword [rsp + 0x108], 0
shl ebx, 4
cmp qword [rsp + 0x70], 0
movsxd rbx, ebx
lea rdi, [r14 + rbx]
mov qword [rsp + 0x100], rdi
je 0x594bf0
mov r9, qword [rsp + 0x78]
mov qword [rsp + 0x28], rsi
mov edx, 0x20
mov qword [rsp + 0x30], pe_nt_image_headers64
mov r8, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x20], 1
call fcn.00528b10
mov rax, qword [0x006368e0]
movdqu xmm5, xmmword [rsi]
movups xmmword [rsp + 0xd0], xmm5
movdqu xmm5, xmmword [rsi + 0x10]
mov rcx, rax
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x90]
add rax, qword [rcx]
movups xmmword [rsp + 0xe0], xmm5
movzx eax, byte [rax]
test al, al
je 0x593d30
xor eax, eax
jmp 0x593d19
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x16
mov eax, 0xffffffff
add rsp, 0x1c8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x68]
mov edx, 0xaaaaaaab
xor r9d, r9d
mov r8d, 1
mov rbx, qword [rsp + 0xf0]
mov r14d, dword [rsp + 0x110]
add eax, 2
imul rax, rdx
mov rcx, rbx
lea r12, [rbx + 0x80]
mov edi, r14d
lea r15, [rbx + 0x100]
shr edi, 7
mov rdx, r12
mov dword [rsp + 0x48], edi
shr rax, 0x21
add eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x70], eax
mov eax, dword [rsi]
mov dword [rbx + 0x80], eax
mov eax, dword [rsi + 4]
mov dword [rbx + 0x84], eax
mov eax, dword [rsi + 8]
mov dword [rbx + 0x88], eax
mov eax, dword [rsi + 0xc]
mov dword [rbx + 0x8c], eax
mov eax, dword [rsi + 0x10]
mov dword [rbx + 0x90], eax
mov eax, dword [rsi + 0x14]
mov dword [rbx + 0x94], eax
mov eax, dword [rsi + 0x18]
mov dword [rbx + 0x98], eax
mov eax, dword [rsi + 0x1c]
mov dword [rbx + 0x9c], eax
mov eax, dword [rsi + 0x20]
mov dword [rbx + 0xa0], eax
mov eax, dword [rsi + 0x24]
mov dword [rbx + 0xa4], eax
mov eax, dword [rsi + 0x28]
mov dword [rbx + 0xa8], eax
mov eax, dword [rsi + 0x2c]
mov dword [rbx + 0xac], eax
mov eax, dword [rsi + 0x30]
mov dword [rbx + 0xb0], eax
mov eax, dword [rsi + 0x34]
mov dword [rbx + 0xb4], eax
mov eax, dword [rsi + 0x38]
movdqu xmm0, xmmword [rbx + 0x80]
movdqu xmm1, xmmword [rbx + 0x90]
movdqu xmm2, xmm0
mov dword [rbx + 0xb8], eax
mov eax, dword [rsi + 0x3c]
pblendw xmm2, xmm1, 0xcc
pblendw xmm0, xmm1, 0x33
movdqu xmm1, xmmword [rbx + 0xa0]
movdqu xmm3, xmm1
mov dword [rbx + 0xbc], eax
movdqu xmm4, xmmword [rbx + 0xb0]
pblendw xmm3, xmm4, 0xcc
pblendw xmm1, xmm4, 0x33
movdqu xmm4, xmm2
pblendw xmm4, xmm3, 0xf0
pblendw xmm2, xmm3, 0xf
movups xmmword [rbx], xmm4
movdqu xmm4, xmm0
pblendw xmm0, xmm1, 0xc3
pblendw xmm4, xmm1, 0x3c
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x10], xmm4
movups xmmword [rbx + 0x30], xmm0
mov eax, dword [rsi + 0x40]
mov dword [rbx + 0x80], eax
mov eax, dword [rsi + 0x44]
mov dword [rbx + 0x84], eax
mov eax, dword [rsi + 0x48]
mov dword [rbx + 0x88], eax
mov eax, dword [rsi + 0x4c]
mov dword [rbx + 0x8c], eax
mov eax, dword [rsi + 0x50]
mov dword [rbx + 0x90], eax
mov eax, dword [rsi + 0x54]
mov dword [rbx + 0x94], eax
mov eax, dword [rsi + 0x58]
mov dword [rbx + 0x98], eax
mov eax, dword [rsi + 0x5c]
mov dword [rbx + 0x9c], eax
mov eax, dword [rsi + 0x60]
mov dword [rbx + 0xa0], eax
mov eax, dword [rsi + 0x64]
mov dword [rbx + 0xa4], eax
mov eax, dword [rsi + 0x68]
movdqu xmm0, xmmword [rbx + 0x80]
movdqu xmm1, xmmword [rbx + 0x90]
movdqu xmm2, xmm0
mov dword [rbx + 0xa8], eax
mov eax, dword [rsi + 0x6c]
pblendw xmm2, xmm1, 0xcc
pblendw xmm0, xmm1, 0x33
mov dword [rbx + 0xac], eax
mov eax, dword [rsi + 0x70]
movdqu xmm1, xmmword [rbx + 0xa0]
movdqu xmm3, xmm1
mov dword [rbx + 0xb0], eax
mov eax, dword [rsi + 0x74]
mov dword [rbx + 0xb4], eax
mov eax, dword [rsi + 0x78]
mov dword [rbx + 0xb8], eax
mov eax, dword [rsi + 0x7c]
mov dword [rbx + 0xbc], eax
movdqu xmm4, xmmword [rbx + 0xb0]
pblendw xmm3, xmm4, 0xcc
pblendw xmm1, xmm4, 0x33
movdqu xmm4, xmm2
pblendw xmm4, xmm3, 0xf0
pblendw xmm2, xmm3, 0xf
movups xmmword [rbx + 0x40], xmm4
movdqu xmm4, xmm0
pblendw xmm0, xmm1, 0xc3
pblendw xmm4, xmm1, 0x3c
movups xmmword [rbx + 0x60], xmm2
movups xmmword [rbx + 0x50], xmm4
movups xmmword [rbx + 0x70], xmm0
call fcn.0058f050
xor r9d, r9d
mov rdx, r15
mov rcx, r12
mov r8d, 1
call fcn.0058f050
mov eax, dword [rbx + 0x140]
cmp edi, 2
jbe 0x594138
lea ecx, [rdi - 1]
shr r14d, 8
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x50], r14d
mov r14d, 2
mov qword [rsp + 0x80], rsi
mov r13d, r14d
mov rsi, rbx
mov dword [rsp + 0x58], ecx
cmp dword [rsp + 0x50], r13d
ja 0x59409f
mov r12d, dword [rsp + 0x58]
sub r12d, r13d
cmp r12d, 1
jbe 0x594082
lea ebx, [r13 - 1]
mov rbp, r15
mov edi, 1
nop dword [rax]
and eax, ebx
mov rcx, rbp
mov r9d, 1
mov qword [rsp + 0x20], 0
lea edx, [rdi + rax - 1]
lea r14, [rbp + 0x80]
shl rdx, 7
add rbp, 0x100
add rdx, rsi
mov r8, r14
call fcn.005913b0
mov r9d, 1
mov r8, rbp
mov rcx, r14
mov qword [rsp + 0x20], 0
and eax, ebx
lea edx, [rax + rdi]
add edi, 2
shl rdx, 7
add rdx, rsi
call fcn.005913b0
cmp r12d, edi
ja 0x594000
lea edx, [r12 - 2]
mov ebx, 0x100
shr edx, 1
add rdx, 1
shl rdx, 8
cmp r12d, 1
cmovbe rdx, rbx
add r15, rdx
lea edx, [r13 + r13]
cmp dword [rsp + 0x48], edx
jbe 0x594b38
mov r13d, edx
cmp dword [rsp + 0x50], r13d
jbe 0x593fdf
mov r12d, r13d
jmp 0x593ff1
mov rcx, qword [rdi]
test rcx, rcx
je 0x5940d1
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdx
call sub.msvcrt.dll_free
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
lea rcx, [rdx + 0x3f]
pxor xmm0, xmm0
movups xmmword [rdi + 0x10], xmm0
mov qword [rdi], 0
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdx
call sub.msvcrt.dll_malloc
mov rdx, qword [rsp + 0x40]
test rax, rax
mov r8, qword [rsp + 0x48]
je 0x59579f
lea rsi, [rax + 0x3f]
movq xmm0, rdx
mov qword [rdi], rax
and rsi, 0xffffffffffffffc0
punpcklqdq xmm0, xmm0
movups xmmword [rdi + 0x10], xmm0
mov qword [rdi + 8], rsi
jne 0x593be0
mov eax, 0xffffffff
jmp 0x593d19
xor eax, eax
xor edi, edi
mov r14d, 1
mov ebp, dword [rsp + 0x48]
lea r12, [r15 + 0x80]
mov r9d, 1
mov rcx, r15
mov qword [rsp + 0x20], 0
mov r8, r12
sub ebp, r14d
lea edx, [rbp + rax - 2]
shl rdx, 7
add rdx, rbx
call fcn.005913b0
mov r8, qword [rsp + 0x88]
mov r9d, 1
mov rcx, r12
mov qword [rsp + 0x20], 0
and edi, eax
lea edx, [rbp + rdi - 1]
mov edi, 2
mov ebp, 1
shl rdx, 7
add rdx, rbx
call fcn.005913b0
lea rbx, [rsp + 0xf0]
mov rax, qword [r8]
mov r9, rbx
mov qword [r8 + 0x80], rax
mov rax, qword [r8 + 8]
mov qword [r8 + 0x88], rax
mov rax, qword [r8 + 0x10]
movdqu xmm0, xmmword [r8 + 0x80]
movdqu xmm2, xmm0
mov qword [r8 + 0x90], rax
mov rax, qword [r8 + 0x18]
mov qword [r8 + 0x98], rax
mov rax, qword [r8 + 0x20]
mov qword [r8 + 0xa0], rax
mov rax, qword [r8 + 0x28]
mov qword [r8 + 0xa8], rax
mov rax, qword [r8 + 0x30]
movdqu xmm1, xmmword [r8 + 0xa0]
pblendw xmm2, xmm1, 0xf0
pblendw xmm0, xmm1, 0xf
movdqu xmm1, xmmword [r8 + 0x90]
mov qword [r8 + 0xb0], rax
mov rax, qword [r8 + 0x38]
movdqu xmm3, xmm1
mov qword [r8 + 0xb8], rax
movdqu xmm4, xmmword [r8 + 0xb0]
pblendw xmm3, xmm4, 0x3c
pblendw xmm1, xmm4, 0xc3
movdqu xmm4, xmm2
pblendw xmm2, xmm3, 0x33
pblendw xmm4, xmm3, 0xcc
movups xmmword [rsi + 0x10], xmm2
movdqu xmm2, xmm0
pblendw xmm0, xmm1, 0x33
pblendw xmm2, xmm1, 0xcc
movups xmmword [rsi], xmm4
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x30], xmm0
mov rax, qword [r8 + 0x40]
mov qword [r8 + 0x80], rax
mov rax, qword [r8 + 0x48]
mov qword [r8 + 0x88], rax
mov rax, qword [r8 + 0x50]
mov qword [r8 + 0x90], rax
mov rax, qword [r8 + 0x58]
mov qword [r8 + 0x98], rax
mov rax, qword [r8 + 0x60]
movdqu xmm0, xmmword [r8 + 0x80]
mov r14, qword [rsp + 0x40]
movdqu xmm2, xmm0
mov r12, qword [rsp + 0x60]
mov qword [r8 + 0xa0], rax
mov rax, qword [r8 + 0x68]
add r12, r14
mov qword [r8 + 0xa8], rax
mov rax, qword [r8 + 0x70]
movdqu xmm1, xmmword [r8 + 0xa0]
pblendw xmm2, xmm1, 0xf0
pblendw xmm0, xmm1, 0xf
movdqu xmm1, xmmword [r8 + 0x90]
mov qword [r8 + 0xb0], rax
mov rax, qword [r8 + 0x78]
movdqu xmm3, xmm1
mov qword [r8 + 0xb8], rax
lea rax, [r13 + r13]
movdqu xmm4, xmmword [r8 + 0xb0]
mov qword [rsp + 0x80], rax
mov eax, dword [rsi]
pblendw xmm3, xmm4, 0x3c
pblendw xmm1, xmm4, 0xc3
movdqu xmm4, xmm2
pblendw xmm2, xmm3, 0x33
pblendw xmm4, xmm3, 0xcc
movups xmmword [rsi + 0x50], xmm2
movdqu xmm2, xmm0
pblendw xmm0, xmm1, 0x33
pblendw xmm2, xmm1, 0xcc
movups xmmword [rsi + 0x40], xmm4
movups xmmword [rsi + 0x60], xmm2
movups xmmword [rsi + 0x70], xmm0
mov dword [r12], eax
mov eax, dword [rsi + 4]
mov dword [r12 + 4], eax
mov eax, dword [rsi + 8]
mov dword [r12 + 8], eax
mov eax, dword [rsi + 0xc]
mov dword [r12 + 0xc], eax
mov eax, dword [rsi + 0x10]
mov dword [r12 + 0x10], eax
mov eax, dword [rsi + 0x14]
mov dword [r12 + 0x14], eax
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0x18], eax
mov eax, dword [rsi + 0x1c]
movdqu xmm0, xmmword [r12]
movdqu xmm2, xmm0
mov dword [r12 + 0x1c], eax
mov eax, dword [rsi + 0x20]
movdqu xmm1, xmmword [r12 + 0x10]
pblendw xmm2, xmm1, 0xcc
pblendw xmm0, xmm1, 0x33
mov dword [r12 + 0x20], eax
mov eax, dword [rsi + 0x24]
mov dword [r12 + 0x24], eax
mov eax, dword [rsi + 0x28]
mov dword [r12 + 0x28], eax
mov eax, dword [rsi + 0x2c]
mov dword [r12 + 0x2c], eax
mov eax, dword [rsi + 0x30]
movdqu xmm1, xmmword [r12 + 0x20]
movdqu xmm3, xmm1
mov dword [r12 + 0x30], eax
mov eax, dword [rsi + 0x34]
mov dword [r12 + 0x34], eax
mov eax, dword [rsi + 0x38]
mov dword [r12 + 0x38], eax
mov eax, dword [rsi + 0x3c]
mov dword [r12 + 0x3c], eax
movdqu xmm4, xmmword [r12 + 0x30]
pblendw xmm3, xmm4, 0xcc
pblendw xmm1, xmm4, 0x33
movdqu xmm4, xmm2
pblendw xmm4, xmm3, 0xf0
pblendw xmm2, xmm3, 0xf
movups xmmword [r14], xmm4
movdqu xmm4, xmm0
pblendw xmm0, xmm1, 0xc3
pblendw xmm4, xmm1, 0x3c
movups xmmword [r14 + 0x20], xmm2
movups xmmword [r14 + 0x10], xmm4
movups xmmword [r14 + 0x30], xmm0
mov eax, dword [rsi + 0x40]
mov dword [r12], eax
mov eax, dword [rsi + 0x44]
mov dword [r12 + 4], eax
mov eax, dword [rsi + 0x48]
mov dword [r12 + 8], eax
mov eax, dword [rsi + 0x4c]
mov dword [r12 + 0xc], eax
mov eax, dword [rsi + 0x50]
movdqu xmm0, xmmword [r12]
movdqu xmm2, xmm0
mov dword [r12 + 0x10], eax
mov eax, dword [rsi + 0x54]
mov dword [r12 + 0x14], eax
mov eax, dword [rsi + 0x58]
mov dword [r12 + 0x18], eax
mov eax, dword [rsi + 0x5c]
mov dword [r12 + 0x1c], eax
mov eax, dword [rsi + 0x60]
movdqu xmm1, xmmword [r12 + 0x10]
pblendw xmm2, xmm1, 0xcc
pblendw xmm0, xmm1, 0x33
mov dword [r12 + 0x20], eax
mov eax, dword [rsi + 0x64]
mov dword [r12 + 0x24], eax
mov eax, dword [rsi + 0x68]
mov dword [r12 + 0x28], eax
mov eax, dword [rsi + 0x6c]
mov dword [r12 + 0x2c], eax
mov eax, dword [rsi + 0x70]
movdqu xmm1, xmmword [r12 + 0x20]
movdqu xmm3, xmm1
mov dword [r12 + 0x30], eax
mov eax, dword [rsi + 0x74]
mov dword [r12 + 0x34], eax
mov eax, dword [rsi + 0x78]
mov dword [r12 + 0x38], eax
mov eax, dword [rsi + 0x7c]
mov dword [r12 + 0x3c], eax
movdqu xmm4, xmmword [r12 + 0x30]
pblendw xmm3, xmm4, 0xcc
pblendw xmm1, xmm4, 0x33
movdqu xmm4, xmm2
pblendw xmm4, xmm3, 0xf0
pblendw xmm2, xmm3, 0xf
movups xmmword [r14 + 0x40], xmm4
movdqu xmm4, xmm0
pblendw xmm0, xmm1, 0xc3
pblendw xmm4, xmm1, 0x3c
movups xmmword [r14 + 0x50], xmm4
movups xmmword [r14 + 0x60], xmm2
movups xmmword [r14 + 0x70], xmm0
lea ecx, [rdi - 2]
mov edx, edi
mov r8d, 1
shl rdx, 6
shl rcx, 6
add edi, 2
add rdx, r14
add rcx, r14
call fcn.0058f050
lea eax, [rbp + 1]
mov rbp, rax
cmp r13, rax
ja 0x594540
mov rcx, qword [rsp + 0x40]
mov r8, r13
mov rdx, r12
mov rbx, r9
call fcn.0058f050
mov rdi, qword [rsp + 0x60]
mov rcx, r12
mov r8, r13
lea r15, [r12 + rdi]
mov rdx, r15
mov qword [rsp + 0x58], r15
call fcn.0058f050
mov ecx, dword [rsp + 0x68]
lea rax, [rdi - 0x40]
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], rax
mov eax, dword [r15 + rdi - 0x40]
mov r15d, 2
mov dword [rsp + 0x48], r15d
mov esi, r15d
shr ecx, 1
mov dword [rsp + 0x78], ecx
mov rcx, r13
shl rcx, 8
mov qword [rsp + 0x50], rcx
cmp dword [rsp + 0x78], esi
ja 0x5946a2
nop word [rax + rax]
mov ebp, dword [rsp + 0x6c]
sub ebp, esi
cmp ebp, 1
jbe 0x594685
mov ecx, dword [rsp + 0x48]
mov esi, 1
mov r14, qword [rsp + 0x58]
lea r12d, [rcx - 1]
nop dword [rax]
and eax, r12d
mov rcx, r14
mov r9, r13
mov qword [rsp + 0x20], rbx
lea edx, [rsi + rax - 1]
imul rdx, rdi
add rdx, qword [rsp + 0x40]
lea r15, [rdi + r14]
mov r8, r15
call fcn.005913b0
add r14, qword [rsp + 0x50]
mov r9, r13
mov rcx, r15
and eax, r12d
mov qword [rsp + 0x20], rbx
lea edx, [rax + rsi]
add esi, 2
imul rdx, rdi
add rdx, qword [rsp + 0x40]
mov r8, r14
call fcn.005913b0
cmp esi, ebp
jb 0x594610
lea edx, [rbp - 2]
mov esi, 1
shr edx, 1
add rdx, 1
cmp ebp, 1
cmovbe rdx, rsi
imul rdx, qword [rsp + 0x50]
add qword [rsp + 0x58], rdx
mov ecx, dword [rsp + 0x48]
lea edx, [rcx + rcx]
cmp dword [rsp + 0x68], edx
jbe 0x5946b0
mov dword [rsp + 0x48], edx
mov esi, edx
cmp dword [rsp + 0x78], esi
jbe 0x5945e8
mov ebp, esi
jmp 0x5945f7
mov edi, dword [rsp + 0x68]
lea ebp, [rcx - 1]
mov r9, r13
mov qword [rsp + 0x20], rbx
mov r15, qword [rsp + 0x60]
and eax, ebp
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0xa8]
sub edi, ecx
mov rcx, qword [rsp + 0x58]
lea edx, [rax + rdi - 2]
imul rdx, r15
mov r12, rcx
add r12, r15
mov r8, r12
add rdx, r14
call fcn.005913b0
mov r9, r13
mov rcx, r12
mov qword [rsp + 0x20], rbx
and ebp, eax
mov r8, qword [rsp + 0x88]
lea edx, [rdi + rbp - 1]
imul rdx, r15
add rdx, r14
call fcn.005913b0
mov r10, qword [rsp + 0x80]
xor ecx, ecx
xor edx, edx
mov rdi, r8
mov r9, r8
add rdi, r15
nop dword [rax]
shl rdx, 6
lea rax, [r9 + rdx]
add rdx, rsi
mov r8d, dword [rax]
mov dword [rdi], r8d
mov r8d, dword [rax + 4]
mov dword [rdi + 4], r8d
mov r8d, dword [rax + 8]
mov dword [rdi + 8], r8d
mov r8d, dword [rax + 0xc]
mov dword [rdi + 0xc], r8d
mov r8d, dword [rax + 0x10]
mov dword [rdi + 0x10], r8d
mov r8d, dword [rax + 0x14]
mov dword [rdi + 0x14], r8d
mov r8d, dword [rax + 0x18]
mov dword [rdi + 0x18], r8d
mov r8d, dword [rax + 0x1c]
mov dword [rdi + 0x1c], r8d
mov r8d, dword [rax + 0x20]
mov dword [rdi + 0x20], r8d
mov r8d, dword [rax + 0x24]
mov dword [rdi + 0x24], r8d
mov r8d, dword [rax + 0x28]
mov dword [rdi + 0x28], r8d
mov r8d, dword [rax + 0x2c]
mov dword [rdi + 0x2c], r8d
mov r8d, dword [rax + 0x30]
mov dword [rdi + 0x30], r8d
mov r8d, dword [rax + 0x34]
mov dword [rdi + 0x34], r8d
mov r8d, dword [rax + 0x38]
mov dword [rdi + 0x38], r8d
mov eax, dword [rax + 0x3c]
mov dword [rdi + 0x3c], eax
movdqu xmm1, xmmword [rdi + 0x20]
movdqu xmm0, xmmword [rdi]
movdqu xmm4, xmmword [rdi + 0x30]
movdqu xmm2, xmm0
pblendw xmm0, xmm1, 0xf
pblendw xmm2, xmm1, 0xf0
movdqu xmm1, xmmword [rdi + 0x10]
movdqu xmm3, xmm1
pblendw xmm1, xmm4, 0xc3
pblendw xmm3, xmm4, 0x3c
movdqu xmm4, xmm2
pblendw xmm2, xmm3, 0x33
pblendw xmm4, xmm3, 0xcc
movups xmmword [rdx + 0x10], xmm2
movdqu xmm2, xmm0
pblendw xmm0, xmm1, 0x33
pblendw xmm2, xmm1, 0xcc
movups xmmword [rdx], xmm4
movups xmmword [rdx + 0x20], xmm2
movups xmmword [rdx + 0x30], xmm0
lea edx, [rcx + 1]
mov rcx, rdx
cmp r10, rdx
ja 0x594730
mov r9, qword [rsp + 0x88]
xor edx, edx
mov ecx, dword [rsp + 0xb8]
mov r10, qword [rsp + 0x80]
nop dword [rax]
mov eax, ecx
shl rdx, 6
shl eax, 6
add rdx, r9
add rax, rsi
mov r8d, dword [rax]
mov dword [rdi], r8d
mov r8d, dword [rax + 4]
mov dword [rdi + 4], r8d
mov r8d, dword [rax + 8]
mov dword [rdi + 8], r8d
mov r8d, dword [rax + 0xc]
mov dword [rdi + 0xc], r8d
mov r8d, dword [rax + 0x10]
mov dword [rdi + 0x10], r8d
mov r8d, dword [rax + 0x14]
mov dword [rdi + 0x14], r8d
mov r8d, dword [rax + 0x18]
mov dword [rdi + 0x18], r8d
mov r8d, dword [rax + 0x1c]
mov dword [rdi + 0x1c], r8d
mov r8d, dword [rax + 0x20]
mov dword [rdi + 0x20], r8d
mov r8d, dword [rax + 0x24]
mov dword [rdi + 0x24], r8d
mov r8d, dword [rax + 0x28]
mov dword [rdi + 0x28], r8d
mov r8d, dword [rax + 0x2c]
mov dword [rdi + 0x2c], r8d
mov r8d, dword [rax + 0x30]
mov dword [rdi + 0x30], r8d
mov r8d, dword [rax + 0x34]
mov dword [rdi + 0x34], r8d
mov r8d, dword [rax + 0x38]
mov dword [rdi + 0x38], r8d
mov eax, dword [rax + 0x3c]
mov dword [rdi + 0x3c], eax
movdqu xmm1, xmmword [rdi + 0x10]
movdqu xmm0, xmmword [rdi]
movdqu xmm4, xmmword [rdi + 0x30]
movdqu xmm2, xmm0
pblendw xmm0, xmm1, 0x33
pblendw xmm2, xmm1, 0xcc
movdqu xmm1, xmmword [rdi + 0x20]
movdqu xmm3, xmm1
pblendw xmm1, xmm4, 0x33
pblendw xmm3, xmm4, 0xcc
movdqu xmm4, xmm2
pblendw xmm4, xmm3, 0xf0
pblendw xmm2, xmm3, 0xf
movups xmmword [rdx], xmm4
movdqu xmm4, xmm0
pblendw xmm0, xmm1, 0xc3
pblendw xmm4, xmm1, 0x3c
movups xmmword [rdx + 0x20], xmm2
movups xmmword [rdx + 0x10], xmm4
movups xmmword [rdx + 0x30], xmm0
lea edx, [rcx + 1]
mov rcx, rdx
cmp rdx, r10
jb 0x594848
mov rcx, qword [rsp + 0x88]
mov r9, rbx
mov r15, qword [rsp + 0x60]
mov r12d, dword [rsp + 0x6c]
mov r14, qword [rsp + 0x40]
mov ebp, dword [rsp + 0x70]
mov eax, dword [rcx + r15 - 0x40]
mov rbx, qword [rsp + 0x80]
and eax, r12d
nop word [rax + rax]
mov edx, eax
mov r8, r13
imul rdx, rbx
shl rdx, 6
add rdx, r14
call fcn.00591f80
mov r8, r13
mov edx, eax
and edx, r12d
imul rdx, r15
add rdx, r14
call fcn.00591f80
and eax, r12d
sub ebp, 2
jne 0x594978
mov r9, qword [rsp + 0x88]
mov ecx, ebp
xor eax, eax
mov r10, qword [rsp + 0x80]
nop dword [rax]
shl rax, 6
lea rdx, [r9 + rax]
add rax, rsi
mov r8d, dword [rdx]
mov dword [rdi], r8d
mov r8d, dword [rdx + 4]
mov dword [rdi + 4], r8d
mov r8d, dword [rdx + 8]
mov dword [rdi + 8], r8d
mov r8d, dword [rdx + 0xc]
mov dword [rdi + 0xc], r8d
mov r8d, dword [rdx + 0x10]
mov dword [rdi + 0x10], r8d
mov r8d, dword [rdx + 0x14]
mov dword [rdi + 0x14], r8d
mov r8d, dword [rdx + 0x18]
mov dword [rdi + 0x18], r8d
mov r8d, dword [rdx + 0x1c]
mov dword [rdi + 0x1c], r8d
mov r8d, dword [rdx + 0x20]
mov dword [rdi + 0x20], r8d
mov r8d, dword [rdx + 0x24]
mov dword [rdi + 0x24], r8d
mov r8d, dword [rdx + 0x28]
mov dword [rdi + 0x28], r8d
mov r8d, dword [rdx + 0x2c]
mov dword [rdi + 0x2c], r8d
mov r8d, dword [rdx + 0x30]
mov dword [rdi + 0x30], r8d
mov r8d, dword [rdx + 0x34]
mov dword [rdi + 0x34], r8d
mov r8d, dword [rdx + 0x38]
mov dword [rdi + 0x38], r8d
mov edx, dword [rdx + 0x3c]
mov dword [rdi + 0x3c], edx
movdqu xmm1, xmmword [rdi + 0x20]
movdqu xmm0, xmmword [rdi]
movdqu xmm4, xmmword [rdi + 0x30]
movdqu xmm2, xmm0
pblendw xmm0, xmm1, 0xf
pblendw xmm2, xmm1, 0xf0
movdqu xmm1, xmmword [rdi + 0x10]
movdqu xmm3, xmm1
pblendw xmm1, xmm4, 0xc3
pblendw xmm3, xmm4, 0x3c
movdqu xmm4, xmm2
pblendw xmm2, xmm3, 0x33
pblendw xmm4, xmm3, 0xcc
movups xmmword [rax + 0x10], xmm2
movdqu xmm2, xmm0
pblendw xmm0, xmm1, 0x33
pblendw xmm2, xmm1, 0xcc
movups xmmword [rax], xmm4
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x30], xmm0
lea eax, [rcx + 1]
mov rcx, rax
cmp rax, r10
jb 0x5949c0
mov rbx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x90]
add rax, qword [rbx]
movzx eax, byte [rax]
test al, al
jne 0x593cfd
mov rax, qword [rsp + 0x230]
mov r9d, 0x20
mov edx, 0x40
mov rcx, qword [rsp + 0xb0]
mov r8, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
add rcx, rsi
call fcn.00528a20
mov eax, 1
jmp 0x593d19
mov r14, r13
mov r8d, 0x1000
mov ebx, 0x200
shl r14, 8
mov eax, 0x2000
mov edx, 0x2000
jmp 0x593bbc
mov r14d, r13d
mov rbx, rsi
mov r13, qword [rsp + 0x78]
lea edi, [r14 - 1]
mov rsi, qword [rsp + 0x80]
and eax, edi
jmp 0x594142
mov rcx, qword [0x00635ce0]
call sub.libgcc_s_seh_1.dll___emutls_get_address
mov rcx, r12
mov r8d, 0x10
movdqu xmm5, xmmword [rax]
movups xmmword [r12], xmm5
movdqu xmm5, xmmword [rax + 0x10]
movups xmmword [r12 + 0x10], xmm5
movdqu xmm5, xmmword [rax + 0x20]
movups xmmword [r12 + 0x20], xmm5
movdqu xmm5, xmmword [rax + 0x30]
movups xmmword [r12 + 0x30], xmm5
movdqu xmm5, xmmword [rax + 0x40]
movups xmmword [r12 + 0x40], xmm5
movdqu xmm5, xmmword [rax + 0x50]
mov rax, qword [rax + 0x60]
movups xmmword [r12 + 0x50], xmm5
mov qword [r12 + 0x60], rax
mov rax, qword [rsp + 0x218]
lea rdx, [rax + 0x40]
call fcn.005171d0
lea rax, [rsp + 0xd0]
mov rcx, r12
mov rdx, rax
mov qword [rsp + 0x98], rax
call fcn.005176a0
jmp 0x593c46
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], rax
jmp 0x593c8d
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rsi
mov edx, 0x20
mov r9, qword [rsp + 0x220]
mov qword [rsp + 0x20], 1
mov r8, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
call fcn.00528b10
mov rax, qword [0x006368e0]
mov rbx, rax
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x90]
add rax, qword [rbx]
movzx eax, byte [rax]
test al, al
jne 0x593cfd
mov eax, dword [rsp + 0x68]
mov edx, 0xaaaaaaab
xor r9d, r9d
mov r8d, 1
movdqu xmm5, xmmword [rsi]
mov rdi, qword [rsp + 0xf0]
movups xmmword [rsp + 0xd0], xmm5
movdqu xmm5, xmmword [rsi + 0x10]
add eax, 2
mov ebx, dword [rsp + 0x110]
imul rax, rdx
movups xmmword [rsp + 0xe0], xmm5
lea r12, [rdi + 0x80]
mov rcx, rdi
lea r15, [rdi + 0x100]
mov r14d, ebx
shr r14d, 7
shr rax, 0x21
mov dword [rsp + 0x48], r14d
lea edx, [rax + 1]
and eax, 0xfffffffe
mov dword [rsp + 0xbc], eax
mov eax, dword [rsi]
and edx, 0xfffffffe
mov dword [rsp + 0xb0], edx
mov rdx, r12
mov dword [rdi + 0x80], eax
mov eax, dword [rsi + 4]
mov dword [rdi + 0x84], eax
mov eax, dword [rsi + 8]
mov dword [rdi + 0x88], eax
mov eax, dword [rsi + 0xc]
mov dword [rdi + 0x8c], eax
mov eax, dword [rsi + 0x10]
mov dword [rdi + 0x90], eax
mov eax, dword [rsi + 0x14]
mov dword [rdi + 0x94], eax
mov eax, dword [rsi + 0x18]
mov dword [rdi + 0x98], eax
mov eax, dword [rsi + 0x1c]
mov dword [rdi + 0x9c], eax
mov eax, dword [rsi + 0x20]
mov dword [rdi + 0xa0], eax
mov eax, dword [rsi + 0x24]
mov dword [rdi + 0xa4], eax
mov eax, dword [rsi + 0x28]
mov dword [rdi + 0xa8], eax
mov eax, dword [rsi + 0x2c]
movdqu xmm0, xmmword [rdi + 0x80]
movdqu xmm1, xmmword [rdi + 0x90]
movdqu xmm2, xmm0
mov dword [rdi + 0xac], eax
mov eax, dword [rsi + 0x30]
pblendw xmm2, xmm1, 0xcc
pblendw xmm0, xmm1, 0x33
movdqu xmm1, xmmword [rdi + 0xa0]
movdqu xmm3, xmm1
mov dword [rdi + 0xb0], eax
mov eax, dword [rsi + 0x34]
mov dword [rdi + 0xb4], eax
mov eax, dword [rsi + 0x38]
mov dword [rdi + 0xb8], eax
mov eax, dword [rsi + 0x3c]
mov dword [rdi + 0xbc], eax
movdqu xmm4, xmmword [rdi + 0xb0]
pblendw xmm3, xmm4, 0xcc
pblendw xmm1, xmm4, 0x33
movdqu xmm4, xmm2
pblendw xmm4, xmm3, 0xf0
pblendw xmm2, xmm3, 0xf
movups xmmword [rdi], xmm4
movdqu xmm4, xmm0
pblendw xmm0, xmm1, 0xc3
pblendw xmm4, xmm1, 0x3c
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm4
movups xmmword [rdi + 0x30], xmm0
mov eax, dword [rsi + 0x40]
mov dword [rdi + 0x80], eax
mov eax, dword [rsi + 0x44]
mov dword [rdi + 0x84], eax
mov eax, dword [rsi + 0x48]
mov dword [rdi + 0x88], eax
mov eax, dword [rsi + 0x4c]
mov dword [rdi + 0x8c], eax
mov eax, dword [rsi + 0x50]
mov dword [rdi + 0x90], eax
mov eax, dword [rsi + 0x54]
mov dword [rdi + 0x94], eax
mov eax, dword [rsi + 0x58]
mov dword [rdi + 0x98], eax
mov eax, dword [rsi + 0x5c]
movdqu xmm0, xmmword [rdi + 0x80]
movdqu xmm2, xmm0
mov dword [rdi + 0x9c], eax
mov eax, dword [rsi + 0x60]
movdqu xmm1, xmmword [rdi + 0x90]
pblendw xmm2, xmm1, 0xcc
pblendw xmm0, xmm1, 0x33
mov dword [rdi + 0xa0], eax
mov eax, dword [rsi + 0x64]
mov dword [rdi + 0xa4], eax
mov eax, dword [rsi + 0x68]
mov dword [rdi + 0xa8], eax
mov eax, dword [rsi + 0x6c]
mov dword [rdi + 0xac], eax
mov eax, dword [rsi + 0x70]
movdqu xmm1, xmmword [rdi + 0xa0]
movdqu xmm3, xmm1
mov dword [rdi + 0xb0], eax
mov eax, dword [rsi + 0x74]
mov dword [rdi + 0xb4], eax
mov eax, dword [rsi + 0x78]
mov dword [rdi + 0xb8], eax
mov eax, dword [rsi + 0x7c]
mov dword [rdi + 0xbc], eax
movdqu xmm4, xmmword [rdi + 0xb0]
pblendw xmm3, xmm4, 0xcc
pblendw xmm1, xmm4, 0x33
movdqu xmm4, xmm2
pblendw xmm4, xmm3, 0xf0
pblendw xmm2, xmm3, 0xf
movups xmmword [rdi + 0x40], xmm4
movdqu xmm4, xmm0
pblendw xmm0, xmm1, 0xc3
pblendw xmm4, xmm1, 0x3c
movups xmmword [rdi + 0x60], xmm2
movups xmmword [rdi + 0x50], xmm4
movups xmmword [rdi + 0x70], xmm0
call fcn.0058d9e0
xor r9d, r9d
mov rdx, r15
mov rcx, r12
mov r8d, 1
call fcn.0058d9e0
mov eax, dword [rdi + 0x140]
cmp r14d, 2
jbe 0x595772
shr ebx, 8
mov ecx, 2
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x50], ebx
lea ebx, [r14 - 1]
mov r14d, ecx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0xa8], rsi
nop dword [rax]
cmp dword [rsp + 0x50], r14d
ja 0x595008
mov r12d, dword [rsp + 0x58]
sub r12d, r14d
cmp r12d, 1
jbe 0x594ff2
lea ebp, [r14 - 1]
mov rsi, r15
mov ebx, 1
nop dword [rax]
and eax, ebp
mov rcx, rsi
mov r9d, 1
mov qword [rsp + 0x20], 0
lea edx, [rbx + rax - 1]
lea r13, [rsi + 0x80]
shl rdx, 7
add rsi, 0x100
add rdx, rdi
mov r8, r13
call fcn.0058f8c0
mov r9d, 1
mov r8, rsi
mov rcx, r13
mov qword [rsp + 0x20], 0
and eax, ebp
lea edx, [rbx + rax]
add ebx, 2
shl rdx, 7
add rdx, rdi
call fcn.0058f8c0
cmp ebx, r12d
jb 0x594f70
lea edx, [r12 - 2]
mov ebx, 0x100
shr edx, 1
add rdx, 1
shl rdx, 8
cmp r12d, 1
cmovbe rdx, rbx
add r15, rdx
lea edx, [r14 + r14]
cmp dword [rsp + 0x48], edx
jbe 0x595010
mov r14d, edx
jmp 0x594f40
mov r12d, r14d
jmp 0x594f5d
mov r13, qword [rsp + 0x80]
lea ebp, [r14 - 1]
mov ecx, r14d
mov rsi, qword [rsp + 0xa8]
and eax, ebp
mov ebx, dword [rsp + 0x48]
lea r12, [r15 + 0x80]
mov r9d, 1
mov qword [rsp + 0x20], 0
mov r8, r12
sub ebx, ecx
mov rcx, r15
lea edx, [rbx + rax - 2]
shl rdx, 7
add rdx, rdi
call fcn.0058f8c0
mov rcx, r12
mov r9d, 1
mov qword [rsp + 0x20], 0
and ebp, eax
lea edx, [rbx + rbp - 1]
mov rbx, qword [rsp + 0x88]
shl rdx, 7
add rdx, rdi
mov r8, rbx
call fcn.0058f8c0
mov rax, qword [rbx]
lea r10, [r13 + r13]
xor ecx, ecx
xor edx, edx
mov qword [rbx + 0x80], rax
mov rax, qword [rbx + 8]
mov qword [rbx + 0x88], rax
mov rax, qword [rbx + 0x10]
movdqu xmm0, xmmword [rbx + 0x80]
movdqu xmm2, xmm0
mov qword [rbx + 0x90], rax
mov rax, qword [rbx + 0x18]
mov qword [rbx + 0x98], rax
mov rax, qword [rbx + 0x20]
mov qword [rbx + 0xa0], rax
mov rax, qword [rbx + 0x28]
mov qword [rbx + 0xa8], rax
mov rax, qword [rbx + 0x30]
movdqu xmm1, xmmword [rbx + 0xa0]
pblendw xmm2, xmm1, 0xf0
pblendw xmm0, xmm1, 0xf
movdqu xmm1, xmmword [rbx + 0x90]
mov qword [rbx + 0xb0], rax
mov rax, qword [rbx + 0x38]
movdqu xmm3, xmm1
mov qword [rbx + 0xb8], rax
movdqu xmm4, xmmword [rbx + 0xb0]
pblendw xmm3, xmm4, 0x3c
pblendw xmm1, xmm4, 0xc3
movdqu xmm4, xmm2
pblendw xmm2, xmm3, 0x33
pblendw xmm4, xmm3, 0xcc
movups xmmword [rsi + 0x10], xmm2
movdqu xmm2, xmm0
pblendw xmm0, xmm1, 0x33
pblendw xmm2, xmm1, 0xcc
movups xmmword [rsi], xmm4
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x30], xmm0
mov rax, qword [rbx + 0x40]
mov qword [rbx + 0x80], rax
mov rax, qword [rbx + 0x48]
mov qword [rbx + 0x88], rax
mov rax, qword [rbx + 0x50]
mov qword [rbx + 0x90], rax
mov rax, qword [rbx + 0x58]
mov qword [rbx + 0x98], rax
mov rax, qword [rbx + 0x60]
movdqu xmm0, xmmword [rbx + 0x80]
mov qword [rsp + 0xc0], r10
mov r9, qword [rsp + 0x40]
movdqu xmm2, xmm0
mov r12, qword [rsp + 0x60]
mov qword [rbx + 0xa0], rax
mov rax, qword [rbx + 0x68]
add r12, r9
mov qword [rbx + 0xa8], rax
mov rax, qword [rbx + 0x70]
movdqu xmm1, xmmword [rbx + 0xa0]
pblendw xmm2, xmm1, 0xf0
pblendw xmm0, xmm1, 0xf
movdqu xmm1, xmmword [rbx + 0x90]
mov qword [rbx + 0xb0], rax
mov rax, qword [rbx + 0x78]
movdqu xmm3, xmm1
mov qword [rbx + 0xb8], rax
movdqu xmm4, xmmword [rbx + 0xb0]
pblendw xmm3, xmm4, 0x3c
pblendw xmm1, xmm4, 0xc3
movdqu xmm4, xmm2
pblendw xmm2, xmm3, 0x33
pblendw xmm4, xmm3, 0xcc
movups xmmword [rsi + 0x50], xmm2
movdqu xmm2, xmm0
pblendw xmm0, xmm1, 0x33
pblendw xmm2, xmm1, 0xcc
movups xmmword [rsi + 0x40], xmm4
movups xmmword [rsi + 0x60], xmm2
movups xmmword [rsi + 0x70], xmm0
nop word cs:[rax + rax]
mov eax, ecx
shl rdx, 6
shl eax, 6
add rdx, r9
add rax, rsi
mov r8d, dword [rax]
mov dword [r12], r8d
mov r8d, dword [rax + 4]
mov dword [r12 + 4], r8d
mov r8d, dword [rax + 8]
mov dword [r12 + 8], r8d
mov r8d, dword [rax + 0xc]
mov dword [r12 + 0xc], r8d
mov r8d, dword [rax + 0x10]
mov dword [r12 + 0x10], r8d
mov r8d, dword [rax + 0x14]
mov dword [r12 + 0x14], r8d
mov r8d, dword [rax + 0x18]
mov dword [r12 + 0x18], r8d
mov r8d, dword [rax + 0x1c]
mov dword [r12 + 0x1c], r8d
mov r8d, dword [rax + 0x20]
mov dword [r12 + 0x20], r8d
mov r8d, dword [rax + 0x24]
mov dword [r12 + 0x24], r8d
mov r8d, dword [rax + 0x28]
mov dword [r12 + 0x28], r8d
mov r8d, dword [rax + 0x2c]
mov dword [r12 + 0x2c], r8d
mov r8d, dword [rax + 0x30]
mov dword [r12 + 0x30], r8d
mov r8d, dword [rax + 0x34]
mov dword [r12 + 0x34], r8d
mov r8d, dword [rax + 0x38]
mov dword [r12 + 0x38], r8d
mov eax, dword [rax + 0x3c]
mov dword [r12 + 0x3c], eax
movdqu xmm1, xmmword [r12 + 0x10]
movdqu xmm0, xmmword [r12]
movdqu xmm4, xmmword [r12 + 0x30]
movdqu xmm2, xmm0
pblendw xmm0, xmm1, 0x33
pblendw xmm2, xmm1, 0xcc
movdqu xmm1, xmmword [r12 + 0x20]
movdqu xmm3, xmm1
pblendw xmm1, xmm4, 0x33
pblendw xmm3, xmm4, 0xcc
movdqu xmm4, xmm2
pblendw xmm4, xmm3, 0xf0
pblendw xmm2, xmm3, 0xf
movups xmmword [rdx], xmm4
movdqu xmm4, xmm0
pblendw xmm0, xmm1, 0xc3
pblendw xmm4, xmm1, 0x3c
movups xmmword [rdx + 0x20], xmm2
movups xmmword [rdx + 0x10], xmm4
movups xmmword [rdx + 0x30], xmm0
lea edx, [rcx + 1]
mov rcx, rdx
cmp r10, rdx
ja 0x595240
mov r14, qword [rsp + 0x40]
lea rbx, [rsp + 0xf0]
mov rdx, r12
mov r8, r13
mov r9, rbx
mov rcx, r14
call fcn.0058d9e0
mov r15, qword [rsp + 0x60]
mov rcx, r12
mov r9, rbx
mov r8, r13
lea rax, [r12 + r15]
mov r12, r14
mov rdx, rax
mov rdi, rax
mov qword [rsp + 0x80], rax
call fcn.0058d9e0
mov edx, dword [rsp + 0x68]
mov rax, rdi
mov dword [rsp + 0x58], 2
mov eax, dword [rax + r15 - 0x40]
mov rdi, r15
mov qword [rsp + 0xc8], rsi
mov ecx, dword [rsp + 0x58]
shr edx, 1
mov dword [rsp + 0xa8], edx
mov rdx, r13
shl rdx, 8
mov qword [rsp + 0x50], rdx
nop dword [rax + rax]
cmp dword [rsp + 0xa8], ecx
ja 0x5954a0
mov esi, dword [rsp + 0x6c]
sub esi, ecx
mov dword [rsp + 0x48], esi
cmp esi, 1
jbe 0x595488
mov esi, dword [rsp + 0x58]
mov r15, qword [rsp + 0x80]
lea ebp, [rsi - 1]
mov esi, 1
mov r14, r15
nop
and eax, ebp
mov rcx, r14
mov r9, r13
mov qword [rsp + 0x20], rbx
lea edx, [rsi + rax - 1]
imul rdx, rdi
lea r15, [rdi + r14]
mov r8, r15
add rdx, r12
call fcn.0058f8c0
add r14, qword [rsp + 0x50]
mov r9, r13
mov rcx, r15
and eax, ebp
mov qword [rsp + 0x20], rbx
lea edx, [rax + rsi]
add esi, 2
imul rdx, rdi
mov r8, r14
add rdx, r12
call fcn.0058f8c0
cmp esi, dword [rsp + 0x48]
jb 0x595410
mov esi, dword [rsp + 0x48]
mov ecx, 1
lea edx, [rsi - 2]
shr edx, 1
add rdx, 1
cmp esi, 1
cmovbe rdx, rcx
imul rdx, qword [rsp + 0x50]
add qword [rsp + 0x80], rdx
mov ecx, dword [rsp + 0x58]
lea edx, [rcx + rcx]
cmp dword [rsp + 0x68], edx
jbe 0x5954b0
mov dword [rsp + 0x58], edx
mov ecx, edx
jmp 0x5953d8
mov dword [rsp + 0x48], ecx
jmp 0x5953f8
mov edi, dword [rsp + 0x68]
lea ebp, [rcx - 1]
mov r9, r13
mov qword [rsp + 0x20], rbx
mov r15, qword [rsp + 0x60]
and eax, ebp
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0xc8]
sub edi, ecx
mov rcx, qword [rsp + 0x80]
lea edx, [rax + rdi - 2]
imul rdx, r15
mov r12, rcx
add r12, r15
mov r8, r12
add rdx, r14
call fcn.0058f8c0
mov qword [rsp + 0x20], rbx
mov r9, r13
mov rcx, r12
and ebp, eax
mov r8, qword [rsp + 0x88]
lea edx, [rdi + rbp - 1]
imul rdx, r15
add rdx, r14
call fcn.0058f8c0
mov r11, qword [rsp + 0xc0]
xor eax, eax
mov rdx, r8
mov r10, r8
mov r8d, dword [rsp + 0xb8]
add rdx, r15
nop word cs:[rax + rax]
shl rax, 6
lea rcx, [r10 + rax]
add rax, rsi
mov r9d, dword [rcx]
mov dword [rdx], r9d
mov r9d, dword [rcx + 4]
mov dword [rdx + 4], r9d
mov r9d, dword [rcx + 8]
mov dword [rdx + 8], r9d
mov r9d, dword [rcx + 0xc]
mov dword [rdx + 0xc], r9d
mov r9d, dword [rcx + 0x10]
mov dword [rdx + 0x10], r9d
mov r9d, dword [rcx + 0x14]
mov dword [rdx + 0x14], r9d
mov r9d, dword [rcx + 0x18]
mov dword [rdx + 0x18], r9d
mov r9d, dword [rcx + 0x1c]
mov dword [rdx + 0x1c], r9d
mov r9d, dword [rcx + 0x20]
mov dword [rdx + 0x20], r9d
mov r9d, dword [rcx + 0x24]
mov dword [rdx + 0x24], r9d
mov r9d, dword [rcx + 0x28]
mov dword [rdx + 0x28], r9d
mov r9d, dword [rcx + 0x2c]
mov dword [rdx + 0x2c], r9d
mov r9d, dword [rcx + 0x30]
mov dword [rdx + 0x30], r9d
mov r9d, dword [rcx + 0x34]
mov dword [rdx + 0x34], r9d
mov r9d, dword [rcx + 0x38]
mov dword [rdx + 0x38], r9d
mov ecx, dword [rcx + 0x3c]
mov dword [rdx + 0x3c], ecx
movdqu xmm1, xmmword [rdx + 0x20]
movdqu xmm0, xmmword [rdx]
movdqu xmm4, xmmword [rdx + 0x30]
movdqu xmm2, xmm0
pblendw xmm0, xmm1, 0xf
pblendw xmm2, xmm1, 0xf0
movdqu xmm1, xmmword [rdx + 0x10]
movdqu xmm3, xmm1
pblendw xmm1, xmm4, 0xc3
pblendw xmm3, xmm4, 0x3c
movdqu xmm4, xmm2
pblendw xmm2, xmm3, 0x33
pblendw xmm4, xmm3, 0xcc
movups xmmword [rax + 0x10], xmm2
movdqu xmm2, xmm0
pblendw xmm0, xmm1, 0x33
pblendw xmm2, xmm1, 0xcc
movups xmmword [rax], xmm4
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x30], xmm0
lea eax, [r8 + 1]
mov r8, rax
cmp r11, rax
ja 0x595540
mov r8d, dword [rsp + 0x68]
mov qword [rsp + 0x30], rbx
mov rdx, r13
mov rcx, rsi
mov rax, qword [rsp + 0x88]
mov edi, dword [rsp + 0xbc]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov r9d, edi
mov qword [rsp + 0x20], rax
call fcn.005937a0
cmp dword [rsp + 0xb0], edi
ja 0x59573b
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
mov rax, qword [rdi]
add rax, rbx
movzx eax, byte [rax]
test al, al
jne 0x593cfd
mov rax, qword [rsp + 0x230]
mov r8, rsi
mov qword [rsp + 0x30], 0x20
mov edx, 0x20
mov qword [rsp + 0x20], 1
mov r9, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
call fcn.00528b10
mov rax, qword [rdi]
add rax, rbx
movzx eax, byte [rax]
test al, al
jne 0x593cfd
cmp qword [rsp + 0x70], 0
je 0x595780
mov rbx, qword [rsp + 0x98]
mov edx, 0x20
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x230]
mov qword [rsp + 0x20], rbx
call fcn.00528a20
mov r8, qword [rsp + 0x230]
mov edx, 0x20
mov rcx, rbx
call fcn.005282c0
mov eax, 1
jmp 0x593d19
mov r8d, dword [rsp + 0x68]
mov qword [rsp + 0x30], rbx
mov rdx, r13
mov rcx, rsi
mov rax, qword [rsp + 0x88]
mov r9d, 2
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.005937a0
jmp 0x59567c
xor eax, eax
xor ebp, ebp
mov ecx, 1
jmp 0x595029
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x70], rax
jmp 0x5956f3
mov qword [rdi + 8], 0
or eax, 0xffffffff
jmp 0x593d19