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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r13, qword [rcx]
mov rdi, qword [rcx + 8]
mov rsi, qword [rcx + 0x10]
mov ebp, dword [r13 + 0x44]
movzx eax, byte [rdi + 0x20]
lea r14d, [rbp - 1]
mov byte [rsp + 0x30], al
mov rbx, rcx
mov r12d, edx
mov dword [rsp + 0xa8], r9d
mov r15d, r8d
mov dword [r13 + 0x44], r14d
cmp edx, 2
je 0x860618
test r8d, r8d
jle 0x860343
cmp byte [rdi + 0x20], 0x59
je 0x8608b0
mov r9d, r14d
mov r8d, r15d
mov edx, 0x3b
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.007ff320
mov dword [rsp + 0x34], 0
cmp r12d, 1
je 0x860400
mov eax, dword [rsi + 0x90]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rdi + 0x21]
cmp byte [rdi + 0x22], al
jne 0x860371
test r15d, r15d
jne 0x860820
cmp r12d, 2
je 0x860685
mov eax, dword [rbx + 0x40]
mov r10d, dword [rdi + 0x84]
mov r15d, dword [rbx + 0x3c]
mov dword [rsp + 0x38], eax
test r10d, r10d
je 0x860730
mov r8d, dword [rdi + 0x88]
mov r9d, 1
mov edx, 0x56
mov rcx, rsi
call fcn.007ff390
cmp dword [rbx + 0x24], r12d
jne 0x86044d
nop word [rax + rax]
xor r9d, r9d
mov r8d, r15d
mov edx, 0x82
mov rcx, rsi
call fcn.007ff390
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x860454
mov r8, qword [rsi + 0x88]
movsxd rdx, eax
mov r9d, 2
lea rdx, [rdx + rdx*2]
lea rdx, [r8 + rdx*8]
mov word [rdx - 0x16], r9w
jmp 0x860454
mov eax, dword [rdi + 0x84]
test eax, eax
je 0x8608e0
mov eax, dword [rsi + 0x90]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rdi + 0x21]
cmp byte [rdi + 0x22], al
jne 0x860430
test r15d, r15d
je 0x860430
cmp byte [rdi + 0x20], 0x59
je 0x86077e
mov eax, dword [rbx + 0x38]
mov rcx, rbx
mov r15d, dword [rbx + 0x34]
mov dword [rsp + 0x38], eax
call fcn.00861640
cmp dword [rbx + 0x24], r12d
je 0x8603c0
movsxd rax, dword [rsi + 0x90]
mov ecx, dword [rsp + 0xa8]
mov edx, dword [rsi + 0x94]
test ecx, ecx
je 0x860598
lea r9d, [rax + 2]
cmp eax, edx
jge 0x860940
lea r10d, [rax + 1]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov dword [rsi + 0x90], r10d
lea rax, [rax + rcx*8]
mov dword [rax + 4], r15d
mov dword [rax + 8], r9d
mov dword [rax + 0xc], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x27
cmp r10d, edx
jge 0x8608f8
lea eax, [r10 + 1]
mov dword [rsi + 0x90], eax
movsxd rax, r10d
lea rdx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
lea rax, [rax + rdx*8]
mov qword [rax], 9
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
cmp byte [rsp + 0x30], 0x4c
je 0x860550
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x860504
mov r12d, dword [rax]
test r12d, r12d
jne 0x860830
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
xor r9d, r9d
mov r8d, r15d
mov dword [rsp + 0x30], r10d
xor r12d, r12d
xor r14d, r14d
call fcn.00861540
mov eax, dword [rsp + 0x3c]
mov rdx, qword [rdi + 0x18]
xor r8d, r8d
mov r9d, dword [rsp + 0x38]
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.008612a0
mov r10d, dword [rsp + 0x30]
cmp dword [r13 + 0x28], r12d
jge 0x860550
mov dword [r13 + 0x28], r12d
mov dword [r13 + 0x2c], r14d
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x8606b8
mov rcx, qword [rsi + 0x18]
neg ebp
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x8606e9
mov edx, dword [rsi + 0x90]
mov rax, qword [rcx + 0x50]
movsxd rbp, ebp
mov dword [rax + rbp*4], edx
mov eax, r10d
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r9d, r9d
cmp byte [rsp + 0x30], 0x4c
lea ecx, [rax + 1]
setne r9b
add r9d, ecx
cmp eax, edx
jge 0x860920
lea rdx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov dword [rsi + 0x90], ecx
lea rax, [rax + rdx*8]
mov dword [rax + 4], r15d
mov dword [rax + 8], r9d
mov dword [rax + 0xc], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x27
xor r10d, r10d
cmp byte [rsp + 0x30], 0x4c
je 0x860550
mov r9d, r14d
xor r8d, r8d
mov edx, 9
mov rcx, rsi
mov dword [rsp + 0x30], r10d
call fcn.007ff390
mov r10d, dword [rsp + 0x30]
jmp 0x8604ef
movzx eax, byte [rdi + 0x21]
xor r10d, r10d
cmp al, 0x5a
je 0x86057e
test r8d, r8d
jle 0x860750
cmp byte [rdi + 0x20], 0x59
jne 0x860328
mov eax, dword [rsi + 0x90]
cmp byte [rdi + 0x21], 0x56
mov r8d, dword [rbx + 0x2c]
mov dword [rsp + 0x34], eax
mov eax, dword [rbx + 0x34]
je 0x860990
mov dword [rsp + 0x28], r14d
mov r9d, r15d
mov edx, 0x39
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.00860a60
mov eax, dword [rsi + 0x90]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rdi + 0x22]
cmp byte [rdi + 0x21], al
je 0x860774
mov eax, dword [rbx + 0x30]
mov r8d, dword [rdi + 0x84]
mov r15d, dword [rbx + 0x2c]
mov dword [rsp + 0x38], eax
test r8d, r8d
je 0x860710
mov r9d, 1
mov edx, 0x56
mov rcx, rsi
call fcn.007ff390
jmp 0x860443
mov r9d, dword [rsp + 0x34]
xor r8d, r8d
mov rcx, rsi
mov edx, 9
mov dword [rsp + 0x30], r10d
neg ebp
call fcn.007ff390
mov rcx, qword [rsi + 0x18]
mov r10d, dword [rsp + 0x30]
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
jns 0x86056e
lea rdx, [rsi + 0x90]
mov r8d, ebp
mov dword [rsp + 0x30], r10d
call fcn.00774670
mov r10d, dword [rsp + 0x30]
jmp 0x86057e
mov eax, dword [rbx + 0x20]
mov rcx, qword [rbx]
mov r9d, 1
mov r8d, r15d
mov rdx, rdi
mov dword [rsp + 0x20], eax
call fcn.0085f340
jmp 0x860443
mov eax, dword [rbx + 0x20]
mov rcx, qword [rbx]
xor r9d, r9d
mov r8d, r15d
mov rdx, rdi
mov dword [rsp + 0x20], eax
call fcn.0085f340
jmp 0x860443
mov ecx, dword [rsi + 0x90]
cmp byte [rdi + 0x22], al
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x3c], ecx
jne 0x860685
test r8d, r8d
je 0x860685
cmp byte [rdi + 0x20], 0x59
jne 0x860685
movzx eax, byte [r13 + 0x1f]
test al, al
je 0x860970
lea edx, [rax - 1]
movzx ecx, dl
mov byte [r13 + 0x1f], dl
mov r15d, dword [r13 + rcx*4 + 0xe8]
test dl, dl
je 0x860a51
sub eax, 2
mov byte [r13 + 0x1f], al
movzx eax, al
mov r10d, dword [r13 + rax*4 + 0xe8]
cmp r12d, 2
je 0x8609f8
mov r11d, dword [rbx + 0x28]
test r11d, r11d
jne 0x8609b8
test r15d, r15d
je 0x8607eb
movzx eax, byte [r13 + 0x1f]
cmp al, 7
ja 0x860808
lea edx, [rax + 1]
mov byte [r13 + 0x1f], dl
mov dword [r13 + rax*4 + 0xe8], r15d
test r10d, r10d
je 0x860808
movzx eax, byte [r13 + 0x1f]
cmp al, 7
ja 0x860808
lea edx, [rax + 1]
mov byte [r13 + 0x1f], dl
mov dword [r13 + rax*4 + 0xe8], r10d
cmp r12d, 1
jne 0x860371
jmp 0x860430
cmp byte [rdi + 0x20], 0x59
jne 0x860371
jmp 0x86077e
mov edx, r12d
mov rcx, r13
mov dword [rsp + 0x30], r10d
call fcn.007d44a0
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
mov r8d, r15d
mov r9d, eax
mov r14d, eax
call fcn.00861540
mov eax, dword [rsp + 0x3c]
mov rdx, qword [rdi + 0x18]
mov r8d, r14d
mov r9d, dword [rsp + 0x38]
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.008612a0
cmp r12d, 1
mov r10d, dword [rsp + 0x30]
jne 0x860542
test r14d, r14d
je 0x860550
movzx eax, byte [r13 + 0x1f]
cmp al, 7
ja 0x860550
lea edx, [rax + 1]
mov byte [r13 + 0x1f], dl
mov dword [r13 + rax*4 + 0xe8], r14d
jmp 0x860550
mov eax, dword [rsi + 0x90]
mov r8d, dword [rbx + 0x3c]
mov r9d, r15d
mov rcx, rbx
mov dword [rsp + 0x28], r14d
mov edx, 0x36
mov dword [rsp + 0x34], eax
mov eax, dword [rbx + 0x34]
mov dword [rsp + 0x20], eax
call fcn.00860a60
jmp 0x86034b
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
xor r8d, r8d
call fcn.0085eeb0
jmp 0x86040e
xor r9d, r9d
xor r8d, r8d
mov edx, 9
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.0074a520
mov r10d, eax
jmp 0x8604e8
mov dword [rsp + 0x20], 0
mov r8d, r15d
mov edx, 0x27
mov rcx, rsi
call fcn.0074a520
jmp 0x8605e4
mov dword [rsp + 0x20], 0
mov edx, 0x27
mov r8d, r15d
mov rcx, rsi
call fcn.0074a520
mov r10d, dword [rsi + 0x90]
mov edx, dword [rsi + 0x94]
jmp 0x8604ac
mov eax, dword [r13 + 0x38]
lea r15d, [rax + 1]
mov r10d, r15d
add r10d, 1
mov dword [r13 + 0x38], r10d
jmp 0x8607b7
mov dword [rsp + 0x20], r8d
mov r9d, r15d
mov r8d, eax
mov edx, 0x37
mov dword [rsp + 0x28], r14d
mov rcx, rbx
call fcn.00860a60
jmp 0x86066e
mov r8d, dword [rbx + 0x3c]
mov r9d, r15d
mov edx, 0x87
mov rcx, rsi
mov dword [rsp + 0x38], r10d
call fcn.007ff390
mov dword [rsp + 0x20], r15d
mov r9d, r14d
mov rcx, rsi
mov r8d, dword [rbx + 0x28]
mov edx, 0x39
call fcn.007ff320
mov r10d, dword [rsp + 0x38]
jmp 0x8607ce
mov r8d, dword [rbx + 0x2c]
mov r9d, r15d
mov edx, 0x87
mov rcx, rsi
mov dword [rsp + 0x38], r10d
call fcn.007ff390
mov r10d, dword [rsp + 0x38]
mov r8d, dword [rbx + 0x3c]
mov rcx, rsi
mov edx, 0x87
mov r9d, r10d
call fcn.007ff390
mov r10d, dword [rsp + 0x38]
mov r9d, r14d
mov rcx, rsi
mov dword [rsp + 0x20], r15d
mov edx, 0x39
mov r8d, r10d
call fcn.007ff320
mov r10d, dword [rsp + 0x38]
jmp 0x8607ce
mov r10d, dword [r13 + 0x38]
jmp 0x86097b