Function at 0x14007cb90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rdi, qword [rsp + 0xe0]
xor esi, esi
mov r13, qword [rsp + 0xd8]
mov r10, r8
mov r14, qword [rcx + 0x10]
mov rbx, rcx
mov dword [rsp + 0x34], esi
movzx r8d, byte [rdi]
mov eax, dword [rdi + 4]
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], eax
test r13, r13
je 0x14007cbf0
movzx eax, byte [r13 + 1]
jmp 0x14007cbf2
mov eax, esi
mov rbp, qword [rsp + 0xd0]
mov r12d, dword [rsp + 0xe8]
mov dword [rsp + 0xd8], eax
test rbp, rbp
je 0x14007cc1f
cmp qword [rbp], rsi
jne 0x14007cc46
mov rbp, rsi
mov qword [rsp + 0xd0], rsi
test eax, eax
jne 0x14007cc46
mov edx, dword [rdx + 0x10]
mov r8d, r12d
mov rcx, r14
call fcn.14007c9d0
mov r9d, dword [rsp + 0xc8]
mov r8d, dword [rsp + 0x38]
mov r10, qword [rsp + 0xc0]
movsxd r15, dword [r10]
mov eax, dword [rdi + 8]
mov dword [rsp + 0x44], r15d
test eax, eax
jne 0x14007cc7f
test rbp, rbp
je 0x14007cc71
mov rax, qword [rbp]
test byte [rbp + 0x1c], 1
mov ecx, dword [rax]
lea edx, [rcx + 1]
cmovne edx, ecx
add dword [rbx + 0x54], edx
mov dword [rsp + 0x34], edx
mov eax, dword [rbx + 0x54]
inc eax
mov dword [rdi + 8], eax
add dword [rbx + 0x54], r15d
jmp 0x14007cc90
mov ecx, dword [rbx + 0x54]
add eax, r15d
cmp eax, ecx
jle 0x14007cc90
lea eax, [rcx + r15]
mov dword [rbx + 0x54], eax
mov ebp, dword [rdi + 8]
mov dword [rdi + 0xc], r15d
test r9d, r9d
js 0x14007cd0f
mov edi, esi
test r15d, r15d
jle 0x14007cd2d
nop word [rax + rax]
mov rax, qword [r14 + 0x30]
movsxd r12, dword [r14 + 0x3c]
cmp dword [rax + 0x60], r12d
jg 0x14007ccd2
mov rcx, r14
call fcn.140041610
mov r9d, dword [rsp + 0xc8]
test eax, eax
jne 0x14007ccfe
mov rax, qword [r14 + 8]
lea rcx, [r12 + r12*2]
inc dword [r14 + 0x3c]
mov word [rax + rcx*8], 0x2f
mov byte [rax + rcx*8 + 3], sil
lea rdx, [rax + rcx*8]
lea eax, [rdi + rbp]
mov dword [rdx + 4], r9d
mov dword [rdx + 0xc], eax
mov dword [rdx + 8], edi
mov qword [rdx + 0x10], rsi
inc edi
cmp edi, r15d
jl 0x14007ccb0
mov r12d, dword [rsp + 0xe8]
jmp 0x14007cd2d
cmp r8b, 3
je 0x14007cd2d
lea eax, [r8 - 9]
mov rdx, r10
test al, 0xfb
mov r8d, ebp
mov rcx, rbx
sete r9b
call fcn.140058330
cmp dword [rsp + 0xd8], esi
je 0x14007d03d
movzx ecx, byte [r13 + 1]
sub ecx, 1
je 0x14007cf80
cmp ecx, 1
je 0x14007cd68
mov edx, dword [r13 + 4]
mov r9d, r15d
mov r8d, r12d
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.14007ca50
jmp 0x14007cfc5
mov eax, dword [rbx + 0x54]
lea r8d, [rax + 1]
add eax, r15d
mov dword [rbx + 0x54], eax
movsxd r12, dword [r13 + 8]
mov ecx, dword [r14 + 0x3c]
mov dword [rsp + 0xc8], r8d
cmp r12d, ecx
jge 0x14007cdd0
mov rax, qword [r14 + 8]
lea rcx, [r12 + r12*2]
movsx edx, byte [rax + rcx*8 + 1]
lea rdi, [rax + rcx*8]
mov r8, qword [rdi + 0x10]
mov rcx, qword [r14]
call fcn.140041a40
mov r8d, dword [rsp + 0xc8]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov byte [rdi], 0x9a
mov ecx, dword [r14 + 0x3c]
lea eax, [rcx - 1]
cmp r12d, eax
jne 0x14007cdd0
mov dword [r14 + 0x3c], eax
mov ecx, eax
mov rax, qword [r14]
mov edx, dword [r13 + 8]
cmp byte [rax + 0x51], sil
je 0x14007cde6
lea rax, [0x140150c68]
jmp 0x14007cdfc
lea eax, [rcx - 1]
test edx, edx
cmovns eax, edx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
mov byte [rax], 0x1c
mov r13d, esi
mov dword [rax + 4], 1
mov dword [rax + 8], r8d
mov edi, dword [r14 + 0x3c]
lea eax, [rdi + r15]
mov dword [rsp + 0x3c], eax
test r15d, r15d
jle 0x14007cf32
lea eax, [r15 - 1]
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0xd8], eax
mov rdi, rsi
mov eax, r8d
sub eax, ebp
mov dword [rsp + 0x40], eax
nop
mov rax, qword [rsp + 0xc0]
mov rcx, rbx
mov rdx, qword [rax + 8]
mov rdx, qword [rdi + rdx]
call fcn.140052ba0
cmp r13d, dword [rsp + 0xd8]
mov edx, esi
mov r9d, dword [rsp + 0xe8]
mov r8d, r13d
cmovl r9d, dword [rsp + 0x3c]
mov r12, rax
mov ecx, dword [rsp + 0x40]
add r8d, ebp
add ecx, r8d
cmp r13d, dword [rsp + 0xd8]
mov dword [rsp + 0x20], ecx
mov rcx, r14
setge dl
add edx, 0x4e
call fcn.1400416c0
mov r8, qword [r14 + 8]
mov rcx, qword [r14]
test r8, r8
je 0x14007cef0
cmp byte [rcx + 0x51], sil
jne 0x14007cef0
movsxd rax, dword [r14 + 0x3c]
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 - 0x17]
mov r8, qword [rdi - 8]
call fcn.140041a40
test r12, r12
jne 0x14007cedb
mov qword [rdi - 8], rsi
mov byte [rdi - 0x17], sil
mov rdi, qword [rsp + 0x48]
jmp 0x14007cefd
mov qword [rdi - 8], r12
mov byte [rdi - 0x17], 0xfc
mov rdi, qword [rsp + 0x48]
jmp 0x14007cefd
mov r8, r12
mov edx, 0xfffffffc
call fcn.140041a40
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x14007cf13
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x80
add rdi, 0x28
inc r13d
mov qword [rsp + 0x48], rdi
sub r15, 1
jne 0x14007ce40
mov edi, dword [r14 + 0x3c]
mov r15d, dword [rsp + 0x44]
mov rax, qword [r14 + 0x30]
cmp dword [rax + 0x60], edi
jg 0x14007cf47
mov rcx, r14
call fcn.140041610
test eax, eax
jne 0x14007cfc5
inc dword [r14 + 0x3c]
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov word [rax + rcx*8], 0x21
mov byte [rax + rcx*8 + 3], sil
mov dword [rax + rcx*8 + 4], ebp
lea rdx, [rax + rcx*8]
mov eax, dword [rsp + 0xc8]
mov qword [rdx + 0x10], rsi
mov dword [rdx + 8], eax
lea eax, [r15 - 1]
mov dword [rdx + 0xc], eax
jmp 0x14007cfc5
movsxd r12, dword [r13 + 8]
cmp r12d, dword [r14 + 0x3c]
jge 0x14007cfc5
mov rax, qword [r14 + 8]
lea rcx, [r12 + r12*2]
movsx edx, byte [rax + rcx*8 + 1]
lea rdi, [rax + rcx*8]
mov r8, qword [rdi + 0x10]
mov rcx, qword [r14]
call fcn.140041a40
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov byte [rdi], 0x9a
mov eax, dword [r14 + 0x3c]
dec eax
cmp r12d, eax
jne 0x14007cfc5
mov dword [r14 + 0x3c], eax
mov r12, qword [rsp + 0xd0]
mov r13, qword [rsp + 0xb8]
test r12, r12
jne 0x14007d04d
mov r8d, dword [r13 + 0x10]
test r8d, r8d
jle 0x14007d04d
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x8a
mov rcx, r14
call fcn.1400416c0
mov r9d, dword [rsp + 0xe8]
lea edx, [r12 + 0x10]
xor r8d, r8d
mov edi, eax
mov rcx, r14
mov dword [rsp + 0x20], esi
call fcn.1400416c0
mov edx, dword [r14 + 0x3c]
cmp edx, edi
jbe 0x14007d031
mov rax, qword [r14 + 8]
lea rcx, [rdi + rdi*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
jmp 0x14007d04d
mov r12, qword [rsp + 0xd0]
mov r13, qword [rsp + 0xb8]
mov r9d, dword [rsp + 0x38]
lea eax, [r9 - 1]
cmp eax, 0xd
ja case.0x14007d072.4
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x7d7d8]
add rcx, rdx
jmp rcx
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x14007d084
inc dword [rbx + 0x54]
mov edi, dword [rbx + 0x54]
jmp 0x14007d090
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0x24]
mov r9d, r15d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov edx, 0x31
mov rcx, r14
call fcn.1400416c0
mov r8d, dword [rsp + 0x30]
mov r9d, edi
mov edx, 0x6e
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.1400416c0
test edi, edi
je case.0x14007d072.4
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae case.0x14007d072.4
lea rax, [rbx + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], edi
je 0x14007d0fc
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x14007d0e0
mov dword [rbx + rcx*4 + 0x24], edi
inc byte [rbx + 0x1f]
jmp case.0x14007d072.4
mov byte [rax + 6], 1
jmp case.0x14007d072.4
mov r8d, dword [rsp + 0x30]
mov r9d, ebp
mov edx, 0x6f
mov dword [rsp + 0x20], r15d
mov rcx, r14
call fcn.1400416c0
jmp case.0x14007d072.4
mov edx, dword [rsp + 0x34]
mov ecx, dword [rbx + 0x44]
mov r12d, dword [rbx + 0x48]
lea r13d, [rdx + 1]
cmp r13d, ecx
jg 0x14007d147
lea eax, [r12 + r13]
sub ecx, r13d
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x44], ecx
jmp 0x14007d154
mov eax, dword [rbx + 0x54]
lea r12d, [rax + 1]
add eax, r13d
mov dword [rbx + 0x54], eax
lea edi, [r12 + rdx]
mov r9d, r15d
mov edx, 0x31
mov dword [rsp + 0xc8], edi
mov r8d, ebp
mov dword [rsp + 0x20], edi
mov rcx, r14
call fcn.1400416c0
cmp byte [rsp + 0x38], 6
mov r15d, dword [rsp + 0x30]
jne 0x14007d214
mov r9d, dword [r14 + 0x3c]
lea r8d, [r15 + 1]
add r9d, 4
mov dword [rsp + 0x20], r12d
mov edx, 0x45
mov rcx, r14
call fcn.1400416c0
mov r8, qword [r14 + 8]
mov rcx, qword [r14]
test r8, r8
je 0x14007d1f0
cmp byte [rcx + 0x51], sil
jne 0x14007d1f0
test eax, eax
jns 0x14007d1c0
mov eax, dword [r14 + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140041a40
mov qword [rdi + 0x10], rsi
mov byte [rdi + 1], 0xf2
mov edi, dword [rsp + 0xc8]
jmp 0x14007d1fc
xor r8d, r8d
lea edx, [r8 - 0xe]
call fcn.140041a40
mov r9d, r12d
mov dword [rsp + 0x20], esi
lea r8d, [r15 + 1]
mov edx, 0x6e
mov rcx, r14
call fcn.1400416c0
mov rbp, qword [rsp + 0xd0]
test rbp, rbp
je 0x14007d24f
mov eax, dword [rsp + 0x34]
mov r9d, edi
mov r15, qword [rsp + 0xb8]
mov rdx, rbp
mov dword [rsp + 0x28], eax
mov r8, r15
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.14007c530
jmp 0x14007d2e8
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x14007d25f
inc dword [rbx + 0x54]
mov edi, dword [rbx + 0x54]
jmp 0x14007d26b
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0x24]
mov r9d, edi
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov edx, 0x4a
mov rcx, r14
call fcn.1400416c0
mov r9d, r12d
mov dword [rsp + 0x20], edi
mov r8d, r15d
mov edx, 0x4b
mov rcx, r14
call fcn.1400416c0
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x14007d2af
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
test edi, edi
je 0x14007d2e0
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x14007d2e0
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], edi
je 0x14007d2dc
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x14007d2c3
mov dword [rbx + rcx*4 + 0x24], edi
inc byte [rbx + 0x1f]
jmp 0x14007d2e0
mov byte [rax + 6], 1
mov r15, qword [rsp + 0xb8]
mov r8d, r13d
mov edx, r12d
mov rcx, rbx
call fcn.140056610
cmp r13d, dword [rbx + 0x44]
jle 0x14007d7c9
mov dword [rbx + 0x44], r13d
mov dword [rbx + 0x48], r12d
jmp 0x14007d7c9
mov rax, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xe0]
mov rax, qword [rax + 8]
movzx edi, byte [r15 + 1]
mov rcx, qword [rax]
call fcn.140052b00
test al, al
je 0x14007d349
test dil, dil
je 0x14007d352
cmp al, 0x43
jge 0x14007d345
cmp dil, 0x43
jge 0x14007d345
mov al, 0x41
jmp 0x14007d355
mov al, 0x43
jmp 0x14007d355
test dil, dil
jne 0x14007d352
mov al, 0x41
jmp 0x14007d355
add al, dil
mov byte [r15 + 1], al
test r12, r12
jne 0x14007d468
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x14007d372
inc dword [rbx + 0x54]
mov edi, dword [rbx + 0x54]
jmp 0x14007d37e
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0x24]
mov r9d, 1
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rcx, r14
lea edx, [r9 + 0x30]
call fcn.1400416c0
mov r9d, 1
lea r8, [r15 + 1]
mov edx, eax
mov rcx, r14
call fcn.140041d00
mov r8d, 1
mov edx, ebp
mov rcx, rbx
call fcn.140056610
mov r8d, dword [rsp + 0x30]
mov r9d, edi
mov edx, 0x6e
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.1400416c0
test edi, edi
je 0x14007d3ff
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x14007d3ff
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], edi
je 0x14007d43e
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x14007d3e8
mov dword [rbx + rcx*4 + 0x24], edi
inc byte [rbx + 0x1f]
mov r15, qword [rsp + 0xb8]
mov r8d, dword [r15 + 0xc]
test r8d, r8d
je 0x14007d42d
mov r9d, dword [rsp + 0xf0]
mov edx, 0x8b
mov rcx, r14
mov dword [rsp + 0x20], 0xffffffff
call fcn.1400416c0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov byte [rax + 6], 1
jmp 0x14007d3ff
mov r9d, dword [rsp + 0x30]
mov edx, 0x19
mov rcx, r14
mov dword [rsp + 0x20], esi
lea r8d, [rdx - 0x18]
call fcn.1400416c0
jmp case.0x14007d072.4
test r12, r12
je 0x14007d3ff
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
mov r9d, ebp
mov r8, r13
mov rdx, r12
mov rcx, rbx
call fcn.14007c530
jmp 0x14007d42d
test r12, r12
je 0x14007d49f
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
jmp 0x14007d478
mov dword [rsp + 0x20], esi
mov rcx, r14
cmp r9b, 0xd
jne 0x14007d4c9
mov rax, qword [rsp + 0xe0]
xor r9d, r9d
mov r8d, dword [rax + 4]
lea edx, [r9 + 0x16]
call fcn.1400416c0
jmp 0x14007d3ff
mov r9d, r15d
mov r8d, ebp
mov edx, 0x23
call fcn.1400416c0
mov r8d, r15d
mov edx, ebp
mov rcx, rbx
call fcn.140056610
jmp 0x14007d3ff
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
movsxd r13, dword [rax]
movzx eax, byte [rbx + 0x1f]
mov dword [rsp + 0xd8], r13d
test al, al
jne 0x14007d518
inc dword [rbx + 0x54]
mov r12d, dword [rbx + 0x54]
jmp 0x14007d525
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r12d, dword [rbx + rax*4 + 0x24]
mov r8d, dword [rbx + 0x44]
lea ecx, [r13 + 2]
mov edx, dword [rbx + 0x48]
mov dword [rsp + 0xe0], edx
cmp ecx, r8d
jg 0x14007d54b
lea eax, [rdx + rcx]
sub r8d, ecx
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x44], r8d
jmp 0x14007d55d
mov eax, dword [rbx + 0x54]
lea edx, [rax + 1]
add eax, ecx
mov dword [rbx + 0x54], eax
mov dword [rsp + 0xe0], edx
lea eax, [rdx + r13]
mov rcx, r14
mov dword [rsp + 0xc0], eax
inc eax
cmp r9b, 8
jne 0x14007d660
mov r8d, dword [rsp + 0x30]
xor r9d, r9d
inc r8d
mov dword [rsp + 0x20], ebp
lea edx, [r9 + 0x45]
call fcn.1400416c0
mov r8, qword [r14 + 8]
mov edi, eax
mov rcx, qword [r14]
mov dword [rsp + 0xc8], eax
movsxd rdx, r15d
test r8, r8
je 0x14007d5f0
cmp byte [rcx + 0x51], sil
jne 0x14007d5f0
test eax, eax
jns 0x14007d5b7
mov eax, dword [r14 + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140041a40
mov qword [rdi + 0x10], rsi
mov dword [rdi + 0x10], r15d
mov byte [rdi + 1], 0xf2
mov edi, dword [rsp + 0xc8]
jmp 0x14007d5fd
mov r8, rdx
mov edx, 0xfffffff2
call fcn.140041a40
mov eax, dword [rsp + 0xc0]
mov r9d, r15d
inc eax
mov r8d, ebp
mov edx, 0x31
mov dword [rsp + 0x20], eax
mov rcx, r14
call fcn.1400416c0
mov r8d, dword [rsp + 0x30]
mov edx, 0x6e
mov r9d, dword [rsp + 0xc0]
inc r8d
inc r9d
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.1400416c0
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x14007d67d
movsxd rax, dword [r14 + 0x3c]
mov dword [rsp + 0xc8], edi
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
jmp 0x14007d67d
mov r9d, r15d
mov dword [rsp + 0x20], eax
mov r8d, ebp
mov edx, 0x31
call fcn.1400416c0
mov edi, esi
mov dword [rsp + 0xc8], esi
test r13, r13
jle 0x14007d6e0
mov r15d, dword [rsp + 0xe0]
mov rdi, rsi
mov rbx, qword [rsp + 0x50]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 8]
lea r8d, [rbp - 1]
mov r9d, r15d
mov dword [rsp + 0x20], esi
mov edx, 0x22
movzx ecx, word [rdi + rax + 0x20]
add r8d, ecx
mov rcx, r14
call fcn.1400416c0
inc r15d
lea rdi, [rdi + 0x28]
sub r13, 1
jne 0x14007d6a0
mov rbx, qword [rsp + 0xb0]
mov edi, dword [rsp + 0xc8]
mov r9d, dword [rsp + 0xc0]
mov edx, 0x49
mov r8d, dword [rsp + 0x30]
mov rcx, r14
mov dword [rsp + 0x20], esi
call fcn.1400416c0
mov ebp, dword [rsp + 0xd8]
mov edx, 0x31
mov r15d, dword [rsp + 0xe0]
add ebp, 2
mov r9d, ebp
mov dword [rsp + 0x20], r12d
mov r8d, r15d
mov rcx, r14
call fcn.1400416c0
mov r8d, dword [rsp + 0x30]
mov r9d, r12d
mov edx, 0x6e
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.1400416c0
test edi, edi
je 0x14007d769
mov edx, dword [r14 + 0x3c]
cmp edx, edi
jbe 0x14007d75f
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test r12d, r12d
je 0x14007d79f
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x14007d79f
lea rax, [rbx + 0x88]
nop
cmp dword [rax + 0xc], r12d
je 0x14007d79b
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x14007d780
mov dword [rbx + rcx*4 + 0x24], r12d
inc byte [rbx + 0x1f]
jmp 0x14007d79f
mov byte [rax + 6], 1
mov r8d, ebp
mov edx, r15d
mov rcx, rbx
call fcn.140056610
cmp ebp, dword [rbx + 0x44]
jle case.0x14007d072.4
mov dword [rbx + 0x44], ebp
mov dword [rbx + 0x48], r15d
mov r15, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xd0]
test rbp, rbp
jne 0x14007d42d
jmp 0x14007d407