Function at 0x1002a7dfc
Capabilities:
Allocate or change rwx memory
Encode data using xor
Hash data using murmur3

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 [0x1004946a0]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea r13, [rcx + 0x18]
mov qword [rsp + 0x80], rdx
lea r14, [0x100000000]
lea r11, [0x100000000]
mov r15, qword [r13]
mov eax, 0xfffffff
mov qword [rsp + 0x90], rcx
mov r12d, dword [r15 + 5]
mov edx, dword [r15 + 1]
and rdx, rax
and r12, rax
mov qword [rsp + 0x98], r13
mov eax, dword [0x1002f3aa4]
mov rcx, rax
lea rsi, [rax + rdx - 1]
mov rax, rsi
xor edx, edx
add r12, r14
div rcx
mov eax, dword [0x1002f3aa4]
mov qword [rsp + 0x88], r12
sub rsi, rdx
mov r10d, dword [0x10005e244]
mov eax, dword [0x1002f3aa4]
mov eax, dword [0x10005e244]
test eax, eax
je 0x1002a7f3c
mov edi, dword [0x10005e244]
xor r8d, r8d
xor eax, eax
add edi, 0xffffffff
add rdi, 1
mov r9, rdi
je 0x1002a7ef5
mov rcx, qword [0x100495210]
imul rcx, rcx, 0x343fd
shl rax, 0x10
add rcx, 0x269ec3
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
shr r9, 0x10
jne 0x1002a7ec9
mov qword [0x100495210], rcx
xor edx, edx
div rdi
test r10, r10
je 0x1002a7f31
mov ecx, 0xffffc428
add r8, 1
mov eax, 0x3bd7
lock cmpxchg dword [r11 + rdx*4 + 0x478cb0], ecx
je 0x1002a81b9
lea rax, [rdx + 1]
mov ecx, dword [0x10005e244]
xor edx, edx
div rcx
cmp r8, r10
jb 0x1002a7eff
xor ebx, ebx
test rbx, rbx
jne 0x1002a8065
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
mov ebp, eax
mov rcx, qword [0x10047b438]
add rdi, 1
mov r8, rcx
xor eax, eax
test rcx, rcx
mov r9, rcx
je 0x1002a7f91
mov rcx, qword [0x100495210]
imul rcx, rcx, 0x343fd
shl rax, 0x10
add rcx, 0x269ec3
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
shr r9, 0x10
jne 0x1002a7f65
mov qword [0x100495210], rcx
mov r9d, 0x40
xor edx, edx
div r8
mov rcx, rdx
mov r8d, 0x3000
mov rdx, rsi
shl rcx, 0x10
add rcx, qword [0x100493ee0]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x1002a7ffc
lea r9, [0x1003c433c]
mov rdx, rax
and qword [rsp + 0x28], 0
mov r8d, esi
mov rcx, rax
and qword [rsp + 0x20], 0
or rcx, 3
call qword [sym.imp.ntdll.dll_RtlInstallFunctionTableCallback]
test al, al
jne 0x1002a8010
mov r8d, 0x8000
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp rdi, 0x11
jb 0x1002a7f46
xor ebx, ebx
cmp rbx, 0x10000
jb 0x1002a801e
test bl, 3
je 0x1002a8043
test rbx, rbx
je 0x1002a8041
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]
xor ebx, ebx
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
lea r11, [0x100000000]
je 0x1002a7e90
mov rcx, rsi
xor eax, eax
mov rdi, rbx
rep stosb byte [rdi], al
mov eax, 0x51c3f1cf
add qword [r13], 9
mov esi, 0xfffffff
mov edi, dword [0x1002f3aa4]
mov ebp, r12d
mov r15d, dword [r15 + 1]
and r15, rsi
sub ebp, r14d
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0x30], ebp
xor eax, eax
sub rdi, r15
add rdi, 1
mov r8, rdi
je 0x1002a80d4
mov rcx, qword [0x100495210]
imul rcx, rcx, 0x343fd
shl rax, 0x10
add rcx, 0x269ec3
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
shr r8, 0x10
jne 0x1002a80a8
mov qword [0x100495210], rcx
xor edx, edx
mov ecx, ebp
div rdi
add rbx, rdx
mov r8, rbx
mov qword [rsp + 0x70], rbx
mov rdx, r15
mov eax, 0xdeb6d251
lea rcx, [rsp + 0x78]
mov rdx, qword [r12 + r15]
xor dil, dil
mov qword [rsp + 0x78], rdx
mov eax, 0x3643cd0d
mov r9d, dword [rsp + 0x7c]
mov r10, qword [rsp + 0x78]
mov rcx, r14
mov rax, qword [0x1003f4900]
and qword [rsp + 0x48], 0
and r10, rsi
and r9, rsi
mov esi, 4
add r10, r14
sub rcx, rax
mov qword [rsp + 0x58], rcx
jne 0x1002a81d0
xor r11d, r11d
test r9, r9
je 0x1002a84e7
mov ebx, 0x9f4cc6a7
mov ecx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
movzx eax, byte [r10 + r11]
add r11, 1
sub eax, 0x60b33959
add r8d, eax
add eax, ecx
imul rax, rbx
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x38]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov eax, edx
sar eax, 0x1f
btr eax, 0x1f
add eax, edx
mov ecx, eax
imul ecx, ecx, 0x567c
rol ecx, 7
ror eax, 7
xor ecx, eax
add r8d, ecx
cmp r11, r9
jb 0x1002a8154
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], r8d
jmp 0x1002a84e2
mov ecx, dword [0x1002f3aa4]
imul rcx, rdx
lea rbx, [rcx + r11 + 0x425000]
jmp 0x1002a7f33
mov rbx, 0xfffffffffffff000
movsxd rcx, dword [0x10000003c]
lea rax, [r10 + r9]
mov r8d, dword [rcx + r14 + 0xb0]
mov ecx, dword [rcx + r14 + 0xb4]
mov qword [rsp + 0x68], rax
mov eax, r10d
add r8, r14
sub eax, r14d
mov ebp, eax
mov r11d, eax
add rax, r9
mov r14, rax
and r11, rbx
and r14, rbx
sub rbp, r11
sub rax, r14
add rcx, r8
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x50], rax
jmp 0x1002a8235
mov eax, dword [r8]
cmp rax, r11
jae 0x1002a823a
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x1002a8226
xor ebx, ebx
cmp r8, rcx
je 0x1002a8274
mov eax, dword [r8]
cmp rax, r11
jne 0x1002a8274
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x1002a826f
mov ax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, rbp
jae 0x1002a826f
add rbx, 1
cmp rbx, rcx
jne 0x1002a8256
mov rcx, qword [rsp + 0x38]
mov r9d, dword [rsp + 0x48]
mov r13d, 0x9f4cc6a7
mov edx, dword [rsp + 0x4c]
mov r12, qword [rsp + 0x58]
cmp r8, rcx
je 0x1002a8450
mov eax, dword [r8]
cmp rax, r14
ja 0x1002a8450
mov edi, dword [r8 + 4]
lea rax, [rdi - 8]
shr rax, 1
cmp rbx, rax
jne 0x1002a82c9
add r8, rdi
cmp r8, rcx
je 0x1002a8450
mov eax, dword [r8]
cmp rax, r14
ja 0x1002a8450
xor ebx, ebx
jmp 0x1002a829d
mov eax, dword [r8]
cmp rax, r14
jne 0x1002a82e7
mov ax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, qword [rsp + 0x50]
jae 0x1002a8450
mov rax, rbx
add rbx, 1
test word [r8 + rax*2 + 8], 0xf000
je 0x1002a8288
movzx r11d, word [r8 + rax*2 + 8]
lea rax, [0x100000000]
xor edi, edi
mov ebp, r11d
and ebp, 0xfff
add ebp, dword [r8]
add rbp, rax
mov rax, rbp
sub rax, r10
je 0x1002a8381
mov r15, rax
movzx eax, byte [rdi + r10]
add rdi, 1
sub eax, 0x60b33959
add r9d, eax
add eax, edx
imul rax, r13
mov qword [rsp + 0x60], rax
mov ecx, dword [rsp + 0x60]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov eax, edx
sar eax, 0x1f
btr eax, 0x1f
add eax, edx
mov edx, eax
imul edx, edx, 0x567c
rol edx, 7
ror eax, 7
xor edx, eax
add r9d, edx
cmp rdi, r15
jb 0x1002a8321
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
mov rax, qword [rbp]
mov qword [rsp + 0x60], rax
shr r11d, 0xc
cmp r11d, 3
je 0x1002a83a4
sub r11d, 0xa
neg r11d
sbb r10d, r10d
add r10d, 3
jmp 0x1002a83aa
mov r10d, 2
mov r11, r12
neg r11
sub r10d, 2
je 0x1002a83d2
cmp r10d, 1
je 0x1002a83c2
or r10, 0xffffffffffffffff
jmp 0x1002a83da
add rax, r11
mov r10d, 8
mov qword [rsp + 0x60], rax
jmp 0x1002a83da
add dword [rsp + 0x60], r11d
mov r10, rsi
xor r11d, r11d
test r10, r10
je 0x1002a8443
movzx eax, byte [rsp + r11 + 0x60]
add r11, 1
sub eax, 0x60b33959
add r9d, eax
add eax, edx
imul rax, r13
mov qword [rsp + 0x58], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x58]
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov eax, edx
sar eax, 0x1f
btr eax, 0x1f
add eax, edx
mov edx, eax
imul edx, edx, 0x567c
rol edx, 7
ror eax, 7
xor edx, eax
add r9d, edx
cmp r11, r10
jb 0x1002a83e2
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
add r10, rbp
mov rcx, qword [rsp + 0x38]
jmp 0x1002a8288
mov rbx, qword [rsp + 0x68]
mov r12, qword [rsp + 0x88]
xor r8d, r8d
sub rbx, r10
mov r13, qword [rsp + 0x98]
mov dil, r8b
mov r15, qword [rsp + 0xa0]
je 0x1002a84de
mov r11d, 0x9f4cc6a7
movzx eax, byte [r10 + r8]
add r8, 1
sub eax, 0x60b33959
add r9d, eax
add eax, edx
imul rax, r11
mov qword [rsp + 0x38], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x38]
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov eax, edx
sar eax, 0x1f
btr eax, 0x1f
add eax, edx
mov edx, eax
imul edx, edx, 0x567c
rol edx, 7
ror eax, 7
xor edx, eax
add r9d, edx
cmp r8, rbx
jb 0x1002a847e
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
mov ebp, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x70]
xor ecx, ecx
mov al, cl
add rcx, 1
and eax, 7
mov al, byte [rsp + rax + 0x48]
cmp rcx, 8
mov byte [rsp + rcx + 0xaf], al
jb 0x1002a84e9
mov eax, 0x123c3f82
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x50], r12
mov r14b, r15b
mov qword [rsp + 0x38], rbx
mov r10, r12
and r14d, 7
mov r11, rbx
je 0x1002a8a24
xor r8d, r8d
mov dword [rsp + 0x58], r8d
xor ebx, ebx
xor r11d, r11d
not ebp
test r14d, r14d
mov dword [rsp + 0x68], ebx
jle 0x1002a8583
lea r9d, [r8 + 0x38]
movzx edx, byte [r10]
cmp r11d, esi
jge 0x1002a855c
lea ecx, [r9 - 0x20]
shl edx, cl
or ebx, edx
jmp 0x1002a8564
mov ecx, r9d
shl edx, cl
or r8d, edx
add r11d, 1
add r10, 1
sub r9d, 8
cmp r11d, r14d
jl 0x1002a8549
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x58], r8d
mov qword [rsp + 0x50], r10
movzx r9d, word [rsp + 0xb4]
movzx ebx, ax
movzx r10d, word [rsp + 0xb2]
movzx r11d, word [rsp + 0xb6]
mov esi, ebp
mov ecx, r11d
sub esi, ebx
xor esi, dword [rsp + 0xb4]
xor esi, dword [rsp + 0x30]
mov edx, esi
lea r8d, [rax + rsi]
rol r8d, 0xf
rol edx, 7
imul ecx, r8d
sub ecx, edx
xor ebp, ecx
mov ecx, eax
xor ecx, dword [rsp + 0xb4]
xor ecx, ebp
xor esi, ecx
mov ecx, r10d
mov r8d, esi
mov edx, esi
sub r8d, dword [rsp + 0xb4]
ror r8d, 0xd
rol edx, 0xd
imul ecx, r8d
sub ecx, edx
xor ebp, ecx
mov ecx, ebx
mov edx, ebp
mov r8d, dword [rsp + 0xb4]
sub r8d, ebp
ror r8d, 0x10
ror edx, 9
imul ecx, r8d
sub ecx, edx
xor esi, ecx
mov r8d, r9d
xor r8d, esi
mov edx, esi
rol r8d, 1
mov ecx, r11d
ror edx, 9
imul ecx, r8d
sub ecx, edx
mov edx, eax
xor ebp, ecx
xor edx, ebp
mov ecx, dword [rsp + 0xb4]
sub ecx, edx
xor esi, ecx
mov edx, esi
mov ecx, r10d
mov r8d, esi
sub r8d, dword [rsp + 0xb4]
rol r8d, 0xe
ror edx, 0xb
imul ecx, r8d
add edx, ecx
xor ebp, edx
mov ecx, ebp
not ecx
mov edx, ebx
ror ecx, 1
add ecx, ebx
imul ecx, r11d
xor esi, ecx
xor edx, esi
mov ecx, esi
rol edx, 2
ror ecx, 0xe
imul edx, r11d
add ecx, edx
xor ebp, ecx
mov ecx, ebp
sub ecx, eax
sub ecx, r9d
xor esi, ecx
mov ecx, esi
ror ecx, 0xc
xor r11d, esi
imul r11d, r10d
xor r10d, r10d
xor ecx, r11d
lea edx, [r10 + 4]
xor ebp, ecx
xor r9d, ebp
mov ecx, ebp
shr ecx, 0xe
imul r9d, ebx
xor r9d, ecx
mov ebx, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x68]
xor ebp, ebx
mov r8d, ebp
xor r9d, ecx
xor esi, r9d
mov ecx, esi
test r14d, r14d
jle 0x1002a86fa
mov r9, qword [rsp + 0x38]
cmp r10d, edx
jge 0x1002a86de
rol ecx, 8
mov byte [r9], cl
add r9, 1
xor dil, cl
jmp 0x1002a86ec
rol r8d, 8
mov byte [r9], r8b
add r9, 1
xor dil, r8b
add r10d, 1
cmp r10d, r14d
jl 0x1002a86ca
mov qword [rsp + 0x38], r9
lea ecx, [r14 - 4]
test ecx, ecx
jle 0x1002a8a0c
sub edx, ecx
shl edx, 3
mov ecx, edx
shr ebp, cl
shl ebp, cl
mov r11, qword [rsp + 0x38]
mov r10, qword [rsp + 0x50]
mov rcx, r15
shr rcx, 3
mov qword [rsp + 0xa8], rcx
je 0x1002a8950
mov r14d, dword [rsp + 0xb4]
mov r15, qword [rsp + 0xa8]
movzx edx, ax
mov r13d, dword [rsp + 0x68]
mov ecx, eax
xor ecx, dword [rsp + 0xb4]
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x38], ecx
movzx ecx, word [rsp + 0xb6]
mov r12d, dword [rsp + 0x38]
mov dword [rsp + 0x50], ecx
movzx ecx, word [rsp + 0xb2]
mov dword [rsp + 0x58], ecx
movzx r9d, byte [r10 + 1]
movzx ecx, byte [r10]
shl ecx, 8
movzx r8d, byte [r10 + 4]
shl r8d, 8
add r10, 8
or r9d, ecx
shl r9d, 8
movzx ecx, byte [r10 - 6]
or r9d, ecx
shl r9d, 8
movzx ecx, byte [r10 - 5]
or r9d, ecx
movzx ecx, byte [r10 - 3]
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r10 - 2]
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r10 - 1]
or r8d, ecx
xor ebp, r8d
mov ecx, ebp
sub ecx, edx
xor ecx, r14d
xor ecx, r9d
xor esi, ecx
lea edx, [rax + rsi]
rol edx, 0xf
mov ecx, esi
rol ecx, 7
imul edx, dword [rsp + 0x50]
sub edx, ecx
xor ebp, edx
mov ecx, r12d
xor ecx, ebp
xor esi, ecx
mov edx, esi
sub edx, r14d
ror edx, 0xd
mov ecx, esi
rol ecx, 0xd
imul edx, dword [rsp + 0x58]
sub edx, ecx
xor ebp, edx
mov ecx, ebp
mov edx, r14d
sub edx, ebp
ror edx, 0x10
ror ecx, 9
imul edx, dword [rsp + 0x30]
sub edx, ecx
xor esi, edx
movzx edx, word [rsp + 0xb4]
mov ecx, esi
xor edx, esi
rol edx, 1
ror ecx, 9
imul edx, dword [rsp + 0x50]
sub edx, ecx
mov ecx, r14d
xor ebp, edx
mov edx, eax
xor edx, ebp
sub ecx, edx
xor esi, ecx
mov edx, esi
mov ecx, esi
sub edx, r14d
rol edx, 0xe
ror ecx, 0xb
imul edx, dword [rsp + 0x58]
add ecx, edx
movzx edx, word [rsp + 0xb6]
xor ebp, ecx
mov ecx, ebp
not ecx
ror ecx, 1
add ecx, dword [rsp + 0x30]
imul ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, dword [rsp + 0x30]
xor edx, esi
rol edx, 2
ror ecx, 0xe
imul edx, dword [rsp + 0x50]
add ecx, edx
movzx edx, word [rsp + 0xb4]
xor ebp, ecx
mov ecx, ebp
sub ecx, eax
sub ecx, edx
xor esi, ecx
movzx ecx, word [rsp + 0xb6]
xor ecx, esi
mov edx, esi
ror edx, 0xc
imul ecx, dword [rsp + 0x58]
xor edx, ecx
xor ebp, edx
mov ecx, ebp
movzx edx, word [rsp + 0xb4]
xor edx, ebp
xor ebp, ebx
mov ebx, r8d
mov byte [r11 + 7], bpl
shr ecx, 0xe
imul edx, dword [rsp + 0x30]
xor edx, ecx
xor edx, r13d
mov r13d, r9d
xor esi, edx
mov edx, dword [rsp + 0x30]
xor dil, sil
mov byte [r11 + 3], sil
ror esi, 8
xor dil, bpl
ror ebp, 8
mov byte [r11 + 2], sil
mov byte [r11 + 6], bpl
xor dil, sil
ror esi, 8
xor dil, bpl
mov byte [r11 + 1], sil
ror ebp, 8
mov byte [r11 + 5], bpl
xor dil, sil
ror esi, 8
xor dil, bpl
mov byte [r11], sil
ror ebp, 8
mov byte [r11 + 4], bpl
mov cl, bpl
add r11, 8
xor cl, sil
xor dil, cl
ror esi, 8
ror ebp, 8
sub r15, 1
jne 0x1002a8776
mov r12, qword [rsp + 0x88]
mov r15, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x98]
cmp dil, byte [r15 + r12 + 8]
je 0x1002a8a4f
call fcn.1002d3e40
lea rbp, [0x1003e8888]
and r13, 0xfffffffffffffff8
mov r11, qword [rsp + 0x90]
mov qword [r11 + 0x10], rbp
mov r9, rax
lea r8, [r13 + 0xfff]
mov r10d, 0xffff
mov rax, 0xfffffffffffff000
and r9, rax
and r8, rax
mov rcx, qword [0x100495210]
xor edi, edi
imul rcx, rcx, 0x343fd
shl rdi, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or rdi, rdx
shr r10, 0x10
jne 0x1002a899d
mov qword [0x100495210], rcx
movabs rax, 0x8000800080008001
mul rdi
shr rdx, 0xf
imul rdx, rdx, 0xffff
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x98], r9
sub rdi, rdx
add rdi, 1
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x80], 0
jmp 0x1002a8a45
xor ebp, ebp
test ecx, ecx
jns 0x1002a8711
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x1002a8711
mov dword [rsp + 0x68], ebp
mov ebx, ebp
xor ebp, ebp
not ebx
xor esi, esi
jmp 0x1002a871b
mov rax, qword [rsp + 0x80]
mov qword [r13], rax
add r13, 8
cmp r13, r8
jb 0x1002a8a35
jmp 0x1002a8b66
lea r14, [0x100000000]
mov rbx, r12
mov rbp, qword [rsp + 0x70]
mov rsi, r14
sub rbx, rbp
mov rax, qword [0x1003f4900]
sub rsi, rax
jne 0x1002a8a79
test rbx, rbx
je 0x1002a8b53
mov rcx, qword [0x1000016e8]
xor edi, edi
lea r8d, [rcx - 1]
mov r11, rbp
sub r11, r12
sub r12d, r14d
test r8d, r8d
lea r13d, [r15 + r12]
lea r15, [0x100000000]
js 0x1002a8acf
lea eax, [r8 + rdi]
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
mov r9d, dword [r15 + rdx*4 + 0x16ec]
and r9d, 0xfffffff
cmp r12d, r9d
jae 0x1002a8ac5
lea r8d, [rax - 1]
jmp 0x1002a8aca
jbe 0x1002a8ad4
lea edi, [rax + 1]
cmp r8d, edi
jge 0x1002a8a9f
movsxd r10, edi
jmp 0x1002a8b4c
movsxd r10, eax
jmp 0x1002a8b4c
mov edx, dword [r15 + r10*4 + 0x16ec]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x1002a8b53
mov edi, edx
mov r8, rdx
sar edx, 0x1e
shl edi, 2
and r8d, 0xfffffff
and edx, 3
sar edi, 0x1e
add r8, r14
xor r9d, r9d
and edi, 3
sub edi, 1
je 0x1002a8b27
sub edi, 1
je 0x1002a8b22
cmp edi, 1
jne 0x1002a8b2d
mov r9, rsi
jmp 0x1002a8b2d
mov r9, rbx
jmp 0x1002a8b2d
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x1002a8b3d
cmp edx, 1
jne 0x1002a8b48
add qword [r8 + r11], r9
jmp 0x1002a8b41
add dword [r8 + r11], r9d
mov rcx, qword [0x1000016e8]
add r10, 1
mov eax, ecx
cmp r10, rax
jb 0x1002a8ad9
mov eax, dword [0x1002f3aa4]
mov eax, 0x5e1978df
mov r11, qword [rsp + 0x90]
mov qword [r11 + 0x10], rbp
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1002d532c
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret