Function at 0x100063d18
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 [0x100404bb0]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea r12, [rcx + 0x18]
mov qword [rsp + 0x80], rdx
lea r11, [0x100000000]
lea rax, [0x100000000]
mov qword [rsp + 0x98], rcx
mov ecx, 0xfffffff
mov r14, qword [r12]
mov ebp, dword [r14 + 1]
mov edx, dword [r14 + 5]
and rdx, rcx
and rbp, rcx
mov qword [rsp + 0x90], r12
add rbp, rax
mov eax, dword [0x100015964]
lea rsi, [rax + rdx - 1]
mov qword [rsp + 0xa0], rbp
mov rcx, rax
xor edx, edx
mov rax, rsi
div rcx
sub rsi, rdx
xor r15d, r15d
mov eax, dword [0x100015964]
mov r10d, dword [0x10028bf00]
mov eax, dword [0x100015964]
mov eax, dword [0x10028bf00]
cmp eax, r15d
je 0x100063e61
mov r8, r15
mov rax, r15
mov edi, dword [0x10028bf00]
dec edi
inc rdi
mov r9, rdi
cmp rdi, r15
je 0x100063e1a
mov rcx, qword [0x1003fe198]
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 0x100063deb
mov qword [0x1003fe198], rcx
xor edx, edx
div rdi
cmp r10, r15
jbe 0x100063e55
mov eax, 0xef0b
mov ecx, 0xffff10f4
inc r8
lock cmpxchg dword [r11 + rdx*4 + 0x4059e0], ecx
je 0x1000640f7
lea rax, [rdx + 1]
xor edx, edx
mov ecx, dword [0x10028bf00]
div rcx
cmp r8, r10
jb 0x100063e24
mov rbx, r15
cmp rbx, r15
jne 0x100063f94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
mov rdi, r15
mov rcx, qword [0x100405548]
mov r9, rcx
inc rdi
mov r8, rcx
mov rax, r15
cmp rcx, r15
je 0x100063ebb
mov rcx, qword [0x1003fe198]
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 0x100063e8c
mov qword [0x1003fe198], rcx
xor edx, edx
mov r9d, 0x40
div r8
mov rcx, rdx
mov rdx, rsi
mov r8d, 0x3000
shl rcx, 0x10
add rcx, qword [0x10041cd78]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp rax, r15
mov rbx, rax
je 0x100063f28
mov rdx, rax
lea r9, [0x100363da0]
mov r8d, esi
mov qword [rsp + 0x28], r15
mov rcx, rax
or rcx, 3
mov qword [rsp + 0x20], r15
call qword [sym.imp.ntdll.dll_RtlInstallFunctionTableCallback]
movzx edx, al
cmp edx, r15d
jne 0x100063f3d
xor edx, edx
mov rcx, rbx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp rdi, 0x11
jb 0x100063e6d
mov rbx, r15
cmp rbx, 0x10000
jb 0x100063f4b
test bl, 3
je 0x100063f71
cmp rbx, r15
je 0x100063f6e
mov rcx, rbx
or rcx, 3
call qword [sym.imp.ntdll.dll_RtlDeleteFunctionTable]
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, r15
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, r15
lea r11, [0x100000000]
je 0x100063daf
mov rdi, rbx
mov rcx, rsi
xor eax, eax
rep stosb byte [rdi], al
mov eax, 0x23aeb9f0
add qword [r12], 9
mov r8d, dword [0x100015964]
mov esi, ebp
lea r13, [0x100000000]
mov r14d, dword [r14 + 5]
mov rax, r15
and r14d, 0xfffffff
mov qword [rsp + 0xa8], r14
sub r8, r14
inc r8
sub esi, r13d
mov rdi, r8
mov dword [rsp + 0x50], esi
cmp r8, r15
je 0x10006400f
mov rcx, qword [0x1003fe198]
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 0x100063fe0
mov qword [0x1003fe198], rcx
xor edx, edx
mov ecx, esi
div r8
add rbx, rdx
mov rdx, r14
mov r8, rbx
mov qword [rsp + 0x78], rbx
mov eax, 0xb781b31c
mov dil, r15b
mov rdx, qword [r14 + rbp]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rdx
mov eax, 0x408656fb
mov r9d, dword [rsp + 0x74]
mov r11, qword [rsp + 0x70]
mov eax, 0xfffffff
and r11, rax
mov rcx, r13
and r9, rax
add r11, r13
mov rax, qword [0x10014dad0]
mov qword [rsp + 0x40], r15
mov r15d, 4
sub rcx, rax
mov qword [rsp + 0x60], rcx
jne 0x10006410e
xor r10d, r10d
test r9, r9
je 0x100064454
mov r8d, dword [rsp + 0x40]
mov eax, dword [rsp + 0x44]
movzx ecx, byte [r10 + r11]
inc r10
add ecx, 0x7cd8fefb
add r8d, ecx
add ecx, eax
mov eax, ecx
imul eax, eax, 0x42b2
rol eax, 0xb
ror ecx, 0xb
xor eax, ecx
imul rax, rax, 0x7cd8fefb
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
add r8d, eax
cmp r10, r9
jb 0x10006408f
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], r8d
jmp 0x100064454
mov ecx, dword [0x100015964]
imul rcx, rdx
lea rbx, [rcx + r11 + 0x3df000]
jmp 0x100063e58
lea rax, [r11 + r9]
movsxd rcx, dword [0x10000003c]
mov edx, dword [rcx + r13 + 0xb4]
mov r8d, dword [rcx + r13 + 0xb0]
mov qword [rsp + 0x88], rax
add r8, r13
mov eax, r11d
sub eax, r13d
mov r10d, eax
mov ecx, eax
lea r13, [rcx + r9]
mov rax, 0xfffffffffffff000
and r10, rax
mov rbx, rcx
sub rbx, r10
mov rcx, r13
and rcx, rax
mov qword [rsp + 0x38], rcx
sub r13, rcx
add rdx, r8
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x48], r13
jmp 0x10006417f
mov eax, dword [r8]
cmp rax, r10
jae 0x100064184
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rdx
jne 0x100064170
xor esi, esi
cmp r8, rdx
je 0x1000641c7
mov eax, dword [r8]
cmp rax, r10
jne 0x1000641c7
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x1000641c2
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, rbx
jae 0x1000641bd
inc rsi
add rdx, 2
cmp rsi, rcx
jne 0x1000641a4
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
mov r9d, dword [rsp + 0x44]
mov r10d, dword [rsp + 0x40]
lea r14, [0x100000000]
mov rbp, qword [rsp + 0x60]
cmp r8, rdx
je 0x1000643b1
mov eax, dword [r8]
cmp rax, rcx
ja 0x1000643b1
mov edi, dword [r8 + 4]
lea rax, [rdi - 8]
shr rax, 1
cmp rsi, rax
jne 0x10006421e
add r8, rdi
cmp r8, rdx
je 0x1000643b1
mov eax, dword [r8]
cmp rax, rcx
ja 0x1000643b1
xor esi, esi
jmp 0x1000641f2
mov eax, dword [r8]
cmp rax, rcx
jne 0x10006423a
movzx eax, word [r8 + rsi*2 + 8]
and eax, 0xfff
cmp rax, r13
jae 0x1000643b1
mov rax, rsi
inc rsi
mov edi, 0xf000
test word [r8 + rax*2 + 8], di
je 0x1000641dd
xor r12d, r12d
movzx ebx, word [r8 + rax*2 + 8]
mov r13d, ebx
and r13d, 0xfff
add r13d, dword [r8]
add r13, r14
mov rax, r13
sub rax, r11
je 0x1000642da
mov rdi, rax
movzx ecx, byte [r11 + r12]
inc r12
add ecx, 0x7cd8fefb
add r10d, ecx
add ecx, r9d
mov eax, ecx
imul eax, eax, 0x42b2
rol eax, 0xb
ror ecx, 0xb
xor eax, ecx
imul rax, rax, 0x7cd8fefb
mov qword [rsp + 0x68], rax
mov ecx, dword [rsp + 0x68]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov r9d, edx
sar r9d, 0x1f
btr r9d, 0x1f
add r9d, edx
add r10d, r9d
cmp r12, rdi
jb 0x100064271
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], r10d
mov rax, qword [r13]
mov qword [rsp + 0x68], rax
shr ebx, 0xc
cmp ebx, 3
je 0x1000642f7
sub ebx, 0xa
neg ebx
sbb edx, edx
add edx, 3
jmp 0x1000642fc
mov edx, 2
mov r11, rbp
neg r11
sub edx, 2
je 0x100064322
cmp edx, 1
je 0x100064312
or r11, 0xffffffffffffffff
jmp 0x10006432a
add rax, r11
mov qword [rsp + 0x68], rax
mov r11d, 8
jmp 0x10006432a
add dword [rsp + 0x68], r11d
mov r11, r15
xor ebx, ebx
test r11, r11
je 0x10006439a
movzx ecx, byte [rsp + rbx + 0x68]
inc rbx
add ecx, 0x7cd8fefb
add r10d, ecx
add ecx, r9d
mov eax, ecx
imul eax, eax, 0x42b2
rol eax, 0xb
ror ecx, 0xb
xor eax, ecx
imul rax, rax, 0x7cd8fefb
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 r9d, edx
sar r9d, 0x1f
btr r9d, 0x1f
add r9d, edx
add r10d, r9d
cmp rbx, r11
jb 0x100064331
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], r10d
mov rdx, qword [rsp + 0x58]
add r11, r13
mov r13, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
jmp 0x1000641dd
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
xor r8d, r8d
mov r14, qword [rsp + 0xa8]
mov dil, r8b
sub rbx, r11
je 0x10006444b
movzx ecx, byte [r11 + r8]
inc r8
add ecx, 0x7cd8fefb
add r10d, ecx
add ecx, r9d
mov eax, ecx
imul eax, eax, 0x42b2
rol eax, 0xb
ror ecx, 0xb
xor eax, ecx
imul rax, rax, 0x7cd8fefb
mov qword [rsp + 0x88], rax
mov ecx, dword [rsp + 0x88]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov r9d, edx
sar r9d, 0x1f
btr r9d, 0x1f
add r9d, edx
add r10d, r9d
cmp r8, rbx
jb 0x1000643dc
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], r10d
mov esi, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x78]
xor ecx, ecx
mov rax, rcx
inc rcx
and eax, 7
cmp rcx, 8
mov al, byte [rsp + rax + 0x40]
mov byte [rsp + rcx + 0xaf], al
jb 0x100064456
mov eax, 0xba9c5b7b
mov rax, qword [rsp + 0xb0]
mov r10, rbp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x38], rbx
mov r13, r14
and r13d, 7
mov r11, rbx
je 0x10006494d
xor r8d, r8d
mov ebx, esi
xor r11d, r11d
and dword [rsp + 0x60], r8d
mov dword [rsp + 0x48], r8d
test r13d, r13d
not ebx
jle 0x1000644ed
lea r9d, [r8 + 0x38]
movzx edx, byte [r10]
cmp r11d, r15d
jge 0x1000644cc
lea ecx, [r9 - 0x20]
shl edx, cl
or dword [rsp + 0x60], edx
jmp 0x1000644d4
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r11d
inc r10
sub r9d, 8
cmp r11d, r13d
jl 0x1000644b7
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x58], r10
mov ecx, eax
movzx r10d, word [rsp + 0xb2]
mov r8d, dword [rsp + 0xb4]
mov edx, r8d
movzx r11d, ax
movzx r9d, r8w
xor edx, esi
sub ecx, edx
xor ebx, ecx
mov esi, ebx
mov ecx, ebx
sub ecx, eax
ror ecx, 1
ror esi, 1
imul ecx, r9d
add esi, ecx
xor esi, dword [rsp + 0x50]
mov ecx, esi
sub ecx, r10d
xor ecx, r8d
movzx r8d, word [rsp + 0xb6]
xor ebx, ecx
mov edx, ebx
mov ecx, ebx
xor edx, r8d
rol edx, 7
rol ecx, 0xc
imul edx, r11d
sub edx, ecx
xor esi, edx
mov edx, eax
mov ecx, esi
sub edx, esi
ror edx, 0xf
ror ecx, 1
imul edx, r8d
add ecx, edx
mov edx, dword [rsp + 0xb4]
xor ebx, ecx
mov ecx, ebx
ror ecx, 0xa
xor ecx, r9d
imul ecx, r8d
xor esi, ecx
mov ecx, esi
add edx, esi
rol edx, 9
ror ecx, 0xe
imul edx, r10d
sub edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, ebx
ror edx, 5
xor ecx, r9d
imul ecx, r11d
xor edx, ecx
xor esi, edx
mov edx, esi
mov ecx, esi
xor edx, r9d
shr ecx, 1
imul edx, r8d
add edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, ebx
xor edx, r10d
shr ecx, 0xa
imul edx, r9d
xor edx, ecx
xor esi, edx
mov ecx, esi
mov edx, esi
xor edx, r11d
shr ecx, 8
rol edx, 4
imul edx, r10d
add edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, dword [rsp + 0xb4]
xor edx, ebx
xor ebx, dword [rsp + 0x48]
ror edx, 1
ror ecx, 0xb
xor r9d, r9d
imul edx, r11d
xor ecx, edx
xor ecx, dword [rsp + 0x60]
mov edx, ebx
xor esi, ecx
mov ecx, esi
test r13d, r13d
jle 0x10006462e
mov r8, qword [rsp + 0x38]
cmp r9d, r15d
jge 0x100064615
rol ecx, 8
mov byte [r8], cl
inc r8
xor dil, cl
jmp 0x100064621
rol edx, 8
mov byte [r8], dl
inc r8
xor dil, dl
inc r9d
cmp r9d, r13d
jl 0x100064602
mov qword [rsp + 0x38], r8
lea ecx, [r13 - 4]
test ecx, ecx
jle 0x100064935
sub r15d, ecx
shl r15d, 3
mov ecx, r15d
shr ebx, cl
shl ebx, cl
mov r11, qword [rsp + 0x38]
mov r13d, dword [rsp + 0x48]
mov r10, qword [rsp + 0x58]
mov r15, r14
shr r15, 3
test r15, r15
je 0x100064877
mov r12d, dword [rsp + 0x60]
movzx ecx, word [rsp + 0xb6]
mov ebp, dword [rsp + 0xb4]
mov dword [rsp + 0x58], ecx
movzx ecx, bp
mov dword [rsp + 0x50], ecx
movzx ecx, word [rsp + 0xb2]
mov r14d, dword [rsp + 0x50]
mov dword [rsp + 0x38], ecx
movzx ecx, ax
mov dword [rsp + 0x48], ecx
movzx r8d, byte [r10 + 4]
movzx ecx, byte [r10]
shl ecx, 8
movzx r9d, byte [r10 + 1]
shl r8d, 8
mov edx, eax
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
xor esi, r9d
movzx ecx, byte [r10 - 2]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [r10 - 1]
shl r8d, 8
or r8d, ecx
mov ecx, ebp
xor ecx, esi
sub edx, ecx
xor edx, r8d
xor ebx, edx
mov ecx, ebx
mov edx, ebx
sub edx, eax
ror edx, 1
ror ecx, 1
imul edx, r14d
add ecx, edx
xor esi, ecx
mov ecx, esi
movzx edx, word [rsp + 0xb2]
sub ecx, edx
xor ecx, ebp
xor ebx, ecx
mov edx, ebx
movzx ecx, word [rsp + 0xb6]
xor edx, ecx
mov ecx, ebx
rol edx, 7
rol ecx, 0xc
imul edx, dword [rsp + 0x48]
sub edx, ecx
xor esi, edx
mov edx, eax
mov ecx, esi
sub edx, esi
ror edx, 0xf
ror ecx, 1
imul edx, dword [rsp + 0x58]
add ecx, edx
movzx edx, word [rsp + 0xb6]
xor ebx, ecx
mov ecx, ebx
ror ecx, 0xa
xor ecx, r14d
imul ecx, edx
xor esi, ecx
mov ecx, esi
lea edx, [rbp + rsi]
rol edx, 9
ror ecx, 0xe
imul edx, dword [rsp + 0x38]
sub edx, ecx
xor ebx, edx
mov edx, ebx
mov ecx, ebx
xor ecx, r14d
ror edx, 5
imul ecx, dword [rsp + 0x48]
xor edx, ecx
xor esi, edx
mov edx, esi
xor edx, r14d
movzx ecx, word [rsp + 0xb6]
imul edx, ecx
mov ecx, esi
shr ecx, 1
add edx, ecx
movzx ecx, word [rsp + 0xb2]
xor ebx, edx
mov edx, ebx
xor edx, ecx
mov ecx, ebx
shr ecx, 0xa
imul edx, r14d
xor edx, ecx
movzx ecx, word [rsp + 0xb2]
xor esi, edx
mov edx, esi
xor edx, dword [rsp + 0x48]
rol edx, 4
imul edx, ecx
mov ecx, esi
shr ecx, 8
add edx, ecx
xor ebx, edx
mov edx, ebp
xor edx, ebx
mov ecx, ebx
xor ebx, r13d
mov byte [r11 + 7], bl
ror edx, 1
mov r13d, r8d
ror ecx, 0xb
imul edx, dword [rsp + 0x48]
xor ecx, edx
xor ecx, r12d
mov r12d, r9d
xor esi, ecx
mov byte [r11 + 3], sil
xor dil, sil
ror esi, 8
xor dil, bl
mov byte [r11 + 2], sil
ror ebx, 8
xor dil, sil
ror esi, 8
mov byte [r11 + 6], bl
xor dil, bl
mov byte [r11 + 1], sil
ror ebx, 8
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 0x10006469e
mov rbp, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x90]
mov r14, qword [rsp + 0xa8]
mov al, byte [r14 + rbp + 8]
xor al, dil
je 0x10006497a
call fcn.10000228c
and r12, 0xfffffffffffffff8
mov r10, rax
lea r13, [0x10006d7ac]
mov r11, qword [rsp + 0x98]
mov rax, 0xfffffffffffff000
mov qword [r11 + 0x10], r13
and r10, rax
mov r9d, 0xffff
lea r8, [r12 + 0xfff]
and r8, rax
xor edi, edi
mov rcx, qword [0x1003fe198]
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 0x1000648c8
movabs rax, 0x8000800080008001
mov qword [0x1003fe198], rcx
mul rdi
shr rdx, 0xf
imul rdx, rdx, 0xffff
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x98], r10
sub rdi, rdx
inc rdi
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x80], r9
jmp 0x100064970
xor ebx, ebx
test ecx, ecx
jns 0x100064648
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x100064648
mov r13d, esi
mov dword [rsp + 0x60], esi
xor ebx, ebx
xor esi, esi
not r13d
jmp 0x100064657
mov rax, qword [rsp + 0x80]
mov qword [r12], rax
add r12, 8
cmp r12, r8
jb 0x100064960
jmp 0x100064a90
mov r13, qword [rsp + 0x78]
mov rax, qword [0x10014dad0]
mov rbx, rbp
sub rbx, r13
lea r15, [0x100000000]
mov rsi, r15
sub rsi, rax
jne 0x1000649a4
test rbx, rbx
je 0x100064a7d
mov r11, r13
mov rcx, qword [0x100019a28]
lea r8d, [rcx - 1]
xor edi, edi
sub r11, rbp
sub ebp, r15d
lea r12d, [r14 + rbp]
test r8d, r8d
lea r14, [0x100000000]
js 0x1000649fa
lea eax, [r8 + rdi]
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
mov r9d, dword [r14 + rdx*4 + 0x19a2c]
and r9d, 0xfffffff
cmp ebp, r9d
jae 0x1000649f0
lea r8d, [rax - 1]
jmp 0x1000649f5
jbe 0x1000649ff
lea edi, [rax + 1]
cmp r8d, edi
jge 0x1000649ca
movsxd r10, edi
jmp 0x100064a76
movsxd r10, eax
jmp 0x100064a76
mov edx, dword [r14 + r10*4 + 0x19a2c]
mov eax, edx
and eax, 0xfffffff
cmp eax, r12d
jae 0x100064a7d
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 0x100064a52
sub edi, 1
je 0x100064a4d
cmp edi, 1
jne 0x100064a58
mov r9, rsi
jmp 0x100064a58
mov r9, rbx
jmp 0x100064a58
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x100064a68
cmp edx, 1
jne 0x100064a73
add qword [r8 + r11], r9
jmp 0x100064a6c
add dword [r8 + r11], r9d
mov rcx, qword [0x100019a28]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x100064a04
mov eax, dword [0x100015964]
mov eax, 0xb2e2bf09
mov r11, qword [rsp + 0x98]
mov qword [r11 + 0x10], r13
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1003005f0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret