Function at 0x1002cbe90
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 rax, [0x100000000]
lea r11, [0x100000000]
lea r12, [rcx + 0x18]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x88], rcx
mov r14, qword [r12]
mov ebp, dword [r14 + 1]
mov edx, dword [r14 + 5]
mov qword [rsp + 0x90], r12
mov ecx, 0xfffffff
and rdx, rcx
and rbp, rcx
add rbp, rax
mov eax, dword [0x1002f8888]
mov rcx, rax
lea rsi, [rax + rdx - 1]
mov rax, rsi
mov qword [rsp + 0x80], rbp
xor edx, edx
div rcx
sub rsi, rdx
xor r15d, r15d
mov eax, dword [0x1002f8888]
mov r10d, dword [0x1002a02b4]
mov eax, dword [0x1002f8888]
mov eax, dword [0x1002a02b4]
cmp eax, r15d
je 0x1002cbfd6
mov r8, r15
mov rax, r15
mov edi, dword [0x1002a02b4]
dec edi
inc rdi
mov r9, rdi
cmp rdi, r15
je 0x1002cbf8f
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 0x1002cbf60
mov qword [0x1004c43a0], rcx
xor edx, edx
div rdi
cmp r10, r15
jbe 0x1002cbfca
inc r8
mov eax, 0x3bd7
mov ecx, 0xffffc428
lock cmpxchg dword [r11 + rdx*4 + 0x4c5a60], ecx
je 0x1002cc270
lea rax, [rdx + 1]
mov ecx, dword [0x1002a02b4]
xor edx, edx
div rcx
cmp r8, r10
jb 0x1002cbf99
mov rbx, r15
cmp rbx, r15
jne 0x1002cc109
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, r15
mov r13d, eax
inc rdi
mov rax, r15
mov rcx, qword [0x1004c4380]
cmp rcx, r15
mov r9, rcx
mov r8, rcx
je 0x1002cc030
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 0x1002cc001
mov qword [0x1004c43a0], rcx
mov r9d, 0x40
xor edx, edx
div r8
mov r8d, 0x3000
mov rcx, rdx
shl rcx, 0x10
mov rdx, rsi
add rcx, qword [0x1004c4308]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp rax, r15
mov rbx, rax
je 0x1002cc09d
mov qword [rsp + 0x28], r15
mov rdx, rax
mov rcx, rax
or rcx, 3
mov r8d, esi
mov qword [rsp + 0x20], r15
lea r9, [0x100435424]
call qword [sym.imp.ntdll.dll_RtlInstallFunctionTableCallback]
movzx edx, al
cmp edx, r15d
jne 0x1002cc0b2
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 0x1002cbfe2
mov rbx, r15
cmp rbx, 0x10000
jb 0x1002cc0c0
test bl, 3
je 0x1002cc0e6
cmp rbx, r15
je 0x1002cc0e3
mov rcx, rbx
or rcx, 3
call qword [sym.imp.ntdll.dll_RtlDeleteFunctionTable]
mov r8d, 0x8000
mov rcx, rbx
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 0x1002cbf24
mov rcx, rsi
xor eax, eax
mov rdi, rbx
rep stosb byte [rdi], al
mov eax, 0x2cc919f5
lea r13, [0x100000000]
mov rax, r15
add qword [r12], 9
mov r8d, dword [0x1002f8888]
mov esi, ebp
mov r14d, dword [r14 + 5]
and r14d, 0xfffffff
mov qword [rsp + 0x98], r14
sub r8, r14
inc r8
sub esi, r13d
mov dword [rsp + 0x38], esi
cmp r8, r15
mov rdi, r8
je 0x1002cc184
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 0x1002cc155
mov qword [0x1004c43a0], rcx
mov ecx, esi
xor edx, edx
div r8
add rbx, rdx
mov r8, rbx
mov rdx, r14
mov qword [rsp + 0x70], rbx
mov eax, 0xa59395fb
mov dil, r15b
mov rdx, qword [r14 + rbp]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rdx
mov eax, 0xa663c563
mov eax, 0xfffffff
mov r10, qword [rsp + 0x68]
and r10, rax
mov r9d, dword [rsp + 0x6c]
and r9, rax
mov rax, qword [0x1000487b8]
mov qword [rsp + 0x48], r15
mov r15d, 4
add r10, r13
mov rcx, r13
sub rcx, rax
mov qword [rsp + 0x30], rcx
jne 0x1002cc287
xor r11d, r11d
test r9, r9
je 0x1002cc5b5
mov ecx, dword [rsp + 0x4c]
mov esi, 0xd4afbe6b
mov r8d, dword [rsp + 0x48]
movzx eax, byte [r10 + r11]
inc r11
sub eax, 0x2b504195
add r8d, eax
add eax, ecx
imul rax, rsi
mov qword [rsp + 0x30], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x30]
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
imul rax, rsi
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x30]
shr rax, 0x20
add ecx, eax
add r8d, ecx
cmp r11, r9
jb 0x1002cc209
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], r8d
jmp 0x1002cc5b1
mov ecx, dword [0x1002f8888]
imul rcx, rdx
lea rbx, [rcx + r11 + 0x454000]
jmp 0x1002cbfcd
movsxd rcx, dword [0x10000003c]
mov rbx, 0xfffffffffffff000
lea rax, [r10 + r9]
mov r8d, dword [rcx + r13 + 0xb0]
mov qword [rsp + 0xa0], rax
mov eax, r10d
sub eax, r13d
mov r11d, eax
add r8, r13
mov r13d, dword [rcx + r13 + 0xb4]
mov esi, eax
add rax, r9
and r11, rbx
mov rcx, rax
and rcx, rbx
sub rsi, r11
sub rax, rcx
add r13, r8
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rax
jmp 0x1002cc2f4
mov eax, dword [r8]
cmp rax, r11
jae 0x1002cc2f9
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, r13
jne 0x1002cc2e5
xor ebx, ebx
cmp r8, r13
je 0x1002cc337
mov eax, dword [r8]
cmp rax, r11
jne 0x1002cc337
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x1002cc332
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, rsi
jae 0x1002cc332
inc rbx
add rdx, 2
cmp rbx, rcx
jne 0x1002cc319
mov rcx, qword [rsp + 0x40]
lea rbp, [0x100000000]
mov r14, qword [rsp + 0x30]
mov edx, dword [rsp + 0x4c]
mov esi, 0xd4afbe6b
mov r9d, dword [rsp + 0x48]
cmp r8, r13
je 0x1002cc51f
mov eax, dword [r8]
cmp rax, rcx
ja 0x1002cc51f
mov edi, dword [r8 + 4]
lea rax, [rdi - 8]
shr rax, 1
cmp rbx, rax
jne 0x1002cc392
add r8, rdi
cmp r8, r13
je 0x1002cc51f
mov eax, dword [r8]
cmp rax, rcx
ja 0x1002cc51f
xor ebx, ebx
jmp 0x1002cc366
mov eax, dword [r8]
cmp rax, rcx
jne 0x1002cc3b0
movzx eax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, qword [rsp + 0x60]
jae 0x1002cc51f
mov rax, rbx
mov edi, 0xf000
inc rbx
test word [r8 + rax*2 + 8], di
je 0x1002cc351
movzx r11d, word [r8 + rax*2 + 8]
mov r13d, r11d
xor r12d, r12d
and r13d, 0xfff
add r13d, dword [r8]
add r13, rbp
mov rax, r13
sub rax, r10
je 0x1002cc449
mov rdi, rax
movzx eax, byte [r10 + r12]
inc r12
sub eax, 0x2b504195
add r9d, eax
add eax, edx
imul rax, rsi
mov qword [rsp + 0x50], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x50]
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
imul rax, rsi
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x50]
shr rax, 0x20
add edx, eax
add r9d, edx
cmp r12, rdi
jb 0x1002cc3e7
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
mov rax, qword [r13]
shr r11d, 0xc
cmp r11d, 3
mov qword [rsp + 0x50], rax
je 0x1002cc46c
sub r11d, 0xa
neg r11d
sbb r10d, r10d
add r10d, 3
jmp 0x1002cc472
mov r10d, 2
mov r11, r14
neg r11
sub r10d, 2
je 0x1002cc49a
cmp r10d, 1
je 0x1002cc48a
or r10, 0xffffffffffffffff
jmp 0x1002cc4a2
mov r10d, 8
add rax, r11
mov qword [rsp + 0x50], rax
jmp 0x1002cc4a2
add dword [rsp + 0x50], r11d
mov r10, r15
xor r11d, r11d
test r10, r10
je 0x1002cc50d
movzx eax, byte [rsp + r11 + 0x50]
inc r11
sub eax, 0x2b504195
add r9d, eax
add eax, edx
imul rax, rsi
mov qword [rsp + 0x30], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x30]
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
imul rax, rsi
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x30]
shr rax, 0x20
add edx, eax
add r9d, edx
cmp r11, r10
jb 0x1002cc4aa
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
mov rcx, qword [rsp + 0x40]
add r10, r13
mov r13, qword [rsp + 0x58]
jmp 0x1002cc351
xor r8d, r8d
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x80]
mov r11, qword [rsp + 0xa0]
mov dil, r8b
sub r11, r10
mov r14, qword [rsp + 0x98]
je 0x1002cc5ac
movzx eax, byte [r8 + r10]
inc r8
sub eax, 0x2b504195
add r9d, eax
add eax, edx
imul rax, rsi
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x30]
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
imul rax, rsi
mov qword [rsp + 0x30], rax
shr rax, 0x20
mov edx, dword [rsp + 0x30]
add edx, eax
add r9d, edx
cmp r8, r11
jb 0x1002cc54a
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
mov rbx, qword [rsp + 0x70]
mov esi, dword [rsp + 0x38]
xor ecx, ecx
mov rax, rcx
inc rcx
and eax, 7
cmp rcx, 8
mov al, byte [rsp + rax + 0x48]
mov byte [rsp + rcx + 0xa7], al
jb 0x1002cc5b7
mov eax, 0xf38f45ad
mov r13, r14
and r13d, 7
mov r11, rbx
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rbx
mov r10, rbp
je 0x1002ccaa8
mov ebx, esi
not ebx
xor r8d, r8d
xor r11d, r11d
and dword [rsp + 0x60], r8d
test r13d, r13d
mov dword [rsp + 0x58], r8d
jle 0x1002cc64e
lea r9d, [r8 + 0x38]
movzx edx, byte [r10]
cmp r11d, r15d
jge 0x1002cc62d
lea ecx, [r9 - 0x20]
shl edx, cl
or dword [rsp + 0x60], edx
jmp 0x1002cc635
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r11d
inc r10
sub r9d, 8
cmp r11d, r13d
jl 0x1002cc618
mov dword [rsp + 0x58], r8d
mov qword [rsp + 0x30], r10
movzx r11d, word [rsp + 0xac]
mov ecx, esi
movzx r10d, word [rsp + 0xae]
movzx r8d, ax
sub ecx, eax
movzx r9d, word [rsp + 0xaa]
sub ecx, r10d
xor ebx, ecx
mov esi, ebx
mov ecx, ebx
xor ecx, r8d
rol ecx, 3
ror esi, 9
imul ecx, r11d
add esi, ecx
xor esi, dword [rsp + 0x38]
mov ecx, esi
mov edx, esi
xor edx, r10d
shr ecx, 3
rol edx, 6
imul edx, r9d
add edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, dword [rsp + 0xac]
xor edx, ebx
ror edx, 0xc
rol ecx, 0xa
imul edx, r8d
xor ecx, edx
mov edx, eax
xor esi, ecx
mov ecx, esi
xor edx, esi
rol edx, 1
rol ecx, 0xf
imul edx, r10d
add ecx, edx
xor ebx, ecx
mov ecx, ebx
not ecx
ror ecx, 0xb
add ecx, r11d
imul ecx, r8d
xor esi, ecx
mov edx, esi
sub edx, r11d
mov ecx, esi
shr ecx, 0xc
imul edx, r9d
sub edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, ebx
sub edx, dword [rsp + 0xac]
ror edx, 0xa
ror ecx, 7
imul edx, r8d
add ecx, edx
xor esi, ecx
mov edx, esi
sub edx, eax
mov ecx, esi
ror edx, 0xf
rol ecx, 3
imul edx, r10d
xor ecx, edx
xor ebx, ecx
lea edx, [rbx + rax]
ror edx, 0xd
mov ecx, ebx
ror ecx, 0xb
imul edx, r11d
add ecx, edx
xor esi, ecx
mov edx, esi
mov ecx, esi
xor ecx, r11d
ror edx, 0xd
imul ecx, r9d
add edx, ecx
xor r9d, r9d
mov ecx, eax
xor ebx, edx
xor ecx, ebx
mov edx, dword [rsp + 0xac]
xor ebx, dword [rsp + 0x58]
sub edx, ecx
mov r8d, ebx
xor edx, dword [rsp + 0x60]
xor esi, edx
mov edx, esi
test r13d, r13d
jle 0x1002cc797
mov rcx, qword [rsp + 0x40]
cmp r9d, r15d
jge 0x1002cc77d
rol edx, 8
mov byte [rcx], dl
inc rcx
xor dil, dl
jmp 0x1002cc78a
rol r8d, 8
mov byte [rcx], r8b
inc rcx
xor dil, r8b
inc r9d
cmp r9d, r13d
jl 0x1002cc76b
mov qword [rsp + 0x40], rcx
lea ecx, [r13 - 4]
test ecx, ecx
jle 0x1002cca90
sub r15d, ecx
shl r15d, 3
mov ecx, r15d
shr ebx, cl
shl ebx, cl
mov r13d, dword [rsp + 0x58]
mov r10, qword [rsp + 0x30]
mov r11, qword [rsp + 0x40]
mov r15, r14
shr r15, 3
test r15, r15
je 0x1002cc9db
movzx r14d, word [rsp + 0xac]
mov r12d, dword [rsp + 0x60]
movzx ecx, ax
movzx edx, word [rsp + 0xae]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x58], ecx
movzx ecx, word [rsp + 0xaa]
mov ebp, dword [rsp + 0x58]
mov dword [rsp + 0x40], 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
movzx ecx, byte [r10 - 6]
shl r9d, 8
or r9d, ecx
movzx ecx, byte [r10 - 5]
shl r9d, 8
or r9d, ecx
movzx ecx, byte [r10 - 3]
or r8d, ecx
movzx ecx, byte [r10 - 2]
xor esi, r9d
shl r8d, 8
or r8d, ecx
movzx ecx, byte [r10 - 1]
shl r8d, 8
or r8d, ecx
mov ecx, esi
sub ecx, eax
sub ecx, edx
xor ecx, r8d
xor ebx, ecx
mov edx, ebx
mov ecx, ebx
xor edx, ebp
rol edx, 3
ror ecx, 9
imul edx, r14d
add ecx, edx
xor esi, ecx
movzx ecx, word [rsp + 0xae]
mov edx, esi
xor edx, ecx
rol edx, 6
movzx ecx, word [rsp + 0xaa]
imul edx, ecx
mov ecx, esi
shr ecx, 3
add edx, ecx
xor ebx, edx
mov edx, dword [rsp + 0xac]
mov ecx, ebx
xor edx, ebx
ror edx, 0xc
rol ecx, 0xa
imul edx, ebp
xor ecx, edx
mov edx, eax
xor esi, ecx
mov ecx, esi
xor edx, esi
rol edx, 1
rol ecx, 0xf
imul edx, dword [rsp + 0x38]
add ecx, edx
xor ebx, ecx
mov ecx, ebx
not ecx
ror ecx, 0xb
add ecx, r14d
imul ecx, ebp
xor esi, ecx
movzx ecx, word [rsp + 0xaa]
mov edx, esi
sub edx, r14d
imul edx, ecx
mov ecx, esi
shr ecx, 0xc
sub edx, ecx
xor ebx, edx
mov edx, ebx
mov ecx, ebx
sub edx, dword [rsp + 0xac]
ror edx, 0xa
ror ecx, 7
imul edx, ebp
add ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
sub edx, eax
ror edx, 0xf
rol ecx, 3
imul edx, dword [rsp + 0x38]
xor ecx, edx
xor ebx, ecx
lea edx, [rbx + rax]
ror edx, 0xd
mov ecx, ebx
ror ecx, 0xb
imul edx, r14d
add ecx, edx
xor esi, ecx
mov edx, esi
mov ecx, esi
xor ecx, r14d
ror edx, 0xd
imul ecx, dword [rsp + 0x40]
add edx, ecx
xor ebx, edx
mov edx, dword [rsp + 0xac]
mov ecx, eax
xor ecx, ebx
xor ebx, r13d
mov byte [r11 + 7], bl
mov r13d, r8d
sub edx, ecx
xor edx, r12d
mov r12d, r9d
xor esi, edx
xor dil, sil
movzx edx, word [rsp + 0xae]
mov byte [r11 + 3], sil
ror esi, 8
xor dil, bl
ror ebx, 8
mov byte [r11 + 2], sil
xor dil, sil
ror esi, 8
xor dil, bl
mov byte [r11 + 6], bl
ror ebx, 8
mov byte [r11 + 1], sil
mov byte [r11 + 5], bl
xor dil, sil
ror esi, 8
mov byte [r11], sil
xor dil, bl
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 0x1002cc801
mov rbp, qword [rsp + 0x80]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0x90]
cmp dil, byte [r14 + rbp + 8]
je 0x1002ccad2
call fcn.100058248
mov r9d, 0xffff
lea r13, [0x1001094ec]
mov r11, qword [rsp + 0x88]
mov r10, rax
and r12, 0xfffffffffffffff8
mov qword [r11 + 0x10], r13
lea r8, [r12 + 0xfff]
mov rax, 0xfffffffffffff000
mov rcx, qword [0x1004c43a0]
and r10, rax
and r8, rax
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 0x1002cca29
movabs rax, 0x8000800080008001
mul rdi
mov qword [0x1004c43a0], rcx
mov rax, qword [rsp + 0x78]
shr rdx, 0xf
mov qword [rax + 0x98], r10
imul rdx, rdx, 0xffff
sub rdi, rdx
inc rdi
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x78], r9
jmp 0x1002ccac8
xor ebx, ebx
test ecx, ecx
jns 0x1002cc7b1
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x1002cc7b1
mov dword [rsp + 0x60], esi
xor ebx, ebx
mov r13d, esi
not r13d
xor esi, esi
jmp 0x1002cc7c0
mov rax, qword [rsp + 0x78]
mov qword [r12], rax
add r12, 8
cmp r12, r8
jb 0x1002ccabb
jmp 0x1002ccbe8
lea r15, [0x100000000]
mov rbx, rbp
mov rsi, r15
mov r13, qword [rsp + 0x70]
mov rax, qword [0x1000487b8]
sub rbx, r13
sub rsi, rax
jne 0x1002ccafc
test rbx, rbx
je 0x1002ccbd5
mov rcx, qword [0x1001d1e58]
lea r8d, [rcx - 1]
mov r11, r13
xor edi, edi
sub r11, rbp
sub ebp, r15d
test r8d, r8d
lea r12d, [r14 + rbp]
lea r14, [0x100000000]
js 0x1002ccb52
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 0x1002ccb48
lea r8d, [rax - 1]
jmp 0x1002ccb4d
jbe 0x1002ccb57
lea edi, [rax + 1]
cmp r8d, edi
jge 0x1002ccb22
movsxd r10, edi
jmp 0x1002ccbce
movsxd r10, eax
jmp 0x1002ccbce
mov edx, dword [r14 + r10*4 + 0x1d1e5c]
mov eax, edx
and eax, 0xfffffff
cmp eax, r12d
jae 0x1002ccbd5
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 0x1002ccbaa
sub edi, 1
je 0x1002ccba5
cmp edi, 1
jne 0x1002ccbb0
mov r9, rsi
jmp 0x1002ccbb0
mov r9, rbx
jmp 0x1002ccbb0
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x1002ccbc0
cmp edx, 1
jne 0x1002ccbcb
add qword [r8 + r11], r9
jmp 0x1002ccbc4
add dword [r8 + r11], r9d
mov rcx, qword [0x1001d1e58]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x1002ccb5c
mov eax, dword [0x1002f8888]
mov eax, 0x53c825dc
mov r11, qword [rsp + 0x88]
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