Function at 0x14006b59c
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 ebp, ebp
movzx r12d, r9w
mov rsi, r8
mov r10, rdx
mov r11, rcx
mov edi, ebp
mov r15d, ebp
cmp word [rsp + 0x100], bp
je 0x14006b5f2
mov rax, qword [rcx]
mov r9, qword [rax]
test byte [r9 + 0x5c], 0x40
jne 0x14006bdbc
movzx r9d, word [rdx]
mov word [rsp + 0x4e], r9w
cmp r9d, 0x3f
ja 0x14006bdbc
mov r8d, 1
mov dword [rsp + 0x38], r9d
mov ecx, r9d
mov byte [rsp + 0x30], r8b
mov edx, r8d
mov qword [rsp + 0x68], rbp
shl rdx, cl
movzx eax, r12w
sub rdx, r8
mov qword [rsp + 0x78], rbp
mov ecx, 0x803
mov qword [rsp + 0x70], rdx
and ax, cx
mov rbx, rbp
neg ax
mov qword [rsp + 0x58], rbx
mov ecx, ebp
mov r13b, r8b
mov r8d, dword [rsp + 0x38]
sbb r14w, r14w
neg r14w
mov dword [rsp + 0x48], ecx
add r14w, 0x182
mov r9, rbp
mov word [rsp + 0x32], r14w
cmp r15, rdx
jae 0x14006bd74
movzx eax, word [rsp + 0x100]
cmp ecx, eax
jg 0x14006bd8c
test ecx, ecx
jle 0x14006b693
or rbx, qword [rdi + 8]
mov qword [rsp + 0x58], rbx
cmp ecx, eax
jge 0x14006b6b5
bt r12w, 0xb
mov rax, qword [rsi + 0x18]
mov rdi, qword [rax + r9*8]
mov qword [rsp + 0x80], rdi
jb 0x14006bd53
jmp 0x14006b6c5
mov rdi, qword [rsp + 0x108]
mov qword [rsp + 0x80], rdi
test dword [rdi + 0x28], 0x400
jne 0x14006bd7c
movzx eax, r12w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x4c], ax
je 0x14006b6e9
mov word [rdi + 0x1e], bp
movzx eax, byte [rdi + 0x10]
mov esi, ebp
imul rcx, rax, 0x70
mov rax, qword [r11 + 8]
mov r9d, 1
mov edx, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x3c], edx
test r8d, r8d
je 0x14006b874
mov r13d, dword [rsp + 0x38]
mov eax, esi
bt r15, rax
jb 0x14006b855
mov ebp, esi
shl rbp, 5
mov r12d, esi
mov rcx, qword [r10 + rbp + 8]
call fcn.140034ca8
mov rbx, rax
test rax, rax
je 0x14006b853
cmp byte [rax], 0xa6
jne 0x14006b853
cmp dword [rax + 0x2c], edx
jne 0x14006b853
mov r9, qword [rsp + 0x58]
lea rcx, [r11 + 0x70]
movsx r8d, word [rbx + 0x30]
xor r10d, r10d
movzx eax, r14w
not r9
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x20], eax
call fcn.140068440
mov r14, rax
xor eax, eax
lea r9d, [rax + 1]
test r14, r14
je 0x14006b839
cmp word [r14 + 0x14], r9w
jne 0x14006b7b7
movzx edx, word [rdi + 0x2c]
mov ecx, eax
test edx, edx
je 0x14006b7af
mov r8, qword [rdi + 0x38]
movsxd rax, ecx
cmp r14, qword [r8 + rax*8]
je 0x14006b7ad
add ecx, r9d
cmp ecx, edx
jl 0x14006b79d
xor eax, eax
cmp ecx, edx
jge 0x14006b839
test byte [r14 + 0x14], 0x82
je 0x14006b80b
cmp word [rbx + 0x30], ax
jl 0x14006b80b
mov rax, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xe0]
mov rdx, qword [rax + rbp + 8]
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.140034e28
mov rdx, qword [r14]
mov rcx, rbx
mov rbp, rax
call fcn.140034fd4
test rax, rax
je 0x14006b833
mov rdx, qword [rax]
mov rcx, qword [rbp]
call fcn.14000a1d0
xor ebp, ebp
test eax, eax
jne 0x14006b811
jmp 0x14006b80d
xor ebp, ebp
bts r15, r12
mov r10, qword [rsp + 0xe8]
mov r9d, 1
mov r11, qword [rsp + 0xe0]
mov edx, dword [rsp + 0x3c]
movzx r14d, word [rsp + 0x32]
jmp 0x14006b855
mov r9d, 1
mov r10, qword [rsp + 0xe8]
mov r11, qword [rsp + 0xe0]
mov edx, dword [rsp + 0x3c]
movzx r14d, word [rsp + 0x32]
xor ebp, ebp
add esi, r9d
cmp esi, r13d
jl 0x14006b713
mov r13b, byte [rsp + 0x30]
mov r8d, dword [rsp + 0x38]
movzx r12d, word [rsp + 0xf8]
test dword [rdi + 0x28], 0x1000
jne 0x14006bc7c
test dword [rdi + 0x28], 0x100
je 0x14006b89d
mov r11b, byte [rsp + 0x30]
mov r13, rbp
mov word [rsp + 0x44], bp
movzx eax, r9w
jmp 0x14006b8e5
mov r13, qword [rdi + 0x20]
test r13, r13
je 0x14006bdbc
test byte [r13 + 0x64], 4
jne 0x14006bdbc
movzx eax, word [r13 + 0x5e]
mov word [rsp + 0x44], ax
movzx eax, word [r13 + 0x60]
cmp byte [r13 + 0x62], bpl
je 0x14006b8dd
test dword [rdi + 0x28], 0x8000
jne 0x14006b8dd
mov r11b, r9b
mov byte [rsp + 0x30], r9b
jmp 0x14006b8e5
mov r11b, bpl
mov byte [rsp + 0x30], bpl
movzx eax, ax
mov sil, bpl
mov byte [rsp + 0x36], bpl
mov ebx, ebp
mov byte [rsp + 0x35], bpl
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x60], eax
test eax, eax
je 0x14006bc70
mov bpl, r9b
movzx r9d, word [rdi + 0x18]
cmp ebx, r9d
jge 0x14006b988
movzx eax, word [rdi + 0x2e]
cmp ebx, eax
jl 0x14006b988
mov r8, qword [rdi + 0x38]
movsxd rax, ebx
mov rcx, qword [r8 + rax*8]
movzx eax, word [rcx + 0x14]
test ax, r14w
je 0x14006b957
mov ecx, 0x180
mov ebp, 0
test cx, ax
mov ecx, ebp
movzx eax, r11b
cmove ecx, eax
mov r11b, cl
mov byte [rsp + 0x30], cl
lea r9d, [rbp + 1]
jmp 0x14006bc0d
mov r14d, 1
test r14b, al
je 0x14006b98e
mov r10, qword [rcx]
lea edx, [rbx + 1]
jmp 0x14006b979
movsxd rax, edx
mov rcx, qword [r8 + rax*8]
cmp qword [rcx], r10
je 0x14006b980
add edx, r14d
cmp edx, r9d
jl 0x14006b96a
jmp 0x14006b98e
xor r10d, r10d
mov bpl, r10b
jmp 0x14006b991
mov r14d, 1
xor r10d, r10d
test r13, r13
je 0x14006b9cb
mov rax, qword [r13 + 8]
movsxd rcx, ebx
movsx r8d, word [rax + rcx*2]
mov rax, qword [r13 + 0x38]
mov dl, byte [rcx + rax]
mov rax, qword [r13 + 0x18]
and dl, r14b
mov byte [rsp + 0x34], dl
movsx ecx, word [rax + 0x44]
mov eax, 0xffffffff
cmp r8d, ecx
cmove r8d, eax
mov dword [rsp + 0x50], r8d
jmp 0x14006b9da
or eax, 0xffffffff
mov byte [rsp + 0x34], r10b
mov r8d, eax
mov dword [rsp + 0x50], eax
test r11b, r11b
je 0x14006ba07
test r8d, r8d
js 0x14006ba07
cmp ebx, r9d
jl 0x14006ba07
mov rax, qword [r13 + 0x18]
mov rcx, qword [rax + 8]
movsxd rax, r8d
shl rax, 5
mov al, byte [rax + rcx + 0x18]
neg al
sbb cl, cl
and cl, r11b
mov byte [rsp + 0x30], cl
mov r14d, r10d
test bpl, bpl
je 0x14006bc28
cmp r14d, dword [rsp + 0x38]
jge 0x14006bc24
mov eax, r14d
bt r15, rax
jb 0x14006bb04
mov rdx, qword [rsp + 0xe8]
movsxd rax, r14d
shl rax, 5
mov qword [rsp + 0x88], rax
mov rcx, qword [rax + rdx + 8]
call fcn.140034ca8
mov r9, rax
test rax, rax
je 0x14006bb04
mov al, r12b
and al, 0xc0
neg al
sbb al, al
or ecx, 0xffffffff
and al, bpl
mov bpl, al
mov r12b, al
cmp r8d, ecx
jl 0x14006ba9e
cmp byte [r9], 0xa6
jne 0x14006bb04
mov eax, dword [rsp + 0x3c]
cmp dword [r9 + 0x2c], eax
jne 0x14006bb04
movsx eax, word [r9 + 0x30]
cmp eax, r8d
jne 0x14006bb04
movsxd rsi, ebx
cmp r8d, ecx
je 0x14006bb30
jmp 0x14006bac5
mov rax, qword [r13 + 0x50]
mov r8d, dword [rsp + 0x3c]
movsxd rsi, ebx
mov rcx, rsi
shl rcx, 5
mov rdx, qword [rcx + rax + 8]
mov rcx, r9
call fcn.14003aa24
xor r10d, r10d
test eax, eax
jne 0x14006bb04
mov rax, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x88]
mov rdx, qword [rdx + rax + 8]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax]
call fcn.140034e28
mov rdx, qword [r13 + 0x40]
mov bpl, r12b
mov rcx, qword [rax]
mov rdx, qword [rdx + rsi*8]
call fcn.14000a1d0
xor r10d, r10d
test eax, eax
je 0x14006bb23
inc r14d
test bpl, bpl
je 0x14006bc24
mov r8d, dword [rsp + 0x50]
movzx r12d, word [rsp + 0xf8]
jmp 0x14006ba13
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0xe8]
xor ebp, ebp
lea r11d, [rbp + 1]
cmp word [rsp + 0x4c], bp
je 0x14006bb45
lea eax, [r11 + rbx]
mov word [rdi + 0x1e], ax
test byte [rsp + 0xf8], 0x40
jne 0x14006bbbd
mov r12b, byte [rsp + 0x36]
movsxd rax, r14d
shl rax, 5
mov dl, byte [rax + rdx + 0x18]
and dl, r11b
test r12b, r12b
je 0x14006bb97
mov r10b, byte [rsp + 0x35]
mov ecx, ebp
mov r9b, byte [rsp + 0x34]
xor r9b, r10b
movzx eax, r11b
cmp r9b, dl
mov byte [rsp + 0x35], r10b
mov byte [rsp + 0x36], r12b
cmove ecx, eax
test cl, cl
jne 0x14006bbbd
mov esi, dword [rsp + 0x40]
jmp 0x14006bc2a
xor dl, byte [rsp + 0x34]
mov byte [rsp + 0x35], dl
je 0x14006bbb8
mov rdx, qword [rsp + 0x110]
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rdx]
bts rcx, rax
mov qword [rdx], rcx
mov byte [rsp + 0x36], r11b
mov r10, qword [rsp + 0xe8]
movsxd rcx, r14d
mov rax, rcx
shl rax, 5
test byte [rax + r10 + 0x18], 2
je 0x14006bbe4
movzx eax, word [rdi + 0x18]
cmp ebx, eax
jne 0x14006bc49
bts dword [rdi + 0x28], 0x13
mov esi, dword [rsp + 0x40]
or eax, 0xffffffff
mov r11b, byte [rsp + 0x30]
cmp r8d, eax
movzx r14d, word [rsp + 0x32]
movzx esi, sil
lea r9d, [rax + 2]
cmove esi, r9d
bts r15, rcx
mov dword [rsp + 0x40], esi
add ebx, r9d
cmp ebx, dword [rsp + 0x60]
jge 0x14006bc4f
movzx r12d, word [rsp + 0xf8]
jmp 0x14006b907
mov esi, dword [rsp + 0x40]
xor ebp, ebp
mov r10, qword [rsp + 0xe8]
test ebx, ebx
je 0x14006bc3f
movzx eax, word [rsp + 0x44]
cmp ebx, eax
jge 0x14006bc56
mov r13b, bpl
mov byte [rsp + 0x30], bpl
jmp 0x14006bc5b
mov esi, dword [rsp + 0x40]
jmp 0x14006bc32
mov r13b, byte [rsp + 0x30]
jmp 0x14006bc61
mov r13b, byte [rsp + 0x30]
mov r9d, 1
test sil, sil
je 0x14006bc77
mov r13b, r9b
mov byte [rsp + 0x30], r9b
jmp 0x14006bc85
mov r13b, byte [rsp + 0x30]
jmp 0x14006bc7c
mov r8d, dword [rsp + 0x38]
test r13b, r13b
je 0x14006bd26
mov rsi, qword [rsp + 0x68]
mov ebx, ebp
or rsi, qword [rdi + 8]
mov r12d, dword [rsp + 0x38]
mov qword [rsp + 0x68], rsi
test r12d, r12d
je 0x14006bd23
mov r13, qword [rsp + 0xe0]
mov rdi, rsi
mov eax, ebx
bt r15, rax
jb 0x14006bd04
mov eax, ebx
lea rcx, [r13 + 0x258]
shl rax, 5
mov r14d, ebx
mov rsi, qword [rax + r10 + 8]
mov rdx, rsi
call fcn.140067d80
mov rbp, rax
test rax, rax
jne 0x14006bce7
mov rcx, rsi
call fcn.140036ca0
test eax, eax
je 0x14006bcfe
mov rax, rdi
mov r9d, 1
not rax
test rbp, rax
jne 0x14006bd04
bts r15, r14
jmp 0x14006bd04
mov r9d, 1
mov r10, qword [rsp + 0xe8]
add ebx, r9d
cmp ebx, r12d
jl 0x14006bcae
mov rdi, qword [rsp + 0x80]
xor ebp, ebp
mov r13b, byte [rsp + 0x30]
mov r8d, r12d
mov ecx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x70]
movzx r12d, word [rsp + 0xf8]
mov r11, qword [rsp + 0xe0]
movzx r14d, word [rsp + 0x32]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0xf0]
mov eax, 1
add qword [rsp + 0x78], rax
add ecx, eax
mov r9, qword [rsp + 0x78]
mov dword [rsp + 0x48], ecx
test r13b, r13b
jne 0x14006b66d
cmp r15, rdx
jne 0x14006bd8c
mov al, byte [rsp + 0x4e]
jmp 0x14006bdbe
cmp byte [rdi + 0x1d], bpl
je 0x14006bd8c
mov eax, 0x80
test al, r12b
jmp 0x14006bd74
test r13b, r13b
jne 0x14006bdd6
mov ecx, dword [rsp + 0x38]
dec ecx
test ecx, ecx
jle 0x14006bdbc
mov r8d, 1
mov rdx, r8
shl rdx, cl
sub rdx, r8
mov rax, rdx
and rax, r15
cmp rax, rdx
je 0x14006bdd2
sub ecx, r8d
test ecx, ecx
jg 0x14006bda1
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, cl
jmp 0x14006bdbe
or eax, 0xffffffff
jmp 0x14006bdbe