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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r8, qword [rdx + 0x28]
xor r13d, r13d
mov rbx, qword [rcx]
mov r15, rdx
mov r14, rcx
mov esi, 0xfff0bdc0
test r8, r8
je 0x140086cf3
movsxd rax, dword [rbx + 0x28]
mov esi, r13d
test eax, eax
jle 0x140086cf3
mov rdx, rax
mov ecx, r13d
mov rax, qword [rbx + 0x20]
add rax, 0x18
nop word [rax + rax]
cmp qword [rax], r8
je 0x140086cf3
inc esi
inc rcx
add rax, 0x20
cmp rcx, rdx
jl 0x140086ce0
mov rcx, qword [r15 + 0x30]
lea r8, [rsp + 0x60]
mov rdx, qword [r15 + 8]
add rcx, 8
call fcn.140025d00
test rax, rax
je 0x140086d14
mov r9, qword [rax + 0x10]
jmp 0x140086d17
mov r9, r13
mov rax, qword [rbx + 0x20]
mov edx, 0xe
mov r9, qword [r9]
mov rcx, r14
mov r8, qword [r15]
movsxd rbp, esi
mov r12, rbp
shl r12, 5
cmp esi, 1
mov rbx, qword [r12 + rax]
mov eax, 0x10
cmovne edx, eax
mov qword [rsp + 0x20], rbx
call fcn.14005e200
test eax, eax
jne 0x140087180
lea rax, [0x1401472b8]
mov qword [rsp + 0x20], rbx
cmp esi, 1
lea r8, [0x1401472c8]
mov rcx, r14
cmovne r8, rax
xor r9d, r9d
lea edx, [r9 + 9]
call fcn.14005e200
test eax, eax
jne 0x140087180
mov qword [rsp + 0x68], rdi
mov rdi, qword [r14 + 0x10]
test rdi, rdi
jne 0x140086ddf
mov rcx, r14
call fcn.140041580
mov qword [r14 + 0x10], rax
mov rdi, rax
test rax, rax
je 0x140086dbf
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.1400416c0
cmp qword [r14 + 0x1c0], r13
jne 0x140086dd6
mov rax, qword [r14]
test byte [rax + 0x4c], 8
jne 0x140086dd6
mov byte [r14 + 0x23], 1
test rdi, rdi
je 0x14008717b
mov rax, qword [r14 + 0x1c0]
mov rbx, r14
test rax, rax
cmovne rbx, rax
mov eax, dword [rbx + 0x16c]
bt eax, esi
jb 0x140086e26
bts eax, esi
mov dword [rbx + 0x16c], eax
mov rax, qword [rbx]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + r12 + 0x18]
mov ecx, dword [rax]
mov dword [rbx + rbp*4 + 0x170], ecx
cmp esi, 1
jne 0x140086e26
mov rcx, rbx
call fcn.140065b80
mov eax, dword [rbx + 0x168]
mov edx, esi
bts eax, esi
mov rcx, r14
mov dword [rbx + 0x168], eax
call fcn.14005f900
mov rcx, qword [rdi + 0x30]
mov eax, dword [rdi + 0x3c]
add eax, 9
cmp eax, dword [rcx + 0x60]
jle 0x140086e67
mov rcx, rdi
call fcn.140041610
test eax, eax
je 0x140086e67
mov r9d, r13d
mov dword [rsp + 0x60], r13d
jmp 0x140087015
movsxd r9, dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
mov dword [rsp + 0x60], r9d
lea rcx, [r9 + r9*2]
mov word [rax + rcx*8], 0x6c
lea rdx, [rax + rcx*8]
mov dword [rdx + 4], r13d
lea rcx, [r9 + r9*2]
mov dword [rdx + 0xc], r13d
lea eax, [r9 + 9]
mov dword [rdx + 8], eax
mov qword [rdx + 0x10], r13
mov byte [rdx + 3], r13b
lea edx, [r9 + 8]
mov rax, qword [rdi + 8]
mov word [rax + rcx*8 + 0x18], 0x61
mov dword [rax + rcx*8 + 0x1c], r13d
mov qword [rax + rcx*8 + 0x20], 1
mov qword [rax + rcx*8 + 0x28], r13
mov byte [rax + rcx*8 + 0x1b], r13b
lea rcx, [r9 + r9*2]
mov rax, qword [rdi + 8]
mov word [rax + rcx*8 + 0x30], 0x2f
mov dword [rax + rcx*8 + 0x34], r13d
mov dword [rax + rcx*8 + 0x38], 1
mov dword [rax + rcx*8 + 0x3c], 2
mov qword [rax + rcx*8 + 0x40], r13
mov byte [rax + rcx*8 + 0x33], r13b
lea rcx, [r9 + r9*2]
mov rax, qword [rdi + 8]
mov word [rax + rcx*8 + 0x48], 0x4e
mov dword [rax + rcx*8 + 0x4c], 2
mov dword [rax + rcx*8 + 0x50], edx
mov dword [rax + rcx*8 + 0x54], 1
mov qword [rax + rcx*8 + 0x58], r13
mov byte [rax + rcx*8 + 0x4b], r13b
lea rcx, [r9 + r9*2]
mov rax, qword [rdi + 8]
mov word [rax + rcx*8 + 0x60], 0x61
mov dword [rax + rcx*8 + 0x64], r13d
mov qword [rax + rcx*8 + 0x68], 1
mov qword [rax + rcx*8 + 0x70], r13
mov byte [rax + rcx*8 + 0x63], r13b
lea rcx, [r9 + r9*2]
mov rax, qword [rdi + 8]
mov word [rax + rcx*8 + 0x78], 0x2f
mov qword [rax + rcx*8 + 0x7c], r13
mov dword [rax + rcx*8 + 0x84], 2
mov qword [rax + rcx*8 + 0x88], r13
mov byte [rax + rcx*8 + 0x7b], r13b
lea rcx, [r9 + r9*2]
mov rax, qword [rdi + 8]
mov word [rax + rcx*8 + 0x90], 0x4e
mov dword [rax + rcx*8 + 0x94], 2
mov dword [rax + rcx*8 + 0x98], edx
mov dword [rax + rcx*8 + 0x9c], 1
mov qword [rax + rcx*8 + 0xa0], r13
mov byte [rax + rcx*8 + 0x93], r13b
lea rcx, [r9 + r9*2]
mov rax, qword [rdi + 8]
mov word [rax + rcx*8 + 0xa8], 0x5f
mov qword [rax + rcx*8 + 0xac], r13
mov dword [rax + rcx*8 + 0xb4], r13d
mov qword [rax + rcx*8 + 0xb8], r13
mov byte [rax + rcx*8 + 0xab], r13b
lea rcx, [r9 + 8]
mov rax, qword [rdi + 8]
lea rcx, [rcx + rcx*2]
mov word [rax + rcx*8], 9
mov dword [rax + rcx*8 + 4], r13d
lea rdx, [rax + rcx*8]
lea eax, [r9 + 1]
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], r13d
mov qword [rdx + 0x10], r13
mov byte [rdx + 3], r13b
add dword [rdi + 0x3c], 9
mov r8, qword [rdi + 8]
lea eax, [r9 + 1]
mov rbx, qword [r15]
mov rcx, qword [rdi]
test r8, r8
je 0x1400870b6
cmp byte [rcx + 0x51], r13b
jne 0x1400870b6
test eax, eax
jns 0x14008703f
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbp, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbp + 0x10]
call fcn.140041a40
mov qword [rbp + 0x10], r13
test rbx, rbx
jne 0x140087067
mov byte [rbp + 1], r13b
jmp 0x1400870c0
mov rax, rbx
cmp byte [rbx], r13b
je 0x140087078
nop
inc rax
cmp byte [rax], r13b
jne 0x140087070
mov rcx, qword [rdi]
sub eax, ebx
and eax, 0x3fffffff
mov r13d, eax
lea rdx, [rax + 1]
call fcn.1400221f0
mov r12, rax
test rax, rax
je 0x1400870a9
mov r8d, r13d
mov rdx, rbx
mov rcx, rax
call fcn.1400d2bf0
mov byte [r12 + r13], 0
mov qword [rbp + 0x10], r12
xor r13d, r13d
mov byte [rbp + 1], 0xff
jmp 0x1400870c0
mov r8, rbx
xor edx, edx
call fcn.140041a40
mov eax, dword [rsp + 0x60]
mov r8, qword [rdi + 8]
add eax, 4
mov rcx, qword [rdi]
test r8, r8
je 0x140087110
cmp byte [rcx + 0x51], 0
jne 0x140087110
test eax, eax
jns 0x1400870e2
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.140041a40
lea r8, [0x1401472b0]
mov byte [rbx + 1], 0xfe
mov qword [rbx + 0x10], r8
jmp 0x140087121
lea r8, [0x1401472b0]
mov edx, 0xfffffffe
call fcn.140041a40
mov edx, esi
mov rcx, r14
call fcn.140060f30
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x3d]
call fcn.1400416c0
mov rbx, qword [r15]
xor r9d, r9d
mov r8d, esi
mov dword [rsp + 0x20], r13d
mov rcx, rdi
lea edx, [r9 + 0x7e]
call fcn.1400416c0
xor r9d, r9d
mov r8, rbx
mov edx, eax
mov rcx, rdi
call fcn.140041d00
cmp dword [r14 + 0x54], 3
jge 0x14008717b
mov dword [r14 + 0x54], 3
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rsi
ret