Function at 0x180082ed0
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 eax, dword [r8 + 0x1c]
mov rsi, qword [rcx + 0x10]
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [r8]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x44]
movzx r14d, byte [rbp]
mov rdi, rcx
mov dword [rsp + 0x3c], eax
mov eax, dword [rbp + 4]
xor ecx, ecx
mov dword [rsp + 0x30], eax
mov rax, qword [rdx + 0x20]
mov r15d, r9d
add rax, 8
cmp dword [r8 + 8], ecx
mov r12, r8
mov qword [rsp + 0x48], rax
lea rax, str.RIGHT_PART_OF
mov r13, rdx
mov dword [rsp + 0x38], ecx
lea r9, [0x1800fa70b]
lea r8, str.USE_TEMP_B_TREE_FOR__sORDER_BY
cmovg r9, rax
mov rcx, rdi
xor edx, edx
mov dword [rsp + 0x40], r14d
call fcn.180048e5c
mov r9d, dword [r12 + 0x14]
xor edx, edx
test r9d, r9d
je 0x180082faf
mov r8d, dword [r12 + 0x10]
mov dword [rsp + 0x20], edx
mov rcx, rsi
mov edx, 0xa
call fcn.180048a94
mov r9d, dword [rsp + 0x34]
xor r11d, r11d
lea edx, [r11 + 9]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x20], r11d
call fcn.180048a94
mov edx, dword [r12 + 0x14]
mov rcx, rsi
call fcn.1800490b4
xor edx, edx
mov r11d, dword [r12 + 0xc]
mov dword [rsp + 0xa8], r11d
cmp r14d, 9
je 0x18008303d
cmp r14d, 0xd
je 0x18008303d
cmp r14d, 0xa
je 0x180083043
mov al, byte [rdi + 0x1f]
test al, al
jne 0x180082fde
inc dword [rdi + 0x38]
mov r10d, dword [rdi + 0x38]
jmp 0x180082fee
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r10d, dword [rdi + rax*4 + 0xe0]
mov dword [rsp + 0xa0], r10d
cmp r14d, 0xc
je 0x180083014
cmp r14d, 0xe
je 0x180083014
mov edx, r15d
mov rcx, rdi
call fcn.18006382c
xor edx, edx
mov r12d, eax
jmp 0x180083075
mov al, byte [rdi + 0x1f]
test al, al
jne 0x180083024
inc dword [rdi + 0x38]
mov r12d, dword [rdi + 0x38]
jmp 0x180083034
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0xe0]
mov dword [rsp + 0xb8], edx
jmp 0x180083075
cmp r14d, 0xa
jne 0x18008306a
cmp dword [r13 + 0xc], edx
je 0x18008306a
mov r9d, dword [rbp + 0xc]
xor r8d, r8d
mov dword [rsp + 0x20], edx
lea edx, [r8 + 0x4b]
mov rcx, rsi
call fcn.180048a94
mov r11d, dword [rsp + 0xa8]
xor edx, edx
mov r12d, dword [rbp + 0xc]
mov dword [rsp + 0xa0], edx
mov rcx, qword [rsp + 0xb0]
mov ebp, dword [rbx]
sub ebp, dword [rcx + 8]
test byte [rcx + 0x24], 1
je 0x18008313f
mov r15d, dword [rdi + 0x34]
inc dword [rdi + 0x38]
mov ebx, dword [rdi + 0x38]
lea eax, [r15 + 1]
mov dword [rdi + 0x34], eax
cmp dword [rcx + 0x14], edx
je 0x1800830bd
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
lea edx, [r9 + 0xf]
mov rcx, rsi
call fcn.180048a94
mov r13d, eax
jmp 0x1800830c2
mov r13d, dword [rsp + 0x38]
mov eax, dword [rsp + 0xb8]
mov r9d, ebx
mov r8d, r15d
lea ecx, [rbp + rax + 1]
mov edx, 0x79
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.180048a94
xor r10d, r10d
test r13d, r13d
je 0x1800830f7
mov edx, r13d
mov rcx, rsi
call fcn.1800492ac
mov r13d, dword [rsp + 0xa8]
mov r9d, dword [rsp + 0x34]
mov edx, 0x22
mov rcx, rsi
mov r8d, r13d
mov dword [rsp + 0x20], r10d
call fcn.180048a94
mov r9d, ebx
mov r8d, r13d
inc eax
mov edx, 0x85
mov rcx, rsi
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x20], r15d
call fcn.180048a94
xor r9d, r9d
mov ebx, r9d
jmp 0x1800831b5
mov r9d, dword [rsp + 0x34]
mov dword [rsp + 0x20], edx
mov r8d, r11d
mov edx, 0x23
mov rcx, rsi
call fcn.180048a94
mov r8d, dword [r13 + 0xc]
xor r9d, r9d
inc eax
mov dword [rsp + 0x38], eax
test r8d, r8d
jle 0x180083187
mov r9d, dword [rsp + 0x3c]
mov edx, 0x3b
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.180048a94
xor r9d, r9d
mov r15d, dword [rsp + 0xa8]
mov ebx, 1
cmp dword [r13 + 0xc], r9d
jle 0x1800831b5
mov r8d, dword [r13 + 8]
mov dword [rsp + 0x20], r9d
lea edx, [rbx + 0x55]
or r9d, 0xffffffff
mov rcx, rsi
call fcn.180048a94
xor r9d, r9d
mov r8, qword [rsp + 0x48]
lea edx, [rbx + rbp]
movsxd rbp, dword [rsp + 0xb8]
mov dword [rsp + 0x44], edx
lea r13d, [rdx - 1]
mov rcx, rbp
test ebp, ebp
jle 0x1800831ea
lea rax, [r8 + 0x18]
cmp word [rax], r9w
jne 0x1800831e1
inc r13d
add rax, 0x20
dec rcx
jne 0x1800831d8
lea eax, [rbp - 1]
movsxd rbx, eax
test eax, eax
js 0x18008324f
lea r14d, [rax + r12]
mov rax, rbx
shl rax, 5
lea rbp, [rax + r8 + 0x18]
cmp word [rbp], r9w
je 0x180083215
movzx r9d, word [rbp]
dec r9d
jmp 0x18008321b
mov r9d, r13d
dec r13d
mov r8d, r15d
mov edx, 0x5e
mov rcx, rsi
mov dword [rsp + 0x20], r14d
call fcn.180048a94
dec r14d
sub rbp, 0x20
xor r9d, r9d
dec rbx
jns 0x180083204
mov r14d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x44]
mov ebp, dword [rsp + 0xb8]
mov ecx, r14d
sub ecx, 0xa
je 0x18008329a
dec ecx
je 0x1800833f4
dec ecx
je 0x18008336f
sub ecx, 2
je 0x18008336f
dec ecx
mov rbx, qword [rsp + 0xc0]
je 0x1800832e3
mov dword [rsp + 0x20], r9d
mov rcx, rsi
cmp r14d, 9
jne 0x1800832d6
mov r8d, dword [rbx + 0xc]
mov r9d, ebp
lea edx, [r14 + 0x4b]
call fcn.180048a94
mov r15d, dword [rsp + 0xa0]
mov r13d, dword [rsp + 0xb8]
mov r9d, 8
test r15d, r15d
je 0x180083482
cmp r14d, 0xb
jne 0x180083453
mov r8d, r13d
mov edx, r12d
mov rcx, rdi
call fcn.180063880
jmp 0x18008346d
mov r8d, dword [rbx + 4]
xor r9d, r9d
lea edx, [r9 + 0xc]
jmp 0x180083295
mov al, byte [rdi + 0x1f]
mov ebp, dword [rbx + 8]
test al, al
jne 0x1800832f5
inc dword [rdi + 0x38]
mov ebx, dword [rdi + 0x38]
jmp 0x180083304
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebx, dword [rdi + rax*4 + 0xe0]
mov r13d, dword [rsp + 0xb8]
mov eax, r9d
test ebp, ebp
sets al
mov r9d, r13d
mov edx, 0x61
lea r8d, [rax + r12]
mov rcx, rsi
sub r9d, eax
mov dword [rsp + 0x20], ebx
call fcn.180048a94
mov r8d, dword [rsp + 0x30]
mov r9d, ebx
mov rcx, rsi
test ebp, ebp
jns 0x18008335a
mov edx, 0x80
mov dword [rsp + 0x20], r12d
call fcn.180048a94
mov r15d, dword [rsp + 0xa0]
jmp 0x1800832aa
mov edx, 0x8a
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r12d
call fcn.180048b10
jmp 0x18008334d
mov r9d, edx
mov r8d, r15d
mov rcx, rsi
mov edx, 0x5e
mov dword [rsp + 0x20], r12d
call fcn.180048a94
mov r15d, dword [rsp + 0xa0]
mov ebx, dword [rsp + 0x30]
xor ebp, ebp
mov r9d, r15d
mov r8d, ebx
lea edx, [rbp + 0x7f]
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call fcn.180048a94
mov r9d, r12d
mov r8d, ebx
mov edx, 0x80
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180048a94
movsxd r11, dword [rsi + 0x90]
test r11d, r11d
jle 0x1800832a2
mov rax, qword [rsi + 0x88]
mov r13d, dword [rsp + 0xb8]
lea rcx, [r11 + r11*2]
lea r9d, [rbp + 8]
mov word [rax + rcx*8 - 0x16], r9w
jmp 0x1800832b0
mov rbx, qword [rsp + 0xc0]
mov r15d, dword [rsp + 0xa0]
mov r9d, ebp
mov rbx, qword [rbx + 0x18]
mov r8d, r12d
mov edx, 0x61
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180048a94
mov r9d, ebp
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.1800495a8
mov r8d, dword [rsp + 0x30]
mov r9d, r15d
mov edx, 0x8a
mov rcx, rsi
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r12d
call fcn.180048b10
jmp 0x1800832a2
test r12d, r12d
je 0x18008346d
cmp byte [rdi + 0x1f], r9b
jae 0x180083482
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xe0], r12d
inc byte [rdi + 0x1f]
cmp byte [rdi + 0x1f], r9b
jae 0x180083482
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xe0], r15d
inc byte [rdi + 0x1f]
mov edx, dword [rsp + 0x3c]
mov rcx, rsi
call fcn.1800490b4
mov rbx, qword [rsp + 0xb0]
mov r9d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0xa8]
xor r11d, r11d
test byte [rbx + 0x24], 1
mov rcx, rsi
mov dword [rsp + 0x20], r11d
lea edx, [r11 + 0x25]
jne 0x1800834bc
lea edx, [r11 + 0x27]
call fcn.180048a94
mov r8d, dword [rbx + 0x10]
xor eax, eax
test r8d, r8d
je 0x1800834de
lea edx, [rax + 0x43]
xor r9d, r9d
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.180048a94
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.1800490b4