Function at 0x100277f48
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 [0x1003fe1f8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea r11, [0x100000000]
mov rbp, qword [rcx + 0x10]
mov eax, dword [0x100015b94]
mov r13d, 0x8000
mov qword [rsp + 0x70], rdx
mov edx, dword [rbp + 1]
mov r14d, 0x269ec3
shr rdx, 4
mov qword [rsp + 0x80], rcx
mov rcx, rax
lea rsi, [rax + rdx - 1]
xor edx, edx
mov rax, rsi
div rcx
sub rsi, rdx
mov eax, dword [0x100015b94]
mov r10d, dword [0x10028bffc]
mov eax, dword [0x100015b94]
mov eax, dword [0x10028bffc]
test eax, eax
je 0x100278063
mov edi, dword [0x10028bffc]
xor r8d, r8d
xor eax, eax
dec edi
inc rdi
mov r9, rdi
je 0x10027801d
mov rcx, qword [0x1003feeb8]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr r9, 0x10
add rcx, r14
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
test r9, r9
jne 0x100277ff2
mov qword [0x1003feeb8], rcx
xor edx, edx
div rdi
test r10, r10
je 0x100278058
mov ecx, 0xffff10f4
inc r8
mov eax, 0xef0b
lock cmpxchg dword [r11 + rdx*4 + 0x41a130], ecx
je 0x100278301
lea rax, [rdx + 1]
mov ecx, dword [0x10028bffc]
xor edx, edx
div rcx
cmp r8, r10
jb 0x100278027
xor ebx, ebx
test rbx, rbx
jne 0x100278186
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
mov r12d, eax
mov rcx, qword [0x10041aa98]
mov r8, rcx
mov r9, rcx
inc rdi
xor eax, eax
test rcx, rcx
je 0x1002780b7
mov rcx, qword [0x1003feeb8]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr r9, 0x10
add rcx, r14
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
test r9, r9
jne 0x10027808c
mov qword [0x1003feeb8], rcx
mov r9d, 0x40
xor edx, edx
div r8
mov rcx, rdx
mov rdx, rsi
mov r8d, 0x3000
shl rcx, 0x10
add rcx, qword [0x10041cce0]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x10027811f
mov rcx, rax
lea r9, [0x100363f08]
and qword [rsp + 0x28], 0
mov rdx, rax
mov r8d, esi
and qword [rsp + 0x20], 0
or rcx, 3
call qword [sym.imp.ntdll.dll_RtlInstallFunctionTableCallback]
test al, al
jne 0x100278133
mov r8d, r13d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp rdi, 0x11
jb 0x10027806e
xor ebx, ebx
cmp rbx, 0x10000
jb 0x100278141
test bl, 3
je 0x100278163
test rbx, rbx
je 0x100278161
mov rcx, rbx
or rcx, 3
call qword [sym.imp.ntdll.dll_RtlDeleteFunctionTable]
mov r8d, r13d
mov rcx, rbx
xor edx, edx
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 0x100277fbb
xor eax, eax
mov rcx, rsi
mov rdi, rbx
rep stosb byte [rdi], al
mov eax, 0x43ca2075
mov r8d, dword [0x100015b94]
mov r12d, dword [rbp + 1]
lea r13, [0x100000000]
mov rax, r12
shr r12, 4
mov qword [rsp + 0x88], r12
shr rax, 1
sub r8, r12
and eax, 7
lea rbp, [rax + rbp + 9]
mov qword [rsp + 0x78], rbp
xor eax, eax
mov esi, ebp
sub esi, r13d
mov dword [rsp + 0x38], esi
inc r8
mov rdi, r8
je 0x100278204
mov rcx, qword [0x1003feeb8]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr rdi, 0x10
add rcx, r14
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
test rdi, rdi
jne 0x1002781d9
mov qword [0x1003feeb8], rcx
mov ecx, esi
xor edx, edx
div r8
add rbx, rdx
mov rdx, r12
mov r8, rbx
mov qword [rsp + 0x68], rbx
mov eax, 0xa64ea386
xor dil, dil
lea rcx, [rsp + 0x60]
mov rdx, qword [r12 + rbp]
mov qword [rsp + 0x60], rdx
mov eax, 0xde6278c4
mov r9d, dword [rsp + 0x64]
mov eax, 0xfffffff
mov r11, qword [rsp + 0x60]
mov rcx, r13
mov r14d, 4
and qword [rsp + 0x48], 0
and r11, rax
and r9, rax
add r11, r13
mov rax, qword [0x10014d838]
sub rcx, rax
mov qword [rsp + 0x30], rcx
jne 0x100278318
xor r10d, r10d
test r9, r9
je 0x100278666
mov ecx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
mov esi, 0x8532a4bd
movzx eax, byte [r11 + r10]
inc r10
sub eax, 0x7acd5b43
add r8d, eax
add eax, ecx
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 ecx, edx
sar ecx, 0x1f
btr ecx, 0x1f
add ecx, edx
mov eax, ecx
imul eax, eax, 0x1c57
rol eax, 0xd
ror ecx, 0xd
xor eax, ecx
imul rax, rsi
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x30]
shr rax, 0x20
add ecx, eax
add r8d, ecx
cmp r10, r9
jb 0x10027828a
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], r8d
jmp 0x100278662
mov ecx, dword [0x100015b94]
imul rcx, rdx
lea rbx, [rcx + r11 + 0x3df000]
jmp 0x10027805a
lea rax, [r11 + r9]
movsxd rcx, dword [0x10000003c]
mov r8d, dword [rcx + r13 + 0xb0]
mov ecx, dword [rcx + r13 + 0xb4]
mov qword [rsp + 0x90], rax
mov eax, r11d
add r8, r13
sub eax, r13d
mov esi, eax
lea r13, [rax + r9]
mov r10d, eax
mov r15, r13
and r10, 0xfffffffffffff000
sub rsi, r10
and r15, 0xfffffffffffff000
sub r13, r15
add rcx, r8
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x40], r13
jmp 0x100278382
mov eax, dword [r8]
cmp rax, r10
jae 0x100278387
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x100278373
xor ebx, ebx
cmp r8, rcx
je 0x1002783c5
mov eax, dword [r8]
cmp rax, r10
jne 0x1002783c5
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x1002783c0
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, rsi
jae 0x1002783c0
inc rbx
add rdx, 2
cmp rbx, rcx
jne 0x1002783a7
mov rcx, qword [rsp + 0x58]
mov esi, 0x8532a4bd
mov edx, dword [rsp + 0x4c]
mov rbp, qword [rsp + 0x30]
mov r9d, dword [rsp + 0x48]
cmp r8, rcx
je 0x1002785cb
mov eax, dword [r8]
cmp rax, r15
ja 0x1002785cb
mov edi, dword [r8 + 4]
lea rax, [rdi - 8]
shr rax, 1
cmp rbx, rax
jne 0x100278419
add r8, rdi
cmp r8, rcx
je 0x1002785cb
mov eax, dword [r8]
cmp rax, r15
ja 0x1002785cb
xor ebx, ebx
jmp 0x1002783ed
mov eax, dword [r8]
cmp rax, r15
jne 0x100278435
movzx eax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, r13
jae 0x1002785cb
mov rax, rbx
inc rbx
mov edi, 0xf000
test word [r8 + rax*2 + 8], di
je 0x1002783d8
movzx r10d, word [r8 + rax*2 + 8]
mov r13d, r10d
lea rax, [0x100000000]
xor edi, edi
and r13d, 0xfff
add r13d, dword [r8]
add r13, rax
mov rax, r13
sub rax, r11
je 0x1002784e4
mov r12, rax
movzx eax, byte [r11 + rdi]
inc rdi
sub eax, 0x7acd5b43
add r9d, eax
add eax, edx
imul rax, rsi
mov qword [rsp + 0x50], rax
mov ecx, dword [rsp + 0x50]
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
mov eax, ecx
imul eax, eax, 0x1c57
rol eax, 0xd
ror ecx, 0xd
xor eax, ecx
imul rax, rsi
mov qword [rsp + 0x50], rax
shr rax, 0x20
mov edx, dword [rsp + 0x50]
add edx, eax
add r9d, edx
cmp rdi, r12
jb 0x100278472
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
mov rax, qword [r13]
mov qword [rsp + 0x50], rax
shr r10d, 0xc
cmp r10d, 3
je 0x100278507
sub r10d, 0xa
neg r10d
sbb r11d, r11d
add r11d, 3
jmp 0x10027850d
mov r11d, 2
mov r10, rbp
neg r10
sub r11d, 2
je 0x100278535
cmp r11d, 1
je 0x100278525
or r10, 0xffffffffffffffff
jmp 0x10027853d
add rax, r10
mov r10d, 8
mov qword [rsp + 0x50], rax
jmp 0x10027853d
add dword [rsp + 0x50], r10d
mov r10, r14
xor r11d, r11d
test r10, r10
je 0x1002785b8
movzx eax, byte [rsp + r11 + 0x50]
inc r11
sub eax, 0x7acd5b43
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 ecx, edx
sar ecx, 0x1f
btr ecx, 0x1f
add ecx, edx
mov eax, ecx
imul eax, eax, 0x1c57
rol eax, 0xd
ror ecx, 0xd
xor eax, ecx
imul rax, rsi
mov qword [rsp + 0x30], rax
shr rax, 0x20
mov edx, dword [rsp + 0x30]
add edx, eax
add r9d, edx
cmp r11, r10
jb 0x100278545
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
mov rcx, qword [rsp + 0x58]
lea r11, [r10 + r13]
mov r13, qword [rsp + 0x40]
jmp 0x1002783d8
mov r10, qword [rsp + 0x90]
xor r8d, r8d
mov r12, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x78]
sub r10, r11
mov dil, r8b
je 0x10027865d
movzx eax, byte [r8 + r11]
inc r8
sub eax, 0x7acd5b43
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 ecx, edx
sar ecx, 0x1f
btr ecx, 0x1f
add ecx, edx
mov eax, ecx
imul eax, eax, 0x1c57
rol eax, 0xd
ror ecx, 0xd
xor eax, ecx
imul rax, rsi
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x30]
shr rax, 0x20
add edx, eax
add r9d, edx
cmp r8, r10
jb 0x1002785eb
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x48], r9d
mov rbx, qword [rsp + 0x68]
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 + 0x97], al
jb 0x100278668
mov eax, 0x478f3642
mov r10, rbx
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rbx
mov r13, r12
mov r15, rbp
and r13d, 7
je 0x100278b4b
mov ebx, esi
xor r8d, r8d
not ebx
mov dword [rsp + 0x58], r8d
xor r11d, r11d
mov dword [rsp + 0x40], r11d
xor r10d, r10d
test r13d, r13d
jle 0x1002786fc
lea r9d, [r8 + 0x38]
movzx edx, byte [r15]
cmp r10d, r14d
jge 0x1002786db
lea ecx, [r9 - 0x20]
shl edx, cl
or r11d, edx
jmp 0x1002786e3
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r10d
inc r15
sub r9d, 8
cmp r10d, r13d
jl 0x1002786c7
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x58], r8d
mov ecx, esi
movzx r9d, word [rsp + 0x9e]
sub ecx, r9d
movzx r8d, word [rsp + 0x9c]
movzx r10d, ax
movzx r11d, word [rsp + 0x9a]
mov esi, dword [rsp + 0x9c]
xor esi, eax
xor ecx, eax
xor ebx, ecx
xor esi, ebx
xor esi, dword [rsp + 0x38]
mov edx, esi
mov ecx, esi
sub edx, r9d
shr ecx, 0xb
rol edx, 1
imul edx, r11d
xor edx, ecx
xor ebx, edx
mov ecx, ebx
ror ecx, 0xd
sub ecx, r10d
imul ecx, r8d
xor esi, ecx
mov ecx, esi
mov edx, esi
sub edx, eax
ror edx, 9
ror ecx, 0xd
imul edx, r9d
sub edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, eax
sub edx, ebx
rol edx, 6
rol ecx, 4
imul edx, r8d
xor ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, r10d
xor edx, esi
rol edx, 3
ror ecx, 8
imul edx, r11d
xor ecx, edx
mov edx, dword [rsp + 0x9c]
xor ebx, ecx
xor edx, ebx
mov ecx, ebx
rol edx, 7
shr ecx, 7
imul edx, r10d
sub edx, ecx
xor esi, edx
mov edx, esi
mov ecx, r10d
xor ecx, esi
ror edx, 0xe
imul ecx, r9d
sub ecx, edx
xor ebx, ecx
mov edx, ebx
mov ecx, ebx
sub edx, eax
ror edx, 0xb
ror ecx, 4
imul edx, r8d
xor ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, dword [rsp + 0x9c]
xor edx, esi
rol edx, 0xa
rol ecx, 0xa
imul edx, r11d
sub edx, ecx
xor ebx, edx
mov edx, ebx
mov ecx, ebx
ror edx, 3
xor r9d, r9d
xor ecx, r11d
mov r11d, dword [rsp + 0x58]
xor ebx, r11d
mov r8d, ebx
imul ecx, r10d
add edx, ecx
xor edx, dword [rsp + 0x40]
xor esi, edx
test r13d, r13d
mov edx, esi
jle 0x100278846
mov rcx, qword [rsp + 0x30]
cmp r9d, r14d
jge 0x10027882c
rol edx, 8
mov byte [rcx], dl
inc rcx
xor dil, dl
jmp 0x100278839
rol r8d, 8
mov byte [rcx], r8b
inc rcx
xor dil, r8b
inc r9d
cmp r9d, r13d
jl 0x10027881a
mov qword [rsp + 0x30], rcx
lea ecx, [r13 - 4]
test ecx, ecx
jle 0x100278b33
sub r14d, ecx
shl r14d, 3
mov ecx, r14d
shr ebx, cl
shl ebx, cl
mov r10, qword [rsp + 0x30]
mov r14d, dword [rsp + 0x40]
mov r13, r12
shr r13, 3
test r13, r13
je 0x100278a78
mov r12d, dword [rsp + 0x9c]
movzx edx, word [rsp + 0x9e]
movzx ecx, word [rsp + 0x9c]
mov ebp, edx
mov dword [rsp + 0x30], ecx
movzx ecx, word [rsp + 0x9a]
mov dword [rsp + 0x38], ecx
movzx ecx, ax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x58], edx
xor r12d, eax
neg ebp
movzx ecx, byte [r15]
movzx r9d, byte [r15 + 1]
movzx r8d, byte [r15 + 4]
shl ecx, 8
shl r8d, 8
add r15, 8
or r9d, ecx
shl r9d, 8
movzx ecx, byte [r15 - 6]
or r9d, ecx
shl r9d, 8
movzx ecx, byte [r15 - 5]
or r9d, ecx
movzx ecx, byte [r15 - 3]
or r8d, ecx
xor esi, r9d
movzx ecx, byte [r15 - 2]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [r15 - 1]
shl r8d, 8
or r8d, ecx
mov ecx, esi
sub ecx, edx
xor ecx, eax
xor ecx, r8d
xor ebx, ecx
movzx ecx, word [rsp + 0x9a]
xor esi, ebx
xor esi, r12d
lea edx, [rsi + rbp]
rol edx, 1
imul edx, ecx
mov ecx, esi
shr ecx, 0xb
xor edx, ecx
xor ebx, edx
mov ecx, ebx
movzx edx, word [rsp + 0x9c]
ror ecx, 0xd
sub ecx, dword [rsp + 0x40]
imul ecx, edx
xor esi, ecx
mov edx, esi
sub edx, eax
mov ecx, esi
ror edx, 9
ror ecx, 0xd
imul edx, dword [rsp + 0x58]
sub edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, eax
sub edx, ebx
rol edx, 6
rol ecx, 4
imul edx, dword [rsp + 0x30]
xor ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, dword [rsp + 0x40]
xor edx, esi
rol edx, 3
ror ecx, 8
imul edx, dword [rsp + 0x38]
xor ecx, edx
xor ebx, ecx
mov edx, dword [rsp + 0x9c]
xor edx, ebx
mov ecx, ebx
shr ecx, 7
rol edx, 7
imul edx, dword [rsp + 0x40]
sub edx, ecx
mov ecx, dword [rsp + 0x40]
xor esi, edx
mov edx, esi
xor ecx, esi
ror edx, 0xe
imul ecx, dword [rsp + 0x58]
sub ecx, edx
xor ebx, ecx
mov edx, ebx
sub edx, eax
ror edx, 0xb
mov ecx, ebx
ror ecx, 4
imul edx, dword [rsp + 0x30]
xor ecx, edx
mov edx, dword [rsp + 0x9c]
xor esi, ecx
mov ecx, esi
xor edx, esi
rol edx, 0xa
rol ecx, 0xa
imul edx, dword [rsp + 0x38]
sub edx, ecx
xor ebx, edx
mov edx, ebx
mov ecx, ebx
xor ebx, r11d
xor ecx, dword [rsp + 0x38]
mov r11d, r8d
mov byte [r10 + 7], bl
ror edx, 3
imul ecx, dword [rsp + 0x40]
add edx, ecx
xor edx, r14d
xor esi, edx
mov r14d, r9d
mov edx, dword [rsp + 0x58]
xor dil, sil
mov byte [r10 + 3], sil
ror esi, 8
xor dil, bl
ror ebx, 8
mov byte [r10 + 2], sil
mov byte [r10 + 6], bl
xor dil, sil
ror esi, 8
xor dil, bl
mov byte [r10 + 1], sil
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
add r10, 8
mov cl, bl
xor cl, sil
xor dil, cl
ror esi, 8
ror ebx, 8
sub r13, 1
jne 0x1002788b4
mov rbp, qword [rsp + 0x78]
mov r12, qword [rsp + 0x88]
mov al, byte [r12 + rbp + 8]
xor al, dil
je 0x100278b73
call fcn.1000024bc
mov r11, rax
mov rax, 0xfffffffffffff000
mov r10d, 0xffff
lea r13, [0x100059e28]
mov rbx, qword [rsp + 0x80]
mov qword [rbx + 0x10], r13
lea r8, [rbx + 0x18]
and r8, 0xfffffffffffffff8
mov rcx, qword [0x1003feeb8]
and r11, rax
lea r9, [r8 + 0xfff]
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 0x100278acc
mov qword [0x1003feeb8], rcx
movabs rax, 0x8000800080008001
mul rdi
shr rdx, 0xf
imul rdx, rdx, 0xffff
mov rax, qword [rsp + 0x70]
sub rdi, rdx
inc rdi
mov qword [rax + 0x98], r11
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x70], r10
jmp 0x100278b69
xor ebx, ebx
test ecx, ecx
jns 0x100278860
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x100278860
mov r14d, esi
xor ebx, ebx
mov r11d, esi
not r11d
xor esi, esi
jmp 0x10027886a
mov rax, qword [rsp + 0x70]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x100278b5d
jmp 0x100278c88
mov rax, qword [0x10014d838]
mov rbx, rbp
lea r14, [0x100000000]
mov rsi, r14
mov r13, qword [rsp + 0x68]
sub rbx, r13
sub rsi, rax
jne 0x100278b9d
test rbx, rbx
je 0x100278c75
mov rcx, qword [0x1000199f8]
lea r8d, [rcx - 1]
mov r11, r13
lea r15, [0x100000000]
xor edi, edi
sub r11, rbp
sub ebp, r14d
add r12d, ebp
test r8d, r8d
js 0x100278bf2
lea eax, [r8 + rdi]
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
mov r9d, dword [r15 + rdx*4 + 0x199fc]
and r9d, 0xfffffff
cmp ebp, r9d
jae 0x100278be8
lea r8d, [rax - 1]
jmp 0x100278bed
jbe 0x100278bf7
lea edi, [rax + 1]
cmp r8d, edi
jge 0x100278bc2
movsxd r10, edi
jmp 0x100278c6e
movsxd r10, eax
jmp 0x100278c6e
mov edx, dword [r15 + r10*4 + 0x199fc]
mov eax, edx
and eax, 0xfffffff
cmp eax, r12d
jae 0x100278c75
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 0x100278c4a
sub edi, 1
je 0x100278c45
cmp edi, 1
jne 0x100278c50
mov r9, rsi
jmp 0x100278c50
mov r9, rbx
jmp 0x100278c50
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x100278c60
cmp edx, 1
jne 0x100278c6b
add qword [r8 + r11], r9
jmp 0x100278c64
add dword [r8 + r11], r9d
mov rcx, qword [0x1000199f8]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x100278bfc
mov eax, dword [0x100015b94]
mov eax, 0x89e40b41
mov rbx, qword [rsp + 0x80]
mov qword [rbx + 0x10], r13
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1002d7828
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret