Function at 0x140072850
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
movaps xmmword [rsp + 0x1a0], xmm6
mov rax, qword [0x14021f740]
xor rax, rsp
mov qword [rbp + 0x90], rax
movzx r10d, r9w
movzx edi, r8b
mov rsi, rcx
mov qword [rsp + 0x78], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 6
mov qword [rbp - 0x68], 0xf
mov eax, dword [str.Region]
mov dword [rbp - 0x80], eax
movzx eax, word [0x140182d14]
mov word [rbp - 0x7c], ax
mov byte [rbp - 0x7a], 0
lea eax, [rdi - 1]
xor r14d, r14d
mov r9d, r14d
cmp al, 1
seta r9b
inc r9d
mov ebx, r10d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r8d, r10d
call fcn.14001c800
nop
mov r13d, 0x1000
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14007292e
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r13
jb 0x140072929
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140072929
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
lea rax, vtable.CompileSnesRgn.0
mov qword [rsi], rax
mov byte [rsi + 0x128], dil
mov edx, ebx
mov rcx, rsi
call fcn.140018550
movsx r12d, al
mov r9d, 1
mov r8d, ebx
movzx edx, r12b
mov rcx, rsi
call fcn.14001d620
mov dword [rbp - 0x60], 0x130012
mov dword [rbp - 0x5c], 0x150014
mov dword [rbp - 0x58], 0x180017
mov dword [rbp - 0x54], 0x1b0019
mov dword [rbp - 0x50], 0x1e001d
mov edi, 0x20
mov dword [rbp - 0x4c], 0x220020
mov dword [rbp - 0x48], 0x260024
mov dword [rbp - 0x44], 0x2a0028
mov dword [rbp - 0x40], 0x30002e
mov dword [rbp - 0x3c], 0x360032
mov dword [rbp - 0x38], 0x3c003a
mov dword [rbp - 0x34], 0x440040
mov dword [rbp - 0x30], 0x4c0048
mov dword [rbp - 0x2c], 0x540050
mov dword [rbp - 0x28], 0x60005c
mov dword [rbp - 0x24], 0x6c0064
mov dword [rbp - 0x20], 0x780074
mov dword [rbp - 0x1c], 0x880080
mov dword [rbp - 0x18], 0x980090
mov dword [rbp - 0x14], 0xa800a0
mov dword [rbp - 0x10], 0xc000b8
mov dword [rbp - 0xc], 0xd800c8
mov dword [rbp - 8], 0xf000e8
mov dword [rbp - 4], 0x1100100
mov dword [rbp], 0x1300120
mov dword [rbp + 4], 0x1500140
mov dword [rbp + 8], 0x1800170
mov dword [rbp + 0xc], 0x1b00190
mov dword [rbp + 0x10], 0x1e001d0
mov dword [rbp + 0x14], 0x2200200
mov dword [rbp + 0x18], 0x2600240
mov dword [rbp + 0x1c], 0x2b00280
mov dword [rbp + 0x20], 0x30002d0
mov dword [rbp + 0x24], 0x3600330
mov dword [rbp + 0x28], 0x3c00390
mov dword [rbp + 0x2c], 0x4400400
mov dword [rbp + 0x30], 0x4c00480
mov dword [rbp + 0x34], 0x5500510
mov dword [rbp + 0x38], 0x60005b0
mov dword [rbp + 0x3c], 0x6c00660
mov dword [rbp + 0x40], 0x7900720
mov dword [rbp + 0x44], 0x8800800
mov dword [rbp + 0x48], 0x9800900
mov dword [rbp + 0x4c], 0xab00a10
mov dword [rbp + 0x50], 0xc000b50
mov dword [rbp + 0x54], 0xd700cb0
mov dword [rbp + 0x58], 0xf200e40
mov dword [rbp + 0x5c], 0x10f01000
mov dword [rbp + 0x60], 0x130011f0
mov dword [rbp + 0x64], 0x15601430
mov dword [rbp + 0x68], 0x180016a0
mov dword [rbp + 0x6c], 0x1af01960
mov dword [rbp + 0x70], 0x1e301c80
mov dword [rbp + 0x74], 0x21e02000
mov dword [rbp + 0x78], 0x261023f0
mov dword [rbp + 0x7c], 0x2ab02850
mov dword [rbp + 0x80], 0x2ff02d40
mov dword [rbp + 0x84], 0x35d032d0
mov dword [rbp + 0x88], 0x3c703900
mov eax, 0x3fff
mov word [rbp + 0x8c], ax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov r15, r14
mov qword [rsp + 0x70], r14
movzx eax, byte [rsi + 0x128]
dec al
cmp al, 1
jbe 0x140072c97
lea edx, [rbx + 1]
mov rcx, rsi
call fcn.140018550
movzx ebx, al
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 0xf
mov ecx, edi
call fcn.14016cc68
mov rcx, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], 0x11
mov qword [rbp - 0x68], 0x1f
movups xmm0, xmmword [str.Pitch_Table_Index]
movups xmmword [rax], xmm0
movzx eax, byte [0x1401893c8]
mov byte [rcx + 0x10], al
mov byte [rcx + 0x11], 0
mov edx, dword [rsi + 0x38]
inc edx
lea r9, [rbp - 0x80]
lea r8d, [rdi - 0x1f]
mov rcx, rsi
call fcn.140018240
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140072bf2
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r13
jb 0x140072bed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140072bed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
test bl, bl
je 0x140072c97
movzx eax, word [rbp + 0x110]
lea edx, [rax + rbx*2]
lea eax, [rdx + 2]
cmp eax, 0x10000
ja 0x140072c97
mov rcx, rsi
call fcn.1400187c0
movzx r14d, ax
add r14d, 2
mov eax, r14d
add rax, 0xee
cmp rax, 0x10000
ja 0x140072c97
xor dil, dil
mov rbx, qword [rsp + 0x68]
nop dword [rax + rax]
movzx eax, dil
lea edx, [r14 + rax*2]
mov rcx, rsi
call fcn.1400187c0
mov word [rsp + 0x50], ax
cmp rbx, r15
je 0x140072c68
mov word [rbx], ax
add rbx, 2
mov qword [rsp + 0x68], rbx
jmp 0x140072c84
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400725b0
mov r15, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
inc dil
cmp dil, 0x77
jb 0x140072c40
mov r14, qword [rsp + 0x60]
cmp r14, rbx
jne 0x140072cba
mov r8d, 0x77
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.140072400
mov r15, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
xor dil, dil
mov r8d, 0xffff
xor r9b, r9b
sub rbx, r14
sar rbx, 1
je 0x140072d0a
xor eax, eax
movzx eax, word [r14 + rax*2]
sub eax, r13d
mov edx, eax
neg edx
cmovs edx, eax
movzx ecx, r9b
movzx eax, dil
cmp dx, r8w
cmovae ecx, eax
movzx edi, cl
inc r9b
movzx eax, r9b
cmp dx, r8w
cmovae dx, r8w
movzx r8d, dx
cmp rax, rbx
jb 0x140072cd0
movzx eax, dil
movzx eax, word [r14 + rax*2]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x140184dd8]
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movaps xmm6, xmm0
movsd xmm0, qword [0x1401847b0]
call sub.api_ms_win_crt_math_l1_1_0.dll_log
divsd xmm6, xmm0
mulsd xmm6, qword [0x1401860e8]
lea rdx, [rsp + 0x58]
movaps xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
movaps xmm2, xmm0
movsd xmm6, qword [0x140182628]
movsd xmm1, qword [rsp + 0x58]
comisd xmm0, xmmword [0x140182600]
jb 0x140072d7b
addsd xmm1, qword [0x140182e68]
addsd xmm2, xmm6
jmp 0x140072d95
movsd xmm0, qword [0x1401860f0]
comisd xmm0, xmm2
jb 0x140072d95
addsd xmm1, xmm6
addsd xmm2, qword [0x140182e68]
movd xmm0, r12d
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movsd qword [rsp + 0x58], xmm1
cvttsd2si eax, xmm1
sub dil, al
sub dil, 0x18
mov byte [rsi + 0x94], dil
mulsd xmm2, qword [0x140183c28]
cvttsd2si eax, xmm2
mov word [rsi + 0x96], ax
lea rdi, [rsi + 0xf8]
lea r12, [rsi + 0xf0]
lea rbx, [rsi + 0xe8]
lea rax, [rsi + 0x108]
lea rcx, [rsi + 0xd0]
mov r9d, 0x7ff
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov dl, 0xe0
mov cl, 0x8f
call fcn.14011f2a0
movsd xmm0, qword [rdi]
movsd qword [rbx], xmm0
ucomisd xmm0, xmm6
jp 0x140072e2b
je 0x140072e33
mov qword [r12], 0
test r14, r14
je 0x140072e6f
sub r15, r14
sar r15, 1
lea rdx, [r15 + r15]
mov rax, r14
cmp rdx, r13
jb 0x140072e66
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140072e66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14016cca4
nop
mov rax, rsi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14016cd40
mov rbx, qword [rsp + 0x200]
movaps xmm6, xmmword [rsp + 0x1a0]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret