Function at 0x14022ca44
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 ebx, ebx
mov r11, r8
mov r10, rdx
mov r14, rcx
mov edi, ebx
mov esi, ebx
cmp word [rsp + 0x100], bx
je 0x14022ca9e
mov rax, qword [rcx]
mov r9, qword [rax]
test byte [r9 + 0x60], 0x40
jne 0x14022d283
movzx r9d, word [rsp + 0xf8]
movzx edx, word [rdx]
mov word [rsp + 0x62], dx
cmp edx, 0x3f
ja 0x14022d283
mov eax, 1
mov dword [rsp + 0x50], edx
mov r8d, eax
mov qword [rsp + 0x68], rbx
mov r12b, al
mov qword [rsp + 0x58], rbx
mov ecx, edx
mov dword [rsp + 0x38], r12d
shl r8, cl
mov r13d, edx
sub r8, rax
mov dword [rsp + 0x4c], ebx
mov ecx, 0x803
mov qword [rsp + 0x70], r8
movzx eax, r9w
mov qword [rsp + 0x78], rbx
and ax, cx
mov r15, rbx
neg ax
mov ecx, ebx
mov rdx, rbx
sbb bp, bp
neg bp
add bp, 0x182
mov word [rsp + 0x34], bp
cmp rsi, r8
jae 0x14022d241
movzx eax, word [rsp + 0x100]
cmp ecx, eax
jg 0x14022d249
test ecx, ecx
jle 0x14022cb33
or r15, qword [rdi + 8]
mov qword [rsp + 0x58], r15
cmp ecx, eax
jge 0x14022cb55
bt r9w, 0xb
mov rax, qword [r11 + 0x18]
mov rdi, qword [rax + rdx*8]
mov qword [rsp + 0x80], rdi
jb 0x14022d1fb
jmp 0x14022cb65
mov rdi, qword [rsp + 0x108]
mov qword [rsp + 0x80], rdi
mov edx, dword [rdi + 0x38]
bt edx, 0xa
jb 0x14022d222
movzx eax, r9w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x60], ax
je 0x14022cb89
mov word [rdi + 0x1e], bx
movzx eax, byte [rdi + 0x10]
mov r12d, ebx
imul rcx, rax, 0x68
mov rax, qword [r14 + 8]
mov r9d, 1
mov r11d, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x40], r11d
test r13d, r13d
je 0x14022cd15
mov r13, rbx
lea rbp, [r10 + 8]
mov eax, r12d
bt rsi, rax
jb 0x14022cce8
mov rcx, qword [rbp]
call fcn.1401eb060
xor edx, edx
mov rbx, rax
test rax, rax
je 0x14022cce6
mov al, byte [rax]
add al, 0x59
test al, 0xfd
jne 0x14022cce6
cmp dword [rbx + 0x2c], r11d
jne 0x14022cce6
movzx eax, word [rsp + 0x34]
lea rcx, [r14 + 0x80]
movsx r8d, word [rbx + 0x30]
mov r9, r15
mov qword [rsp + 0x28], rdx
not r9
mov edx, r11d
mov dword [rsp + 0x20], eax
call fcn.14021dc88
mov r15, rax
xor eax, eax
lea r9d, [rax + 1]
test r15, r15
je 0x14022ccdc
cmp word [r15 + 0x14], r9w
jne 0x14022cc5b
movzx edx, word [rdi + 0x3c]
mov ecx, eax
test edx, edx
je 0x14022cc53
mov r8, qword [rdi + 0x48]
movsxd rax, ecx
cmp r15, qword [r8 + rax*8]
je 0x14022cc51
add ecx, r9d
cmp ecx, edx
jl 0x14022cc41
xor eax, eax
cmp ecx, edx
jge 0x14022ccdc
test byte [r15 + 0x14], 0x82
je 0x14022ccc4
cmp word [rbx + 0x30], ax
jl 0x14022ccc4
mov rbx, qword [r14]
mov rdx, qword [rbp]
mov rcx, rbx
call fcn.1401e97e4
mov r14, rax
test rax, rax
jne 0x14022cc86
mov rax, qword [rbx]
mov r14, qword [rax + 0x10]
mov rax, qword [r15]
test dword [rax + 4], 0x400
je 0x14022cc9c
mov rdx, qword [rax + 0x18]
mov r8, qword [rax + 0x10]
jmp 0x14022cca4
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401dd4b4
xor ebx, ebx
test rax, rax
je 0x14022ccca
mov rdx, qword [rax]
mov rcx, qword [r14]
call fcn.140209354
test eax, eax
jne 0x14022ccca
jmp 0x14022ccc6
xor ebx, ebx
bts rsi, r13
mov r11d, dword [rsp + 0x40]
mov r9d, 1
mov r15, qword [rsp + 0x58]
jmp 0x14022cce8
mov r15, qword [rsp + 0x58]
mov r11d, dword [rsp + 0x40]
xor ebx, ebx
mov r14, qword [rsp + 0xe0]
add r12d, r9d
add r13, r9
add rbp, 0x20
cmp r12d, dword [rsp + 0x50]
jl 0x14022cbb8
mov edx, dword [rdi + 0x38]
mov r10, qword [rsp + 0xe8]
movzx ebp, word [rsp + 0x34]
bt edx, 0xc
jb 0x14022d11e
bt edx, 8
jae 0x14022cd38
mov r11d, dword [rsp + 0x38]
mov r15, rbx
mov word [rsp + 0x48], bx
movzx eax, r9w
jmp 0x14022cd76
mov r15, qword [rdi + 0x20]
test r15, r15
je 0x14022d283
test byte [r15 + 0x64], 4
jne 0x14022d283
movzx eax, word [r15 + 0x5e]
mov word [rsp + 0x48], ax
movzx eax, word [r15 + 0x60]
cmp byte [r15 + 0x62], bl
je 0x14022cd6e
mov r11b, r9b
bt edx, 0xf
jae 0x14022cd71
mov r11b, bl
mov dword [rsp + 0x38], r11d
movzx eax, ax
xor r12d, r12d
mov byte [rsp + 0x32], bl
mov r13b, bl
mov byte [rsp + 0x31], bl
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x64], eax
test eax, eax
je 0x14022d11c
movzx r8d, word [rdi + 0x18]
mov r14b, r9b
cmp ebx, r8d
jge 0x14022ce13
movzx eax, word [rdi + 0x3e]
cmp ebx, eax
jl 0x14022ce13
mov r9, qword [rdi + 0x48]
movsxd rax, ebx
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test ax, bp
je 0x14022cde6
mov ecx, 0x180
mov r9d, 1
test cx, ax
movzx eax, r11b
mov ecx, r12d
cmove ecx, eax
mov r11b, cl
mov dword [rsp + 0x38], r11d
jmp 0x14022d0f4
mov ebp, 1
test bpl, al
je 0x14022ce10
mov r10, qword [rcx]
lea edx, [rbx + 1]
jmp 0x14022ce06
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r10
je 0x14022ce0d
add edx, ebp
cmp edx, r8d
jl 0x14022cdf8
jmp 0x14022ce10
mov r14b, r12b
mov r9, rbp
test r15, r15
je 0x14022ce76
mov rax, qword [r15 + 8]
movsxd rcx, ebx
movsx r12d, word [rax + rcx*2]
mov rax, qword [r15 + 0x38]
mov dl, byte [rcx + rax]
mov rax, qword [r15 + 0x18]
and dl, r9b
mov byte [rsp + 0x30], dl
movsx ecx, word [rax + 0x34]
cmp r12d, ecx
jne 0x14022ce43
or r12d, 0xffffffff
xor eax, eax
test r11b, r11b
je 0x14022ce93
test r12d, r12d
js 0x14022ce82
xor r11d, r11d
cmp ebx, r8d
jl 0x14022ce96
movsxd rax, r12d
lea rdx, [rax + rax*2]
mov rax, qword [r15 + 0x18]
mov rcx, qword [rax + 8]
test byte [rcx + rdx*8 + 8], 0xf
jne 0x14022ce96
mov al, r11b
mov dword [rsp + 0x38], eax
jmp 0x14022ce96
or r12d, 0xffffffff
xor eax, eax
mov byte [rsp + 0x30], al
jmp 0x14022ce45
cmp r12d, 0xfffffffe
movzx r11d, r11b
cmove r11d, eax
mov dword [rsp + 0x38], r11d
xor r11d, r11d
mov ebp, r11d
test r14b, r14b
je 0x14022cfdc
cmp ebp, dword [rsp + 0x50]
jge 0x14022cfd7
mov eax, ebp
bt rsi, rax
jb 0x14022cfcb
mov r10, qword [rsp + 0xe8]
movsxd r8, ebp
mov r13, r8
mov qword [rsp + 0x88], r8
shl r13, 5
mov rcx, qword [r10 + r13 + 8]
call fcn.1401eb060
mov rdx, rax
test rax, rax
je 0x14022cfcb
movzx r9d, word [rsp + 0xf8]
mov al, r9b
and al, 0xc0
neg al
sbb al, al
and al, r14b
mov byte [rsp + 0x3c], al
mov r14b, al
cmp r12d, 0xffffffff
jl 0x14022cf41
cmp byte [rdx], 0xa7
je 0x14022cf18
cmp byte [rdx], 0xa9
jne 0x14022cfc5
mov ecx, dword [rsp + 0x40]
mov r14b, al
cmp dword [rdx + 0x2c], ecx
jne 0x14022cfc5
movsx eax, word [rdx + 0x30]
cmp eax, r12d
jne 0x14022cfc5
cmp r12d, 0xffffffff
je 0x14022d01b
jmp 0x14022cf7f
mov rax, qword [r15 + 0x50]
movsxd rcx, ebx
shl rcx, 5
mov rcx, qword [rcx + rax + 8]
call fcn.1401eb060
mov rcx, rdx
mov r8, rax
call fcn.1401eb060
mov r9d, dword [rsp + 0x40]
mov rdx, rax
xor ecx, ecx
call fcn.1401e9990
xor r11d, r11d
test eax, eax
jne 0x14022cfc5
mov r10, qword [rsp + 0xe8]
mov rax, qword [rsp + 0xe0]
mov rdx, qword [r10 + r13 + 8]
mov r14, qword [rax]
mov rcx, r14
call fcn.1401e97e4
xor r11d, r11d
mov rcx, rax
test rax, rax
jne 0x14022cfa9
mov rax, qword [r14]
mov rcx, qword [rax + 0x10]
mov rdx, qword [r15 + 0x40]
mov rcx, qword [rcx]
mov r14b, byte [rsp + 0x3c]
movsxd rax, ebx
mov rdx, qword [rdx + rax*8]
call fcn.140209354
test eax, eax
je 0x14022d002
mov r9d, 1
add ebp, r9d
test r14b, r14b
jne 0x14022cea2
mov r13d, dword [rsp + 0x44]
mov r10, qword [rsp + 0xe8]
test ebx, ebx
je 0x14022cff5
movzx eax, word [rsp + 0x48]
cmp ebx, eax
jge 0x14022d101
xor ebx, ebx
mov al, bl
mov dword [rsp + 0x38], eax
jmp 0x14022d103
mov r8, qword [rsp + 0x88]
movzx r9d, word [rsp + 0xf8]
mov r10, qword [rsp + 0xe8]
mov ecx, 1
cmp word [rsp + 0x60], r11w
je 0x14022d02f
lea eax, [rcx + rbx]
mov word [rdi + 0x1e], ax
test r9b, 0x40
mov dl, cl
mov r9d, 1
jne 0x14022d0a5
mov bpl, byte [rsp + 0x32]
mov rax, r8
shl rax, 5
mov cl, byte [rax + r10 + 0x18]
and cl, r9b
test bpl, bpl
je 0x14022d079
mov r10b, byte [rsp + 0x31]
mov al, byte [rsp + 0x30]
xor al, r10b
mov byte [rsp + 0x31], r10b
cmp al, cl
mov byte [rsp + 0x32], bpl
sete dl
jne 0x14022cfd7
jmp 0x14022d0a5
xor cl, byte [rsp + 0x30]
mov byte [rsp + 0x31], cl
je 0x14022d0a0
mov r9, qword [rsp + 0x110]
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [r9]
bts rcx, rax
mov qword [r9], rcx
mov r9d, 1
mov byte [rsp + 0x32], r9b
mov r10, qword [rsp + 0xe8]
mov rax, r8
shl rax, 5
test byte [rax + r10 + 0x18], 2
je 0x14022d0cd
movzx eax, word [rdi + 0x18]
cmp ebx, eax
jne 0x14022d112
bts dword [rdi + 0x38], 0x13
test dl, dl
je 0x14022d112
mov r13d, dword [rsp + 0x44]
cmp r12d, 0xffffffff
mov r11d, dword [rsp + 0x38]
movzx ebp, word [rsp + 0x34]
movzx r13d, r13b
cmove r13d, r9d
bts rsi, r8
xor r12d, r12d
mov dword [rsp + 0x44], r13d
add ebx, r9d
cmp ebx, dword [rsp + 0x64]
jl 0x14022cd98
xor ebx, ebx
test r13b, r13b
je 0x14022d11e
mov r12b, r9b
mov dword [rsp + 0x38], r12d
jmp 0x14022d12c
mov r13d, dword [rsp + 0x44]
jmp 0x14022cfe4
xor ebx, ebx
mov r12d, dword [rsp + 0x38]
test r12b, r12b
je 0x14022d21b
mov r11, qword [rsp + 0x68]
or r11, qword [rdi + 8]
mov r13d, dword [rsp + 0x50]
mov qword [rsp + 0x68], r11
test r13d, r13d
je 0x14022d1cd
mov r12, qword [rsp + 0xe0]
mov rdi, r11
mov eax, ebx
bt rsi, rax
jb 0x14022d1b0
mov eax, ebx
lea rcx, [r12 + 0x268]
shl rax, 5
mov r15d, ebx
mov rbp, qword [rax + r10 + 8]
mov rdx, rbp
call fcn.14021db30
mov r14, rax
test rax, rax
jne 0x14022d193
xor r8d, r8d
lea edx, [rax + 1]
mov rcx, rbp
call fcn.14019e518
test eax, eax
je 0x14022d1aa
mov rax, rdi
mov r9d, 1
not rax
test r14, rax
jne 0x14022d1b0
bts rsi, r15
jmp 0x14022d1b0
mov r9d, 1
mov r10, qword [rsp + 0xe8]
add ebx, r9d
cmp ebx, r13d
jl 0x14022d153
mov rdi, qword [rsp + 0x80]
mov r12d, dword [rsp + 0x38]
xor ebx, ebx
movzx r9d, word [rsp + 0xf8]
mov r8, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x4c]
mov r14, qword [rsp + 0xe0]
movzx ebp, word [rsp + 0x34]
mov r15, qword [rsp + 0x58]
mov r11, qword [rsp + 0xf0]
mov eax, 1
add qword [rsp + 0x78], rax
add ecx, eax
mov rdx, qword [rsp + 0x78]
mov dword [rsp + 0x4c], ecx
test r12b, r12b
jne 0x14022cb0d
jmp 0x14022d23e
mov r13d, dword [rsp + 0x50]
jmp 0x14022d1cf
cmp byte [rdi + 0x20], bl
je 0x14022d249
mov eax, 0x280
and r9w, ax
mov eax, 0x80
cmp r9w, ax
je 0x14022d249
mov rsi, r8
cmp rsi, r8
jne 0x14022d249
mov al, byte [rsp + 0x62]
jmp 0x14022d285
test r12b, r12b
jne 0x14022d29d
lea edx, [r13 - 1]
test edx, edx
jle 0x14022d283
mov r8d, 1
mov ecx, edx
mov rax, r8
shl rax, cl
mov rcx, rbx
sub rax, r8
cmp edx, 0x40
cmovl rcx, rax
mov rax, rcx
and rax, rsi
cmp rax, rcx
je 0x14022d299
sub edx, r8d
test edx, edx
jg 0x14022d25c
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 0x14022d285
mov al, 0xff
jmp 0x14022d285