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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rdi, qword [rsp + 0xd8]
mov r13d, r8d
mov rsi, qword [rcx + 0x10]
xor r8d, r8d
mov rbp, rdx
mov dword [rsp + 0xc8], r8d
mov r15, r9
mov rbx, rcx
mov eax, dword [rdi + 4]
mov r11d, r8d
movzx edx, byte [rdi]
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0xd0]
mov dword [rsp + 0x48], edx
test rax, rax
je 0x140086214
movzx eax, byte [rax + 1]
jmp 0x140086217
mov eax, r8d
mov dword [rsp + 0x40], eax
test r9, r9
je 0x140086228
cmp qword [r9], r8
jne 0x14008624e
mov r15, r8
test eax, eax
jne 0x14008624e
mov r8d, dword [rsp + 0xe0]
mov rcx, rsi
mov edx, dword [rbp + 0xc]
call fcn.14005c8e0
mov r11d, dword [rsp + 0xc8]
xor r8d, r8d
mov edx, dword [rsp + 0x48]
mov rax, qword [rbp + 0x20]
mov ebp, dword [rax]
mov eax, dword [rdi + 0xc]
test eax, eax
jne 0x14008628b
test r15, r15
je 0x14008627e
mov rax, qword [r15]
test byte [r15 + 0x24], 1
mov ecx, dword [rax]
lea r11d, [rcx + 1]
cmovne r11d, ecx
add dword [rbx + 0x38], r11d
mov dword [rsp + 0xc8], r11d
mov eax, dword [rbx + 0x38]
inc eax
mov dword [rdi + 0xc], eax
add dword [rbx + 0x38], ebp
jmp 0x14008629a
mov ecx, dword [rbx + 0x38]
add eax, ebp
cmp eax, ecx
jle 0x14008629a
lea eax, [rcx + rbp]
mov dword [rbx + 0x38], eax
mov r14d, dword [rdi + 0xc]
mov r12d, r14d
mov dword [rsp + 0x50], r14d
mov dword [rdi + 0x10], ebp
test r13d, r13d
js 0x1400863c0
mov edi, r8d
test ebp, ebp
jle 0x140086328
nop dword [rax]
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x1400862ef
lea eax, [rdi + r14]
mov r9d, edi
mov r8d, r13d
mov dword [rsp + 0x20], eax
mov edx, 0x5e
mov rcx, rsi
call fcn.14006e5e0
xor r8d, r8d
jmp 0x140086322
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edi
lea rdx, [rax + rcx*8]
lea eax, [rdi + r14]
mov qword [rdx + 0x10], r8
mov dword [rdx + 0xc], eax
inc edi
cmp edi, ebp
jl 0x1400862c0
mov r13, qword [rsp + 0xb8]
cmp dword [rsp + 0x40], 0
je 0x140086399
mov rcx, qword [rsp + 0xd0]
mov rax, qword [r13 + 0x20]
mov r9d, dword [rsp + 0xe0]
mov dword [rsp + 0x28], r14d
movzx edi, byte [rcx + 1]
mov r8d, dword [rcx + 4]
mov edx, edi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14005bac0
mov r9, qword [rsp + 0xd0]
mov r8d, eax
mov edx, edi
mov rcx, rbx
mov r9d, dword [r9 + 8]
call fcn.140067810
test r15, r15
jne 0x140086399
mov r8d, dword [rsp + 0xe0]
mov rcx, rsi
mov edx, dword [r13 + 0xc]
call fcn.14005c8e0
mov r11d, dword [rsp + 0x48]
lea eax, [r11 - 1]
cmp eax, 0xe
ja case.0x1400863be.4
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x86d78]
add rcx, rdx
jmp rcx
cmp dl, 3
je 0x140086328
lea eax, [rdx - 9]
test al, 0xfa
jne 0x1400863da
cmp dl, 0xe
je 0x1400863da
mov r10b, 1
jmp 0x1400863dd
xor r10b, r10b
test r15, r15
je 0x1400864a9
cmp dword [rsp + 0x40], 0
jne 0x1400864a9
lea eax, [rdx - 0xc]
test al, 0xfd
je 0x1400864a9
mov rcx, qword [r15]
or r10b, 0xc
mov r8d, dword [r15 + 8]
cmp r8d, dword [rcx]
jge 0x14008645b
mov rdi, qword [rsp + 0xb8]
nop dword [rax]
nop dword [rax + rax]
movsxd rax, r8d
inc rax
shl rax, 5
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x140086450
mov rax, qword [rdi + 0x20]
movzx edx, r8w
sub dx, word [r15 + 8]
mov ecx, r9d
inc dx
shl rcx, 5
mov word [rcx + rax], dx
mov rcx, qword [r15]
inc r8d
cmp r8d, dword [rcx]
jl 0x140086420
mov r13, qword [rsp + 0xb8]
mov rdx, qword [r13 + 0x20]
mov eax, dword [rdx]
test eax, eax
jle 0x1400864b1
add rdx, 0x20
mov r8d, eax
xor r9d, r9d
nop word [rax + rax]
movzx ecx, word [rdx]
lea rdx, [rdx + 0x20]
test cx, cx
mov eax, r9d
cmove eax, r12d
mov r12d, eax
lea eax, [rbp - 1]
cmove eax, ebp
mov ebp, eax
sub r8, 1
jne 0x140086480
mov dword [rsp + 0x50], r12d
jmp 0x1400864b4
mov r13, qword [rsp + 0xb8]
xor r9d, r9d
cmp dword [r13 + 8], 0
mov dword [rsp + 0x58], r14d
mov byte [rsp + 0x5c], r10b
je 0x1400864e6
test r10b, 8
je 0x1400864e6
test r11d, r11d
jle 0x1400864e6
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], r9d
mov qword [r15 + 0x28], rax
mov r12d, r9d
jmp 0x140086330
mov rdx, qword [r13 + 0x20]
xor r9d, r9d
mov r8d, r14d
mov byte [rsp + 0x20], r10b
mov rcx, rbx
call fcn.14009a690
jmp 0x140086330
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140086512
inc dword [rbx + 0x38]
mov edi, dword [rbx + 0x38]
jmp 0x140086521
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0xd8]
mov r9d, ebp
mov dword [rsp + 0x20], edi
mov r8d, r14d
mov edx, 0x61
mov rcx, rsi
call fcn.1400c4d20
mov r8d, dword [rsp + 0xc0]
mov r9d, edi
mov edx, 0x8a
mov dword [rsp + 0x28], ebp
mov rcx, rsi
mov dword [rsp + 0x20], r14d
call fcn.1400c4ed0
test edi, edi
je case.0x1400863be.4
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae case.0x1400863be.4
mov dword [rbx + rax*4 + 0xd8], edi
inc byte [rbx + 0x1f]
jmp case.0x1400863be.4
mov r8d, dword [rsp + 0xc0]
mov r9d, r14d
mov edx, 0x8c
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.1400c4d20
jmp case.0x1400863be.4
mov edx, dword [rsp + 0xc8]
lea r13d, [rdx + 1]
cmp r13d, 1
jne 0x1400865d1
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1400865bf
inc dword [rbx + 0x38]
mov r12d, dword [rbx + 0x38]
jmp 0x1400865f9
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r12d, dword [rbx + rax*4 + 0xd8]
jmp 0x1400865f9
mov ecx, dword [rbx + 0x28]
mov r12d, dword [rbx + 0x2c]
cmp r13d, ecx
jg 0x1400865ec
lea eax, [r12 + r13]
sub ecx, r13d
mov dword [rbx + 0x2c], eax
mov dword [rbx + 0x28], ecx
jmp 0x1400865f9
mov eax, dword [rbx + 0x38]
lea r12d, [rax + 1]
add eax, r13d
mov dword [rbx + 0x38], eax
movsxd rcx, dword [rsi + 0x90]
lea edi, [r12 + rdx]
mov dword [rsp + 0xd8], edi
cmp dword [rsi + 0x94], ecx
jg 0x140086633
mov r9d, ebp
mov dword [rsp + 0x20], edi
mov r8d, r14d
mov edx, 0x61
mov rcx, rsi
call fcn.14006e5e0
mov r11d, dword [rsp + 0x48]
xor edx, edx
jmp 0x140086662
lea eax, [rcx + 1]
xor edx, edx
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdx
cmp r11b, 5
jne 0x1400866b8
mov r9d, dword [rsi + 0x90]
mov rcx, rsi
mov edi, dword [rsp + 0xc0]
add r9d, 4
mov dword [rsp + 0x28], edx
mov edx, 0x1c
mov dword [rsp + 0x20], r12d
lea r8d, [rdi + 1]
call fcn.1400c4ed0
mov r9d, r12d
mov dword [rsp + 0x28], ebp
lea r8d, [rdi + 1]
mov dword [rsp + 0x20], r14d
mov edx, 0x8a
mov rcx, rsi
call fcn.1400c4ed0
mov edi, dword [rsp + 0xd8]
test r15, r15
je 0x1400866f6
mov eax, dword [rsp + 0xc8]
mov r9d, edi
mov rdi, qword [rsp + 0xb8]
mov rdx, r15
mov dword [rsp + 0x30], eax
mov r8, rdi
mov eax, dword [rsp + 0x50]
mov rcx, rbx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call fcn.14007ec90
jmp 0x140086784
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140086706
inc dword [rbx + 0x38]
mov edi, dword [rbx + 0x38]
jmp 0x140086715
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0xd8]
mov r8d, dword [rsp + 0xc0]
mov r9d, edi
mov edx, 0x7f
mov rcx, rsi
call fcn.1400c4cb0
mov r8d, dword [rsp + 0xc0]
mov r9d, r12d
mov edx, 0x80
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.1400c4d20
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x140086766
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov word [rax + rcx*8 - 0x16], 8
test edi, edi
je 0x14008677c
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x14008677c
mov dword [rbx + rax*4 + 0xd8], edi
inc byte [rbx + 0x1f]
mov rdi, qword [rsp + 0xb8]
cmp r13d, 1
jne 0x1400867af
test r12d, r12d
je 0x140086d2b
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x140086d2b
mov dword [rbx + rax*4 + 0xd8], r12d
inc byte [rbx + 0x1f]
jmp 0x140086d2b
cmp r13d, dword [rbx + 0x28]
jle 0x140086d2b
mov dword [rbx + 0x28], r13d
mov dword [rbx + 0x2c], r12d
jmp 0x140086d2b
test r15, r15
jne 0x14008694c
mov rcx, qword [rsp + 0xd8]
movzx eax, byte [rbx + 0x1f]
mov edi, dword [rcx + 8]
test al, al
jne 0x1400867ea
inc dword [rbx + 0x38]
mov ebx, dword [rbx + 0x38]
jmp 0x1400867f9
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ebx, dword [rbx + rax*4 + 0xd8]
mov r15d, dword [rsp + 0xe8]
mov r8d, r14d
mov r9d, r15d
mov edx, 0x32
mov rcx, rsi
call fcn.1400c4cb0
mov eax, edi
mov dword [rsp + 0x20], ebx
shr eax, 0x1f
mov edx, 0x61
sub ebp, eax
mov rcx, rsi
mov r9d, ebp
lea r8d, [rax + r14]
call fcn.1400c4d20
mov r8d, dword [rsp + 0xc0]
mov r9d, ebx
mov rcx, rsi
test edi, edi
jns 0x140086861
mov edx, 0x80
mov dword [rsp + 0x20], r14d
call fcn.1400c4d20
mov rdi, qword [rsp + 0xb8]
jmp 0x1400869a9
mov dword [rsp + 0x28], edi
mov edx, 0x8a
mov dword [rsp + 0x20], r14d
call fcn.1400c4ed0
mov rdi, qword [rsp + 0xb8]
jmp 0x1400869a9
test r15, r15
jne 0x14008694c
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x14008689a
inc dword [rbx + 0x38]
mov edi, dword [rbx + 0x38]
jmp 0x1400868a9
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov edi, dword [rbx + rax*4 + 0xd8]
mov rcx, qword [rsp + 0xd8]
mov r9d, ebp
mov dword [rsp + 0x30], ebp
mov r8d, r14d
mov edx, 0x61
mov rax, qword [rcx + 0x18]
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
call fcn.1400c4d90
mov r8d, dword [rsp + 0xc0]
mov r9d, edi
mov edx, 0x8a
mov dword [rsp + 0x28], ebp
mov rcx, rsi
mov dword [rsp + 0x20], r14d
call fcn.1400c4ed0
test edi, edi
je 0x140086999
movzx eax, byte [rbx + 0x1f]
mov r15d, dword [rsp + 0xe8]
cmp al, 8
jae 0x140086854
mov dword [rbx + rax*4 + 0xd8], edi
inc byte [rbx + 0x1f]
mov rdi, qword [rsp + 0xb8]
jmp 0x1400869a9
mov r9d, dword [rsp + 0xc0]
mov edx, 0x47
mov rcx, rsi
lea r8d, [rdx - 0x46]
call fcn.1400c4cb0
jmp case.0x1400863be.4
test r15, r15
je 0x140086999
mov eax, dword [rsp + 0xc8]
mov r9d, r14d
mov dword [rsp + 0x30], eax
mov r8, r13
mov dword [rsp + 0x28], ebp
mov rdx, r15
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.14007ec90
jmp 0x140086d66
test r15, r15
jne 0x14008694c
cmp r11b, 0xd
jne 0x1400869e3
mov rcx, qword [rsp + 0xd8]
lea edx, [r15 + 0xb]
mov r8d, dword [rcx + 4]
mov rcx, rsi
call fcn.1400c4c40
mov rdi, qword [rsp + 0xb8]
mov r15d, dword [rsp + 0xe8]
mov edx, dword [rdi + 8]
test edx, edx
je 0x140086d66
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x140086d35
xor eax, eax
mov r8d, edx
mov r9d, r15d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 0x3c]
call fcn.14006e5e0
jmp 0x140086d66
mov r9d, ebp
mov r8d, r14d
mov edx, 0x54
mov rcx, rsi
call fcn.1400c4cb0
jmp 0x140086999
mov rcx, qword [rsp + 0xd8]
xor eax, eax
mov dword [rsp + 0xd0], eax
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x48], rax
mov r12d, dword [rax]
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140086a2e
inc dword [rbx + 0x38]
mov r10d, dword [rbx + 0x38]
mov dword [rsp + 0xd8], r10d
jmp 0x140086a44
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ecx, dword [rbx + rax*4 + 0xd8]
mov dword [rsp + 0xd8], ecx
lea edi, [r12 + 2]
mov rcx, rbx
mov edx, edi
mov dword [rsp + 0x50], edi
call fcn.1400a71c0
mov ecx, dword [rsp + 0xc0]
mov r13d, eax
add eax, r12d
mov dword [rsp + 0xc8], eax
inc eax
cmp r11b, 6
jne 0x140086b06
xor r9d, r9d
mov dword [rsp + 0x28], ebp
lea r8d, [rcx + 1]
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea edx, [r9 + 0x1c]
call fcn.1400c4ed0
mov dword [rsp + 0xd0], eax
mov r9d, ebp
lea eax, [r12 + 1]
mov r8d, r14d
add eax, r13d
mov edx, 0x61
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.1400c4d20
mov r8d, dword [rsp + 0xc0]
lea r9d, [r12 + 1]
add r9d, r13d
inc r8d
mov edx, 0x8a
mov rcx, rsi
call fcn.1400c4cb0
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x140086b1d
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov word [rax + rcx*8 - 0x16], 0x10
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0xd0], eax
jmp 0x140086b1d
mov r9d, ebp
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, 0x61
mov rcx, rsi
call fcn.1400c4d20
test r12d, r12d
jle 0x140086bb5
mov rbp, qword [rsp + 0x48]
mov edi, r13d
add rbp, 0x20
xor ebx, ebx
nop dword [rax]
nop dword [rax + rax]
movzx edx, word [rbp]
movsxd rcx, dword [rsi + 0x90]
dec edx
add edx, r14d
cmp dword [rsi + 0x94], ecx
jg 0x140086b71
mov r8d, edx
mov dword [rsp + 0x20], ebx
mov edx, 0x51
mov r9d, edi
mov rcx, rsi
call fcn.14006e5e0
jmp 0x140086b9d
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x51
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
inc edi
add rbp, 0x20
sub r12, 1
jne 0x140086b40
mov rbx, qword [rsp + 0xb0]
mov edi, dword [rsp + 0x50]
movsxd rcx, dword [rsi + 0x90]
mov r14d, dword [rsp + 0xc0]
cmp dword [rsi + 0x94], ecx
jg 0x140086bed
mov r9d, dword [rsp + 0xc8]
xor eax, eax
mov r8d, r14d
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea edx, [rax + 0x7e]
call fcn.14006e5e0
xor r8d, r8d
jmp 0x140086c25
mov edx, dword [rsp + 0xc8]
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
xor r8d, r8d
mov dword [rax + rcx*8], 0x7e
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rsi + 0x90]
mov ebp, dword [rsp + 0xd8]
cmp dword [rsi + 0x94], ecx
jg 0x140086c54
mov r9d, edi
mov dword [rsp + 0x20], ebp
mov r8d, r13d
mov edx, 0x61
mov rcx, rsi
call fcn.14006e5e0
jmp 0x140086c81
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rsp + 0x28], edi
mov r9d, ebp
mov r8d, r14d
mov dword [rsp + 0x20], r13d
mov edx, 0x8a
mov rcx, rsi
call fcn.1400c4ed0
mov ecx, dword [rsp + 0xd0]
test ecx, ecx
je 0x140086cda
mov edx, dword [rsi + 0x90]
jns 0x140086cb3
lea ecx, [rdx - 1]
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
je 0x140086cc5
lea rax, [0x14012c9e8]
jmp 0x140086cd7
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
test ebp, ebp
je 0x140086cf0
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x140086cf0
mov dword [rbx + rax*4 + 0xd8], ebp
inc byte [rbx + 0x1f]
cmp edi, 1
jne 0x140086d17
test r13d, r13d
je case.0x1400863be.4
movzx eax, byte [rbx + 0x1f]
mov rdi, qword [rsp + 0xb8]
cmp al, 8
jae 0x140086d2b
mov dword [rbx + rax*4 + 0xd8], r13d
inc byte [rbx + 0x1f]
jmp 0x140086d2b
cmp edi, dword [rbx + 0x28]
jle case.0x1400863be.4
mov dword [rbx + 0x28], edi
mov dword [rbx + 0x2c], r13d
mov rdi, qword [rsp + 0xb8]
test r15, r15
jne 0x140086d66
jmp 0x1400869a1
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x3c
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret