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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
dec dword [rcx + 0x44]
mov esi, r9d
mov eax, dword [rcx + 0x44]
lea r9, [0x140219000]
mov r13d, dword [r8 + 0x1c]
mov r15, rdx
mov r14, qword [rsp + 0xc0]
mov rdi, rcx
mov rbp, qword [r8]
mov rbx, qword [rcx + 0x10]
mov dword [rsp + 0x40], eax
xor eax, eax
mov r12d, eax
mov dword [rsp + 0x3c], r13d
movzx eax, byte [r14]
mov dword [rsp + 0xa8], eax
mov eax, dword [r14 + 4]
mov dword [rsp + 0x30], eax
mov rax, qword [rdx + 0x20]
add rax, 8
cmp dword [r8 + 8], r12d
lea r8, str.USE_TEMP_B_TREE_FOR__sORDER_BY
mov qword [rsp + 0x48], rax
lea rax, str.RIGHT_PART_OF
cmovg r9, rax
xor edx, edx
call fcn.14002e6a0
mov r11, qword [rsp + 0xb0]
mov r8d, dword [r11 + 0x14]
test r8d, r8d
je 0x14007e82b
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r11 + 0x10]
cmp dword [rbx + 0x94], ecx
jg 0x14007e7b0
mov r9d, r8d
mov dword [rsp + 0x20], r12d
mov r8d, edx
mov rcx, rbx
mov edx, 0xa
call fcn.14002df90
jmp 0x14007e7e1
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xa
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov edx, r13d
mov rcx, rbx
call fcn.14002e1b0
mov rcx, qword [rbx + 0x18]
mov r11, qword [rsp + 0xb0]
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
mov edx, dword [r11 + 0x14]
not edx
jns 0x14007e81b
mov r8d, edx
mov rdx, rbx
call fcn.14002ea20
mov r11, qword [rsp + 0xb0]
jmp 0x14007e82b
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov ecx, dword [rsp + 0xa8]
mov r13d, dword [r11 + 0xc]
mov dword [rsp + 0x34], r13d
cmp ecx, 9
je 0x14007e8d7
cmp ecx, 0xd
je 0x14007e8d7
cmp ecx, 0xa
je 0x14007e8dc
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x14007e867
inc dword [rdi + 0x38]
mov r10d, dword [rdi + 0x38]
jmp 0x14007e877
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r10d, dword [rdi + rax*4 + 0xe4]
mov dword [rsp + 0xa0], r10d
cmp ecx, 0xc
je 0x14007e89e
cmp ecx, 0xe
je 0x14007e89e
mov edx, esi
mov rcx, rdi
call fcn.140051f60
mov r14d, eax
xor r8d, r8d
jmp 0x14007e927
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x14007e8ba
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
xor r8d, r8d
mov dword [rsp + 0xb8], r8d
jmp 0x14007e927
dec al
movzx eax, al
xor r8d, r8d
mov byte [rdi + 0x1f], al
mov dword [rsp + 0xb8], r8d
mov r14d, dword [rdi + rax*4 + 0xe4]
jmp 0x14007e927
cmp ecx, 0xa
jne 0x14007e918
cmp dword [r15 + 0xc], r12d
je 0x14007e918
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r14 + 0xc]
cmp dword [rbx + 0x94], ecx
jg 0x14007e996
xor eax, eax
mov r9d, edx
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 0x4b]
call fcn.14002df90
mov r11, qword [rsp + 0xb0]
xor r8d, r8d
mov r14d, dword [r14 + 0xc]
mov dword [rsp + 0xa0], r8d
mov ebp, dword [rbp]
sub ebp, dword [r11 + 8]
test byte [r11 + 0x24], 1
je 0x14007eafc
mov r13d, dword [rdi + 0x34]
inc dword [rdi + 0x38]
mov esi, dword [rdi + 0x38]
lea eax, [r13 + 1]
mov dword [rdi + 0x34], eax
cmp dword [r11 + 0x14], r12d
je 0x14007e960
mov edx, reloc.OLEAUT32.dll_SafeArrayDestroy
mov rcx, rbx
call fcn.14002e060
mov r12d, eax
mov edx, dword [rsp + 0xb8]
movsxd rcx, dword [rbx + 0x90]
inc edx
add edx, ebp
cmp dword [rbx + 0x94], ecx
jg 0x14007e9c8
mov dword [rsp + 0x20], edx
mov r9d, esi
mov edx, 0x79
mov r8d, r13d
mov rcx, rbx
call fcn.14002df90
xor r11d, r11d
jmp 0x14007e9f8
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
jmp 0x14007e91b
lea eax, [rcx + 1]
xor r11d, r11d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x79
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r11
test r12d, r12d
je 0x14007ea2a
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x14007ea15
lea rax, [0x14028d190]
jmp 0x14007ea27
movsxd rax, r12d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movsxd rdx, dword [rbx + 0x90]
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
cmp dword [rbx + 0x94], edx
jg 0x14007ea61
mov edx, 0x22
mov dword [rsp + 0x20], r11d
mov rcx, rbx
call fcn.14002df90
mov r8d, dword [rsp + 0x34]
mov edx, eax
xor r11d, r11d
jmp 0x14007ea90
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x22
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
movsxd rcx, dword [rbx + 0x90]
lea eax, [rdx + 1]
mov dword [rsp + 0x38], eax
cmp dword [rbx + 0x94], ecx
jg 0x14007eac6
mov r9d, esi
mov dword [rsp + 0x20], r13d
mov edx, 0x85
mov rcx, rbx
call fcn.14002df90
xor r11d, r11d
mov esi, r11d
jmp 0x14007ebad
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 8], esi
mov esi, r11d
mov dword [rax + rcx*8], 0x85
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r11
jmp 0x14007ebad
movsxd rdx, dword [rbx + 0x90]
mov r9d, dword [rsp + 0x3c]
cmp dword [rbx + 0x94], edx
jg 0x14007eb29
mov dword [rsp + 0x20], r8d
mov edx, 0x23
mov r8d, r13d
mov rcx, rbx
call fcn.14002df90
mov edx, eax
jmp 0x14007eb58
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x23
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov r8d, dword [rsp + 0x40]
lea eax, [rdx + 1]
mov edx, dword [r15 + 0xc]
mov rcx, rbx
mov dword [rsp + 0x38], eax
call fcn.14007d450
mov esi, 1
cmp dword [r15 + 0xc], r12d
jle 0x14007ebaa
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [r15 + 8]
cmp dword [rbx + 0x94], ecx
jg 0x14007ec31
xor eax, eax
mov r8d, edx
lea edx, [rsi + 0x55]
mov dword [rsp + 0x20], eax
or r9d, 0xffffffff
mov rcx, rbx
call fcn.14002df90
xor r11d, r11d
movsxd r12, dword [rsp + 0xb8]
lea r9d, [rsi + rbp]
mov r10, qword [rsp + 0x48]
lea esi, [r9 - 1]
mov dword [rsp + 0x44], r9d
mov r8, r12
test r12d, r12d
jle 0x14007ebf8
lea rdx, [r10 + 0x18]
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rdx]
lea eax, [rsi + 1]
test cx, cx
lea rdx, [rdx + 0x20]
cmovne eax, esi
mov esi, eax
sub r8, 1
jne 0x14007ebe0
lea eax, [r12 - 1]
movsxd r15, eax
test eax, eax
js 0x14007ece3
lea ebp, [rax + r14]
mov rax, r15
shl rax, 5
lea r12, [rax + 0x18]
add r12, r10
nop word [rax + rax]
movzx eax, word [r12]
test ax, ax
je 0x14007ec6a
movzx edx, ax
dec edx
jmp 0x14007ec6e
lea eax, [rcx + 1]
xor r11d, r11d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x56
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], 0xffffffff
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
jmp 0x14007ebad
mov edx, esi
dec esi
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14007ec99
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x5e
mov r8d, r13d
mov rcx, rbx
call fcn.14002df90
xor r11d, r11d
jmp 0x14007ecc6
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r11
dec ebp
sub r12, 0x20
sub r15, 1
jns 0x14007ec20
mov r12d, dword [rsp + 0xb8]
mov r9d, dword [rsp + 0x44]
mov edx, dword [rsp + 0xa8]
mov ecx, edx
sub ecx, 0xa
je 0x14007f169
sub ecx, 1
je 0x14007f068
sub ecx, 1
je 0x14007ef15
sub ecx, 2
je 0x14007ef15
mov rsi, qword [rsp + 0xc0]
cmp ecx, 1
je 0x14007ee15
movsxd rcx, dword [rbx + 0x90]
cmp edx, 9
jne 0x14007edc4
mov edx, dword [rsi + 0xc]
cmp dword [rbx + 0x94], ecx
jg 0x14007ed94
mov r8d, edx
mov dword [rsp + 0x20], r11d
mov edx, 0x54
mov r9d, r12d
mov rcx, rbx
call fcn.14002df90
mov ebp, dword [rsp + 0xa0]
mov edx, dword [rsp + 0xa8]
test ebp, ebp
je 0x14007f1a5
cmp edx, 0xb
jne 0x14007f175
cmp r12d, 1
je 0x14007f175
cmp r12d, dword [rdi + 0x28]
jle 0x14007f190
mov dword [rdi + 0x28], r12d
mov dword [rdi + 0x2c], r14d
jmp 0x14007f190
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x54
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
jmp 0x14007ed54
mov edx, dword [rsi + 4]
cmp dword [rbx + 0x94], ecx
jg 0x14007ede3
xor r9d, r9d
mov dword [rsp + 0x20], r11d
mov r8d, edx
lea edx, [r9 + 0xc]
jmp 0x14007ed4c
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], SafeArrayDestroy
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r11
jmp 0x14007ed54
movzx eax, byte [rdi + 0x1f]
mov ebp, dword [rsi + 8]
test al, al
jne 0x14007ee28
inc dword [rdi + 0x38]
mov esi, dword [rdi + 0x38]
jmp 0x14007ee37
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov esi, dword [rdi + rax*4 + 0xe4]
movsxd rcx, dword [rbx + 0x90]
mov eax, ebp
shr eax, 0x1f
mov edx, r12d
sub edx, eax
lea r8d, [rax + r14]
cmp dword [rbx + 0x94], ecx
jg 0x14007ee6d
mov r9d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x61
mov rcx, rbx
call fcn.14002df90
xor r11d, r11d
jmp 0x14007ee9a
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r11
mov r8d, dword [rsp + 0x30]
test ebp, ebp
jns 0x14007eef7
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14007eec4
mov dword [rsp + 0x20], r14d
mov r9d, esi
mov edx, 0x80
jmp 0x14007ed4c
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x80
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r11
jmp 0x14007ed54
mov dword [rsp + 0x28], ebp
mov r9d, esi
mov edx, 0x8a
mov dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.14002e900
jmp 0x14007ed54
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14007ef3e
mov r8d, r13d
mov dword [rsp + 0x20], r14d
mov edx, 0x5e
mov rcx, rbx
call fcn.14002df90
xor r11d, r11d
jmp 0x14007ef6d
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r11
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [rsp + 0x30]
cmp dword [rbx + 0x94], ecx
jg 0x14007efac
mov r9d, dword [rsp + 0xa0]
mov edx, 0x7f
mov rcx, rbx
mov dword [rsp + 0x20], r11d
call fcn.14002df90
mov edx, dword [rsp + 0xa0]
xor r11d, r11d
mov r8d, dword [rsp + 0x30]
jmp 0x14007efe1
mov edx, dword [rsp + 0xa0]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x7f
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14007f006
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, 0x80
mov rcx, rbx
call fcn.14002df90
jmp 0x14007f034
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x80
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r11
mov eax, dword [rbx + 0x90]
mov ebp, dword [rsp + 0xa0]
test eax, eax
jle 0x14007ed5b
dec eax
movsxd rcx, eax
mov rax, qword [rbx + 0x88]
lea rdx, [rcx + rcx*2]
mov ecx, 8
mov word [rax + rdx*8 + 2], cx
jmp 0x14007ed5b
mov rsi, qword [rsp + 0xc0]
movsxd rdx, dword [rbx + 0x90]
mov ebp, dword [rsp + 0xa0]
mov rsi, qword [rsi + 0x18]
cmp dword [rbx + 0x94], edx
jg 0x14007f0a5
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov r8d, r14d
mov edx, 0x61
mov rcx, rbx
call fcn.14002df90
mov edx, eax
jmp 0x14007f0d3
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r11
mov r9d, r12d
mov r8, rsi
mov rcx, rbx
call fcn.14002f3e0
movsxd rdx, dword [rbx + 0x90]
mov r8d, dword [rsp + 0x30]
cmp dword [rbx + 0x94], edx
jg 0x14007f10e
mov r9d, ebp
mov dword [rsp + 0x20], r14d
mov edx, 0x8a
mov rcx, rbx
call fcn.14002df90
mov edx, eax
jmp 0x14007f13f
lea rcx, [rdx + rdx*2]
xor r9d, r9d
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x8a
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x14007ed5b
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], r12d
jmp 0x14007ed5b
mov ebp, dword [rsp + 0xa0]
jmp 0x14007ed62
test r14d, r14d
je 0x14007f190
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x14007f190
movzx eax, al
mov dword [rdi + rax*4 + 0xe4], r14d
inc byte [rdi + 0x1f]
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x14007f1a5
movzx eax, al
mov dword [rdi + rax*4 + 0xe4], ebp
inc byte [rdi + 0x1f]
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x40]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x14007f1c4
mov r8d, edx
mov rdx, rbx
call fcn.14002ea20
jmp 0x14007f1d4
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov rdi, qword [rsp + 0xb0]
movsxd rcx, dword [rbx + 0x90]
test byte [rdi + 0x24], 1
je 0x14007f22e
cmp dword [rbx + 0x94], ecx
jg 0x14007f211
mov r9d, dword [rsp + 0x38]
xor eax, eax
mov r8d, dword [rsp + 0x34]
mov rcx, rbx
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x25]
call fcn.14002df90
xor r8d, r8d
jmp 0x14007f28e
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x25
jmp 0x14007f271
cmp dword [rbx + 0x94], ecx
jg 0x14007f256
mov r9d, dword [rsp + 0x38]
xor eax, eax
mov r8d, dword [rsp + 0x34]
mov rcx, rbx
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x27]
call fcn.14002df90
xor r8d, r8d
jmp 0x14007f28e
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov edx, dword [rsp + 0x34]
xor r8d, r8d
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x38]
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rax + rcx*8 + 0xc], r8d
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x10]
test edx, edx
je 0x14007f2ea
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14007f2bd
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x43]
call fcn.14002df90
jmp 0x14007f2ea
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x43
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x3c]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x14007f309
mov r8d, edx
mov rdx, rbx
call fcn.14002ea20
jmp 0x14007f319
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret