Function at 0x100247f2c
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 [0x1003fe1f8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea r12, [rcx + 0x18]
lea r11, [0x100000000]
lea rax, [0x100000000]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x90], rcx
mov r14, qword [r12]
mov ebp, dword [r14 + 1]
mov ecx, 0xfffffff
mov edx, dword [r14 + 5]
mov qword [rsp + 0x98], r12
and rdx, rcx
shr rbp, 1
and rbp, rcx
add rbp, rax
mov eax, dword [0x100015b94]
mov rcx, rax
lea rsi, [rax + rdx - 1]
mov rax, rsi
xor edx, edx
div rcx
mov qword [rsp + 0x88], rbp
mov eax, dword [0x100015b94]
sub rsi, rdx
xor r15d, r15d
mov eax, dword [0x100015b94]
mov eax, dword [0x10028bffc]
mov r10d, dword [0x10028bffc]
cmp eax, r15d
je 0x100248075
mov r8, r15
mov rax, r15
mov edi, dword [0x10028bffc]
dec edi
inc rdi
cmp rdi, r15
mov r9, rdi
je 0x10024802e
mov rcx, qword [0x1003feeb8]
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 0x100247fff
mov qword [0x1003feeb8], rcx
xor edx, edx
div rdi
cmp r10, r15
jbe 0x100248069
mov eax, 0xef0b
inc r8
mov ecx, 0xffff10f4
lock cmpxchg dword [r11 + rdx*4 + 0x41a130], ecx
je 0x100248303
lea rax, [rdx + 1]
mov ecx, dword [0x10028bffc]
xor edx, edx
div rcx
cmp r8, r10
jb 0x100248038
mov rbx, r15
cmp rbx, r15
jne 0x1002481a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, r15
mov r13d, eax
inc rdi
mov rax, r15
mov rcx, qword [0x10041aa98]
mov r9, rcx
cmp rcx, r15
mov r8, rcx
je 0x1002480cf
mov rcx, qword [0x1003feeb8]
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 0x1002480a0
mov qword [0x1003feeb8], rcx
xor edx, edx
mov r9d, 0x40
div r8
mov r8d, 0x3000
mov rcx, rdx
shl rcx, 0x10
mov rdx, rsi
add rcx, qword [0x10041cce0]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
cmp rax, r15
je 0x10024813c
mov r8d, esi
mov rcx, rax
mov qword [rsp + 0x28], r15
lea r9, [0x100363f08]
mov qword [rsp + 0x20], r15
or rcx, 3
mov rdx, rax
call qword [sym.imp.ntdll.dll_RtlInstallFunctionTableCallback]
movzx edx, al
cmp edx, r15d
jne 0x100248151
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp rdi, 0x11
jb 0x100248081
mov rbx, r15
cmp rbx, 0x10000
jb 0x10024815f
test bl, 3
je 0x100248185
cmp rbx, r15
je 0x100248182
mov rcx, rbx
or rcx, 3
call qword [sym.imp.ntdll.dll_RtlDeleteFunctionTable]
mov rcx, rbx
xor edx, edx
mov r8d, 0x8000
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 0x100247fc3
xor eax, eax
mov rcx, rsi
mov rdi, rbx
rep stosb byte [rdi], al
mov eax, 0x218d8ab2
mov rax, r15
lea r13, [0x100000000]
add qword [r12], 9
mov r14d, dword [r14 + 5]
mov r8d, dword [0x100015b94]
and r14d, 0xfffffff
sub r8, r14
inc r8
mov qword [rsp + 0xa0], r14
mov rdi, r8
mov esi, ebp
sub esi, r13d
mov dword [rsp + 0x30], esi
cmp r8, r15
je 0x100248223
mov rcx, qword [0x1003feeb8]
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 0x1002481f4
mov qword [0x1003feeb8], rcx
mov ecx, esi
xor edx, edx
div r8
add rbx, rdx
mov r8, rbx
mov qword [rsp + 0x68], rbx
mov rdx, r14
mov eax, 0x5993b19b
mov rdx, qword [r14 + rbp]
mov dil, r15b
mov qword [rsp + 0x70], rdx
lea rcx, [rsp + 0x70]
mov eax, 0xe7f277ba
mov r8d, dword [rsp + 0x74]
mov eax, 0xfffffff
mov r11, qword [rsp + 0x70]
mov rcx, r13
and r11, rax
and r8, rax
mov rax, qword [0x10014d838]
mov qword [rsp + 0x38], r15
mov r15d, 4
add r11, r13
sub rcx, rax
mov qword [rsp + 0x48], rcx
jne 0x10024831a
xor r10d, r10d
test r8, r8
je 0x100248644
mov ecx, dword [rsp + 0x3c]
mov r9d, dword [rsp + 0x38]
movzx eax, byte [r11 + r10]
inc r10
add eax, 0x72d985af
add r9d, eax
add eax, ecx
imul eax, eax, 0x72d985af
ror eax, 9
imul rax, rax, 0x72d985af
mov qword [rsp + 0x40], rax
mov ecx, dword [rsp + 0x40]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov ecx, edx
sar ecx, 0x1f
btr ecx, 0x1f
add ecx, edx
add r9d, ecx
cmp r10, r8
jb 0x1002482a3
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x38], r9d
jmp 0x100248644
mov ecx, dword [0x100015b94]
imul rcx, rdx
lea rbx, [rcx + r11 + 0x3df000]
jmp 0x10024806c
lea rax, [r11 + r8]
movsxd rcx, dword [0x10000003c]
mov r9d, dword [rcx + r13 + 0xb0]
add r9, r13
mov edx, dword [rcx + r13 + 0xb4]
mov qword [rsp + 0x80], rax
mov eax, r11d
sub eax, r13d
mov ecx, eax
mov rbx, rcx
mov r10d, eax
lea r13, [rcx + r8]
mov rcx, r13
mov rax, 0xfffffffffffff000
and r10, rax
sub rbx, r10
and rcx, rax
mov qword [rsp + 0x40], rcx
sub r13, rcx
add rdx, r9
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x50], r13
jmp 0x10024838b
mov eax, dword [r9]
cmp rax, r10
jae 0x100248390
mov eax, dword [r9 + 4]
add r9, rax
cmp r9, rdx
jne 0x10024837c
xor esi, esi
cmp r9, rdx
je 0x1002483cf
mov eax, dword [r9]
cmp rax, r10
jne 0x1002483cf
mov ecx, dword [r9 + 4]
sub rcx, 8
shr rcx, 1
je 0x1002483ca
lea r8, [r9 + 8]
movzx eax, word [r8]
and eax, 0xfff
cmp rax, rbx
jae 0x1002483ca
inc rsi
add r8, 2
cmp rsi, rcx
jne 0x1002483b0
mov rcx, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x3c]
lea rbp, [0x100000000]
mov r14, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x38]
cmp r9, rdx
je 0x1002485a9
mov eax, dword [r9]
cmp rax, rcx
ja 0x1002485a9
mov edi, dword [r9 + 4]
lea rax, [rdi - 8]
shr rax, 1
cmp rsi, rax
jne 0x100248426
add r9, rdi
cmp r9, rdx
je 0x1002485a9
mov eax, dword [r9]
cmp rax, rcx
ja 0x1002485a9
xor esi, esi
jmp 0x1002483fa
mov eax, dword [r9]
cmp rax, rcx
jne 0x100248442
movzx eax, word [r9 + rsi*2 + 8]
and eax, 0xfff
cmp rax, r13
jae 0x1002485a9
mov rax, rsi
inc rsi
mov edi, 0xf000
test word [r9 + rax*2 + 8], di
je 0x1002483e5
xor r12d, r12d
movzx ebx, word [r9 + rax*2 + 8]
mov r13d, ebx
and r13d, 0xfff
add r13d, dword [r9]
add r13, rbp
mov rax, r13
sub rax, r11
je 0x1002484da
mov rdi, rax
movzx eax, byte [r11 + r12]
inc r12
add eax, 0x72d985af
add r10d, eax
add eax, r8d
imul eax, eax, 0x72d985af
ror eax, 9
imul rax, rax, 0x72d985af
mov qword [rsp + 0x58], rax
mov ecx, dword [rsp + 0x58]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov r8d, edx
sar r8d, 0x1f
btr r8d, 0x1f
add r8d, edx
add r10d, r8d
cmp r12, rdi
jb 0x100248479
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x38], r10d
shr ebx, 0xc
mov rax, qword [r13]
mov qword [rsp + 0x58], rax
cmp ebx, 3
je 0x1002484f7
sub ebx, 0xa
neg ebx
sbb edx, edx
add edx, 3
jmp 0x1002484fc
mov edx, 2
mov r11, r14
neg r11
sub edx, 2
je 0x100248522
cmp edx, 1
je 0x100248512
or r11, 0xffffffffffffffff
jmp 0x10024852a
add rax, r11
mov r11d, 8
mov qword [rsp + 0x58], rax
jmp 0x10024852a
add dword [rsp + 0x58], r11d
mov r11, r15
xor ebx, ebx
test r11, r11
je 0x100248592
movzx eax, byte [rsp + rbx + 0x58]
inc rbx
add eax, 0x72d985af
add r10d, eax
add eax, r8d
imul eax, eax, 0x72d985af
ror eax, 9
imul rax, rax, 0x72d985af
mov qword [rsp + 0x48], rax
mov ecx, dword [rsp + 0x48]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov r8d, edx
sar r8d, 0x1f
btr r8d, 0x1f
add r8d, edx
add r10d, r8d
cmp rbx, r11
jb 0x100248531
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x38], r10d
mov rcx, qword [rsp + 0x40]
add r11, r13
mov rdx, qword [rsp + 0x60]
mov r13, qword [rsp + 0x50]
jmp 0x1002483e5
mov r12, qword [rsp + 0x98]
xor r9d, r9d
mov rbx, qword [rsp + 0x80]
sub rbx, r11
mov rbp, qword [rsp + 0x88]
mov dil, r9b
mov r14, qword [rsp + 0xa0]
je 0x10024863b
movzx eax, byte [r11 + r9]
inc r9
add eax, 0x72d985af
add r10d, eax
add eax, r8d
imul eax, eax, 0x72d985af
ror eax, 9
imul rax, rax, 0x72d985af
mov qword [rsp + 0x80], rax
mov ecx, dword [rsp + 0x80]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov r8d, edx
sar r8d, 0x1f
btr r8d, 0x1f
add r8d, edx
add r10d, r8d
cmp r9, rbx
jb 0x1002485d4
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x38], r10d
mov esi, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x68]
xor ecx, ecx
mov rax, rcx
inc rcx
and eax, 7
mov al, byte [rsp + rax + 0x38]
cmp rcx, 8
mov byte [rsp + rcx + 0xa7], al
jb 0x100248646
mov eax, 0x49286bb7
mov r13, r14
mov rax, qword [rsp + 0xa8]
mov r11, rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbx
and r13d, 7
mov r10, rbp
je 0x100248b56
mov ebx, esi
xor r8d, r8d
xor esi, esi
not ebx
mov dword [rsp + 0x60], esi
xor r11d, r11d
test r13d, r13d
mov dword [rsp + 0x50], r8d
jle 0x1002486e0
lea r9d, [r8 + 0x38]
movzx edx, byte [r10]
cmp r11d, r15d
jge 0x1002486bb
lea ecx, [r9 - 0x20]
shl edx, cl
or esi, edx
jmp 0x1002486c3
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r11d
inc r10
sub r9d, 8
cmp r11d, r13d
jl 0x1002486a8
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x50], r8d
mov qword [rsp + 0x40], r10
mov ecx, eax
mov esi, ebx
movzx r9d, word [rsp + 0xaa]
movzx r11d, ax
movzx r8d, word [rsp + 0xae]
mov edx, dword [rsp + 0xac]
movzx r10d, word [rsp + 0xac]
sub esi, dword [rsp + 0xac]
sub esi, r11d
xor esi, dword [rsp + 0x30]
xor edx, esi
sub ecx, edx
xor ebx, ecx
mov ecx, ebx
sub ecx, r10d
xor ecx, eax
xor esi, ecx
mov edx, esi
mov ecx, esi
xor edx, r8d
rol edx, 7
rol ecx, 0xf
imul edx, r9d
add ecx, edx
xor ebx, ecx
mov edx, dword [rsp + 0xac]
mov ecx, ebx
sub edx, ebx
rol edx, 6
ror ecx, 9
imul edx, r11d
sub edx, ecx
xor esi, edx
mov ecx, esi
mov edx, esi
xor edx, r11d
rol edx, 5
ror ecx, 1
imul edx, r8d
sub edx, ecx
xor ebx, edx
mov ecx, ebx
ror ecx, 2
sub ecx, r10d
imul ecx, r8d
xor esi, ecx
mov ecx, esi
mov edx, esi
xor edx, r10d
shr ecx, 0xc
imul edx, r9d
xor edx, ecx
xor ebx, edx
mov edx, dword [rsp + 0xac]
mov ecx, ebx
xor edx, ebx
ror edx, 6
rol ecx, 4
imul edx, r11d
add ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
ror edx, 3
xor ecx, r11d
imul ecx, r8d
add edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, ebx
sub edx, eax
rol edx, 4
ror ecx, 0xc
imul edx, r10d
add ecx, edx
xor esi, ecx
mov edx, esi
mov ecx, esi
sub edx, r10d
imul edx, r9d
shr ecx, 0xe
sub edx, ecx
xor r9d, r9d
xor ebx, edx
mov ecx, ebx
mov edx, dword [rsp + 0xac]
sub edx, ebx
xor ebx, dword [rsp + 0x50]
mov r8d, ebx
ror edx, 0xc
rol ecx, 7
imul edx, r11d
add ecx, edx
mov edx, dword [rsp + 0x60]
xor ecx, edx
xor esi, ecx
mov edx, esi
test r13d, r13d
jle 0x10024883b
mov rcx, qword [rsp + 0x48]
cmp r9d, r15d
jge 0x100248821
rol edx, 8
mov byte [rcx], dl
inc rcx
xor dil, dl
jmp 0x10024882e
rol r8d, 8
mov byte [rcx], r8b
inc rcx
xor dil, r8b
inc r9d
cmp r9d, r13d
jl 0x10024880f
mov qword [rsp + 0x48], rcx
lea ecx, [r13 - 4]
test ecx, ecx
jle 0x100248b3e
sub r15d, ecx
shl r15d, 3
mov ecx, r15d
shr ebx, cl
shl ebx, cl
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x50]
mov r15, r14
shr r15, 3
test r15, r15
je 0x100248a86
movzx ebp, word [rsp + 0xac]
mov r12d, dword [rsp + 0x60]
movzx r14d, ax
movzx ecx, word [rsp + 0xae]
mov dword [rsp + 0x30], ecx
movzx ecx, word [rsp + 0xaa]
mov dword [rsp + 0x50], ecx
movzx ecx, byte [r10]
movzx r8d, byte [r10 + 4]
mov edx, dword [rsp + 0xac]
shl ecx, 8
movzx r9d, byte [r10 + 1]
shl r8d, 8
or r9d, ecx
movzx ecx, byte [r10 + 2]
add r10, 8
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
shl r8d, 8
movzx ecx, byte [r10 - 2]
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r10 - 1]
or r8d, ecx
xor ebx, r8d
mov ecx, ebx
sub ecx, dword [rsp + 0xac]
sub ecx, r14d
xor ecx, r9d
xor esi, ecx
xor edx, esi
mov ecx, eax
sub ecx, edx
xor ebx, ecx
mov ecx, ebx
sub ecx, ebp
xor ecx, eax
xor esi, ecx
mov edx, esi
movzx ecx, word [rsp + 0xae]
xor edx, ecx
rol edx, 7
mov ecx, esi
rol ecx, 0xf
imul edx, dword [rsp + 0x50]
add ecx, edx
mov edx, dword [rsp + 0xac]
xor ebx, ecx
mov ecx, ebx
sub edx, ebx
rol edx, 6
ror ecx, 9
imul edx, r14d
sub edx, ecx
xor esi, edx
mov ecx, esi
mov edx, esi
xor edx, r14d
rol edx, 5
ror ecx, 1
imul edx, dword [rsp + 0x30]
sub edx, ecx
xor ebx, edx
mov ecx, ebx
ror ecx, 2
sub ecx, ebp
movzx edx, word [rsp + 0xae]
imul ecx, edx
xor esi, ecx
movzx ecx, word [rsp + 0xaa]
mov edx, esi
xor edx, ebp
imul edx, ecx
mov ecx, esi
shr ecx, 0xc
xor edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, dword [rsp + 0xac]
xor edx, ebx
ror edx, 6
rol ecx, 4
imul edx, r14d
add ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
xor ecx, r14d
ror edx, 3
imul ecx, dword [rsp + 0x30]
add edx, ecx
xor ebx, edx
mov edx, ebx
mov ecx, ebx
sub edx, eax
rol edx, 4
ror ecx, 0xc
imul edx, ebp
add ecx, edx
xor esi, ecx
mov edx, esi
sub edx, ebp
movzx ecx, word [rsp + 0xaa]
imul edx, ecx
mov ecx, esi
shr ecx, 0xe
sub edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, dword [rsp + 0xac]
sub edx, ebx
xor ebx, r13d
ror edx, 0xc
rol ecx, 7
mov byte [r11 + 7], bl
mov r13d, r8d
imul edx, r14d
add 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
ror ebx, 8
mov byte [r11 + 2], sil
mov byte [r11 + 6], bl
xor dil, sil
ror esi, 8
xor dil, bl
mov byte [r11 + 1], sil
ror ebx, 8
xor dil, sil
ror esi, 8
mov byte [r11 + 5], bl
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 0x10024889d
mov r12, qword [rsp + 0x98]
mov r14, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x88]
mov al, byte [r14 + rbp + 8]
xor al, dil
je 0x100248b80
call fcn.1000024bc
and r12, 0xfffffffffffffff8
mov r10, rax
lea r13, [0x100059e28]
mov r9d, 0xffff
mov rax, 0xfffffffffffff000
and r10, rax
lea r8, [r12 + 0xfff]
mov r11, qword [rsp + 0x90]
mov qword [r11 + 0x10], r13
mov rcx, qword [0x1003feeb8]
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 0x100248ad7
movabs rax, 0x8000800080008001
mul rdi
shr rdx, 0xf
mov qword [0x1003feeb8], rcx
mov rax, qword [rsp + 0x78]
imul rdx, rdx, 0xffff
mov qword [rax + 0x98], r10
sub rdi, rdx
inc rdi
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x78], r9
jmp 0x100248b76
xor ebx, ebx
test ecx, ecx
jns 0x100248855
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x100248855
mov dword [rsp + 0x60], esi
xor ebx, ebx
mov r13d, esi
xor esi, esi
not r13d
jmp 0x100248864
mov rax, qword [rsp + 0x78]
mov qword [r12], rax
add r12, 8
cmp r12, r8
jb 0x100248b69
jmp 0x100248c96
mov rbx, rbp
lea r15, [0x100000000]
mov rax, qword [0x10014d838]
mov r13, qword [rsp + 0x68]
sub rbx, r13
mov rsi, r15
sub rsi, rax
jne 0x100248baa
test rbx, rbx
je 0x100248c83
xor edi, edi
mov r11, r13
mov rcx, qword [0x1000199f8]
lea r8d, [rcx - 1]
sub r11, rbp
sub ebp, r15d
test r8d, r8d
lea r12d, [r14 + rbp]
lea r14, [0x100000000]
js 0x100248c00
lea eax, [r8 + rdi]
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
mov r9d, dword [r14 + rdx*4 + 0x199fc]
and r9d, 0xfffffff
cmp ebp, r9d
jae 0x100248bf6
lea r8d, [rax - 1]
jmp 0x100248bfb
jbe 0x100248c05
lea edi, [rax + 1]
cmp r8d, edi
jge 0x100248bd0
movsxd r10, edi
jmp 0x100248c7c
movsxd r10, eax
jmp 0x100248c7c
mov edx, dword [r14 + r10*4 + 0x199fc]
mov eax, edx
and eax, 0xfffffff
cmp eax, r12d
jae 0x100248c83
mov edi, edx
mov r8, rdx
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 0x100248c58
sub edi, 1
je 0x100248c53
cmp edi, 1
jne 0x100248c5e
mov r9, rsi
jmp 0x100248c5e
mov r9, rbx
jmp 0x100248c5e
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x100248c6e
cmp edx, 1
jne 0x100248c79
add qword [r8 + r11], r9
jmp 0x100248c72
add dword [r8 + r11], r9d
mov rcx, qword [0x1000199f8]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x100248c0a
mov eax, dword [0x100015b94]
mov eax, 0xe519c90b
mov r11, qword [rsp + 0x90]
mov qword [r11 + 0x10], r13
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1002d7828
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret