Function at 0x10025c934
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 [0x100404bb0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov r13d, 0x8000
mov r14d, 0xfffffff
mov r12, qword [rcx + 0x10]
mov eax, dword [0x100015964]
lea r11, [0x100000000]
mov qword [rsp + 0x78], rdx
mov edx, dword [r12 + 1]
and rdx, r14
lea rsi, [rax + rdx - 1]
mov r15d, 0x269ec3
xor edx, edx
mov qword [rsp + 0x98], rcx
mov rcx, rax
mov rax, rsi
div rcx
sub rsi, rdx
mov eax, dword [0x100015964]
mov r10d, dword [0x10028bf00]
mov eax, dword [0x100015964]
mov eax, dword [0x10028bf00]
test eax, eax
je 0x10025ca56
xor r8d, r8d
mov edi, dword [0x10028bf00]
xor eax, eax
dec edi
inc rdi
mov r9, rdi
je 0x10025ca10
mov rcx, qword [0x1003fe198]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr r9, 0x10
add rcx, r15
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
test r9, r9
jne 0x10025c9e5
mov qword [0x1003fe198], rcx
xor edx, edx
div rdi
test r10, r10
je 0x10025ca4b
mov ecx, 0xffff10f4
mov eax, 0xef0b
inc r8
lock cmpxchg dword [r11 + rdx*4 + 0x4059e0], ecx
je 0x10025cce1
mov ecx, dword [0x10028bf00]
lea rax, [rdx + 1]
xor edx, edx
div rcx
cmp r8, r10
jb 0x10025ca1a
xor ebx, ebx
test rbx, rbx
jne 0x10025cb77
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
mov ebp, eax
mov rcx, qword [0x100405548]
inc rdi
mov r9, rcx
xor eax, eax
mov r8, rcx
test rcx, rcx
je 0x10025caa9
mov rcx, qword [0x1003fe198]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr r9, 0x10
add rcx, r15
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
test r9, r9
jne 0x10025ca7e
mov qword [0x1003fe198], rcx
mov r9d, 0x40
xor edx, edx
div r8
mov rcx, rdx
mov rdx, rsi
shl rcx, 0x10
mov r8d, 0x3000
add rcx, qword [0x10041cd78]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x10025cb11
mov r8d, esi
mov rcx, rax
and qword [rsp + 0x28], 0
lea r9, [0x100363da0]
and qword [rsp + 0x20], 0
or rcx, 3
mov rdx, rax
call qword [sym.imp.ntdll.dll_RtlInstallFunctionTableCallback]
test al, al
jne 0x10025cb25
mov r8d, r13d
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 0x10025ca60
xor ebx, ebx
cmp rbx, 0x10000
jb 0x10025cb33
test bl, 3
je 0x10025cb55
test rbx, rbx
je 0x10025cb53
mov rcx, rbx
or rcx, 3
call qword [sym.imp.ntdll.dll_RtlDeleteFunctionTable]
xor edx, edx
mov rcx, rbx
mov r8d, r13d
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r11, [0x100000000]
test rbx, rbx
je 0x10025c9ae
mov rdi, rbx
xor eax, eax
mov rcx, rsi
rep stosb byte [rdi], al
mov eax, 0x3e531e4b
mov r8d, dword [0x100015964]
lea r15, [0x100000000]
mov r13d, dword [r12 + 1]
and r13, r14
mov edx, dword [r12 + 5]
and edx, 7
lea rbp, [rdx + r12 + 9]
mov qword [rsp + 0x90], r13
mov esi, ebp
sub r8, r13
mov qword [rsp + 0x88], rbp
xor eax, eax
sub esi, r15d
inc r8
mov dword [rsp + 0x50], esi
mov rdi, r8
je 0x10025cbfb
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
test rdi, rdi
jne 0x10025cbcc
mov qword [0x1003fe198], rcx
xor edx, edx
mov ecx, esi
div r8
lea r12, [rdx + rbx]
mov rdx, r13
mov qword [rsp + 0x68], r12
mov r8, r12
mov eax, 0x5e0a11c8
mov rdx, qword [r13 + rbp]
mov qword [rsp + 0x70], rdx
lea rcx, [rsp + 0x70]
xor dil, dil
mov eax, 0xd5979401
mov rax, qword [0x10014dad0]
mov r9d, dword [rsp + 0x74]
mov rbx, qword [rsp + 0x70]
mov rcx, r15
and qword [rsp + 0x40], 0
and rbx, r14
and r9, r14
mov r14d, 4
add rbx, r15
sub rcx, rax
mov qword [rsp + 0x60], rcx
jne 0x10025ccf8
xor r10d, r10d
test r9, r9
je 0x10025d028
mov r8d, dword [rsp + 0x40]
mov eax, dword [rsp + 0x44]
movzx ecx, byte [r10 + rbx]
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 0x10025cc79
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], r8d
jmp 0x10025d028
mov ecx, dword [0x100015964]
imul rcx, rdx
lea rbx, [rcx + r11 + 0x3df000]
jmp 0x10025ca4d
lea rax, [rbx + r9]
movsxd rcx, dword [0x10000003c]
mov r8d, dword [rcx + r15 + 0xb0]
mov ecx, dword [rcx + r15 + 0xb4]
mov qword [rsp + 0x80], rax
add r8, r15
mov eax, ebx
sub eax, r15d
lea r12, [rax + r9]
mov r11d, eax
mov r15, r12
mov r10d, eax
and r10, 0xfffffffffffff000
sub r11, r10
and r15, 0xfffffffffffff000
sub r12, r15
add rcx, r8
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x48], r12
jmp 0x10025cd62
mov eax, dword [r8]
cmp rax, r10
jae 0x10025cd67
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x10025cd53
xor esi, esi
cmp r8, rcx
je 0x10025cda5
mov eax, dword [r8]
cmp rax, r10
jne 0x10025cda5
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x10025cda0
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, r11
jae 0x10025cda0
inc rsi
add rdx, 2
cmp rsi, rcx
jne 0x10025cd87
mov rcx, qword [rsp + 0x38]
mov r9d, dword [rsp + 0x44]
mov rbp, qword [rsp + 0x60]
mov r10d, dword [rsp + 0x40]
cmp r8, rcx
je 0x10025cf8d
mov eax, dword [r8]
cmp rax, r15
ja 0x10025cf8d
mov edx, dword [r8 + 4]
lea rax, [rdx - 8]
shr rax, 1
cmp rsi, rax
jne 0x10025cdf5
add r8, rdx
cmp r8, rcx
je 0x10025cf8d
mov eax, dword [r8]
cmp rax, r15
ja 0x10025cf8d
xor esi, esi
jmp 0x10025cdc9
mov eax, dword [r8]
cmp rax, r15
jne 0x10025ce11
movzx eax, word [r8 + rsi*2 + 8]
and eax, 0xfff
cmp rax, r12
jae 0x10025cf8d
mov rax, rsi
mov edx, 0xf000
inc rsi
test word [r8 + rax*2 + 8], dx
je 0x10025cdb4
xor edi, edi
movzx r11d, word [r8 + rax*2 + 8]
mov r12d, r11d
lea rax, [0x100000000]
and r12d, 0xfff
add r12d, dword [r8]
add r12, rax
mov rax, r12
sub rax, rbx
je 0x10025ceb6
mov r13, rax
movzx ecx, byte [rbx + rdi]
inc rdi
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 + 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 r9d, edx
sar r9d, 0x1f
btr r9d, 0x1f
add r9d, edx
add r10d, r9d
cmp rdi, r13
jb 0x10025ce4e
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], r10d
shr r11d, 0xc
cmp r11d, 3
mov rax, qword [r12]
mov qword [rsp + 0x58], rax
je 0x10025ced7
sub r11d, 0xa
neg r11d
sbb edx, edx
add edx, 3
jmp 0x10025cedc
mov edx, 2
mov r11, rbp
neg r11
sub edx, 2
je 0x10025cf02
cmp edx, 1
je 0x10025cef2
or r11, 0xffffffffffffffff
jmp 0x10025cf0a
add rax, r11
mov r11d, 8
mov qword [rsp + 0x58], rax
jmp 0x10025cf0a
add dword [rsp + 0x58], r11d
mov r11, r14
xor ebx, ebx
test r11, r11
je 0x10025cf7a
movzx ecx, byte [rsp + rbx + 0x58]
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
shr rax, 0x20
mov ecx, dword [rsp + 0x60]
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 0x10025cf11
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], r10d
lea rbx, [r11 + r12]
mov rcx, qword [rsp + 0x38]
mov r12, qword [rsp + 0x48]
jmp 0x10025cdb4
mov r13, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
xor r8d, r8d
mov r11, qword [rsp + 0x80]
mov dil, r8b
sub r11, rbx
je 0x10025d01f
movzx ecx, byte [rbx + 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 + 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 r9d, edx
sar r9d, 0x1f
btr r9d, 0x1f
add r9d, edx
add r10d, r9d
cmp r8, r11
jb 0x10025cfb0
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], r10d
mov r12, qword [rsp + 0x68]
mov esi, dword [rsp + 0x50]
xor ecx, ecx
mov rax, rcx
inc rcx
and eax, 7
mov al, byte [rsp + rax + 0x40]
mov byte [rsp + rcx + 0x9f], al
cmp rcx, 8
jb 0x10025d02a
mov eax, 0x79848b05
mov rax, qword [rsp + 0xa0]
mov r10, r12
mov r15, rbp
mov qword [rsp + 0x38], r12
mov r12, r13
and r12d, 7
je 0x10025d50e
xor r8d, r8d
mov dword [rsp + 0x60], r8d
xor r11d, r11d
mov dword [rsp + 0x48], r11d
xor r10d, r10d
test r12d, r12d
mov ebx, esi
not ebx
jle 0x10025d0be
lea r9d, [r8 + 0x38]
cmp r10d, r14d
movzx edx, byte [r15]
jge 0x10025d09d
lea ecx, [r9 - 0x20]
shl edx, cl
or r11d, edx
jmp 0x10025d0a5
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r10d
inc r15
sub r9d, 8
cmp r10d, r12d
jl 0x10025d089
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x60], r8d
mov ecx, eax
movzx r10d, word [rsp + 0xa2]
mov r8d, dword [rsp + 0xa4]
movzx r11d, ax
mov edx, r8d
xor edx, esi
sub ecx, edx
movzx r9d, r8w
xor ebx, ecx
mov ecx, ebx
mov esi, 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
xor ebx, ecx
mov ecx, ebx
movzx r8d, word [rsp + 0xa6]
mov edx, ebx
xor edx, r8d
rol edx, 7
rol ecx, 0xc
imul edx, r11d
sub edx, ecx
xor esi, edx
mov ecx, esi
mov edx, eax
sub edx, esi
ror edx, 0xf
ror ecx, 1
imul edx, r8d
add ecx, edx
mov edx, dword [rsp + 0xa4]
xor ebx, ecx
mov ecx, ebx
ror ecx, 0xa
xor ecx, r9d
imul ecx, r8d
xor esi, ecx
add edx, esi
mov ecx, 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 ecx, esi
mov edx, 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 edx, dword [rsp + 0xa4]
xor edx, ebx
mov ecx, ebx
xor r9d, r9d
ror edx, 1
ror ecx, 0xb
imul edx, r11d
mov r11d, dword [rsp + 0x60]
xor ecx, edx
xor ebx, r11d
xor ecx, dword [rsp + 0x48]
mov edx, ebx
xor esi, ecx
test r12d, r12d
mov ecx, esi
jle 0x10025d203
mov r8, qword [rsp + 0x38]
cmp r9d, r14d
jge 0x10025d1ea
rol ecx, 8
mov byte [r8], cl
inc r8
xor dil, cl
jmp 0x10025d1f6
rol edx, 8
mov byte [r8], dl
inc r8
xor dil, dl
inc r9d
cmp r9d, r12d
jl 0x10025d1d7
mov qword [rsp + 0x38], r8
lea ecx, [r12 - 4]
test ecx, ecx
jle 0x10025d4f6
sub r14d, ecx
shl r14d, 3
mov ecx, r14d
shr ebx, cl
shl ebx, cl
mov r10, qword [rsp + 0x38]
mov r14d, dword [rsp + 0x48]
mov r12, r13
shr r12, 3
test r12, r12
je 0x10025d43b
movzx ecx, word [rsp + 0xa6]
mov r13d, dword [rsp + 0xa4]
mov dword [rsp + 0x50], ecx
movzx ecx, r13w
mov dword [rsp + 0x60], ecx
mov ebp, dword [rsp + 0x60]
movzx ecx, word [rsp + 0xa2]
mov dword [rsp + 0x38], ecx
movzx ecx, ax
mov dword [rsp + 0x48], ecx
movzx r9d, byte [r15 + 1]
mov edx, eax
movzx r8d, byte [r15 + 4]
movzx ecx, byte [r15]
shl ecx, 8
shl r8d, 8
add r15, 8
or r9d, ecx
movzx ecx, byte [r15 - 6]
shl r9d, 8
or r9d, ecx
movzx ecx, byte [r15 - 5]
shl r9d, 8
or r9d, ecx
movzx ecx, byte [r15 - 3]
or r8d, ecx
xor esi, r9d
shl r8d, 8
movzx ecx, byte [r15 - 2]
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r15 - 1]
or r8d, ecx
mov ecx, r13d
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, ebp
add ecx, edx
movzx edx, word [rsp + 0xa2]
xor esi, ecx
mov ecx, esi
sub ecx, edx
xor ecx, r13d
xor ebx, ecx
mov edx, ebx
movzx ecx, word [rsp + 0xa6]
xor edx, ecx
rol edx, 7
mov ecx, ebx
rol ecx, 0xc
imul edx, dword [rsp + 0x48]
sub edx, ecx
xor esi, edx
mov edx, eax
sub edx, esi
ror edx, 0xf
mov ecx, esi
ror ecx, 1
imul edx, dword [rsp + 0x50]
add ecx, edx
movzx edx, word [rsp + 0xa6]
xor ebx, ecx
mov ecx, ebx
ror ecx, 0xa
xor ecx, ebp
imul ecx, edx
xor esi, ecx
mov ecx, esi
lea edx, [r13 + 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, ebp
ror edx, 5
imul ecx, dword [rsp + 0x48]
xor edx, ecx
xor esi, edx
movzx ecx, word [rsp + 0xa6]
mov edx, esi
xor edx, ebp
imul edx, ecx
mov ecx, esi
shr ecx, 1
add edx, ecx
movzx ecx, word [rsp + 0xa2]
xor ebx, edx
mov edx, ebx
xor edx, ecx
mov ecx, ebx
shr ecx, 0xa
imul edx, ebp
xor edx, ecx
xor esi, edx
mov edx, esi
movzx ecx, word [rsp + 0xa2]
xor edx, dword [rsp + 0x48]
rol edx, 4
imul edx, ecx
mov ecx, esi
shr ecx, 8
add edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, r13d
xor edx, ebx
xor ebx, r11d
mov r11d, r8d
mov byte [r10 + 7], bl
ror edx, 1
ror ecx, 0xb
imul edx, dword [rsp + 0x48]
xor ecx, edx
xor ecx, r14d
xor esi, ecx
mov byte [r10 + 3], sil
mov r14d, r9d
xor dil, sil
ror esi, 8
mov byte [r10 + 2], sil
xor dil, bl
ror ebx, 8
mov byte [r10 + 6], bl
xor dil, sil
ror esi, 8
mov byte [r10 + 1], sil
xor dil, bl
ror ebx, 8
xor dil, sil
mov byte [r10 + 5], bl
ror esi, 8
mov byte [r10], sil
xor dil, bl
ror ebx, 8
mov byte [r10 + 4], bl
mov cl, bl
add r10, 8
xor cl, sil
xor dil, cl
ror esi, 8
ror ebx, 8
sub r12, 1
jne 0x10025d26b
mov rbp, qword [rsp + 0x88]
mov r13, qword [rsp + 0x90]
mov al, byte [r13 + rbp + 8]
xor al, dil
je 0x10025d536
call fcn.10000228c
lea r12, [0x10006d7ac]
mov r10d, 0xffff
mov r11, rax
mov rbx, qword [rsp + 0x98]
mov qword [rbx + 0x10], r12
mov rcx, qword [0x1003fe198]
lea r8, [rbx + 0x18]
and r8, 0xfffffffffffffff8
lea r9, [r8 + 0xfff]
mov rax, 0xfffffffffffff000
and r11, rax
and r9, rax
xor edi, edi
imul rcx, rcx, 0x343fd
shl rdi, 0x10
shr r10, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or rdi, rdx
test r10, r10
jne 0x10025d48f
movabs rax, 0x8000800080008001
mul rdi
shr rdx, 0xf
mov qword [0x1003fe198], rcx
imul rdx, rdx, 0xffff
sub rdi, rdx
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x98], r11
inc rdi
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x78], r10
jmp 0x10025d52c
xor ebx, ebx
test ecx, ecx
jns 0x10025d21e
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x10025d21e
mov r14d, esi
mov r11d, esi
not r11d
xor ebx, ebx
xor esi, esi
jmp 0x10025d228
mov rax, qword [rsp + 0x78]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x10025d520
jmp 0x10025d64b
mov rbx, rbp
mov rax, qword [0x10014dad0]
mov r12, qword [rsp + 0x68]
sub rbx, r12
lea r14, [0x100000000]
mov rsi, r14
sub rsi, rax
jne 0x10025d560
test rbx, rbx
je 0x10025d638
mov rcx, qword [0x100019a28]
lea r15, [0x100000000]
xor edi, edi
mov r11, r12
sub r11, rbp
sub ebp, r14d
add r13d, ebp
lea r8d, [rcx - 1]
test r8d, r8d
js 0x10025d5b5
lea eax, [r8 + rdi]
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
mov r9d, dword [r15 + rdx*4 + 0x19a2c]
and r9d, 0xfffffff
cmp ebp, r9d
jae 0x10025d5ab
lea r8d, [rax - 1]
jmp 0x10025d5b0
jbe 0x10025d5ba
lea edi, [rax + 1]
cmp r8d, edi
jge 0x10025d585
movsxd r10, edi
jmp 0x10025d631
movsxd r10, eax
jmp 0x10025d631
mov edx, dword [r15 + r10*4 + 0x19a2c]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x10025d638
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 0x10025d60d
sub edi, 1
je 0x10025d608
cmp edi, 1
jne 0x10025d613
mov r9, rsi
jmp 0x10025d613
mov r9, rbx
jmp 0x10025d613
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x10025d623
cmp edx, 1
jne 0x10025d62e
add qword [r8 + r11], r9
jmp 0x10025d627
add dword [r8 + r11], r9d
mov rcx, qword [0x100019a28]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x10025d5bf
mov eax, dword [0x100015964]
mov eax, 0xd5b8a014
mov rbx, qword [rsp + 0x98]
mov qword [rbx + 0x10], r12
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1003005f0
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret