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

Disassembly:
mov r11, rsp
mov word [r11 + 0x20], r9w
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc8
movzx eax, word [rsp + 0x130]
xor ebx, ebx
mov qword [rsp + 0x38], rbx
movzx r10d, r9w
mov r9, rdx
mov r14, r8
mov rdx, rcx
mov r12d, ebx
mov esi, ebx
test ax, ax
je 0x1401b6a6b
mov rax, qword [rcx]
mov r10, qword [rax]
test byte [r10 + 0x60], 0x40
jne 0x1401b742b
movzx r10d, word [r11 + 0x20]
movzx eax, word [rsp + 0x130]
movzx ebp, word [r9]
mov word [rsp + 0x6a], bp
cmp ebp, 0x3f
ja 0x1401b742b
mov r8d, ebx
mov dword [rsp + 0x54], ebp
mov ecx, ebp
mov qword [rsp + 0x88], rbx
mov edi, 1
mov qword [rsp + 0x60], rbx
shl rdi, cl
mov r15b, 1
dec rdi
mov dword [rsp + 0x34], r15d
mov ecx, 0x803
mov qword [rsp + 0x78], rdi
test cx, r10w
mov dword [rsp + 0x50], ebx
mov r13d, ebp
mov qword [rsp + 0x80], rbx
setne r8b
mov r11, rbx
add r8w, 0x182
mov ecx, ebx
mov dword [rsp + 0x40], r8d
cmp rsi, rdi
jae 0x1401b7377
movzx eax, ax
cmp ecx, eax
jg 0x1401b73f7
test ecx, ecx
jle 0x1401b6af9
or r11, qword [r12 + 8]
mov qword [rsp + 0x60], r11
cmp ecx, eax
jge 0x1401b6b18
bt r10w, 0xb
mov rax, qword [r14 + 0x18]
mov r12, qword [rax + rbx*8]
mov qword [rsp + 0x58], r12
jb 0x1401b734d
jmp 0x1401b6b25
mov r12, qword [rsp + 0x138]
mov qword [rsp + 0x58], r12
test dword [r12 + 0x38], 0x400
jne 0x1401b73db
movzx eax, r10w
mov ecx, pe_nt_image_headers64
and ax, cx
mov word [rsp + 0x68], ax
je 0x1401b6b52
xor r10d, r10d
mov word [r12 + 0x1e], r10w
jmp 0x1401b6b55
xor r10d, r10d
movzx eax, byte [r12 + 0x10]
mov ebp, r10d
imul rcx, rax, 0x68
mov rax, qword [rdx + 8]
mov edx, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x44], edx
test r13d, r13d
je 0x1401b6bd4
mov r15, qword [rsp + 0x110]
nop dword [rax + rax]
mov eax, ebp
bt rsi, rax
jb 0x1401b6bc8
mov esi, ebp
shl rsi, 5
add rsi, r9
mov r14d, ebp
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x1401b6bc3
nop dword [rax]
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x1401b6c09
bt eax, 0x13
jae 0x1401b6bba
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x1401b6bbe
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401b6ba0
mov rsi, qword [rsp + 0x38]
inc ebp
cmp ebp, r13d
jl 0x1401b6b80
mov r15d, dword [rsp + 0x34]
mov eax, dword [r12 + 0x38]
bt eax, 0xc
jb 0x1401b723c
bt eax, 8
jae 0x1401b6da7
mov r14d, dword [rsp + 0x34]
xor ebp, ebp
mov r11d, ebp
mov qword [rsp + 0x70], rbp
mov word [rsp + 0x4c], bp
lea ecx, [rbp + 1]
jmp 0x1401b6df0
movzx eax, byte [rbx]
add al, 0x59
test al, 0xfd
jne 0x1401b6bc3
cmp dword [rbx + 0x28], edx
jne 0x1401b6bc3
movzx eax, r8w
lea rcx, [r15 + 0x70]
movsx r8d, word [rbx + 0x2c]
mov r9, r11
mov qword [rsp + 0x28], r10
not r9
mov dword [rsp + 0x20], eax
call fcn.1401b0f40
mov rdi, rax
test rax, rax
je 0x1401b6d84
movzx r9d, word [rax + 0x14]
cmp r9w, 1
jne 0x1401b6c7c
movzx edx, word [r12 + 0x3c]
xor r10d, r10d
mov ecx, r10d
test edx, edx
je 0x1401b6c74
mov r8, qword [r12 + 0x48]
movsxd rax, ecx
cmp rdi, qword [r8 + rax*8]
je 0x1401b6c74
inc ecx
cmp ecx, edx
jl 0x1401b6c65
cmp ecx, edx
jge 0x1401b6d69
test r9b, 0x82
je 0x1401b6d21
cmp word [rbx + 0x2c], 0
jl 0x1401b6d21
mov rbx, qword [r15]
mov rdx, qword [rsi + 8]
mov rcx, rbx
call fcn.1401511a0
mov rsi, rax
test rax, rax
jne 0x1401b6caf
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rax, qword [rdi]
test dword [rax + 4], 0x400
je 0x1401b6cc5
mov rdi, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
jmp 0x1401b6ccd
mov rdi, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test dword [rdx + 4], 0x200
jne 0x1401b6cf4
test rdi, rdi
je 0x1401b6ce4
test dword [rdi + 4], 0x200
jne 0x1401b6cf1
mov rcx, rbx
call fcn.1401511a0
test rax, rax
jne 0x1401b6d01
mov rdx, rdi
mov rcx, rbx
call fcn.1401511a0
test rax, rax
je 0x1401b6d4b
mov r8, qword [rsi]
mov r9, qword [rax]
sub r9, r8
nop word [rax + rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x1401b6d31
test ecx, ecx
jne 0x1401b6d46
mov rsi, qword [rsp + 0x38]
bts rsi, r14
mov qword [rsp + 0x38], rsi
jmp 0x1401b6d89
lea r10, [0x1402dc8f0]
movzx edx, byte [rax + r10]
movzx ecx, byte [rcx + r10]
cmp ecx, edx
jne 0x1401b6d4b
inc r8
jmp 0x1401b6d10
mov edx, dword [rsp + 0x44]
xor r10d, r10d
mov r9, qword [rsp + 0x118]
mov r8d, dword [rsp + 0x40]
mov r11, qword [rsp + 0x60]
jmp 0x1401b6bc3
mov edx, dword [rsp + 0x44]
mov r9, qword [rsp + 0x118]
mov r8d, dword [rsp + 0x40]
mov r11, qword [rsp + 0x60]
jmp 0x1401b6bc3
mov rsi, qword [rsp + 0x38]
mov r11, qword [rsp + 0x60]
xor r10d, r10d
mov r8d, dword [rsp + 0x40]
mov r9, qword [rsp + 0x118]
mov edx, dword [rsp + 0x44]
jmp 0x1401b6bc8
mov r11, qword [r12 + 0x20]
mov qword [rsp + 0x70], r11
test r11, r11
je 0x1401b742b
test byte [r11 + 0x64], 4
jne 0x1401b742b
cmp byte [r11 + 0x62], 0
movzx ecx, word [r11 + 0x5e]
mov word [rsp + 0x4c], cx
movzx ecx, word [r11 + 0x60]
je 0x1401b6de6
bt eax, 0xf
jb 0x1401b6de6
mov r14b, 1
jmp 0x1401b6de9
xor r14b, r14b
xor ebp, ebp
mov dword [rsp + 0x34], r14d
xor al, al
xor dl, dl
xor dil, dil
mov byte [rsp + 0x31], al
movzx eax, cx
mov r13d, ebp
mov byte [rsp + 0x30], dl
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x6c], eax
test eax, eax
je 0x1401b7232
nop word [rax + rax]
movzx r10d, word [r12 + 0x18]
mov bl, 1
cmp r13d, r10d
jge 0x1401b6ea7
movzx eax, word [r12 + 0x3e]
cmp r13d, eax
jl 0x1401b6ea7
mov r9, qword [r12 + 0x48]
movsxd rax, r13d
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test ax, r8w
je 0x1401b6e75
mov r9, qword [rsp + 0x118]
mov ecx, 0x180
test cx, ax
movzx eax, r14b
mov ecx, ebp
cmove ecx, eax
movzx r14d, cl
mov dword [rsp + 0x34], r14d
jmp 0x1401b71fb
test bl, al
je 0x1401b6ea7
mov r8, qword [rcx]
lea edx, [r13 + 1]
cmp edx, r10d
jge 0x1401b6ea7
nop word [rax + rax]
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r8
je 0x1401b6ea5
inc edx
cmp edx, r10d
jl 0x1401b6e90
jmp 0x1401b6ea7
xor bl, bl
test r11, r11
je 0x1401b6edb
mov rax, qword [r11 + 8]
movsxd rcx, r13d
movsx r15d, word [rax + rcx*2]
mov rax, qword [r11 + 0x38]
movzx r12d, byte [rcx + rax]
mov rax, qword [r11 + 0x18]
and r12b, 1
movsx ecx, word [rax + 0x34]
mov eax, 0xffffffff
cmp r15d, ecx
cmove r15d, eax
jmp 0x1401b6ee4
mov r15d, 0xffffffff
xor r12b, r12b
test r14b, r14b
je 0x1401b6f21
test r15d, r15d
js 0x1401b6f10
cmp r13d, r10d
jl 0x1401b6f21
movsxd rax, r15d
lea rdx, [rax + rax*2]
mov rax, qword [r11 + 0x18]
mov rcx, qword [rax + 8]
test byte [rcx + rdx*8 + 8], 0xf
jne 0x1401b6f21
mov byte [rsp + 0x34], 0
jmp 0x1401b6f21
cmp r15d, 0xfffffffe
movzx r14d, r14b
cmove r14d, ebp
mov dword [rsp + 0x34], r14d
test bl, bl
je 0x1401b70c4
nop dword [rax]
cmp ebp, dword [rsp + 0x54]
jge 0x1401b70c0
mov eax, ebp
bt rsi, rax
jb 0x1401b70b6
movsxd r14, ebp
shl r14, 5
add r14, qword [rsp + 0x118]
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x1401b70b6
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1401b6f8a
bt eax, 0x13
jae 0x1401b6f7c
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
jmp 0x1401b6f80
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1401b6f62
jmp 0x1401b70b6
test byte [rsp + 0x128], 0xc0
mov ecx, 0
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
movzx esi, cl
cmp r15d, 0xffffffff
jl 0x1401b6fd7
movzx eax, byte [rdx]
cmp al, 0xa7
je 0x1401b6fb8
cmp al, 0xa9
jne 0x1401b70b1
mov eax, dword [rsp + 0x44]
cmp dword [rdx + 0x28], eax
jne 0x1401b70b1
movsx eax, word [rdx + 0x2c]
cmp eax, r15d
jne 0x1401b70b1
movsxd rdi, r13d
jmp 0x1401b704c
mov rax, qword [r11 + 0x50]
movsxd rdi, r13d
mov rcx, rdi
shl rcx, 5
mov r8, qword [rcx + rax + 8]
test r8, r8
je 0x1401b7014
nop
mov eax, dword [r8 + 4]
test eax, 0x82000
je 0x1401b7014
bt eax, 0x13
jae 0x1401b700b
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
jmp 0x1401b700f
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x1401b6ff0
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1401b7037
bt eax, 0x13
jae 0x1401b702e
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
jmp 0x1401b7032
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1401b7014
mov r9d, dword [rsp + 0x44]
xor ecx, ecx
call fcn.14015be90
mov r11, qword [rsp + 0x70]
test eax, eax
jne 0x1401b70b1
cmp r15d, 0xffffffff
je 0x1401b7109
mov rax, qword [rsp + 0x110]
mov rdx, qword [r14 + 8]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1401511a0
test rax, rax
jne 0x1401b7079
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov r11, qword [rsp + 0x70]
mov r8, qword [rax]
mov rax, qword [r11 + 0x40]
lea r11, [0x1402dc8f0]
mov r9, qword [rax + rdi*8]
sub r9, r8
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x1401b70f6
test edx, edx
jne 0x1401b7104
mov r11, qword [rsp + 0x70]
movzx ebx, sil
test edx, edx
je 0x1401b7109
mov rsi, qword [rsp + 0x38]
inc ebp
test bl, bl
jne 0x1401b6f30
mov edi, dword [rsp + 0x48]
mov r9, qword [rsp + 0x118]
mov r12, qword [rsp + 0x58]
test r13d, r13d
je 0x1401b70e4
movzx eax, word [rsp + 0x4c]
cmp r13d, eax
jge 0x1401b7214
mov rsi, qword [rsp + 0x38]
xor r15b, r15b
mov dword [rsp + 0x34], r15d
jmp 0x1401b721e
movzx ecx, byte [rax + r11]
movzx edx, byte [rdx + r11]
sub edx, ecx
jne 0x1401b70a4
inc r8
jmp 0x1401b7093
cmp word [rsp + 0x68], 0
je 0x1401b711e
mov rcx, qword [rsp + 0x58]
lea eax, [r13 + 1]
mov word [rcx + 0x1e], ax
test byte [rsp + 0x128], 0x40
mov r10b, 1
mov r9, qword [rsp + 0x118]
jne 0x1401b719e
movzx edi, byte [rsp + 0x31]
movsxd rax, ebp
shl rax, 5
movzx edx, byte [rax + r9 + 0x18]
and dl, r10b
test dil, dil
je 0x1401b7179
movzx r8d, byte [rsp + 0x30]
xor ecx, ecx
xor r12b, r8b
movzx eax, r10b
cmp r12b, dl
mov byte [rsp + 0x30], r8b
mov byte [rsp + 0x31], dil
cmove ecx, eax
test cl, cl
jne 0x1401b719e
mov edi, dword [rsp + 0x48]
jmp 0x1401b70cc
xor dl, r12b
mov byte [rsp + 0x30], dl
je 0x1401b7199
mov rdx, qword [rsp + 0x140]
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rdx]
bts rcx, rax
mov qword [rdx], rcx
mov byte [rsp + 0x31], r10b
mov r12, qword [rsp + 0x58]
movsxd rcx, ebp
mov rax, rcx
shl rax, 5
test byte [rax + r9 + 0x18], 2
je 0x1401b71c9
movzx eax, word [r12 + 0x18]
cmp r13d, eax
jne 0x1401b720b
or dword [r12 + 0x38], 0x80000
mov edi, dword [rsp + 0x48]
cmp r15d, 0xffffffff
mov rsi, qword [rsp + 0x38]
mov eax, 1
mov r14d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x40]
movzx edi, dil
cmove edi, eax
bts rsi, rcx
mov qword [rsp + 0x38], rsi
xor ebp, ebp
mov dword [rsp + 0x48], edi
inc r13d
cmp r13d, dword [rsp + 0x6c]
jl 0x1401b6e20
jmp 0x1401b7219
mov edi, dword [rsp + 0x48]
jmp 0x1401b70d1
mov rsi, qword [rsp + 0x38]
mov r15d, dword [rsp + 0x34]
mov r13d, dword [rsp + 0x54]
test dil, dil
je 0x1401b723c
mov r15b, 1
mov dword [rsp + 0x34], r15d
jmp 0x1401b7245
mov r15d, dword [rsp + 0x34]
mov r13d, dword [rsp + 0x54]
test r15b, r15b
je 0x1401b7321
mov r14, qword [rsp + 0x88]
xor edi, edi
or r14, qword [r12 + 8]
mov qword [rsp + 0x88], r14
test r13d, r13d
je 0x1401b7321
mov r15, qword [rsp + 0x110]
xor r12d, r12d
mov eax, edi
bt rsi, rax
jb 0x1401b7304
mov eax, edi
shl rax, 5
mov ebp, edi
mov rsi, qword [rax + r9 + 8]
test rsi, rsi
je 0x1401b7383
lea rcx, [r15 + 0x258]
mov rdx, rsi
call fcn.1401afe80
mov rbx, rax
test rax, rax
jne 0x1401b73b9
mov eax, 1
mov dword [rsp + 0xb8], r12d
mov word [rsp + 0xb4], ax
lea rcx, [rsp + 0x90]
lea rax, [fcn.1401549b0]
mov rdx, rsi
mov qword [rsp + 0x98], rax
lea rax, [0x1401547c0]
mov qword [rsp + 0xa0], rax
call fcn.14014c9b0
cmp word [rsp + 0xb4], r12w
jne 0x1401b73b9
mov rsi, qword [rsp + 0x38]
mov r9, qword [rsp + 0x118]
inc edi
cmp edi, r13d
jl 0x1401b7270
mov r12, qword [rsp + 0x58]
mov r15d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x110]
movzx r10d, word [rsp + 0x128]
mov ecx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
mov r11, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x120]
inc qword [rsp + 0x80]
inc ecx
mov rbx, qword [rsp + 0x80]
movzx eax, word [rsp + 0x130]
mov dword [rsp + 0x50], ecx
test r15b, r15b
jne 0x1401b6ad7
cmp rsi, rdi
jne 0x1401b73f7
movzx eax, byte [rsp + 0x6a]
jmp 0x1401b742d
mov eax, 1
mov dword [rsp + 0xb8], r12d
mov word [rsp + 0xb4], ax
mov rbx, r12
lea rax, [fcn.1401549b0]
mov qword [rsp + 0x98], rax
lea rax, [0x1401547c0]
mov qword [rsp + 0xa0], rax
mov rsi, qword [rsp + 0x38]
mov rax, r14
not rax
test rbx, rax
jne 0x1401b7304
bts rsi, rbp
mov qword [rsp + 0x38], rsi
jmp 0x1401b7304
cmp byte [r12 + 0x20], 0
je 0x1401b73f7
mov eax, 0x280
and r10w, ax
mov eax, pe_nt_image_headers64
cmp r10w, ax
jne 0x1401b7379
test r15b, r15b
jne 0x1401b7446
lea ecx, [r13 - 1]
test ecx, ecx
jle 0x1401b742b
cmp ecx, 0x40
jge 0x1401b7416
mov edx, 1
shl rdx, cl
dec rdx
jmp 0x1401b741a
xor eax, eax
mov edx, eax
mov rax, rdx
and rax, rsi
cmp rax, rdx
je 0x1401b7441
dec ecx
test ecx, ecx
jg 0x1401b7404
xor al, al
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movzx eax, cl
jmp 0x1401b742d
mov al, 0xff
jmp 0x1401b742d