Function at 0x1000cb0ec
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, 0xb0
mov rax, qword [0x1004946a0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov eax, dword [0x1002f3aa4]
mov r15d, 0x269ec3
mov r14d, 0x8000
mov rbp, qword [rcx + 0x10]
mov r13d, 0xfffffff
mov qword [rsp + 0x70], rdx
lea r11, [0x100000000]
mov edx, dword [rbp + 5]
mov qword [rsp + 0x88], rcx
and rdx, r13
lea rsi, [rax + rdx - 1]
mov rcx, rax
xor edx, edx
mov rax, rsi
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 0x1000cb20c
xor r8d, r8d
mov edi, dword [0x10005e244]
xor eax, eax
add edi, 0xffffffff
add rdi, 1
mov r9, rdi
je 0x1000cb1c5
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 0x1000cb19d
mov qword [0x100495210], rcx
xor edx, edx
div rdi
test r10, r10
je 0x1000cb201
mov ecx, 0xffffc428
add r8, 1
mov eax, 0x3bd7
lock cmpxchg dword [r11 + rdx*4 + 0x478cb0], ecx
je 0x1000cb487
lea rax, [rdx + 1]
mov ecx, dword [0x10005e244]
xor edx, edx
div rcx
cmp r8, r10
jb 0x1000cb1cf
xor ebx, ebx
test rbx, rbx
jne 0x1000cb330
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
xor edi, edi
mov rcx, qword [0x10047b438]
mov r9, rcx
mov r8, rcx
add rdi, 1
xor eax, eax
test rcx, rcx
je 0x1000cb25e
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 0x1000cb236
mov qword [0x100495210], rcx
xor edx, edx
div r8
mov r9d, 0x40
mov rcx, rdx
mov rdx, rsi
mov r8d, 0x3000
shl rcx, 0x10
add rcx, qword [0x100493ee0]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x1000cb2c9
and qword [rsp + 0x28], 0
mov rcx, rax
and qword [rsp + 0x20], 0
mov r8d, esi
mov rdx, rax
or rcx, 3
lea r9, [0x1003c433c]
call qword [sym.imp.ntdll.dll_RtlInstallFunctionTableCallback]
test al, al
movzx edx, al
jne 0x1000cb2dd
mov r8d, r14d
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 0x1000cb217
xor ebx, ebx
cmp rbx, 0x10000
jb 0x1000cb2eb
test bl, 3
je 0x1000cb30d
test rbx, rbx
je 0x1000cb30b
mov rcx, rbx
or rcx, 3
call qword [sym.imp.ntdll.dll_RtlDeleteFunctionTable]
xor edx, edx
mov r8d, r14d
mov rcx, rbx
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 0x1000cb164
mov rdi, rbx
xor eax, eax
mov rcx, rsi
rep stosb byte [rdi], al
mov eax, 0x27271ecc
mov r15d, dword [rbp + 5]
mov edi, dword [0x1002f3aa4]
mov dl, byte [rbp + 1]
shr dl, 2
and r15, r13
mov qword [rsp + 0x90], r15
and edx, 7
lea r12, [rdx + rbp + 9]
lea rbp, [0x100000000]
mov esi, r12d
mov qword [rsp + 0x80], r12
sub rdi, r15
xor eax, eax
sub esi, ebp
mov dword [rsp + 0x34], esi
add rdi, 1
mov r8, rdi
je 0x1000cb3b1
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 0x1000cb385
mov qword [0x100495210], rcx
mov ecx, esi
xor edx, edx
div rdi
add rbx, rdx
mov qword [rsp + 0x68], rbx
mov rdx, r15
mov r8, rbx
mov eax, 0x71600bb
lea rcx, [rsp + 0x78]
xor dil, dil
mov rdx, qword [r12 + r15]
mov qword [rsp + 0x78], rdx
mov eax, 0x3bb73454
mov r9d, dword [rsp + 0x7c]
mov rcx, rbp
mov r10, qword [rsp + 0x78]
mov r14d, 4
mov rax, qword [0x1003f4900]
and qword [rsp + 0x48], 0
and r10, r13
and r9, r13
add r10, rbp
sub rcx, rax
mov qword [rsp + 0x40], rcx
jne 0x1000cb49e
xor r11d, r11d
test r9, r9
je 0x1000cb77e
mov edx, dword [rsp + 0x4c]
mov ebp, 0xdf2e6555
mov r8d, dword [rsp + 0x48]
movzx eax, byte [r10 + r11]
add r11, 1
sub eax, 0x20d19aab
add r8d, eax
add eax, edx
imul rax, rbp
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x38]
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 r8d, edx
cmp r11, r9
jb 0x1000cb432
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r8d
jmp 0x1000cb77e
mov ecx, dword [0x1002f3aa4]
imul rcx, rdx
lea rbx, [rcx + r11 + 0x425000]
jmp 0x1000cb203
movsxd rcx, dword [0x10000003c]
mov r8d, dword [rcx + rbp + 0xb0]
mov ecx, dword [rcx + rbp + 0xb4]
add r8, rbp
lea rax, [r10 + r9]
mov qword [rsp + 0x50], rax
mov eax, r10d
sub eax, ebp
mov esi, eax
lea r13, [rax + r9]
mov r11d, eax
mov rbp, r13
and r11, 0xfffffffffffff000
sub rsi, r11
and rbp, 0xfffffffffffff000
sub r13, rbp
add rcx, r8
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x60], r13
jmp 0x1000cb503
mov eax, dword [r8]
cmp rax, r11
jae 0x1000cb508
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x1000cb4f4
xor ebx, ebx
cmp r8, rcx
je 0x1000cb542
mov eax, dword [r8]
cmp rax, r11
jne 0x1000cb542
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x1000cb53d
mov ax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, rsi
jae 0x1000cb53d
add rbx, 1
cmp rbx, rcx
jne 0x1000cb524
mov rcx, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov edx, dword [rsp + 0x4c]
mov r9d, dword [rsp + 0x48]
mov edi, 0xdf2e6555
cmp r8, rcx
je 0x1000cb700
mov eax, dword [r8]
cmp rax, rbp
ja 0x1000cb700
mov r11d, dword [r8 + 4]
lea rax, [r11 - 8]
shr rax, 1
cmp rbx, rax
jne 0x1000cb596
add r8, r11
cmp r8, rcx
je 0x1000cb700
mov eax, dword [r8]
cmp rax, rbp
ja 0x1000cb700
xor ebx, ebx
jmp 0x1000cb56a
mov eax, dword [r8]
cmp rax, rbp
jne 0x1000cb5b2
mov ax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, r13
jae 0x1000cb700
mov rax, rbx
add rbx, 1
test word [r8 + rax*2 + 8], 0xf000
je 0x1000cb555
xor r13d, r13d
movzx r11d, word [r8 + rax*2 + 8]
mov esi, r11d
and esi, 0xfff
lea rax, [0x100000000]
add esi, dword [r8]
add rsi, rax
mov rax, rsi
sub rax, r10
je 0x1000cb63d
mov r15, rax
movzx eax, byte [r10 + r13]
add r13, 1
sub eax, 0x20d19aab
add r9d, eax
add eax, edx
imul rax, rdi
mov qword [rsp + 0x58], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x58]
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 r13, r15
jb 0x1000cb5ed
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
shr r11d, 0xc
mov rax, qword [rsi]
cmp r11d, 3
mov qword [rsp + 0x58], rax
je 0x1000cb65f
sub r11d, 0xa
neg r11d
sbb r10d, r10d
add r10d, 3
jmp 0x1000cb665
mov r10d, 2
mov r11, r12
neg r11
sub r10d, 2
je 0x1000cb68d
cmp r10d, 1
je 0x1000cb67d
or r10, 0xffffffffffffffff
jmp 0x1000cb695
add rax, r11
mov qword [rsp + 0x58], rax
mov r10d, 8
jmp 0x1000cb695
add dword [rsp + 0x58], r11d
mov r10, r14
xor r11d, r11d
test r10, r10
je 0x1000cb6ee
movzx eax, byte [rsp + r11 + 0x58]
add r11, 1
sub eax, 0x20d19aab
add r9d, eax
add eax, edx
imul rax, rdi
mov qword [rsp + 0x40], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x40]
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 0x1000cb69d
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
add r10, rsi
mov rcx, qword [rsp + 0x38]
mov r13, qword [rsp + 0x60]
jmp 0x1000cb555
mov r12, qword [rsp + 0x80]
xor r8d, r8d
mov dil, r8b
mov r15, qword [rsp + 0x90]
mov r11, qword [rsp + 0x50]
sub r11, r10
je 0x1000cb775
mov ebp, 0xdf2e6555
movzx eax, byte [r10 + r8]
add r8, 1
sub eax, 0x20d19aab
add r9d, eax
add eax, edx
imul rax, rbp
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x38]
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 r8, r11
jb 0x1000cb725
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
mov esi, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x68]
xor ecx, ecx
mov al, cl
add rcx, 1
and eax, 7
cmp rcx, 8
mov al, byte [rsp + rax + 0x48]
mov byte [rsp + rcx + 0x97], al
jb 0x1000cb780
mov eax, 0x5a67ec53
mov r11, rbx
mov r10, r12
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rbx
mov r13b, r15b
and r13d, 7
je 0x1000cbcb5
xor r8d, r8d
not esi
mov dword [rsp + 0x60], r8d
xor ebx, ebx
mov dword [rsp + 0x50], ebx
xor r11d, r11d
test r13d, r13d
jle 0x1000cb81a
lea r9d, [r8 + 0x38]
cmp r11d, r14d
movzx edx, byte [r10]
jge 0x1000cb7f3
lea ecx, [r9 - 0x20]
shl edx, cl
or ebx, edx
jmp 0x1000cb7fb
mov ecx, r9d
shl edx, cl
or r8d, edx
add r11d, 1
add r10, 1
sub r9d, 8
cmp r11d, r13d
jl 0x1000cb7e0
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x60], r8d
mov qword [rsp + 0x38], r10
mov ebp, dword [rsp + 0x9c]
movzx r11d, word [rsp + 0x9e]
mov ecx, eax
xor ecx, esi
movzx ebx, ax
movzx r10d, word [rsp + 0x9c]
movzx r9d, word [rsp + 0x9a]
sub ebp, ecx
mov ecx, ebx
xor ebp, dword [rsp + 0x34]
mov edx, ebp
xor ecx, ebp
ror edx, 9
imul ecx, r11d
add edx, ecx
xor esi, edx
mov edx, esi
mov ecx, r11d
xor ecx, esi
ror edx, 5
imul ecx, r10d
xor edx, ecx
xor ebp, edx
mov ecx, ebp
sub ecx, r9d
xor ecx, dword [rsp + 0x9c]
xor esi, ecx
mov ecx, esi
ror ecx, 7
sub ecx, ebx
imul ecx, r9d
xor ebp, ecx
mov ecx, r11d
mov edx, ebp
mov r8d, ebp
sub r8d, eax
ror r8d, 7
rol edx, 4
imul ecx, r8d
mov r8d, r9d
sub ecx, edx
xor esi, ecx
mov edx, esi
xor r8d, esi
mov ecx, r10d
rol r8d, 6
ror edx, 0xf
imul ecx, r8d
mov r8d, dword [rsp + 0x9c]
sub ecx, edx
xor ebp, ecx
sub r8d, ebp
mov edx, ebp
ror r8d, 4
ror edx, 2
mov ecx, r9d
imul ecx, r8d
mov r8d, dword [rsp + 0x9c]
add edx, ecx
mov ecx, ebx
xor esi, edx
mov edx, esi
xor r8d, esi
ror r8d, 7
ror edx, 0x10
imul ecx, r8d
mov r8d, eax
xor edx, ecx
xor ebp, edx
mov ecx, r11d
sub r8d, ebp
mov edx, ebp
ror r8d, 6
rol edx, 0xe
imul ecx, r8d
sub ecx, edx
xor esi, ecx
mov ecx, esi
sub ecx, eax
sub ecx, r10d
xor ebp, ecx
xor r11d, ebp
mov ecx, ebp
shr ecx, 0xb
imul r11d, r9d
xor r11d, ecx
xor r9d, r9d
xor esi, r11d
mov ecx, esi
mov edx, esi
sub edx, r10d
shr ecx, 3
rol edx, 4
imul edx, ebx
xor edx, ecx
mov ebx, dword [rsp + 0x60]
xor esi, ebx
xor edx, dword [rsp + 0x50]
xor ebp, edx
test r13d, r13d
mov edx, ebp
mov r8d, esi
jle 0x1000cb98c
mov rcx, qword [rsp + 0x40]
cmp r9d, r14d
jge 0x1000cb970
rol edx, 8
mov byte [rcx], dl
add rcx, 1
xor dil, dl
jmp 0x1000cb97e
rol r8d, 8
mov byte [rcx], r8b
add rcx, 1
xor dil, r8b
add r9d, 1
cmp r9d, r13d
jl 0x1000cb95d
mov qword [rsp + 0x40], rcx
lea ecx, [r13 - 4]
test ecx, ecx
jle 0x1000cbc9d
sub r14d, ecx
shl r14d, 3
mov ecx, r14d
shr esi, cl
shl esi, cl
mov r13d, dword [rsp + 0x50]
mov r11, qword [rsp + 0x40]
mov r10, qword [rsp + 0x38]
mov r14, r15
shr r14, 3
je 0x1000cbbe3
movzx ecx, word [rsp + 0x9e]
movzx r12d, word [rsp + 0x9c]
mov dword [rsp + 0x34], ecx
movzx ecx, word [rsp + 0x9a]
mov dword [rsp + 0x40], ecx
movzx ecx, word [rsp + 0x9c]
neg ecx
mov dword [rsp + 0x60], ecx
mov r15d, dword [rsp + 0x60]
movzx ecx, ax
mov dword [rsp + 0x50], ecx
mov edx, dword [rsp + 0x9c]
movzx ecx, byte [r10]
movzx r8d, byte [r10 + 4]
movzx r9d, byte [r10 + 1]
shl ecx, 8
shl r8d, 8
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 esi, r8d
mov ecx, eax
xor ecx, esi
sub edx, ecx
mov ecx, dword [rsp + 0x50]
xor edx, r9d
xor ebp, edx
mov edx, ebp
xor ecx, ebp
ror edx, 9
imul ecx, dword [rsp + 0x34]
add edx, ecx
movzx ecx, word [rsp + 0x9e]
xor esi, edx
xor ecx, esi
mov edx, esi
ror edx, 5
imul ecx, r12d
xor edx, ecx
xor ebp, edx
mov ecx, ebp
movzx edx, word [rsp + 0x9a]
sub ecx, edx
xor ecx, dword [rsp + 0x9c]
xor esi, ecx
mov ecx, esi
ror ecx, 7
sub ecx, dword [rsp + 0x50]
imul ecx, edx
xor ebp, ecx
mov ecx, ebp
mov edx, ebp
sub edx, eax
ror edx, 7
rol ecx, 4
imul edx, dword [rsp + 0x34]
sub edx, ecx
xor esi, edx
mov ecx, esi
movzx edx, word [rsp + 0x9a]
xor edx, esi
rol edx, 6
ror ecx, 0xf
imul edx, r12d
sub edx, ecx
xor ebp, edx
mov ecx, ebp
mov edx, dword [rsp + 0x9c]
sub edx, ebp
ror edx, 4
ror ecx, 2
imul edx, dword [rsp + 0x40]
add ecx, edx
mov edx, dword [rsp + 0x9c]
xor esi, ecx
mov ecx, esi
xor edx, esi
ror edx, 7
ror ecx, 0x10
imul edx, dword [rsp + 0x50]
xor ecx, edx
mov edx, eax
xor ebp, ecx
sub edx, ebp
ror edx, 6
mov ecx, ebp
rol ecx, 0xe
imul edx, dword [rsp + 0x34]
sub edx, ecx
xor esi, edx
mov ecx, esi
movzx edx, word [rsp + 0x9e]
sub ecx, eax
sub ecx, r12d
xor ebp, ecx
movzx ecx, word [rsp + 0x9a]
xor edx, ebp
imul edx, ecx
mov ecx, ebp
shr ecx, 0xb
xor edx, ecx
xor esi, edx
mov ecx, esi
shr ecx, 3
lea edx, [rsi + r15]
xor esi, ebx
rol edx, 4
mov ebx, r8d
mov byte [r11 + 7], sil
imul edx, dword [rsp + 0x50]
xor edx, ecx
xor edx, r13d
xor ebp, edx
mov byte [r11 + 3], bpl
xor dil, bpl
ror ebp, 8
mov r13d, r9d
mov byte [r11 + 2], bpl
xor dil, sil
ror esi, 8
mov byte [r11 + 6], sil
xor dil, bpl
ror ebp, 8
xor dil, sil
ror esi, 8
mov byte [r11 + 1], bpl
xor dil, bpl
mov byte [r11 + 5], sil
ror ebp, 8
mov byte [r11], bpl
xor dil, sil
ror esi, 8
mov cl, sil
mov byte [r11 + 4], sil
add r11, 8
xor cl, bpl
xor dil, cl
ror ebp, 8
ror esi, 8
sub r14, 1
jne 0x1000cb9fd
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x90]
cmp dil, byte [r15 + r12 + 8]
je 0x1000cbcdb
call fcn.1002d3e40
lea rbp, [0x1003e8888]
mov r10, rax
mov rbx, qword [rsp + 0x88]
lea r8, [rbx + 0x18]
mov qword [rbx + 0x10], rbp
mov rax, 0xfffffffffffff000
and r8, 0xfffffffffffffff8
mov r11d, 0xffff
lea r9, [r8 + 0xfff]
and r10, rax
mov rcx, qword [0x100495210]
and r9, rax
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 r11, 0x10
jne 0x1000cbc34
mov qword [0x100495210], rcx
movabs rax, 0x8000800080008001
mul rdi
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x98], r10
shr rdx, 0xf
imul rdx, rdx, 0xffff
sub rdi, rdx
add rdi, 1
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x70], 0
jmp 0x1000cbcd1
xor esi, esi
test ecx, ecx
jns 0x1000cb9a6
neg ecx
shl ecx, 3
shr ebp, cl
shl ebp, cl
jmp 0x1000cb9a6
mov ebx, esi
not ebx
mov r13d, esi
xor esi, esi
xor ebp, ebp
jmp 0x1000cb9b5
mov rax, qword [rsp + 0x70]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x1000cbcc5
jmp 0x1000cbdf2
mov rbx, r12
lea r14, [0x100000000]
mov rbp, qword [rsp + 0x68]
mov rsi, r14
sub rbx, rbp
mov rax, qword [0x1003f4900]
sub rsi, rax
jne 0x1000cbd05
test rbx, rbx
je 0x1000cbddf
xor edi, edi
mov r11, rbp
sub r11, r12
mov rcx, qword [0x1000016e8]
lea r8d, [rcx - 1]
sub r12d, r14d
lea r13d, [r15 + r12]
test r8d, r8d
lea r15, [0x100000000]
js 0x1000cbd5b
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 0x1000cbd51
lea r8d, [rax - 1]
jmp 0x1000cbd56
jbe 0x1000cbd60
lea edi, [rax + 1]
cmp r8d, edi
jge 0x1000cbd2b
movsxd r10, edi
jmp 0x1000cbdd8
movsxd r10, eax
jmp 0x1000cbdd8
mov edx, dword [r15 + r10*4 + 0x16ec]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x1000cbddf
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 0x1000cbdb3
sub edi, 1
je 0x1000cbdae
cmp edi, 1
jne 0x1000cbdb9
mov r9, rsi
jmp 0x1000cbdb9
mov r9, rbx
jmp 0x1000cbdb9
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x1000cbdc9
cmp edx, 1
jne 0x1000cbdd4
add qword [r8 + r11], r9
jmp 0x1000cbdcd
add dword [r8 + r11], r9d
mov rcx, qword [0x1000016e8]
add r10, 1
mov eax, ecx
cmp r10, rax
jb 0x1000cbd65
mov eax, dword [0x1002f3aa4]
mov eax, 0xc5339059
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