Function at 0x1000804f4
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, 0xb0
mov rax, qword [0x1004946a0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbp, qword [rcx + 0x10]
mov eax, dword [0x1002f3aa4]
mov r14d, 0x8000
mov r13d, 0xfffffff
mov qword [rsp + 0x70], rdx
lea r11, [0x100000000]
mov edx, dword [rbp + 5]
mov r15d, 0x269ec3
mov qword [rsp + 0x88], rcx
and rdx, r13
mov rcx, rax
lea rsi, [rax + rdx - 1]
mov rax, rsi
xor edx, edx
div rcx
mov eax, dword [0x1002f3aa4]
sub rsi, rdx
mov r10d, dword [0x10005e244]
mov eax, dword [0x1002f3aa4]
mov eax, dword [0x10005e244]
test eax, eax
je 0x100080614
mov edi, dword [0x10005e244]
xor r8d, r8d
xor eax, eax
add edi, 0xffffffff
add rdi, 1
mov r9, rdi
je 0x1000805cd
mov rcx, qword [0x100495210]
imul rcx, rcx, 0x343fd
shl rax, 0x10
add rcx, r15
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
shr r9, 0x10
jne 0x1000805a5
mov qword [0x100495210], rcx
xor edx, edx
div rdi
test r10, r10
je 0x100080609
mov eax, 0x3bd7
add r8, 1
mov ecx, 0xffffc428
lock cmpxchg dword [r11 + rdx*4 + 0x478cb0], ecx
je 0x1000808a5
mov ecx, dword [0x10005e244]
lea rax, [rdx + 1]
xor edx, edx
div rcx
cmp r8, r10
jb 0x1000805d7
xor ebx, ebx
test rbx, rbx
jne 0x100080738
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
xor edi, edi
add rdi, 1
xor eax, eax
mov rcx, qword [0x10047b438]
mov r8, rcx
mov r9, rcx
test rcx, rcx
je 0x100080666
mov rcx, qword [0x100495210]
imul rcx, rcx, 0x343fd
shl rax, 0x10
add rcx, r15
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
shr r9, 0x10
jne 0x10008063e
mov qword [0x100495210], rcx
xor edx, edx
div r8
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdx
mov rdx, rsi
shl rcx, 0x10
add rcx, qword [0x100493ee0]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x1000806d1
mov rcx, rax
lea r9, [0x1003c433c]
and qword [rsp + 0x28], 0
mov rdx, rax
and qword [rsp + 0x20], 0
or rcx, 3
mov r8d, esi
call qword [sym.imp.ntdll.dll_RtlInstallFunctionTableCallback]
test al, al
movzx edx, al
jne 0x1000806e5
mov rcx, rbx
xor edx, edx
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp rdi, 0x11
jb 0x10008061f
xor ebx, ebx
cmp rbx, 0x10000
jb 0x1000806f3
test bl, 3
je 0x100080715
test rbx, rbx
je 0x100080713
mov rcx, rbx
or rcx, 3
call qword [sym.imp.ntdll.dll_RtlDeleteFunctionTable]
mov rcx, rbx
xor edx, edx
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
lea r11, [0x100000000]
je 0x10008056c
mov rcx, rsi
mov rdi, rbx
xor eax, eax
rep stosb byte [rdi], al
mov eax, 0x5c2afefe
mov edi, dword [0x1002f3aa4]
mov dl, byte [rbp + 1]
mov r15d, dword [rbp + 5]
shr dl, 1
and r15, r13
and edx, 7
lea r12, [rdx + rbp + 9]
lea rbp, [0x100000000]
mov esi, r12d
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x80], r12
sub rdi, r15
xor eax, eax
sub esi, ebp
add rdi, 1
mov dword [rsp + 0x34], esi
mov r8, rdi
je 0x1000807b8
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 0x10008078c
mov qword [0x100495210], rcx
xor edx, edx
mov ecx, esi
div rdi
add rbx, rdx
mov r8, rbx
mov rdx, r15
mov qword [rsp + 0x68], rbx
mov eax, 0x8e957de9
lea rcx, [rsp + 0x78]
xor dil, dil
mov rdx, qword [r12 + r15]
mov qword [rsp + 0x78], rdx
mov eax, 0x1c2a3a82
mov rax, qword [0x1003f4900]
mov r10, qword [rsp + 0x78]
mov rcx, rbp
mov r14d, 4
mov r9d, dword [rsp + 0x7c]
and qword [rsp + 0x40], 0
and r10, r13
and r9, r13
add r10, rbp
sub rcx, rax
mov r13, 0xfffffffffffff000
mov qword [rsp + 0x50], rcx
jne 0x1000808bc
xor r11d, r11d
test r9, r9
je 0x100080baf
mov ecx, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov ebp, 0x9f4cc6a7
movzx eax, byte [r10 + r11]
add r11, 1
sub eax, 0x60b33959
add r8d, eax
add eax, ecx
imul rax, rbp
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 ecx, eax
imul ecx, ecx, 0x567c
rol ecx, 7
ror eax, 7
xor ecx, eax
add r8d, ecx
cmp r11, r9
jb 0x100080840
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x40], r8d
jmp 0x100080baf
mov ecx, dword [0x1002f3aa4]
imul rcx, rdx
lea rbx, [rcx + r11 + 0x425000]
jmp 0x10008060b
movsxd rcx, dword [0x10000003c]
lea rax, [r10 + r9]
mov r8d, dword [rcx + rbp + 0xb0]
add r8, rbp
mov edx, dword [rcx + rbp + 0xb4]
mov qword [rsp + 0x48], rax
mov eax, r10d
sub eax, ebp
mov esi, eax
mov r11d, eax
add rax, r9
and r11, r13
mov rbp, rax
and rbp, r13
sub rsi, r11
sub rax, rbp
lea r13, [rdx + r8]
mov qword [rsp + 0x38], rax
jmp 0x100080914
mov eax, dword [r8]
cmp rax, r11
jae 0x100080919
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, r13
jne 0x100080905
xor ebx, ebx
cmp r8, r13
je 0x10008094e
mov eax, dword [r8]
cmp rax, r11
jne 0x10008094e
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x10008094e
mov ax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, rsi
jae 0x10008094e
add rbx, 1
cmp rbx, rcx
jne 0x100080935
mov r15d, 0x9f4cc6a7
mov r9d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x44]
cmp r8, r13
je 0x100080b21
mov eax, dword [r8]
cmp rax, rbp
ja 0x100080b21
mov ecx, dword [r8 + 4]
lea rax, [rcx - 8]
shr rax, 1
cmp rbx, rax
jne 0x10008099e
add r8, rcx
cmp r8, r13
je 0x100080b21
mov eax, dword [r8]
cmp rax, rbp
ja 0x100080b21
xor ebx, ebx
jmp 0x100080972
mov eax, dword [r8]
cmp rax, rbp
jne 0x1000809bc
mov ax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, qword [rsp + 0x38]
jae 0x100080b21
mov rax, rbx
add rbx, 1
test word [r8 + rax*2 + 8], 0xf000
je 0x10008095d
movzx r11d, word [r8 + rax*2 + 8]
lea rax, [0x100000000]
xor edi, edi
mov esi, r11d
and esi, 0xfff
add esi, dword [r8]
add rsi, rax
mov rax, rsi
sub rax, r10
je 0x100080a56
mov r12, rax
movzx eax, byte [rdi + r10]
add rdi, 1
sub eax, 0x60b33959
add r9d, eax
add eax, edx
imul rax, r15
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 rdi, r12
jb 0x1000809f6
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x40], r9d
mov rax, qword [rsi]
shr r11d, 0xc
cmp r11d, 3
mov qword [rsp + 0x58], rax
je 0x100080a78
sub r11d, 0xa
neg r11d
sbb r10d, r10d
add r10d, 3
jmp 0x100080a7e
mov r10d, 2
mov r11, qword [rsp + 0x50]
neg r11
sub r10d, 2
je 0x100080aa8
cmp r10d, 1
je 0x100080a98
or r10, 0xffffffffffffffff
jmp 0x100080ab0
mov r10d, 8
add rax, r11
mov qword [rsp + 0x58], rax
jmp 0x100080ab0
add dword [rsp + 0x58], r11d
mov r10, r14
xor r11d, r11d
test r10, r10
je 0x100080b19
movzx eax, byte [rsp + r11 + 0x58]
add r11, 1
sub eax, 0x60b33959
add r9d, eax
add eax, edx
imul rax, r15
mov qword [rsp + 0x60], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x60]
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 0x100080ab8
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x40], r9d
add r10, rsi
jmp 0x10008095d
mov r12, qword [rsp + 0x80]
xor r8d, r8d
mov r11, qword [rsp + 0x48]
mov dil, r8b
mov r15, qword [rsp + 0x90]
sub r11, r10
je 0x100080ba6
mov ebp, 0x9f4cc6a7
movzx eax, byte [r10 + r8]
add r8, 1
sub eax, 0x60b33959
add r9d, eax
add eax, edx
imul rax, rbp
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 edx, eax
imul edx, edx, 0x567c
rol edx, 7
ror eax, 7
xor edx, eax
add r9d, edx
cmp r8, r11
jb 0x100080b46
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x40], r9d
mov esi, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x68]
xor ecx, ecx
mov al, cl
add rcx, 1
and eax, 7
mov al, byte [rsp + rax + 0x40]
mov byte [rsp + rcx + 0x97], al
cmp rcx, 8
jb 0x100080bb1
mov eax, 0xa0993ef9
mov r13b, r15b
mov rax, qword [rsp + 0x98]
mov r10, r12
mov qword [rsp + 0x38], r12
and r13d, 7
mov r11, rbx
mov qword [rsp + 0x50], rbx
je 0x1000810d9
mov ebp, esi
not ebp
xor r8d, r8d
xor ebx, ebx
xor r11d, r11d
test r13d, r13d
mov dword [rsp + 0x60], r8d
mov dword [rsp + 0x48], ebx
jle 0x100080c4d
lea r9d, [r8 + 0x38]
cmp r11d, r14d
movzx edx, byte [r10]
jge 0x100080c26
lea ecx, [r9 - 0x20]
shl edx, cl
or ebx, edx
jmp 0x100080c2e
mov ecx, r9d
shl edx, cl
or r8d, edx
add r11d, 1
add r10, 1
sub r9d, 8
cmp r11d, r13d
jl 0x100080c13
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x60], r8d
mov qword [rsp + 0x38], r10
movzx r9d, word [rsp + 0x9c]
movzx r10d, word [rsp + 0x9a]
mov esi, ebp
movzx r11d, word [rsp + 0x9e]
movzx ebx, ax
sub esi, ebx
mov ecx, r11d
xor esi, dword [rsp + 0x9c]
xor esi, dword [rsp + 0x34]
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 + 0x9c]
xor ecx, ebp
xor esi, ecx
mov r8d, esi
mov ecx, r10d
sub r8d, dword [rsp + 0x9c]
mov edx, esi
ror r8d, 0xd
rol edx, 0xd
imul ecx, r8d
mov r8d, dword [rsp + 0x9c]
sub ecx, edx
xor ebp, ecx
mov edx, ebp
mov ecx, ebx
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
ror edx, 9
mov ecx, r11d
imul ecx, r8d
sub ecx, edx
xor ebp, ecx
mov edx, eax
mov ecx, dword [rsp + 0x9c]
xor edx, ebp
sub ecx, edx
xor esi, ecx
mov r8d, esi
mov edx, esi
sub r8d, dword [rsp + 0x9c]
mov ecx, r10d
rol r8d, 0xe
ror edx, 0xb
imul ecx, r8d
add edx, ecx
xor ebp, edx
mov edx, ebx
mov ecx, ebp
not ecx
ror ecx, 1
add ecx, ebx
imul ecx, r11d
xor esi, ecx
mov ecx, esi
xor edx, 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 ecx, r11d
xor ebp, ecx
mov ecx, ebp
xor r9d, ebp
shr ecx, 0xe
imul r9d, ebx
mov ebx, dword [rsp + 0x60]
xor r9d, ecx
xor r9d, dword [rsp + 0x48]
xor ebp, ebx
xor esi, r9d
mov ecx, esi
xor r9d, r9d
test r13d, r13d
mov edx, ebp
jle 0x100080dbc
mov r8, qword [rsp + 0x50]
cmp r9d, r14d
jge 0x100080da1
rol ecx, 8
mov byte [r8], cl
add r8, 1
xor dil, cl
jmp 0x100080dae
rol edx, 8
mov byte [r8], dl
add r8, 1
xor dil, dl
add r9d, 1
cmp r9d, r13d
jl 0x100080d8d
mov qword [rsp + 0x50], r8
lea ecx, [r13 - 4]
test ecx, ecx
jle 0x1000810c1
sub r14d, ecx
shl r14d, 3
mov ecx, r14d
shr ebp, cl
shl ebp, cl
mov r10, qword [rsp + 0x38]
mov r11, qword [rsp + 0x50]
mov r14d, dword [rsp + 0x48]
mov rcx, r15
shr rcx, 3
mov qword [rsp + 0x38], rcx
je 0x100081007
movzx edx, ax
mov r13d, dword [rsp + 0x9c]
mov ecx, eax
mov r12, qword [rsp + 0x38]
xor ecx, dword [rsp + 0x9c]
mov dword [rsp + 0x50], ecx
movzx ecx, word [rsp + 0x9e]
mov dword [rsp + 0x48], edx
mov r15d, dword [rsp + 0x50]
mov dword [rsp + 0x34], ecx
movzx ecx, word [rsp + 0x9a]
mov dword [rsp + 0x60], ecx
movzx r8d, byte [r10 + 4]
movzx ecx, byte [r10]
movzx r9d, byte [r10 + 1]
shl ecx, 8
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
movzx ecx, byte [r10 - 2]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [r10 - 1]
shl r8d, 8
or r8d, ecx
xor ebp, r8d
mov ecx, ebp
sub ecx, edx
xor ecx, r13d
xor ecx, r9d
xor esi, ecx
mov ecx, esi
lea edx, [rax + rsi]
rol edx, 0xf
rol ecx, 7
imul edx, dword [rsp + 0x34]
sub edx, ecx
mov ecx, r15d
xor ebp, edx
xor ecx, ebp
xor esi, ecx
mov edx, esi
mov ecx, esi
sub edx, r13d
ror edx, 0xd
rol ecx, 0xd
imul edx, dword [rsp + 0x60]
sub edx, ecx
xor ebp, edx
mov edx, r13d
sub edx, ebp
mov ecx, ebp
ror edx, 0x10
ror ecx, 9
imul edx, dword [rsp + 0x48]
sub edx, ecx
xor esi, edx
movzx edx, word [rsp + 0x9c]
mov ecx, esi
xor edx, esi
rol edx, 1
ror ecx, 9
imul edx, dword [rsp + 0x34]
sub edx, ecx
mov ecx, r13d
xor ebp, edx
mov edx, eax
xor edx, ebp
sub ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
sub edx, r13d
rol edx, 0xe
ror ecx, 0xb
imul edx, dword [rsp + 0x60]
add ecx, edx
movzx edx, word [rsp + 0x9e]
xor ebp, ecx
mov ecx, ebp
not ecx
ror ecx, 1
add ecx, dword [rsp + 0x48]
imul ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, dword [rsp + 0x48]
xor edx, esi
rol edx, 2
ror ecx, 0xe
imul edx, dword [rsp + 0x34]
add ecx, edx
xor ebp, ecx
movzx edx, word [rsp + 0x9c]
mov ecx, ebp
sub ecx, eax
sub ecx, edx
xor esi, ecx
movzx ecx, word [rsp + 0x9e]
mov edx, esi
xor ecx, esi
ror edx, 0xc
imul ecx, dword [rsp + 0x60]
xor edx, ecx
xor ebp, edx
movzx edx, word [rsp + 0x9c]
mov ecx, ebp
xor edx, ebp
xor ebp, ebx
mov ebx, r8d
mov byte [r11 + 7], bpl
shr ecx, 0xe
imul edx, dword [rsp + 0x48]
xor edx, ecx
xor edx, r14d
xor esi, edx
mov r14d, r9d
xor dil, sil
mov edx, dword [rsp + 0x48]
mov byte [r11 + 3], sil
ror esi, 8
mov byte [r11 + 2], sil
xor dil, bpl
ror ebp, 8
xor dil, sil
ror esi, 8
mov byte [r11 + 6], bpl
mov byte [r11 + 1], sil
xor dil, bpl
ror ebp, 8
mov byte [r11 + 5], bpl
xor dil, sil
ror esi, 8
mov byte [r11], sil
xor dil, bpl
ror ebp, 8
mov cl, bpl
mov byte [r11 + 4], bpl
add r11, 8
xor cl, sil
xor dil, cl
ror esi, 8
ror ebp, 8
sub r12, 1
jne 0x100080e35
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x90]
cmp dil, byte [r15 + r12 + 8]
je 0x1000810ff
call fcn.1002d3e40
mov r10, rax
mov r11d, 0xffff
mov rax, 0xfffffffffffff000
mov rbx, qword [rsp + 0x88]
lea r8, [rbx + 0x18]
and r8, 0xfffffffffffffff8
and r10, rax
lea r9, [r8 + 0xfff]
and r9, rax
xor edi, edi
lea rbp, [0x1003e8888]
mov qword [rbx + 0x10], rbp
mov rcx, qword [0x100495210]
imul rcx, rcx, 0x343fd
shl rdi, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or rdi, rdx
shr r11, 0x10
jne 0x100081058
mov qword [0x100495210], rcx
movabs rax, 0x8000800080008001
mul rdi
shr rdx, 0xf
mov rax, qword [rsp + 0x70]
imul rdx, rdx, 0xffff
mov qword [rax + 0x98], r10
sub rdi, rdx
add rdi, 1
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x70], 0
jmp 0x1000810f5
xor ebp, ebp
test ecx, ecx
jns 0x100080dd6
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x100080dd6
mov ebx, esi
not ebx
mov r14d, esi
xor ebp, ebp
xor esi, esi
jmp 0x100080de5
mov rax, qword [rsp + 0x70]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x1000810e9
jmp 0x100081216
mov rax, qword [0x1003f4900]
mov rbp, qword [rsp + 0x68]
mov rbx, r12
sub rbx, rbp
lea r14, [0x100000000]
mov rsi, r14
sub rsi, rax
jne 0x100081129
test rbx, rbx
je 0x100081203
xor edi, edi
mov r11, rbp
mov rcx, qword [0x1000016e8]
lea r8d, [rcx - 1]
sub r11, r12
sub r12d, r14d
lea r13d, [r15 + r12]
lea r15, [0x100000000]
test r8d, r8d
js 0x10008117f
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 0x100081175
lea r8d, [rax - 1]
jmp 0x10008117a
jbe 0x100081184
lea edi, [rax + 1]
cmp r8d, edi
jge 0x10008114f
movsxd r10, edi
jmp 0x1000811fc
movsxd r10, eax
jmp 0x1000811fc
mov edx, dword [r15 + r10*4 + 0x16ec]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x100081203
mov r8, rdx
mov edi, edx
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 0x1000811d7
sub edi, 1
je 0x1000811d2
cmp edi, 1
jne 0x1000811dd
mov r9, rsi
jmp 0x1000811dd
mov r9, rbx
jmp 0x1000811dd
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x1000811ed
cmp edx, 1
jne 0x1000811f8
add qword [r8 + r11], r9
jmp 0x1000811f1
add dword [r8 + r11], r9d
mov rcx, qword [0x1000016e8]
add r10, 1
mov eax, ecx
cmp r10, rax
jb 0x100081189
mov eax, dword [0x1002f3aa4]
mov eax, 0x92c267e9
mov rbx, qword [rsp + 0x88]
mov qword [rbx + 0x10], rbp
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1002d532c
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret