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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbx, rdx
mov r14, rcx
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
jae 0x14008b091
movzx eax, byte [r8]
lea rcx, [r8 + 1]
test al, al
jle 0x14008b065
mov edx, eax
mov dword [rbx + 0x20], eax
mov qword [rbx + 8], rcx
jmp 0x14008b0ab
cmp rcx, rdx
jae 0x14008b091
movzx edx, byte [rcx]
mov ecx, eax
mov eax, edx
not eax
and eax, ecx
cmp eax, 0x80
jb 0x14008b091
add ecx, 0xffffff80
shl edx, 7
add edx, ecx
lea rcx, [r8 + 2]
mov qword [rbx + 8], rcx
mov dword [rbx + 0x20], edx
jmp 0x14008b0ab
mov rcx, rbx
call fcn.14006f1a0
mov rcx, qword [rbx + 8]
mov edx, eax
mov dword [rbx + 0x20], eax
dec eax
cmp eax, 0x3fff
jae 0x14008b0dd
mov r8d, edx
shr r8d, 3
sub r8d, 1
je 0x14008b13f
sub r8d, 1
je 0x14008b138
sub r8d, 1
je 0x14008b12e
cmp r8d, 0x3e4
jne 0x14008b0dd
cmp edx, 0x1f3a
je 0x14008b291
test edx, edx
je 0x14008b36c
mov eax, edx
and al, 7
cmp al, 4
je 0x14008b36c
lea r8, [r14 + 0x30]
cmp edx, 0x1f40
jb 0x14008b379
mov r9, qword [0x1401d2ef8]
lea rcx, [r14 + 8]
mov qword [rsp + 0x20], r8
mov r8, rbx
call fcn.1400a2190
test al, al
jne 0x14008b041
xor al, al
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp edx, 0x18
jne 0x14008b0dd
jmp 0x14008b21c
cmp edx, 0x10
jne 0x14008b0dd
jmp 0x14008b1ae
cmp edx, 8
jne 0x14008b0dd
cmp rcx, qword [rbx + 0x10]
jae 0x14008b165
movzx eax, byte [rcx]
cmp al, 0x80
jae 0x14008b165
mov edx, eax
mov qword [rsp + 0x80], rax
lea rax, [rcx + 1]
mov qword [rbx + 8], rax
jmp 0x14008b181
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.14006f450
test al, al
je 0x14008b121
mov rdx, qword [rsp + 0x80]
test rdx, rdx
setne al
mov byte [r14 + 0x58], al
or dword [r14 + 0x38], 1
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx + 0x10]
jae 0x14008b041
cmp byte [rcx], 0x10
jne 0x14008b041
inc rcx
mov qword [rbx + 8], rcx
cmp rcx, qword [rbx + 0x10]
jae 0x14008b1cf
movzx eax, byte [rcx]
cmp al, 0x80
jae 0x14008b1cf
mov edx, eax
mov qword [rsp + 0x88], rax
lea rax, [rcx + 1]
mov qword [rbx + 8], rax
jmp 0x14008b1ef
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.14006f450
test al, al
je 0x14008b121
mov rdx, qword [rsp + 0x88]
test rdx, rdx
setne al
mov byte [r14 + 0x59], al
or dword [r14 + 0x38], 2
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx + 0x10]
jae 0x14008b041
cmp byte [rcx], 0x18
jne 0x14008b041
inc rcx
mov qword [rbx + 8], rcx
cmp rcx, qword [rbx + 0x10]
jae 0x14008b23a
movzx eax, byte [rcx]
cmp al, 0x80
jae 0x14008b23a
mov edx, eax
mov qword [rsp + 0x30], rax
lea rax, [rcx + 1]
mov qword [rbx + 8], rax
jmp 0x14008b254
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14006f450
test al, al
je 0x14008b121
mov rdx, qword [rsp + 0x30]
test rdx, rdx
setne al
mov byte [r14 + 0x5a], al
or dword [r14 + 0x38], 4
mov eax, dword [rbx + 0x10]
sub eax, dword [rbx + 8]
cmp eax, 2
jl 0x14008b041
mov rax, qword [rbx + 8]
cmp byte [rax], 0xba
jne 0x14008b041
cmp byte [rax + 1], 0x3e
jne 0x14008b041
add rax, 2
mov qword [rbx + 8], rax
lea rcx, [r14 + 0x40]
call fcn.14007f980
mov rcx, qword [rbx + 8]
mov rsi, rax
cmp rcx, qword [rbx + 0x10]
jae 0x14008b2bc
movzx edx, byte [rcx]
cmp dl, 0x80
jae 0x14008b2bc
inc rcx
mov dword [rsp + 0x78], edx
mov qword [rbx + 8], rcx
jmp 0x14008b2d5
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.14006f350
test al, al
je 0x14008b121
mov edx, dword [rsp + 0x78]
mov eax, dword [rbx + 0x38]
inc eax
mov dword [rbx + 0x38], eax
cmp eax, dword [rbx + 0x3c]
jg 0x14008b121
mov rcx, rbx
call fcn.14006ed10
mov rdx, rbx
mov rcx, rsi
mov edi, eax
call fcn.14008c570
test al, al
je 0x14008b121
cmp byte [rbx + 0x24], 0
je 0x14008b121
mov edx, edi
mov rcx, rbx
call fcn.14006ecc0
mov eax, dword [rbx + 0x38]
test eax, eax
jle 0x14008b323
dec eax
mov dword [rbx + 0x38], eax
mov eax, dword [rbx + 0x10]
sub eax, dword [rbx + 8]
cmp eax, 2
jl 0x14008b341
mov rax, qword [rbx + 8]
cmp byte [rax], 0xba
jne 0x14008b341
cmp byte [rax + 1], 0x3e
je 0x14008b289
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x14008b041
cmp dword [rbx + 0x2c], 0
jne 0x14008b361
mov eax, dword [rbx + 0x28]
cmp dword [rbx + 0x18], eax
jne 0x14008b041
mov dword [rbx + 0x20], 0
mov byte [rbx + 0x24], 1
mov al, 1
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rbx
call fcn.14007cdc0
jmp 0x14008b119