Function at 0x14004ff20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
movzx edi, byte [rbp + 0x77]
xor eax, eax
mov qword [rbp + 0x1c], rax
mov r14, rdx
mov dword [rbp + 0x24], eax
mov r15, rcx
mov word [rbp + 0x28], ax
mov rsi, 0xffffffffffffffff
mov dword [rbp + 7], 0x2e295173
movabs r13, 0xc00bdc2f7760e367
mov dword [rbp + 0xb], 0x5c4c535d
movabs r12, 0xc0f90fe4caf2a773
mov dword [rbp + 0xf], 0x3245342b
mov dword [rbp + 0x13], 0x40604246
mov dword [rbp + 0x17], 0x3e444a43
mov byte [rbp + 0x1b], 0xaa
nop dword [rax]
call fcn.140049fd0
mov rbx, qword [rax]
call fcn.140049fe0
mov r8, qword [rax]
xor r11d, r11d
cmp r11, 0x23
jae 0x140050aa8
movzx r10d, byte [rbp + r11 + 7]
mov edx, r10d
cmp rbx, r11
ja 0x140050a9f
lea rax, [r8 + 1]
cmp rbx, rax
jae 0x14004fff3
lea rcx, [r11 + r13]
movzx eax, dl
and al, cl
movzx edi, r10b
add al, al
sub dil, al
add dil, 0x2f
add dil, cl
jmp 0x140050020
je 0x140050a2c
lea rax, [r8 + 3]
cmp rbx, rax
je 0x1400509af
lea rax, [r8 + 2]
cmp rbx, rax
je 0x140050980
lea rax, [r8 + 7]
cmp rbx, rax
je 0x14005095e
cmp r8, r11
ja 0x140050a96
lea rax, [r8 + 0x20]
cmp rbx, rax
jae 0x14005004d
lea rcx, [r11 + r12]
movzx eax, dl
and al, cl
movzx edi, r10b
add al, al
sub dil, al
sub dil, 0x25
add dil, cl
jmp 0x140050081
lea rax, [r8 + 1]
cmp rbx, rax
je 0x140050916
lea rax, [r8 + 2]
cmp rbx, rax
je 0x1400508f1
lea rax, [r8 + 3]
cmp rbx, rax
je 0x1400508cf
lea rax, [r8 + 5]
cmp rbx, rax
je 0x1400508a3
lea rax, [r8 + rbx]
cmp rax, r11
jbe 0x14005060f
nop
lea rax, [r8 + 0x1000]
cmp rbx, rax
je 0x1400505ec
lea rax, [r8 + 9]
cmp rbx, rax
je 0x1400505c8
lea rax, [r8 + 0x28]
cmp rbx, rax
je 0x1400505a7
lea rax, [r8 + 0x2a]
cmp rbx, rax
je 0x140050584
lea rax, [r8 + 4]
cmp rbx, rax
je 0x140050569
lea rax, [r8 + 0x200]
cmp rbx, rax
je 0x14005053a
lea rax, [r8 + 0x61]
cmp rbx, rax
je 0x14005051b
lea rax, [r8 + 0xa]
cmp rbx, rax
je 0x140050500
lea rax, [r8 + 0x40]
cmp rbx, rax
je 0x1400504d2
lea rax, [r8 + 1]
cmp rbx, rax
je 0x140050090
lea rbx, [r8 + 0x1000]
lea r8, [rbx + 5]
lea rax, [r8 + 0x5a]
cmp rbx, rax
jb 0x140050a79
lea rax, [r8 + 0x28]
cmp rbx, rax
jb 0x140050a5c
lea rax, [r8 + 0x80]
cmp rbx, rax
jb 0x14005027f
lea rax, [r8 + 4]
cmp rbx, rax
jb 0x140050263
lea rax, [r8 + 9]
cmp rbx, rax
jb 0x140050247
lea rax, [r8 + 0x61]
cmp rbx, rax
jb 0x140050489
lea rax, [r8 + 0x2a]
cmp rbx, rax
jb 0x14005043d
lea rax, [r8 + 0x40]
cmp rbx, rax
jb 0x1400503fd
lea rax, [r8 + 0x200]
cmp rbx, rax
jb 0x1400503da
lea rax, [r8 + 5]
cmp rbx, rax
jb 0x140050090
lea rbx, [r8 + 0x64]
lea r8, [rbx + 0xa]
lea rax, [r8 + 3]
cmp rbx, rax
ja 0x1400503b0
lea rax, [r8 + 8]
cmp rbx, rax
ja 0x140050391
lea rax, [r8 + 0x1000]
cmp rbx, rax
ja 0x140050376
lea rax, [r8 + 0x5a]
cmp rbx, rax
ja 0x140050347
lea rax, [r8 + 0x28]
cmp rbx, rax
ja 0x140050328
lea rax, [r8 + 0x80]
cmp rbx, rax
ja 0x140050309
lea rax, [r8 + 4]
cmp rbx, rax
ja 0x1400502e4
lea rax, [r8 + 9]
cmp rbx, rax
ja 0x1400502bb
lea rax, [r8 + 0x61]
cmp rbx, rax
ja 0x14005029b
lea rax, [r8 + 0x2a]
cmp rbx, rax
ja 0x140050090
lea rbx, [r8 + 0x400]
lea r8, [rbx + 0x40]
jmp 0x140050090
lea edi, [r11 - 0x13]
movzx eax, dil
and al, r10b
add al, al
sub dil, al
sub dil, 0x7b
add dil, r10b
jmp 0x140050081
lea edi, [r11 + 0x1f]
movzx eax, dil
and al, r10b
add al, al
sub dil, al
add dil, 0x27
add dil, r10b
jmp 0x140050020
lea edi, [r11 + 0x51]
movzx eax, dil
and al, r10b
add al, al
sub dil, al
sub dil, 0x37
add dil, r10b
jmp 0x14004ffc6
lea edi, [r11 - 0x68]
movzx r9d, r11b
movzx eax, dil
and al, r10b
add al, al
sub dil, al
sub dil, 0x28
add dil, r10b
jmp 0x140050934
lea ecx, [r11 - 0x36]
mov edi, 0x3d
movzx eax, cl
inc r8
and al, r10b
dec r11
sub dil, al
add dil, dil
add dil, cl
add dil, r10b
inc r11
jmp 0x14004ffb3
lea edx, [r11 - 4]
mov ecx, 0xe
movzx eax, dl
dec r11
and al, r10b
sub cl, al
lea edi, [rcx + rcx]
add dil, dl
add dil, r10b
inc r11
jmp 0x14004ffb3
lea ecx, [r11 + 0x2e]
movzx r9d, r11b
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 0x42
jmp 0x140050861
lea edx, [r11 + 0x60]
mov ecx, 0x30
movzx eax, dl
and al, r10b
sub cl, al
lea edi, [rcx + rcx]
add dil, dl
add dil, r10b
jmp 0x140050997
lea edx, [r11 - 0x6e]
mov ecx, 1
movzx eax, dl
and al, r10b
sub cl, al
lea edi, [rcx + rcx]
mov rcx, rsi
add dil, dl
add dil, r10b
movzx eax, dil
sub rcx, rax
add r11, rcx
inc r11
jmp 0x14004ffb3
lea ecx, [r11 - 0x3c]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 0x5c
jmp 0x1400509ce
lea edx, [r11 - 0xa]
mov ecx, 0x23
movzx eax, dl
and al, r10b
sub cl, al
lea edi, [rcx + rcx]
add dil, dl
add dil, r10b
jmp 0x1400509f3
lea ecx, [r11 + 0x28]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
movzx eax, byte [rbp + r11 + 7]
add rax, r8
add r11, rax
lea edi, [r10 + rcx]
sub dil, 0x18
inc r11
jmp 0x14004ffb3
lea ecx, [r11 + 0x25]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 3
mov byte [rbp + r11 + 7], dil
inc r11
jmp 0x14004ffb3
lea ecx, [r11 + 0x57]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 0x61
cmp r8, 0x20
jb 0x1400503f0
mov ecx, 0x1d
movzx r9d, r11b
movzx eax, r10b
lea edx, [r9 + 0xa]
and al, dl
sub cl, al
add cl, cl
add cl, r10b
add cl, dl
lea edi, [rcx + rcx]
jmp 0x140050934
lea ecx, [r11 - 0x77]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
add dil, 0x41
cmp rbx, 0x80
jae 0x140050842
lea rax, [r8 + 1]
cmp rbx, rax
jbe 0x1400507bf
lea edx, [r11 - 2]
mov ecx, 7
movzx eax, r10b
and al, dl
sub cl, al
lea edi, [rcx + rcx]
add dil, r10b
add dil, dl
jmp 0x140050413
lea ecx, [r11 - 0x45]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 0x1d
lea rax, [r8 + rbx]
cmp rax, 0x28
je 0x140050887
lea rax, [r8 + 6]
cmp rbx, rax
jbe 0x1400506e4
lea ecx, [r11 - 0x75]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
add dil, 0x33
jmp 0x140050453
lea edx, [r11 - 0x4e]
mov ecx, 0x11
movzx eax, dl
and al, r10b
sub cl, al
movzx eax, byte [rbp + r11 + 7]
add rax, r8
add r11, rax
lea edi, [rcx + rcx]
add dil, dl
add dil, r10b
inc r11
jmp 0x14004ffb3
lea ecx, [r11 - 0x1c]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 0x3c
jmp 0x1400509f3
lea edx, [r11 + 0x16]
mov ecx, 0x33
movzx eax, dl
and al, r10b
sub cl, al
lea edi, [rcx + rcx]
add dil, dl
add dil, r10b
jmp 0x1400509ce
lea edx, [r11 + 0x48]
mov ecx, 4
movzx eax, dl
and al, r10b
sub cl, al
lea edi, [rcx + rcx]
mov rcx, rsi
add dil, dl
add dil, r10b
movzx eax, dil
sub rcx, rax
add r11, rcx
inc r11
jmp 0x14004ffb3
lea ecx, [r11 + 0x7a]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 0x56
jmp 0x140050997
mov ecx, 0x26
movzx r9d, r11b
lea edx, [r9 - 0x54]
movzx eax, dl
and al, r10b
sub cl, al
lea edi, [rcx + rcx]
add dil, dl
add dil, r10b
jmp 0x140050861
lea ecx, [r11 - 0x22]
dec r11
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 0x12
inc r11
jmp 0x14004ffb3
lea ecx, [r11 + 0x10]
inc r8
movzx eax, cl
dec r11
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 0x70
inc r11
jmp 0x14004ffb3
mov ecx, 0x19
movzx r9d, r11b
lea edx, [r9 + 0x42]
movzx eax, dl
and al, r10b
sub cl, al
lea edi, [rcx + rcx]
add dil, dl
add dil, r10b
jmp 0x140050934
lea rax, [r8 + 0x61]
cmp rbx, rax
jae 0x140050633
lea ecx, [r11 + 0x67]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
add dil, 0x2f
jmp 0x14005049f
lea rax, [r8 + 1]
cmp rbx, rax
jne 0x140050666
lea ecx, [r11 - 0x1a]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
movzx eax, byte [rbp + r11 + 7]
add rax, r8
add r11, rax
lea edi, [r10 + rcx]
sub dil, 0x4a
inc r11
jmp 0x14004ffb3
lea rax, [r8 + 3]
cmp rbx, rax
jne 0x14005068e
lea edx, [r11 - 0x7e]
mov ecx, 0x39
movzx eax, dl
and al, r10b
sub cl, al
lea edi, [rcx + rcx]
add dil, dl
add dil, r10b
jmp 0x1400509ce
lea rax, [r8 + 4]
cmp rbx, rax
jne 0x1400506b6
movzx r9d, r11b
lea ecx, [r9 - 0x14]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 0x74
jmp 0x140050861
lea rax, [r8 + 2]
cmp rbx, rax
jne 0x14005049f
lea ecx, [r11 - 0x46]
dec r11
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 0x16
inc r11
jmp 0x14004ffb3
lea rax, [r8 + 1]
cmp rbx, rax
jne 0x14005070c
movzx r9d, r11b
lea ecx, [r9 + 0x59]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 0x6f
jmp 0x140050934
lea rax, [r8 + 2]
cmp rbx, rax
jne 0x140050739
lea ecx, [r11 + 0x27]
inc r8
movzx eax, cl
dec r11
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
sub dil, 0x11
inc r11
jmp 0x14004ffb3
lea rax, [r8 + 3]
cmp rbx, rax
jne 0x140050763
lea ecx, [r11 - 0xb]
dec r11
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
add dil, 0x4d
inc r11
jmp 0x14004ffb3
lea rax, [r8 + 5]
cmp rbx, rax
jne 0x140050787
lea ecx, [r11 - 0x6f]
movzx eax, cl
and al, r10b
add al, al
sub cl, al
lea edi, [r10 + rcx]
add dil, 9
jmp 0x140050997
lea rax, [r8 + 4]
cmp rbx, rax
jne 0x140050453
lea ecx, [r11 - 0x37]
movzx eax, r10b
and al, cl
add al, al
sub r10b, al
movzx eax, byte [rbp + r11 + 7]
add rax, r8
add r11, rax
lea edi, [rcx + r10]
sub dil, 0x7f
inc r11
jmp 0x14004ffb3
jne 0x1400507ef
lea edx, [r11 - 0x34]
movzx eax, r10b
and al, dl
mov ecx, 0x36
sub cl, al
movzx eax, byte [rbp + r11 + 7]
add rax, r8
add r11, rax
lea edi, [rcx + rcx]
add dil, r10b
add dil, dl
inc r11
jmp 0x14004ffb3
lea rax, [r8 + 3]
cmp rbx, rax
jne 0x140050815
mov ecx, 0x21
movzx r9d, r11b
movzx eax, r10b
lea edx, [r9 - 0x2e]
and al, dl
sub cl, al
lea edi, [rcx + rcx]
add dil, r10b
jmp 0x14005085e
lea rax, [r8 + 9]
cmp rbx, rax
jne 0x140050413
mov ecx, 0x2e
movzx r9d, r11b
movzx eax, r10b
lea edx, [r9 + 0x3c]
and al, dl
sub cl, al
lea edi, [rcx + rcx]
add dil, r10b
jmp 0x140050931
movzx ecx, byte [rbp + r11 + 7]
movzx r9d, r11b
movzx eax, r10b
lea edx, [r9 - 0x28]
and al, dl
sub cl, al
add cl, 0xc
lea edi, [rcx + rcx]
add dil, dl
add r9b, 0x3f
movzx ecx, dil
movzx eax, r9b
and al, r10b
add al, al
sub cl, al
add cl, 0x47
add cl, r9b
add cl, r10b
mov byte [rbp + r11 + 7], cl
jmp 0x140050997
lea edx, [r11 - 0x5a]
mov ecx, 0x3b
movzx eax, r10b
and al, dl
sub cl, al
lea edi, [rcx + rcx]
add dil, dl
jmp 0x1400509ce
lea ecx, [r11 + 0x47]
movzx eax, r10b
and al, cl
add al, al
sub r10b, al
lea edi, [rcx + r10]
mov rcx, rsi
add dil, 0xf
movzx eax, dil
sub rcx, rax
add r11, rcx
inc r11
jmp 0x14004ffb3
lea ecx, [r11 - 0x23]
movzx eax, r10b
and al, cl
dec r11
add al, al
sub r10b, al
lea edi, [rcx + r10]
sub dil, 0xb
inc r11
jmp 0x14004ffb3
lea ecx, [r11 + 0xf]
movzx eax, r10b
and al, cl
inc r8
add al, al
dec r11
sub r10b, al
lea edi, [rcx + r10]
sub dil, 0x69
inc r11
jmp 0x14004ffb3
movzx r9d, r11b
movzx eax, r10b
movzx edi, r10b
lea edx, [r9 + 0x41]
and al, dl
add al, al
sub dil, al
add dil, 0x39
add dil, dl
add r9b, 0x71
movzx eax, r9b
and al, r10b
add al, al
sub r9b, al
sub r9b, 0x17
add r9b, r10b
mov byte [rbp + r11 + 7], r9b
inc r8
dec r11
inc r11
jmp 0x14004ffb3
lea ecx, [r11 + 9]
movzx eax, r10b
and al, cl
add al, al
sub r10b, al
lea edi, [rcx + r10]
sub dil, 0x3f
dec r11
inc r11
jmp 0x14004ffb3
lea ecx, [r11 + 0x6d]
movzx eax, r10b
and al, cl
add al, al
sub r10b, al
lea edi, [rcx + r10]
add dil, 5
add rbx, r8
movzx eax, dil
mov rcx, rsi
sub rcx, rax
add r11, rcx
inc r11
jmp 0x14004ffb3
movabs rcx, 0x4053054c43a637d1
movzx edi, r10b
add rcx, r11
and dl, cl
add dl, dl
sub dil, dl
add dil, 0x49
add dil, cl
lea ecx, [r11 + 0xd]
inc r8
movzx eax, cl
and al, r10b
add al, al
sub cl, al
sub cl, 0x5b
add cl, r10b
movzx eax, cl
mov byte [rbp + r11 + 7], al
add rax, r8
sub r11, rax
lea ecx, [r11 + 0x74]
inc rbx
movzx eax, cl
and al, r10b
add al, al
sub cl, al
mov rax, rsi
sub rax, rbx
sub cl, 0x2c
add cl, r10b
mov byte [rbp + r11 + 7], cl
add r11, rax
movzx eax, byte [rbp + r11 + 7]
add rax, r8
add r11, rax
inc r11
jmp 0x14004ffb3
movabs rax, 0x4023948e6622aa35
add rax, r11
and dl, al
add dl, dl
sub r10b, dl
lea edi, [rax + r10]
sub dil, 0x73
movzx eax, byte [rbp + r11 + 7]
add rax, r8
add r11, rax
inc r11
jmp 0x14004ffb3
sub r11b, 0x7d
movzx eax, r10b
and al, r11b
add al, al
sub r10b, al
lea edi, [r11 + r10]
add dil, 0x6b
jmp 0x14004ffb0
sub r11b, 0x4b
movzx eax, r10b
and al, r11b
add al, al
sub r10b, al
lea edi, [r11 + r10]
add dil, 0xd
jmp 0x14004ffa0
lea rdx, [rbp + 0x158c93b]
jmp 0x140050aac
lea rdx, [rbp + 0x139aca2]
jmp 0x140050aac
lea rdx, [rbp + 7]
vpxor xmm0, xmm0, xmm0
vpxor xmm1, xmm1, xmm1
vmovups xmmword [rbp - 0x49], xmm0
vmovdqu xmmword [rbp - 0x39], xmm1
nop
inc rsi
cmp byte [rdx + rsi], 0
jne 0x140050ac0
mov r8, rsi
lea rcx, [rbp - 0x49]
call fcn.14004a1a0
vpxor xmm0, xmm0, xmm0
mov ecx, 0x30
vmovups xmmword [rbp - 0x29], xmm0
call fcn.1400d63b0
vmovups ymm1, ymmword [str._Script_OPP.RBPuzzleRoomComponent]
vmovdqu xmm0, xmmword [0x14010fcf0]
vmovdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x49]
vmovups ymmword [rax], ymm1
movzx ecx, byte [0x14010fae0]
mov byte [rax + 0x20], cl
lea rcx, [rbp - 0x29]
mov byte [rax + 0x21], 0
vzeroupper
call fcn.1400811d0
mov r10, qword [0x1402f0c90]
mov r9d, 0x10
mov edx, eax
mov r8, r14
add rdx, qword [r15]
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov rcx, qword [r10 + 0x20]
call qword [r10 + 8]
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140050b80
mov rcx, qword [rbp - 0x29]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b7b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050bec
call fcn.1400d5fb0
mov rdx, qword [rbp - 0x31]
mov byte [rbp - 0x29], 0
vmovdqu xmm0, xmmword [0x14010fc20]
vmovdqu xmmword [rbp - 0x19], xmm0
cmp rdx, 0xf
jbe 0x140050bc8
mov rcx, qword [rbp - 0x49]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050bc3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050bec
call fcn.1400d5fb0
lea r11, [rsp + 0xb0]
mov rax, r14
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400ebc08
int3