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

Disassembly:
mov rax, rsp
mov word [rax + 0x20], r9w
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
xor esi, esi
movzx ebp, r9w
mov rdi, r8
mov r10, rcx
mov r15d, esi
mov r13d, esi
cmp word [rsp + 0x100], si
je 0x14009d034
mov rax, qword [rcx]
mov r9, qword [rax]
test byte [r9 + 0x60], 0x40
jne 0x14009d86a
movzx r11d, word [rdx]
mov word [rsp + 0x52], r11w
cmp r11d, 0x3f
ja 0x14009d86a
mov r8d, 1
mov dword [rsp + 0x3c], r11d
mov ecx, r11d
mov qword [rsp + 0x70], rsi
mov r9d, r8d
mov qword [rsp + 0x80], rsi
shl r9, cl
mov r12b, r8b
sub r9, r8
mov dword [rsp + 0x38], r12d
mov r8d, dword [rsp + 0x3c]
mov ecx, 0x803
movzx eax, bp
mov qword [rsp + 0x78], r9
and ax, cx
mov rbx, rsi
neg ax
mov qword [rsp + 0x58], rbx
mov ecx, esi
mov r11, rsi
sbb r14w, r14w
mov dword [rsp + 0x4c], ecx
neg r14w
add r14w, 0x182
mov word [rsp + 0x30], r14w
cmp r13, r9
jae 0x14009d80e
movzx eax, word [rsp + 0x100]
cmp ecx, eax
jg 0x14009d82e
test ecx, ecx
jle 0x14009d0d7
or rbx, qword [r15 + 8]
mov qword [rsp + 0x58], rbx
cmp ecx, eax
jge 0x14009d0f8
bt bp, 0xb
mov rax, qword [rdi + 0x18]
mov r15, qword [rax + r11*8]
mov qword [rsp + 0x88], r15
jb 0x14009d7e7
jmp 0x14009d108
mov r15, qword [rsp + 0x108]
mov qword [rsp + 0x88], r15
test dword [r15 + 0x38], 0x400
jne 0x14009d816
movzx eax, bp
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x50], ax
je 0x14009d132
xor r9d, r9d
mov word [r15 + 0x1e], r9w
jmp 0x14009d135
xor r9d, r9d
movzx eax, byte [r15 + 0x10]
mov esi, r9d
imul rcx, rax, 0x68
mov rax, qword [r10 + 8]
mov ebx, 1
mov r11d, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x40], r11d
test r8d, r8d
je 0x14009d2ca
mov r12d, dword [rsp + 0x3c]
mov eax, esi
bt r13, rax
jb 0x14009d2ad
mov edi, esi
shl rdi, 5
mov ebp, esi
mov rcx, qword [rdi + rdx + 8]
call fcn.14005b6d8
mov rbx, rax
test rax, rax
je 0x14009d2a8
mov al, byte [rax]
add al, 0x59
test al, 0xfd
jne 0x14009d2a8
cmp dword [rbx + 0x2c], r11d
jne 0x14009d2a8
mov r9, qword [rsp + 0x58]
lea rcx, [r10 + 0x70]
movsx r8d, word [rbx + 0x30]
xor edx, edx
mov qword [rsp + 0x28], rdx
not r9
movzx eax, r14w
mov edx, r11d
mov dword [rsp + 0x20], eax
call fcn.140098d38
xor r9d, r9d
mov r14, rax
test rax, rax
je 0x14009d28d
lea r10d, [r9 + 1]
cmp word [rax + 0x14], r10w
jne 0x14009d20c
movzx edx, word [r15 + 0x3c]
mov ecx, r9d
test edx, edx
je 0x14009d204
mov r8, qword [r15 + 0x48]
movsxd rax, ecx
cmp r14, qword [r8 + rax*8]
je 0x14009d204
add ecx, r10d
cmp ecx, edx
jl 0x14009d1f4
cmp ecx, edx
jge 0x14009d28d
test byte [r14 + 0x14], 0x82
je 0x14009d289
cmp word [rbx + 0x30], r9w
jl 0x14009d289
mov rax, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xe0]
mov rdx, qword [rdi + rax + 8]
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.14005b708
mov rdi, rax
test rax, rax
jne 0x14009d249
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [r14]
test dword [rax + 4], 0x400
je 0x14009d25f
mov rdx, qword [rax + 0x18]
mov r8, qword [rax + 0x10]
jmp 0x14009d267
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rcx, rbx
call fcn.14005b998
xor r9d, r9d
test rax, rax
je 0x14009d28d
mov rdx, qword [rax]
mov rcx, qword [rdi]
call fcn.14002e3dc
xor r9d, r9d
test eax, eax
jne 0x14009d28d
bts r13, rbp
movzx r14d, word [rsp + 0x30]
mov r11d, dword [rsp + 0x40]
mov r10, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe8]
mov ebx, 1
add esi, ebx
cmp esi, r12d
jl 0x14009d162
mov r12d, dword [rsp + 0x38]
movzx ebp, word [rsp + 0xf8]
mov r8d, dword [rsp + 0x3c]
test dword [r15 + 0x38], 0x1000
jne 0x14009d702
test dword [r15 + 0x38], 0x100
je 0x14009d2f5
mov r11, r9
mov qword [rsp + 0x68], r9
mov word [rsp + 0x48], r9w
movzx eax, bx
jmp 0x14009d33c
mov r11, qword [r15 + 0x20]
mov qword [rsp + 0x68], r11
test r11, r11
je 0x14009d86a
test byte [r11 + 0x64], 4
jne 0x14009d86a
movzx eax, word [r11 + 0x5e]
mov word [rsp + 0x48], ax
movzx eax, word [r11 + 0x60]
cmp byte [r11 + 0x62], r9b
je 0x14009d334
test dword [r15 + 0x38], 0x8000
mov r12b, bl
je 0x14009d337
mov r12b, r9b
mov dword [rsp + 0x38], r12d
movzx eax, ax
mov dil, r9b
mov byte [rsp + 0x34], r9b
mov esi, r9d
mov byte [rsp + 0x33], r9b
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x60], eax
test eax, eax
je 0x14009d702
movzx r10d, word [r15 + 0x18]
cmp esi, r10d
jge 0x14009d3df
movzx eax, word [r15 + 0x3e]
cmp esi, eax
jl 0x14009d3df
mov r8, qword [r15 + 0x48]
movsxd rax, esi
mov rcx, qword [r8 + rax*8]
movzx eax, word [rcx + 0x14]
test ax, r14w
je 0x14009d3ab
mov ecx, 0x180
mov ebx, 1
test cx, ax
movzx eax, r12b
mov ecx, r9d
cmove ecx, eax
mov r12b, cl
mov dword [rsp + 0x38], r12d
jmp 0x14009d6df
mov r14d, 1
test r14b, al
je 0x14009d3e5
mov r9, qword [rcx]
lea edx, [rsi + 1]
jmp 0x14009d3cd
movsxd rax, edx
mov rcx, qword [r8 + rax*8]
cmp qword [rcx], r9
je 0x14009d3d7
add edx, r14d
cmp edx, r10d
jl 0x14009d3be
xor r9d, r9d
jmp 0x14009d3e5
xor r9d, r9d
mov bl, r9b
jmp 0x14009d3e5
mov r14d, 1
test r11, r11
je 0x14009d41f
mov rax, qword [r11 + 8]
movsxd rcx, esi
movsx r8d, word [rax + rcx*2]
mov rax, qword [r11 + 0x38]
mov dl, byte [rcx + rax]
mov rax, qword [r11 + 0x18]
and dl, r14b
mov byte [rsp + 0x32], dl
movsx ecx, word [rax + 0x34]
mov eax, 0xffffffff
cmp r8d, ecx
cmove r8d, eax
mov dword [rsp + 0x54], r8d
jmp 0x14009d42e
or eax, 0xffffffff
mov byte [rsp + 0x32], r9b
mov r8d, eax
mov dword [rsp + 0x54], eax
test r12b, r12b
je 0x14009d46d
test r8d, r8d
js 0x14009d45c
cmp esi, r10d
jl 0x14009d46d
movsxd rax, r8d
lea rdx, [rax + rax*2]
mov rax, qword [r11 + 0x18]
mov rcx, qword [rax + 8]
test byte [rcx + rdx*8 + 8], 0xf
jne 0x14009d46d
mov al, r9b
mov dword [rsp + 0x38], eax
jmp 0x14009d46d
cmp r8d, 0xfffffffe
movzx r12d, r12b
cmove r12d, r9d
mov dword [rsp + 0x38], r12d
mov r12d, r9d
test bl, bl
je 0x14009d61e
cmp r12d, dword [rsp + 0x3c]
jge 0x14009d61a
mov eax, r12d
bt r13, rax
jb 0x14009d658
mov r10, qword [rsp + 0xe8]
movsxd r14, r12d
shl r14, 5
mov rcx, qword [r14 + r10 + 8]
call fcn.14005b6d8
mov rdx, rax
test rax, rax
je 0x14009d652
mov al, bpl
and al, 0xc0
neg al
sbb al, al
or ecx, 0xffffffff
and al, bl
mov bl, al
mov bpl, al
cmp r8d, ecx
jl 0x14009d503
cmp byte [rdx], 0xa7
je 0x14009d4db
cmp byte [rdx], 0xa9
jne 0x14009d652
mov eax, dword [rsp + 0x40]
cmp dword [rdx + 0x2c], eax
jne 0x14009d652
movsx eax, word [rdx + 0x30]
cmp eax, r8d
jne 0x14009d652
movsxd rdi, esi
cmp r8d, ecx
je 0x14009d5b0
jmp 0x14009d55c
mov rax, qword [r11 + 0x50]
movsxd rdi, esi
mov rcx, rdi
shl rcx, 5
mov r8, qword [rcx + rax + 8]
jmp 0x14009d526
test dword [r8 + 4], 0x2000
je 0x14009d52b
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x14009d518
test dword [rdx + 4], 0x2000
je 0x14009d53d
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x14009d52b
mov r9d, dword [rsp + 0x40]
xor ecx, ecx
call fcn.140062190
xor r9d, r9d
test eax, eax
jne 0x14009d64d
mov r10, qword [rsp + 0xe8]
mov rax, qword [rsp + 0xe0]
mov rdx, qword [r14 + r10 + 8]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.14005b708
test rax, rax
jne 0x14009d580
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov r11, qword [rsp + 0x68]
mov bl, bpl
mov rcx, qword [rax]
mov rdx, qword [r11 + 0x40]
mov rdx, qword [rdx + rdi*8]
call fcn.14002e3dc
xor r9d, r9d
test eax, eax
jne 0x14009d652
mov r8d, dword [rsp + 0x54]
mov r10, qword [rsp + 0xe8]
mov ebx, 1
cmp word [rsp + 0x50], r9w
je 0x14009d5c5
lea eax, [rbx + rsi]
mov word [r15 + 0x1e], ax
test byte [rsp + 0xf8], 0x40
jne 0x14009d696
mov bpl, byte [rsp + 0x34]
movsxd rax, r12d
shl rax, 5
mov dl, byte [rax + r10 + 0x18]
and dl, bl
test bpl, bpl
je 0x14009d671
mov r9b, byte [rsp + 0x32]
xor eax, eax
mov dil, byte [rsp + 0x33]
mov ecx, eax
xor r9b, dil
movzx eax, bl
cmp r9b, dl
mov byte [rsp + 0x33], dil
mov byte [rsp + 0x34], bpl
cmove ecx, eax
xor r9d, r9d
test cl, cl
jne 0x14009d696
mov edi, dword [rsp + 0x44]
test esi, esi
je 0x14009d62b
movzx eax, word [rsp + 0x48]
cmp esi, eax
jge 0x14009d632
mov al, r9b
mov dword [rsp + 0x38], eax
mov ebx, 1
test dil, dil
je 0x14009d6f8
mov r12b, bl
mov dword [rsp + 0x38], r12d
jmp 0x14009d70b
mov r11, qword [rsp + 0x68]
mov r14d, 1
add r12d, r14d
test bl, bl
je 0x14009d61a
mov r8d, dword [rsp + 0x54]
movzx ebp, word [rsp + 0xf8]
jmp 0x14009d478
xor dl, byte [rsp + 0x32]
mov byte [rsp + 0x33], dl
je 0x14009d692
mov rdx, qword [rsp + 0x110]
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rdx]
bts rcx, rax
mov qword [rdx], rcx
mov byte [rsp + 0x34], bl
movsxd rcx, r12d
mov rax, rcx
shl rax, 5
test byte [rax + r10 + 0x18], 2
je 0x14009d6bb
movzx eax, word [r15 + 0x18]
cmp esi, eax
jne 0x14009d61a
bts dword [r15 + 0x38], 0x13
mov edi, dword [rsp + 0x44]
or eax, 0xffffffff
mov r12d, dword [rsp + 0x38]
cmp r8d, eax
movzx r14d, word [rsp + 0x30]
movzx edi, dil
cmove edi, ebx
bts r13, rcx
mov dword [rsp + 0x44], edi
add esi, ebx
cmp esi, dword [rsp + 0x60]
jge 0x14009d637
movzx ebp, word [rsp + 0xf8]
jmp 0x14009d35f
mov r12d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
test r12b, r12b
je 0x14009d7b1
mov rdi, qword [rsp + 0x70]
mov ebx, r9d
or rdi, qword [r15 + 8]
mov r14d, dword [rsp + 0x3c]
mov qword [rsp + 0x70], rdi
test r14d, r14d
je 0x14009d7ae
mov r12, qword [rsp + 0xe8]
mov ecx, 1
mov r15, qword [rsp + 0xe0]
mov eax, ebx
bt r13, rax
jb 0x14009d79a
mov eax, ebx
lea rcx, [r15 + 0x258]
shl rax, 5
mov ebp, ebx
mov rdi, qword [rax + r12 + 8]
mov rdx, rdi
call fcn.1400986e0
mov rsi, rax
test rax, rax
jne 0x14009d77d
lea r8d, [rax + 1]
mov rdx, rdi
xor ecx, ecx
call fcn.14005dc2c
test eax, eax
je 0x14009d795
mov rax, qword [rsp + 0x70]
mov ecx, 1
not rax
test rsi, rax
jne 0x14009d79a
bts r13, rbp
jmp 0x14009d79a
mov ecx, 1
add ebx, ecx
cmp ebx, r14d
jl 0x14009d73f
mov r15, qword [rsp + 0x88]
mov r12d, dword [rsp + 0x38]
mov r8d, r14d
movzx ebp, word [rsp + 0xf8]
xor esi, esi
mov rdx, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0x4c]
mov r9, qword [rsp + 0x78]
mov r10, qword [rsp + 0xe0]
movzx r14d, word [rsp + 0x30]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0xf0]
mov eax, 1
add qword [rsp + 0x80], rax
add ecx, eax
mov r11, qword [rsp + 0x80]
mov dword [rsp + 0x4c], ecx
test r12b, r12b
jne 0x14009d0b1
cmp r13, r9
jne 0x14009d82e
mov al, byte [rsp + 0x52]
jmp 0x14009d86c
cmp byte [r15 + 0x20], sil
je 0x14009d82e
mov eax, 0x280
and bp, ax
mov eax, 0x80
cmp bp, ax
jne 0x14009d810
test r12b, r12b
jne 0x14009d884
mov edx, dword [rsp + 0x3c]
dec edx
test edx, edx
jle 0x14009d86a
mov r8d, 1
mov ecx, edx
mov rax, r8
shl rax, cl
mov rcx, rsi
sub rax, r8
cmp edx, 0x40
cmovl rcx, rax
mov rax, rcx
and rax, r13
cmp rax, rcx
je 0x14009d880
sub edx, r8d
test edx, edx
jg 0x14009d843
xor al, al
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov al, dl
jmp 0x14009d86c
or eax, 0xffffffff
jmp 0x14009d86c