Function at 0x1000ab664
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x1004c4740]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea r11, [0x100000000]
lea rax, [0x100000000]
lea r12, [rcx + 0x18]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x98], rcx
mov ecx, 0xfffffff
mov r14, qword [r12]
mov ebp, dword [r14 + 5]
mov edx, dword [r14 + 1]
and rdx, rcx
mov qword [rsp + 0x88], r12
and rbp, rcx
add rbp, rax
mov eax, dword [0x1002f8888]
lea rsi, [rax + rdx - 1]
mov qword [rsp + 0xa0], rbp
mov rcx, rax
mov rax, rsi
xor edx, edx
div rcx
sub rsi, rdx
mov eax, dword [0x1002f8888]
xor r15d, r15d
mov eax, dword [0x1002f8888]
mov r10d, dword [0x1002a02b4]
mov eax, dword [0x1002a02b4]
cmp eax, r15d
je 0x1000ab7aa
mov rax, r15
mov edi, dword [0x1002a02b4]
dec edi
inc rdi
mov r8, r15
cmp rdi, r15
mov r9, rdi
je 0x1000ab763
mov rcx, qword [0x1004c43a0]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr r9, 0x10
add rcx, 0x269ec3
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
cmp r9, r15
jne 0x1000ab734
mov qword [0x1004c43a0], rcx
xor edx, edx
div rdi
cmp r10, r15
jbe 0x1000ab79e
inc r8
mov eax, 0x3bd7
mov ecx, 0xffffc428
lock cmpxchg dword [r11 + rdx*4 + 0x4c5a60], ecx
je 0x1000aba35
mov ecx, dword [0x1002a02b4]
lea rax, [rdx + 1]
xor edx, edx
div rcx
cmp r8, r10
jb 0x1000ab76d
mov rbx, r15
cmp rbx, r15
jne 0x1000ab8dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
mov rdi, r15
mov rcx, qword [0x1004c4380]
inc rdi
mov r8, rcx
mov r9, rcx
mov rax, r15
cmp rcx, r15
je 0x1000ab804
mov rcx, qword [0x1004c43a0]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr r9, 0x10
add rcx, 0x269ec3
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
cmp r9, r15
jne 0x1000ab7d5
mov qword [0x1004c43a0], rcx
xor edx, edx
div r8
mov r9d, 0x40
mov rcx, rdx
mov r8d, 0x3000
shl rcx, 0x10
add rcx, qword [0x1004c4308]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp rax, r15
mov rbx, rax
je 0x1000ab871
mov r8d, esi
lea r9, [0x100435424]
mov rcx, rax
mov rdx, rax
or rcx, 3
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ntdll.dll_RtlInstallFunctionTableCallback]
movzx edx, al
cmp edx, r15d
jne 0x1000ab886
mov rcx, rbx
mov r8d, 0x8000
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp rdi, 0x11
jb 0x1000ab7b6
mov rbx, r15
cmp rbx, 0x10000
jb 0x1000ab894
test bl, 3
je 0x1000ab8ba
cmp rbx, r15
je 0x1000ab8b7
mov rcx, rbx
or rcx, 3
call qword [sym.imp.ntdll.dll_RtlDeleteFunctionTable]
mov rcx, rbx
mov r8d, 0x8000
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, r15
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r11, [0x100000000]
cmp rbx, r15
je 0x1000ab6f8
xor eax, eax
mov rcx, rsi
mov rdi, rbx
rep stosb byte [rdi], al
mov eax, 0xcc36af80
add qword [r12], 9
lea r13, [0x100000000]
mov esi, ebp
mov r14d, dword [r14 + 1]
mov rax, r15
and r14d, 0xfffffff
mov r8d, dword [0x1002f8888]
sub r8, r14
inc r8
mov qword [rsp + 0x90], r14
sub esi, r13d
mov dword [rsp + 0x30], esi
cmp r8, r15
mov rdi, r8
je 0x1000ab958
mov rcx, qword [0x1004c43a0]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr rdi, 0x10
add rcx, 0x269ec3
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
cmp rdi, r15
jne 0x1000ab929
mov qword [0x1004c43a0], rcx
mov ecx, esi
xor edx, edx
div r8
add rbx, rdx
mov rdx, r14
mov r8, rbx
mov qword [rsp + 0x80], rbx
mov eax, 0x8aa82f74
lea rcx, [rsp + 0x70]
mov rdx, qword [r14 + rbp]
mov qword [rsp + 0x70], rdx
mov dil, r15b
mov eax, 0x6fd678c2
mov r9d, dword [rsp + 0x74]
mov rcx, r13
mov eax, 0xfffffff
mov r10, qword [rsp + 0x70]
and r10, rax
and r9, rax
add r10, r13
mov rax, qword [0x1000487b8]
mov qword [rsp + 0x48], r15
mov r15d, 4
sub rcx, rax
mov qword [rsp + 0x58], rcx
jne 0x1000aba4c
xor r11d, r11d
test r9, r9
je 0x1000abd38
mov r8d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x4c]
mov r13d, 0xdf2e6555
movzx eax, byte [r10 + r11]
inc r11
sub eax, 0x20d19aab
add r8d, eax
add eax, edx
imul rax, r13
mov qword [rsp + 0x38], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov edx, ecx
imul edx, edx, 0x7b1f
rol edx, 5
ror ecx, 5
xor edx, ecx
imul edx, edx, 0xdf2e6555
ror edx, 0x1f
add r8d, edx
cmp r11, r9
jb 0x1000ab9e1
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r8d
jmp 0x1000abd38
mov ecx, dword [0x1002f8888]
imul rcx, rdx
lea rbx, [rcx + r11 + 0x454000]
jmp 0x1000ab7a1
movsxd rcx, dword [0x10000003c]
lea rax, [r10 + r9]
mov r8d, dword [rcx + r13 + 0xb0]
add r8, r13
mov ecx, dword [rcx + r13 + 0xb4]
mov rbx, 0xfffffffffffff000
mov qword [rsp + 0x50], rax
mov eax, r10d
sub eax, r13d
mov esi, eax
mov r11d, eax
add rax, r9
and r11, rbx
mov r13, rax
and r13, rbx
sub rsi, r11
sub rax, r13
add rcx, r8
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x68], rax
jmp 0x1000abab1
mov eax, dword [r8]
cmp rax, r11
jae 0x1000abab6
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x1000abaa2
xor ebx, ebx
cmp r8, rcx
je 0x1000abaf4
mov eax, dword [r8]
cmp rax, r11
jne 0x1000abaf4
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x1000abaef
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, rsi
jae 0x1000abaef
inc rbx
add rdx, 2
cmp rbx, rcx
jne 0x1000abad6
mov rcx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x58]
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x4c]
mov r12d, 0xdf2e6555
cmp r8, rcx
je 0x1000abcaf
mov eax, dword [r8]
cmp rax, r13
ja 0x1000abcaf
mov edi, dword [r8 + 4]
lea rax, [rdi - 8]
shr rax, 1
cmp rbx, rax
jne 0x1000abb49
add r8, rdi
cmp r8, rcx
je 0x1000abcaf
mov eax, dword [r8]
cmp rax, r13
ja 0x1000abcaf
xor ebx, ebx
jmp 0x1000abb1d
mov eax, dword [r8]
cmp rax, r13
jne 0x1000abb67
movzx eax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, qword [rsp + 0x68]
jae 0x1000abcaf
mov edi, 0xf000
mov rax, rbx
inc rbx
test word [r8 + rax*2 + 8], di
je 0x1000abb08
movzx r11d, word [r8 + rax*2 + 8]
lea rax, [0x100000000]
mov esi, r11d
xor edi, edi
and esi, 0xfff
add esi, dword [r8]
add rsi, rax
mov rax, rsi
sub rax, r10
je 0x1000abbf2
mov r14, rax
movzx eax, byte [r10 + rdi]
inc rdi
sub eax, 0x20d19aab
add r9d, eax
add eax, edx
imul rax, r12
mov qword [rsp + 0x60], rax
mov ecx, dword [rsp + 0x60]
shr rax, 0x20
add ecx, eax
mov edx, ecx
imul edx, edx, 0x7b1f
rol edx, 5
ror ecx, 5
xor edx, ecx
imul edx, edx, 0xdf2e6555
ror edx, 0x1f
add r9d, edx
cmp rdi, r14
jb 0x1000abba3
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
shr r11d, 0xc
cmp r11d, 3
mov rax, qword [rsi]
mov qword [rsp + 0x60], rax
je 0x1000abc14
sub r11d, 0xa
neg r11d
sbb r10d, r10d
add r10d, 3
jmp 0x1000abc1a
mov r10d, 2
mov r11, rbp
neg r11
sub r10d, 2
je 0x1000abc42
cmp r10d, 1
je 0x1000abc32
or r10, 0xffffffffffffffff
jmp 0x1000abc4a
add rax, r11
mov r10d, 8
mov qword [rsp + 0x60], rax
jmp 0x1000abc4a
add dword [rsp + 0x60], r11d
mov r10, r15
xor r11d, r11d
test r10, r10
je 0x1000abca2
movzx eax, byte [rsp + r11 + 0x60]
inc r11
sub eax, 0x20d19aab
add r9d, eax
add eax, edx
imul rax, r12
mov qword [rsp + 0x58], rax
mov ecx, dword [rsp + 0x58]
shr rax, 0x20
add ecx, eax
mov edx, ecx
imul edx, edx, 0x7b1f
rol edx, 5
ror ecx, 5
xor edx, ecx
imul edx, edx, 0xdf2e6555
ror edx, 0x1f
add r9d, edx
cmp r11, r10
jb 0x1000abc52
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
add r10, rsi
mov rcx, qword [rsp + 0x38]
jmp 0x1000abb08
mov r14, qword [rsp + 0x90]
mov r11, qword [rsp + 0x50]
mov r12, qword [rsp + 0x88]
xor r8d, r8d
mov rbp, qword [rsp + 0xa0]
sub r11, r10
mov dil, r8b
je 0x1000abd2c
mov r13d, 0xdf2e6555
movzx eax, byte [r8 + r10]
inc r8
sub eax, 0x20d19aab
add r9d, eax
add eax, edx
imul rax, r13
mov qword [rsp + 0x38], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov edx, ecx
imul edx, edx, 0x7b1f
rol edx, 5
ror ecx, 5
xor edx, ecx
imul edx, edx, 0xdf2e6555
ror edx, 0x1f
add r9d, edx
cmp r8, r11
jb 0x1000abcdd
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
mov esi, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x80]
xor ecx, ecx
mov rax, rcx
inc rcx
and eax, 7
mov al, byte [rsp + rax + 0x48]
mov byte [rsp + rcx + 0xa7], al
cmp rcx, 8
jb 0x1000abd3a
mov eax, 0xfe9cc3a5
mov r13, r14
mov r10, rbp
mov rax, qword [rsp + 0xa8]
and r13d, 7
mov r11, rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x38], rbx
je 0x1000ac25b
mov ebx, esi
not ebx
xor r8d, r8d
xor esi, esi
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x50], r8d
xor r11d, r11d
test r13d, r13d
jle 0x1000abdd4
lea r9d, [r8 + 0x38]
cmp r11d, r15d
movzx edx, byte [r10]
jge 0x1000abdaf
lea ecx, [r9 - 0x20]
shl edx, cl
or esi, edx
jmp 0x1000abdb7
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r11d
inc r10
sub r9d, 8
cmp r11d, r13d
jl 0x1000abd9c
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x50], r8d
mov qword [rsp + 0x58], r10
mov ecx, eax
movzx r11d, ax
movzx r9d, word [rsp + 0xac]
movzx r8d, word [rsp + 0xaa]
mov esi, dword [rsp + 0xac]
xor ecx, ebx
movzx r10d, word [rsp + 0xae]
sub esi, ecx
xor esi, dword [rsp + 0x30]
mov edx, esi
ror edx, 9
mov ecx, esi
xor ecx, r11d
imul ecx, r10d
add edx, ecx
xor ebx, edx
mov edx, ebx
mov ecx, ebx
ror edx, 5
xor ecx, r10d
imul ecx, r9d
xor edx, ecx
xor esi, edx
mov ecx, esi
sub ecx, r8d
xor ecx, dword [rsp + 0xac]
xor ebx, ecx
mov ecx, ebx
ror ecx, 7
sub ecx, r11d
imul ecx, r8d
xor esi, ecx
mov edx, esi
sub edx, eax
mov ecx, esi
ror edx, 7
rol ecx, 4
imul edx, r10d
sub edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, ebx
xor edx, r8d
rol edx, 6
ror ecx, 0xf
imul edx, r9d
sub edx, ecx
xor esi, edx
mov edx, dword [rsp + 0xac]
mov ecx, esi
sub edx, esi
ror edx, 4
ror ecx, 2
imul edx, r8d
add ecx, edx
xor ebx, ecx
mov ecx, ebx
mov edx, dword [rsp + 0xac]
xor edx, ebx
ror edx, 7
ror ecx, 0x10
imul edx, r11d
xor ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, eax
sub edx, esi
ror edx, 6
rol ecx, 0xe
imul edx, r10d
sub edx, ecx
xor ebx, edx
mov ecx, ebx
sub ecx, eax
sub ecx, r9d
xor esi, ecx
mov edx, esi
xor edx, r10d
mov ecx, esi
imul edx, r8d
shr ecx, 0xb
xor edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, ebx
xor ebx, dword [rsp + 0x50]
mov r8d, ebx
sub edx, r9d
shr ecx, 3
xor r9d, r9d
rol edx, 4
imul edx, r11d
xor edx, ecx
mov ecx, dword [rsp + 0x68]
xor edx, ecx
xor esi, edx
mov edx, esi
test r13d, r13d
jle 0x1000abf2b
mov rcx, qword [rsp + 0x38]
cmp r9d, r15d
jge 0x1000abf11
rol edx, 8
mov byte [rcx], dl
inc rcx
xor dil, dl
jmp 0x1000abf1e
rol r8d, 8
mov byte [rcx], r8b
inc rcx
xor dil, r8b
inc r9d
cmp r9d, r13d
jl 0x1000abeff
mov qword [rsp + 0x38], rcx
lea ecx, [r13 - 4]
test ecx, ecx
jle 0x1000ac243
sub r15d, ecx
shl r15d, 3
mov ecx, r15d
shr ebx, cl
shl ebx, cl
mov r13d, dword [rsp + 0x50]
mov r11, qword [rsp + 0x38]
mov r10, qword [rsp + 0x58]
mov r15, r14
shr r15, 3
test r15, r15
je 0x1000ac18e
mov r12d, dword [rsp + 0x68]
movzx ecx, word [rsp + 0xae]
movzx ebp, word [rsp + 0xac]
mov dword [rsp + 0x50], ecx
movzx ecx, word [rsp + 0xaa]
mov dword [rsp + 0x38], ecx
movzx ecx, word [rsp + 0xac]
neg ecx
mov dword [rsp + 0x58], ecx
mov r14d, dword [rsp + 0x58]
movzx ecx, ax
mov dword [rsp + 0x30], ecx
movzx ecx, byte [r10]
shl ecx, 8
movzx r8d, byte [r10 + 4]
shl r8d, 8
mov edx, dword [rsp + 0xac]
movzx r9d, byte [r10 + 1]
or r9d, ecx
movzx ecx, byte [r10 + 2]
add r10, 8
shl r9d, 8
or r9d, ecx
shl r9d, 8
movzx ecx, byte [r10 - 5]
or r9d, ecx
movzx ecx, byte [r10 - 3]
or r8d, ecx
movzx ecx, byte [r10 - 2]
shl r8d, 8
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r10 - 1]
or r8d, ecx
xor ebx, r8d
mov ecx, eax
xor ecx, ebx
sub edx, ecx
xor edx, r9d
xor esi, edx
mov edx, esi
mov ecx, esi
xor ecx, dword [rsp + 0x30]
ror edx, 9
imul ecx, dword [rsp + 0x50]
add edx, ecx
xor ebx, edx
mov edx, ebx
mov ecx, ebx
xor ecx, dword [rsp + 0x50]
ror edx, 5
imul ecx, ebp
xor edx, ecx
xor esi, edx
movzx edx, word [rsp + 0xaa]
mov ecx, esi
sub ecx, edx
xor ecx, dword [rsp + 0xac]
xor ebx, ecx
mov ecx, ebx
ror ecx, 7
sub ecx, dword [rsp + 0x30]
imul ecx, edx
xor esi, ecx
mov edx, esi
sub edx, eax
ror edx, 7
mov ecx, esi
rol ecx, 4
imul edx, dword [rsp + 0x50]
sub edx, ecx
xor ebx, edx
movzx ecx, word [rsp + 0xaa]
mov edx, ebx
xor edx, ecx
rol edx, 6
mov ecx, ebx
ror ecx, 0xf
imul edx, ebp
sub edx, ecx
xor esi, edx
mov ecx, esi
mov edx, dword [rsp + 0xac]
sub edx, esi
ror edx, 4
ror ecx, 2
imul edx, dword [rsp + 0x38]
add ecx, edx
xor ebx, ecx
mov ecx, ebx
mov edx, dword [rsp + 0xac]
xor edx, ebx
ror edx, 7
imul edx, dword [rsp + 0x30]
ror ecx, 0x10
xor ecx, edx
mov edx, eax
xor esi, ecx
mov ecx, esi
sub edx, esi
ror edx, 6
rol ecx, 0xe
imul edx, dword [rsp + 0x50]
sub edx, ecx
xor ebx, edx
mov ecx, ebx
sub ecx, eax
sub ecx, ebp
xor esi, ecx
movzx ecx, word [rsp + 0xae]
mov edx, esi
xor edx, ecx
movzx ecx, word [rsp + 0xaa]
imul edx, ecx
mov ecx, esi
shr ecx, 0xb
xor edx, ecx
xor ebx, edx
mov ecx, ebx
shr ecx, 3
lea edx, [rbx + r14]
xor ebx, r13d
mov r13d, r8d
mov byte [r11 + 7], bl
rol edx, 4
imul edx, dword [rsp + 0x30]
xor edx, ecx
xor edx, r12d
xor esi, edx
mov r12d, r9d
xor dil, sil
mov byte [r11 + 3], sil
ror esi, 8
mov byte [r11 + 2], sil
xor dil, bl
ror ebx, 8
mov byte [r11 + 6], bl
xor dil, sil
ror esi, 8
mov byte [r11 + 1], sil
xor dil, bl
ror ebx, 8
mov byte [r11 + 5], bl
xor dil, sil
ror esi, 8
xor dil, bl
mov byte [r11], sil
ror ebx, 8
mov cl, bl
mov byte [r11 + 4], bl
add r11, 8
xor cl, sil
xor dil, cl
ror esi, 8
ror ebx, 8
sub r15, 1
jne 0x1000abfa3
mov rbp, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
cmp dil, byte [r14 + rbp + 8]
je 0x1000ac285
call fcn.100058248
lea r13, [0x1001094ec]
and r12, 0xfffffffffffffff8
mov r11, qword [rsp + 0x98]
mov r10, rax
lea r8, [r12 + 0xfff]
mov r9d, 0xffff
mov rax, 0xfffffffffffff000
and r10, rax
mov qword [r11 + 0x10], r13
and r8, rax
mov rcx, qword [0x1004c43a0]
xor edi, edi
imul rcx, rcx, 0x343fd
shl rdi, 0x10
shr r9, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or rdi, rdx
test r9, r9
jne 0x1000ac1dc
movabs rax, 0x8000800080008001
mov qword [0x1004c43a0], rcx
mul rdi
shr rdx, 0xf
imul rdx, rdx, 0xffff
sub rdi, rdx
inc rdi
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x98], r10
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x78], r9
jmp 0x1000ac27b
xor ebx, ebx
test ecx, ecx
jns 0x1000abf45
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x1000abf45
mov dword [rsp + 0x68], esi
mov r13d, esi
xor ebx, ebx
xor esi, esi
not r13d
jmp 0x1000abf54
mov rax, qword [rsp + 0x78]
mov qword [r12], rax
add r12, 8
cmp r12, r8
jb 0x1000ac26e
jmp 0x1000ac39e
lea r15, [0x100000000]
mov rbx, rbp
mov rsi, r15
mov rax, qword [0x1000487b8]
mov r13, qword [rsp + 0x80]
sub rbx, r13
sub rsi, rax
jne 0x1000ac2b2
test rbx, rbx
je 0x1000ac38b
mov r11, r13
mov rcx, qword [0x1001d1e58]
lea r8d, [rcx - 1]
xor edi, edi
sub r11, rbp
sub ebp, r15d
test r8d, r8d
lea r12d, [r14 + rbp]
lea r14, [0x100000000]
js 0x1000ac308
lea eax, [r8 + rdi]
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
mov r9d, dword [r14 + rdx*4 + 0x1d1e5c]
and r9d, 0xfffffff
cmp ebp, r9d
jae 0x1000ac2fe
lea r8d, [rax - 1]
jmp 0x1000ac303
jbe 0x1000ac30d
lea edi, [rax + 1]
cmp r8d, edi
jge 0x1000ac2d8
movsxd r10, edi
jmp 0x1000ac384
movsxd r10, eax
jmp 0x1000ac384
mov edx, dword [r14 + r10*4 + 0x1d1e5c]
mov eax, edx
and eax, 0xfffffff
cmp eax, r12d
jae 0x1000ac38b
mov r8, rdx
mov edi, edx
sar edx, 0x1e
shl edi, 2
and r8d, 0xfffffff
and edx, 3
sar edi, 0x1e
add r8, r15
xor r9d, r9d
and edi, 3
sub edi, 1
je 0x1000ac360
sub edi, 1
je 0x1000ac35b
cmp edi, 1
jne 0x1000ac366
mov r9, rsi
jmp 0x1000ac366
mov r9, rbx
jmp 0x1000ac366
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x1000ac376
cmp edx, 1
jne 0x1000ac381
add qword [r8 + r11], r9
jmp 0x1000ac37a
add dword [r8 + r11], r9d
mov rcx, qword [0x1001d1e58]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x1000ac312
mov eax, dword [0x1002f8888]
mov eax, 0xf4f95eed
mov r11, qword [rsp + 0x98]
mov qword [r11 + 0x10], r13
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.10027d5f4
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret