Function at 0x14007fee5
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov r13, rdx
mov rdi, rcx
mov ecx, 0x400
mov edx, 2
call fcn.14004723d
mov r12, rax
movsxd rcx, dword [rdi + 0x16c]
mov edx, 0xc
call fcn.14004723d
xor ecx, ecx
cmp dword [rdi + 0xd4], ecx
sete r15b
cmp dword [rdi + 0x178], ecx
mov qword [rsp + 0x80], rax
sete r14b
mov dword [rsp + 0x70], 0
cmp dword [rdi + 0xdc], ecx
je 0x14007ff92
cmp dword [rdi + 0x174], 0
je 0x14007ff77
mov eax, 0x40000000
cmp dword [rdi + 0xe8], 0
jne 0x14007ff7c
xor eax, eax
cmp dword [rdi + 0x118c], 0
sete al
shl eax, 0x1e
jmp 0x14007ff7c
mov eax, 0x20000000
mov ecx, eax
or ecx, 0x10000000
cmp dword [rdi + 0xb8], 0
cmove ecx, eax
mov dword [rsp + 0x70], ecx
movsxd rdx, dword [rdi + 0x98]
movsxd rax, dword [rdi + 0x20]
mov rbx, rdx
sub rbx, rax
mov r8d, 0x136e
xor r9d, r9d
mov rcx, rdi
call fcn.140081c35
mov rsi, rax
mov ebp, dword [rdi + 0x9c]
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
call fcn.140083c20
test rax, rax
mov qword [rsp + 0x40], rdi
je 0x14007fff0
movsxd rcx, ebp
mov rdx, qword [rdi + 0x1150]
mov rbp, rbx
shl rbp, 5
mov rdx, qword [rdx + rbp + 0x10]
mov ebp, dword [rdx + rcx*4]
jmp 0x14007fff4
mov rax, qword [rsi + 0x18]
test ebp, ebp
jle 0x14008000d
movsxd rcx, ebp
lea rcx, [rcx + rcx*2]
xor edx, edx
cmp dword [rax + rcx*4], 0xdfff
sete dl
sub ebp, edx
mov edi, ebp
cmp dword [rsi + 0xc], 0
mov qword [rsp + 0xa8], rbx
je 0x140080036
mov rcx, qword [rsi + 0x18]
call fcn.140047430
mov rcx, rsi
call fcn.140047430
mov rbx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x40]
movsxd rcx, dword [rdx + 0x34]
test rcx, rcx
mov qword [rsp + 0xc0], rdi
js 0x140080070
mov eax, dword [rdx + 0x30]
lea r8, [rdx + 0x30]
cmp ecx, ebx
jne 0x140080076
mov rdx, qword [rsp + 0x40]
mov ebp, dword [rsp + 0x70]
cmp dword [rdx + 0x38], ebp
jne 0x140080076
cmp eax, edi
jne 0x140080076
mov rdx, qword [rsp + 0x40]
jmp 0x1400800df
lea rcx, [rdx + 0x30]
jmp 0x1400800e2
movsxd rdx, eax
mov rbp, qword [rsp + 0x40]
mov rbp, qword [rbp + 0x28]
mov rcx, qword [rbp + rcx*8]
mov rcx, qword [rcx + 0x18]
lea rdx, [rdx + rdx*2]
lea rbp, [rcx + rdx*4]
test eax, eax
jle 0x1400800aa
cmp dword [rbp], 0xdfff
jne 0x1400800aa
or dword [rbp - 8], 0x3ffff
mov eax, dword [r8]
mov rdi, qword [rsp + 0x40]
mov esi, dword [rdi + 0x16c]
dec esi
cmp eax, esi
jge 0x1400800cb
cmp dword [rbp + 0xc], 0xdfff
jne 0x1400800cb
or dword [rbp + 0x10], 0x3ffff
or dword [rcx + rdx*4 + 4], 0x3ffff
mov rdx, qword [rsp + 0x40]
mov dword [rdx + 0x38], 0
mov rcx, r8
mov eax, 0xffffffff
mov dword [rdx + 0x34], eax
mov dword [rcx], eax
cmp dword [rdx + 0x168], 0
jle 0x140080c05
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0x90], r13
xor r15b, r14b
movzx eax, r15b
shl eax, 0x14
mov dword [rsp + 0x64], eax
mov eax, ebx
mov qword [rsp + 0xc8], rax
mov ebx, 0x400
xor r13d, r13d
mov rdi, qword [rsp + 0x40]
mov edx, dword [rdi + 0x20]
add edx, r13d
mov r8d, 0x13ae
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x3c], edx
call fcn.140081c35
mov rsi, rax
mov rcx, rdi
mov rdx, rsi
mov r8d, r13d
call fcn.140083c20
mov qword [rsp + 0x98], rax
test rax, rax
mov qword [rsp + 0x78], rsi
je 0x140080181
mov rax, qword [rdi + 0x1150]
mov rcx, r13
shl rcx, 5
mov r10, qword [rax + rcx + 0x18]
jmp 0x140080190
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x98], rax
xor r10d, r10d
mov eax, dword [rdi + 0x16c]
test eax, eax
mov qword [rsp + 0x58], r13
jle 0x14008059b
mov ebp, 1
xor r15d, r15d
mov r9, qword [rsp + 0xa8]
mov dword [rsp + 0x48], ebx
test r10, r10
je 0x1400801c2
mov r8d, dword [r10 + r15*4]
jmp 0x1400801c5
mov r8d, r15d
mov rsi, qword [rsp + 0x98]
mov edx, dword [rsi + rbp*4]
mov edi, edx
and edi, 0xfffc0000
or edi, 0x20500
mov rcx, qword [rsp + 0x40]
xor ebx, ebx
cmp dword [rcx + 0x115c], ebx
mov r13d, dword [rsi + rbp*4 - 4]
cmovne edi, edx
cmp dword [rcx + 0x11fc], ebx
jne 0x14008023f
mov edx, edi
and edx, 0x1ff
add edx, 0xfffffff0
mov ecx, edi
and ecx, 0xfffffe00
or ecx, 0x100
mov ebx, 0xf0
cmp edx, ebx
cmovae ecx, edi
mov edx, ecx
shr edx, 9
and edx, 0x1ff
add edx, 0xfffffff0
mov edi, ecx
and edi, 0xfffc01ff
or edi, 0x20400
cmp edx, ebx
cmovae edi, ecx
mov ebx, dword [rsp + 0x48]
mov edx, r13d
and edx, 0xffffff00
cmp edx, 0xda00
je 0x140080298
cmp edx, 0xd900
je 0x14008027e
cmp edx, 0xd800
jne 0x1400802b1
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10f0]
movzx edx, r13b
lea rdx, [rcx + rdx*2 + 0x214]
jmp 0x1400802ad
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10f0]
movzx edx, r13b
lea rdx, [rcx + rdx*2 + 0x614]
jmp 0x1400802ad
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10f0]
movzx edx, r13b
lea rdx, [rcx + rdx*2 + 0x14]
movzx r13d, word [rdx]
dec eax
cdqe
cmp r15, rax
jge 0x1400802d4
mov eax, edi
or eax, 0x400000
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + rbp*4 + 8], 0xdfff
cmove edi, eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xe8c]
and eax, 0xfffffffe
cmp eax, 2
jne 0x140080378
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0xe90], 0
mov eax, dword [rax + 0xe98]
je 0x140080326
cmp eax, dword [rsp + 0x3c]
jg 0x140080378
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0xe9c], r8d
jg 0x140080378
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
cmp ecx, dword [rax + 0xea0]
jle 0x140080359
jmp 0x140080378
cmp eax, dword [rsp + 0x3c]
jl 0x14008033c
jne 0x140080378
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0xe9c], r8d
jg 0x140080378
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
cmp ecx, dword [rax + 0xea0]
jge 0x140080357
mov r14d, edi
xor r14d, dword [rsp + 0x64]
jmp 0x140080371
jne 0x140080378
mov r14d, edi
xor r14d, dword [rsp + 0x64]
xor eax, eax
mov rcx, qword [rsp + 0x40]
cmp r8d, dword [rcx + 0xea4]
jge 0x140080382
mov eax, 0x100000
jmp 0x140080382
mov r14d, edi
xor r14d, dword [rsp + 0x64]
xor eax, eax
xor r14d, eax
test edi, 0x200000
je 0x1400803c6
mov rdi, qword [rsp + 0x40]
mov eax, dword [rdi + 0xf0]
test eax, eax
je 0x1400803cb
cmp dword [rdi + 0x174], 0
je 0x1400803bd
cmp dword [rdi + 0xec], 0
je 0x1400803bd
mov rax, qword [rdi + 0x10f0]
movzx r13d, word [rax + 0x254]
and r14d, 0xffdfffff
jmp 0x1400803cb
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi + 0x28]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rax + rcx*8]
mov rax, qword [rax + 0x18]
cmp r13d, dword [rax + rbp*4 - 4]
jne 0x1400803fd
mov eax, dword [rax + rbp*4]
mov ecx, eax
and ecx, 0xf7fffff
cmp r14d, ecx
jne 0x1400803fd
and eax, 0x800000
or r14d, eax
jmp 0x140080434
test r14d, 0x400000
jne 0x140080434
mov rcx, qword [rsp + 0x90]
mov edx, r13d
mov rsi, r10
call fcn.14009b00d
mov r10, rsi
mov r9, qword [rsp + 0xa8]
mov ecx, r14d
or ecx, 0x800000
cmp eax, 2
cmove r14d, ecx
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0xc8]
jne 0x140080468
mov rcx, qword [rsp + 0xc0]
cmp rcx, r15
jne 0x140080468
mov eax, dword [rsp + 0x70]
or r14d, eax
mov dword [rdi + 0x38], eax
mov rax, qword [rsp + 0xe0]
mov dword [rax], ecx
mov dword [rdi + 0x34], r9d
mov rax, qword [rsp + 0x80]
mov dword [rax + rbp*4], r14d
mov dword [rax + rbp*4 - 4], r13d
mov dword [rax + rbp*4 + 4], 0
inc r15
movsxd rax, dword [rdi + 0x16c]
add rbp, 3
cmp r15, rax
mov r13, qword [rsp + 0x58]
jl 0x1400801b7
test eax, eax
jle 0x14008059b
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
mov r10d, r9d
mov rdx, qword [rdi + 0x28]
mov rdx, qword [rdx + r13*8]
mov rsi, qword [rdx + 0x18]
lea rdx, [rcx*4]
lea rdi, [rdx + rdx*2]
mov ebp, dword [rsi + rdi]
mov edx, dword [rsi + rdi + 4]
test edx, edx
mov r9d, ecx
cmovns r9d, r10d
mov ebx, 0
cmovs r8d, ebx
mov rbx, qword [rsp + 0x80]
cmp ebp, dword [rbx + rdi]
jne 0x140080520
test r8d, r8d
jne 0x14008050d
mov ebp, edx
and ebp, 0xfffffff
lea rdi, [rcx + rcx*2]
mov rbx, qword [rsp + 0x80]
cmp ebp, dword [rbx + rdi*4 + 4]
jne 0x140080525
test r8d, r8d
mov rdi, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x48]
jne 0x140080578
xor r8d, r8d
jmp 0x14008058c
test r8d, r8d
jne 0x14008056f
movsxd rbp, r9d
mov r8d, 1
mov rax, rcx
sub rax, rbp
jle 0x14008056f
lea rdx, [rbp + rbp*2]
lea rdx, [rdx*4 + 4]
mov rdi, qword [rsp + 0x40]
or dword [rsi + rdx], 0x3ffff
mov rbp, qword [rdi + 0x28]
mov rbp, qword [rbp + r13*8]
mov rsi, qword [rbp + 0x18]
add rdx, 0xc
dec rax
jne 0x140080548
lea rax, [rcx + rcx*2]
mov edx, dword [rsi + rax*4 + 4]
jmp 0x140080574
mov rdi, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x48]
lea rax, [rcx + rcx*2]
or edx, 0x3ffff
mov dword [rsi + rax*4 + 4], edx
mov eax, dword [rdi + 0x16c]
inc rcx
movsxd rdx, eax
cmp rcx, rdx
jl 0x1400804ad
mov r15, qword [rsp + 0x78]
movzx ecx, word [r15]
mov rax, qword [rdi + 0x28]
mov rdx, qword [rax + r13*8]
xor eax, eax
cmp cx, word [rdx]
setne r8b
mov word [rdx], cx
cmp dword [rdi + 0x16c], 0
jle 0x140080bda
mov al, r8b
xor r14d, r14d
mov dword [rsp + 0xa0], 0
xor ebp, ebp
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x68], 0
xor r9d, r9d
mov dword [rsp + 0x6c], eax
mov r15d, eax
movsxd r11, r14d
lea rax, [r11*4]
lea rdx, [rax + rax*2]
mov rax, qword [rsp + 0x80]
mov esi, dword [rax + rdx]
mov ecx, dword [rax + rdx + 4]
mov rax, qword [rdi + 0x28]
mov rax, qword [rax + r13*8]
mov r8, qword [rax + 0x18]
mov qword [rsp + 0xd8], rdx
mov r10d, dword [r8 + rdx + 4]
mov eax, r10d
xor eax, ecx
test eax, 0x400000
mov eax, dword [rsp + 0x6c]
mov edx, 1
cmovne eax, edx
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x3c], ecx
mov eax, ecx
mov ecx, r9d
xor eax, r9d
xor edx, edx
test dword [rdi + 0x10b0], eax
setne al
mov qword [rsp + 0x48], rsi
lea edi, [rsi - 0x23ba]
cmp edi, 4
mov r9d, dword [rsp + 0x68]
jb 0x14008069b
mov dl, al
test r14d, r14d
jle 0x1400806a0
lea eax, [r14 - 1]
cdqe
lea rax, [rax + rax*2]
mov edi, ebx
mov rbx, qword [rsp + 0x80]
mov eax, dword [rbx + rax*4]
mov ebx, edi
mov edi, 0xffffdc46
add eax, edi
cmp eax, 3
ja 0x1400806a0
mov edx, 1
mov r13d, ecx
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xd8]
lea rax, [rcx + rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x48]
mov rsi, rax
and eax, 0xfffffc00
mov edi, esi
and edi, 0xfffffe00
and esi, 0xffffff00
cmp edi, 0xf000
mov edi, 0
cmove edi, esi
cmp eax, 0xd800
cmove edi, esi
mov dword [rsp + 0x68], edi
cmp edi, r9d
mov eax, 1
cmovne edx, eax
lea rsi, [r11 + r11*2]
cmp dword [rcx + rsi*4 + 8], 0
mov rdi, qword [rsp + 0x40]
je 0x14008074f
mov edx, 1
mov rax, qword [rdi + 0x10f0]
mov eax, dword [rax + 8]
or eax, dword [rsp + 0x6c]
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xb0], r14
je 0x140080764
test edx, edx
jne 0x140080787
mov dword [rsp + 0x68], r9d
mov r14d, r13d
mov r13, qword [rsp + 0x58]
mov r9d, dword [rsp + 0x3c]
jmp 0x14008084a
test r14d, r14d
jle 0x140080714
mov rax, qword [rsp + 0x88]
cmp dword [rax - 4], 0
jne 0x14008070f
jmp 0x140080714
mov rax, qword [rsp + 0x48]
cmp dword [r8 + rsi*4], eax
jne 0x14008077d
and r10d, 0xfffffff
cmp r10d, dword [rsp + 0x3c]
je 0x140080787
mov eax, ebp
xor eax, 1
or eax, r15d
jne 0x140080734
test ebp, ebp
mov esi, dword [rsp + 0xa0]
jle 0x1400807fe
mov eax, esi
or eax, r15d
je 0x1400807fe
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ebp
mov rcx, qword [rsp + 0x90]
mov edx, dword [rsp + 0x54]
mov r8, qword [rsp + 0x58]
mov r9, r12
call fcn.14009ab8c
test r13d, 0x60000000
je 0x1400807fe
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ebp
mov rcx, qword [rsp + 0x90]
mov edx, dword [rsp + 0x54]
mov r8, qword [rsp + 0x58]
mov r9, r12
call fcn.14009ad95
mov rax, qword [rdi + 0x10f0]
cmp dword [rax + 8], 0
cmovne esi, r15d
mov dword [rsp + 0xa0], esi
mov rax, qword [rdi + 0x28]
mov r13, qword [rsp + 0x58]
mov rax, qword [rax + r13*8]
mov r8, qword [rax + 0x18]
xor ebp, ebp
mov r15d, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x3c]
mov r14d, ecx
mov rax, qword [rsp + 0xb0]
mov dword [rsp + 0x54], eax
mov r9d, ecx
mov rsi, qword [rsp + 0xd0]
lea rcx, [r8 + rsi*4]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x48]
call fcn.140089a83
mov ecx, eax
test ecx, ecx
mov eax, 1
cmove r15d, eax
lea eax, [rbp + 2]
cmp eax, ebx
mov dword [rsp + 0xbc], ecx
jle 0x140080895
lea ebx, [rbp + 0x100]
movsxd rdx, ebx
mov r8d, 2
mov rcx, r12
call fcn.14004732a
mov r12, rax
mov rdx, qword [rsp + 0x48]
mov r9d, r14d
mov r14, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x98]
lea rax, [rax + rsi*4 + 8]
lea ecx, [rdx - 0x10001]
cmp ecx, 0xffffe
ja 0x1400808ee
lea ecx, [rdx - 0x10000]
mov edx, ecx
shr edx, 0xa
add edx, 0xd800
movsxd rdi, ebp
inc ebp
mov word [r12 + rdi*2], dx
mov rdi, qword [rsp + 0x40]
and ecx, 0x3ff
or ecx, 0xdc00
jmp 0x1400808f0
mov ecx, edx
movsxd rdx, ebp
inc ebp
mov word [r12 + rdx*2], cx
mov eax, dword [rax]
test eax, eax
mov dword [rsp + 0xa4], r15d
je 0x140080a11
mov dword [rsp + 0x74], r9d
mov r15, qword [rsp + 0x88]
cdqe
lea r13, [rax + rax*2]
mov esi, dword [r15 + r13*4]
mov eax, esi
and eax, 0xffffff00
cmp eax, 0xda00
je 0x140080969
cmp eax, 0xd900
je 0x140080954
cmp eax, 0xd800
jne 0x14008097c
mov rax, qword [rdi + 0x10f0]
movzx ecx, sil
lea rax, [rax + rcx*2 + 0x214]
jmp 0x140080979
mov rax, qword [rdi + 0x10f0]
movzx ecx, sil
lea rax, [rax + rcx*2 + 0x614]
jmp 0x140080979
mov rax, qword [rdi + 0x10f0]
movzx ecx, sil
lea rax, [rax + rcx*2 + 0x14]
movzx esi, word [rax]
lea eax, [rbp + 2]
cmp eax, ebx
jle 0x14008099d
lea ebx, [rbp + 0x100]
movsxd rdx, ebx
mov r8d, 2
mov rcx, r12
call fcn.14004732a
mov r12, rax
lea eax, [rsi - 0x10001]
cmp eax, 0xffffe
ja 0x1400809d0
add esi, 0xffff0000
mov eax, esi
shr eax, 0xa
add eax, 0xd800
movsxd rcx, ebp
inc ebp
mov word [r12 + rcx*2], ax
and esi, 0x3ff
or esi, 0xdc00
lea r15, [r15 + r13*4]
movsxd rax, ebp
inc ebp
mov word [r12 + rax*2], si
mov eax, dword [r15 + 8]
test eax, eax
jne 0x140080919
mov r9d, dword [rsp + 0x74]
or r9d, 0x80000000
mov r13, qword [rsp + 0x58]
mov r15d, dword [rsp + 0xa4]
mov eax, dword [rsp + 0x3c]
mov rsi, qword [rsp + 0xd0]
jmp 0x140080a15
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0xbc], 0
jne 0x140080aa8
mov rax, qword [rdi + 0x28]
mov rcx, qword [rax + r13*8]
mov edx, r14d
mov r8, qword [rsp + 0x88]
mov r15, r13
mov r13, r14
mov r14d, r9d
call fcn.140088c45
mov r9d, r14d
mov r14, r13
mov r13, r15
mov r15d, dword [rsp + 0xa4]
mov rax, qword [rdi + 0x28]
mov rax, qword [rax + r13*8]
mov rax, qword [rax + 0x18]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x48]
mov dword [rax + rdx], ecx
mov rax, qword [rdi + 0x28]
mov rax, qword [rax + r13*8]
mov rax, qword [rax + 0x18]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + rdx + 4], ecx
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x54], r14d
jne 0x140080aa8
mov rax, qword [rdi + 0x28]
mov rax, qword [rax + r13*8]
mov rax, qword [rax + 0x18]
or dword [rax + rsi*4 + 4], 0x80000000
mov eax, dword [rsp + 0x3c]
test eax, 0x400000
je 0x140080b53
inc r14d
cmp r14d, dword [rdi + 0x16c]
jge 0x140080b53
mov dword [rsp + 0x74], r9d
add qword [rsp + 0x88], 0xc
mov rsi, r13
cmp r13, qword [rsp + 0xc8]
jne 0x140080b01
cmp r14d, dword [rsp + 0xc0]
jne 0x140080b01
mov r8d, 0x14c5
lea rcx, str.__i__our_curs_y__j__our_curs_x_
lea rdx, str..._terminal.c
call fcn.1400b5fb0
mov rax, qword [rdi + 0x28]
mov rsi, qword [rax + rsi*8]
movsxd rax, r14d
lea rcx, [rax + rax*2]
shl rcx, 2
add rcx, qword [rsi + 0x18]
mov r13, qword [rsp + 0x88]
mov r8d, dword [r13]
mov r9d, dword [r13 + 4]
mov rdx, r13
call fcn.140089a83
test eax, eax
mov eax, 1
cmove r15d, eax
mov rcx, rsi
mov edx, r14d
mov r8, r13
call fcn.140088c45
mov r9d, dword [rsp + 0x74]
mov r13, qword [rsp + 0x58]
inc r14d
cmp r14d, dword [rdi + 0x16c]
jl 0x1400805f2
test r15d, r15d
je 0x140080bd5
test ebp, ebp
jle 0x140080bd5
mov r15, qword [rsp + 0x78]
movzx eax, word [r15]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], ebp
mov rcx, qword [rsp + 0x90]
mov r14, r13
mov r13d, r9d
mov esi, dword [rsp + 0x54]
mov edx, esi
mov r8d, r14d
mov r9, r12
call fcn.14009ab8c
test r13d, 0x60000000
je 0x140080bd0
movzx eax, word [r15]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ebp
mov rcx, qword [rsp + 0x90]
mov edx, esi
mov r8d, r14d
mov r9, r12
call fcn.14009ad95
mov r13, r14
jmp 0x140080bda
mov r15, qword [rsp + 0x78]
cmp dword [r15 + 0xc], 0
je 0x140080bf2
mov rcx, qword [r15 + 0x18]
call fcn.140047430
mov rcx, r15
call fcn.140047430
inc r13
movsxd rax, dword [rdi + 0x168]
cmp r13, rax
jl 0x14008012e
mov rcx, qword [rsp + 0x80]
call fcn.140047430
mov rcx, r12
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140047430