Function at 0x1401c3648
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
mov eax, dword [r8 + 0x1c]
mov rdi, rcx
dec dword [rcx + 0x44]
mov r12d, r9d
mov rsi, qword [rcx + 0x10]
lea r9, [0x140325308]
mov rbp, qword [rsp + 0xc0]
mov r13, r8
mov rbx, qword [r8]
mov r15, rdx
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x44]
xor ecx, ecx
movzx r14d, byte [rbp]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 4]
mov dword [rsp + 0xa8], eax
mov rax, qword [rdx + 0x20]
add rax, 8
mov dword [rsp + 0x3c], ecx
cmp dword [r8 + 8], ecx
lea r8, str.USE_TEMP_B_TREE_FOR__sORDER_BY
mov qword [rsp + 0x48], rax
mov rcx, rdi
lea rax, str.RIGHT_PART_OF
mov dword [rsp + 0x44], r14d
cmovg r9, rax
xor edx, edx
call fcn.14021d578
mov r9d, dword [r13 + 0x14]
xor edx, edx
test r9d, r9d
je 0x1401c3724
mov r8d, dword [r13 + 0x10]
mov rcx, rsi
mov dword [rsp + 0x20], edx
mov edx, 0xa
call fcn.1402156c4
mov r9d, dword [rsp + 0x34]
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 9]
call fcn.1402156c4
mov edx, dword [r13 + 0x14]
mov rcx, rsi
call fcn.1402201dc
xor edx, edx
mov r11d, dword [r13 + 0xc]
lea eax, [r14 - 9]
mov dword [rsp + 0x30], r11d
test al, 0xfb
je 0x1401c37cd
cmp r14b, 0xa
je 0x1401c37a9
mov al, byte [rdi + 0x1f]
test al, al
jne 0x1401c3751
inc dword [rdi + 0x38]
mov cl, dl
mov r10d, dword [rdi + 0x38]
jmp 0x1401c3761
dec al
movzx ecx, al
mov byte [rdi + 0x1f], cl
mov r10d, dword [rdi + rcx*4 + 0xe8]
lea eax, [r14 - 0xc]
mov dword [rsp + 0xa0], r10d
test al, 0xfd
je 0x1401c3782
mov edx, r12d
mov rcx, rdi
call fcn.1402001dc
mov ebp, eax
xor edx, edx
jmp 0x1401c37d7
test cl, cl
jne 0x1401c378e
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
jmp 0x1401c379d
dec cl
movzx eax, cl
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0xe8]
mov r12d, edx
mov dword [rsp + 0xb8], edx
jmp 0x1401c37d7
cmp dword [r15 + 0xc], edx
je 0x1401c37cd
mov r9d, dword [rbp + 0xc]
xor r8d, r8d
mov dword [rsp + 0x20], edx
mov rcx, rsi
lea edx, [r8 + 0x4b]
call fcn.1402156c4
mov r11d, dword [rsp + 0x30]
xor edx, edx
mov ebp, dword [rbp + 0xc]
mov dword [rsp + 0xa0], edx
mov r14d, dword [rbx]
sub r14d, dword [r13 + 8]
test byte [r13 + 0x24], 1
je 0x1401c389c
mov r13d, dword [rdi + 0x34]
inc dword [rdi + 0x38]
mov ebx, dword [rdi + 0x38]
lea eax, [r13 + 1]
mov dword [rdi + 0x34], eax
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x14], edx
je 0x1401c3822
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0xf]
call fcn.1402156c4
mov r15d, eax
jmp 0x1401c3827
mov r15d, dword [rsp + 0x3c]
lea ecx, [r14 + 1]
mov r9d, ebx
add ecx, r12d
mov r8d, r13d
mov dword [rsp + 0x20], ecx
mov edx, 0x79
mov rcx, rsi
call fcn.1402156c4
xor r10d, r10d
test r15d, r15d
je 0x1401c3858
mov edx, r15d
mov rcx, rsi
call fcn.14021dee0
mov r9d, dword [rsp + 0x34]
mov edx, 0x22
mov r8d, dword [rsp + 0x30]
mov rcx, rsi
mov dword [rsp + 0x20], r10d
call fcn.1402156c4
mov r8d, dword [rsp + 0x30]
inc eax
mov r9d, ebx
mov dword [rsp + 0x3c], eax
mov edx, 0x85
mov dword [rsp + 0x20], r13d
mov rcx, rsi
call fcn.1402156c4
xor r10d, r10d
mov ebx, r10d
jmp 0x1401c3912
mov r9d, dword [rsp + 0x34]
mov r8d, r11d
mov dword [rsp + 0x20], edx
mov rcx, rsi
mov edx, 0x23
call fcn.1402156c4
inc eax
xor r10d, r10d
mov dword [rsp + 0x3c], eax
mov eax, dword [r15 + 0xc]
test eax, eax
jle 0x1401c38e9
mov r9d, dword [rsp + 0x38]
lea edx, [r10 + 0x3b]
mov r8d, eax
mov dword [rsp + 0x20], 1
mov rcx, rsi
call fcn.1402156c4
mov eax, dword [r15 + 0xc]
xor r10d, r10d
mov r13d, dword [rsp + 0x30]
mov ebx, 1
test eax, eax
jle 0x1401c3912
mov r8d, dword [r15 + 8]
lea edx, [rbx + 0x55]
or r9d, 0xffffffff
mov dword [rsp + 0x20], r10d
mov rcx, rsi
call fcn.1402156c4
xor r10d, r10d
mov r9, qword [rsp + 0x48]
lea r8d, [rbx + r14]
mov dword [rsp + 0x40], r8d
lea ebx, [r8 - 1]
movsxd rcx, r12d
test r12d, r12d
jle 0x1401c3946
lea rdx, [r9 + 0x18]
cmp word [rdx], r10w
lea eax, [rbx + 1]
lea rdx, [rdx + 0x20]
cmovne eax, ebx
mov ebx, eax
sub rcx, 1
jne 0x1401c3930
lea eax, [r12 - 1]
movsxd r14, eax
test eax, eax
js 0x1401c39aa
lea r12d, [rax + rbp]
mov rax, r14
shl rax, 5
lea r15, [r9 + 0x18]
add r15, rax
cmp word [r15], r10w
je 0x1401c3973
movzx r9d, word [r15]
dec r9d
jmp 0x1401c3978
mov r9d, ebx
dec ebx
mov r8d, r13d
mov dword [rsp + 0x20], r12d
mov edx, 0x5e
mov rcx, rsi
call fcn.1402156c4
xor r10d, r10d
dec r12d
sub r15, 0x20
sub r14, 1
jns 0x1401c3964
mov r12d, dword [rsp + 0xb8]
mov r8d, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x44]
mov ecx, r15d
sub ecx, 0xa
je 0x1401c39fe
sub ecx, 1
je 0x1401c3b3e
sub ecx, 1
je 0x1401c3aba
sub ecx, 2
je 0x1401c3aba
mov rbx, qword [rsp + 0xc0]
cmp ecx, 1
je 0x1401c3a3e
mov dword [rsp + 0x20], r10d
mov rcx, rsi
cmp r15b, 9
jne 0x1401c3a31
mov r8d, dword [rbx + 0xc]
mov r9d, r12d
mov edx, 0x54
call fcn.1402156c4
mov r14d, dword [rsp + 0xa0]
mov r9d, 8
test r14d, r14d
je 0x1401c3bcd
cmp r15b, 0xb
jne 0x1401c3ba0
mov r8d, r12d
mov edx, ebp
mov rcx, rdi
call fcn.14020c980
jmp 0x1401c3bb8
mov r8d, dword [rbx + 4]
xor r9d, r9d
lea edx, [r9 + 0xc]
jmp 0x1401c39f9
mov al, byte [rdi + 0x1f]
mov r14d, dword [rbx + 8]
test al, al
jne 0x1401c3a51
inc dword [rdi + 0x38]
mov ebx, dword [rdi + 0x38]
jmp 0x1401c3a60
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebx, dword [rdi + rax*4 + 0xe8]
mov eax, r14d
mov dword [rsp + 0x20], ebx
shr eax, 0x1f
mov r9d, r12d
sub r9d, eax
mov edx, 0x61
mov rcx, rsi
lea r8d, [rax + rbp]
call fcn.1402156c4
mov r8d, dword [rsp + 0xa8]
mov r9d, ebx
mov rcx, rsi
test r14d, r14d
jns 0x1401c3aa2
mov dword [rsp + 0x20], ebp
mov edx, 0x80
jmp 0x1401c39f9
mov dword [rsp + 0x28], r14d
mov edx, 0x8a
mov dword [rsp + 0x20], ebp
call fcn.1402157d8
jmp 0x1401c39fe
mov r9d, r8d
mov dword [rsp + 0x20], ebp
mov r8d, r13d
mov edx, 0x5e
mov rcx, rsi
call fcn.1402156c4
mov r14d, dword [rsp + 0xa0]
xor r13d, r13d
mov r8d, dword [rsp + 0xa8]
mov r9d, r14d
mov rcx, rsi
mov dword [rsp + 0x20], r13d
lea edx, [r13 + 0x7f]
call fcn.1402156c4
mov r8d, dword [rsp + 0xa8]
mov r9d, ebp
mov edx, 0x80
mov dword [rsp + 0x20], r14d
mov rcx, rsi
call fcn.1402156c4
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x1401c3a06
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
lea r9d, [r13 + 8]
mov word [rax + rcx*8 - 0x16], r9w
jmp 0x1401c3a0c
mov rbx, qword [rsp + 0xc0]
mov r9d, r12d
mov r14d, dword [rsp + 0xa0]
mov r8d, ebp
mov edx, 0x61
mov dword [rsp + 0x20], r14d
mov rcx, rsi
mov rbx, qword [rbx + 0x18]
call fcn.1402156c4
mov r9d, r12d
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.140215ab8
mov r8d, dword [rsp + 0xa8]
mov r9d, r14d
mov edx, 0x8a
mov dword [rsp + 0x28], r12d
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call fcn.1402157d8
jmp 0x1401c3a06
test ebp, ebp
je 0x1401c3bb8
cmp byte [rdi + 0x1f], r9b
jae 0x1401c3bcd
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xe8], ebp
inc byte [rdi + 0x1f]
cmp byte [rdi + 0x1f], r9b
jae 0x1401c3bcd
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xe8], r14d
inc byte [rdi + 0x1f]
mov edx, dword [rsp + 0x38]
mov rcx, rsi
call fcn.1402201dc
mov rbx, qword [rsp + 0xb0]
xor edi, edi
mov r9d, dword [rsp + 0x3c]
mov rcx, rsi
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x20], edi
mov dl, byte [rbx + 0x24]
not dl
and edx, 1
lea edx, [rdx*2 + 0x25]
call fcn.1402156c4
mov r8d, dword [rbx + 0x10]
test r8d, r8d
je 0x1401c3c23
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea edx, [rdi + 0x43]
mov rcx, rsi
call fcn.1402156c4
mov edx, dword [rsp + 0x34]
mov rcx, rsi
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.1402201dc