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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov r11, qword [rcx]
mov rsi, rcx
mov r14, qword [rcx + 8]
mov rcx, r11
mov qword [rsp + 0x88], r11
mov qword [rsp + 0x90], r14
mov r13, qword [r11]
mov rdi, qword [r11 + 0x10]
mov qword [rsp + 0x98], r13
call fcn.14003a94c
movzx eax, byte [rsi + 0x42]
mov r12d, eax
sub r12, 1
lea r15d, [rax - 1]
mov dword [rsp + 0x80], r15d
js 0x14006ab7f
imul rax, r12, 0x58
lea rbx, [rsi + 0x3cc]
add rbx, rax
cmp byte [rbx - 7], 0xa8
mov r13, qword [rbx + 0x14]
je 0x14006a953
xor r14d, r14d
cmp byte [rsi + 0x47], 2
jne 0x14006a8e2
movzx eax, byte [rsi + 0x42]
dec eax
cmp r15d, eax
jne 0x14006a8e2
test dword [r13 + 0x28], 0x200
je 0x14006a8e2
mov rax, qword [r13 + 0x20]
test byte [rax + 0x64], 0x80
je 0x14006a8e2
movzx ebp, word [r13 + 0x1e]
test ebp, ebp
je 0x14006a8e2
mov rax, qword [rax + 0x10]
cmp word [rax + rbp*2], 0x24
jl 0x14006a8e2
mov eax, dword [r11 + 0x38]
lea r15d, [rax + 1]
test ebp, ebp
je 0x14006a88f
mov r8d, dword [rbx - 0x2c]
lea eax, [r14 + r15]
mov r9d, r14d
mov dword [rsp + 0x20], eax
mov edx, 0x62
mov rcx, rdi
call fcn.140025d88
inc r14d
cmp r14d, ebp
jl 0x14006a85f
mov r11, qword [rsp + 0x88]
mov eax, dword [r11 + 0x38]
inc eax
mov dword [rsp + 0x28], ebp
add eax, ebp
mov dword [rsp + 0x20], r15d
mov dword [r11 + 0x38], eax
mov edx, 0x1b
cmp byte [rbx - 7], 6
mov rcx, rdi
mov r8d, dword [rbx - 0x2c]
lea eax, [rdx - 3]
cmove edx, eax
xor r9d, r9d
call fcn.140025fc4
and dword [rsp + 0x20], 0
mov edx, 0xd
mov r9d, dword [rbx]
mov rcx, rdi
mov r14d, eax
lea r8d, [rdx - 0xc]
call fcn.140025d88
mov r15d, dword [rsp + 0x80]
mov rcx, qword [rdi + 0x18]
mov r8, qword [rcx + 0x58]
test r8, r8
je 0x14006a901
mov ecx, dword [rbx - 0x1c]
mov eax, dword [rdi + 0xb8]
not ecx
movsxd rdx, ecx
mov dword [r8 + rdx*4], eax
movzx eax, byte [rbx - 6]
mov rcx, rdi
movzx edx, byte [rbx - 7]
mov r9d, dword [rbx]
mov r8d, dword [rbx - 4]
mov dword [rsp + 0x20], eax
call fcn.140025d88
movsxd rax, dword [rdi + 0xb8]
test eax, eax
jle 0x14006a938
movzx edx, byte [rbx - 5]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8 - 0x16], dx
test r14d, r14d
je 0x14006a971
mov edx, r14d
mov rcx, rdi
call fcn.14002666c
mov ecx, dword [rdi + 0xb8]
mov dword [rax + 8], ecx
jmp 0x14006a971
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14006a971
mov eax, dword [rbx - 0x1c]
not eax
movsxd rcx, eax
mov eax, dword [rdi + 0xb8]
mov dword [rdx + rcx*4], eax
test dword [r13 + 0x28], 0x800
je 0x14006aa17
mov ebp, dword [rbx + 4]
test ebp, ebp
jle 0x14006aa17
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14006a9ab
mov eax, dword [rbx - 0x24]
not eax
movsxd rcx, eax
mov eax, dword [rdi + 0xb8]
mov dword [rdx + rcx*4], eax
mov ebp, dword [rbx + 4]
lea eax, [rbp - 1]
movsxd rcx, eax
mov rax, qword [rbx + 0xc]
lea rdx, [rcx + rcx*2]
lea r14, [rax + rdx*4]
jmp 0x14006aa13
mov edx, dword [r14 + 4]
mov rcx, rdi
inc edx
call fcn.14002666c
mov ecx, dword [rdi + 0xb8]
mov dword [rax + 8], ecx
cmp byte [r14 + 8], 0xa8
je 0x14006a9f6
movzx edx, byte [r14 + 8]
mov rcx, rdi
and dword [rsp + 0x20], 0
mov r9d, dword [r14 + 4]
mov r8d, dword [r14]
call fcn.140025d88
mov edx, dword [r14 + 4]
mov rcx, rdi
dec edx
call fcn.14002666c
mov ecx, dword [rdi + 0xb8]
dec ebp
sub r14, 0xc
mov dword [rax + 8], ecx
test ebp, ebp
jg 0x14006a9bf
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14006aa35
mov eax, dword [rbx - 0x28]
not eax
movsxd rcx, eax
mov eax, dword [rdi + 0xb8]
mov dword [rdx + rcx*4], eax
mov r9d, dword [rbx - 0x20]
test r9d, r9d
je 0x14006aa7d
and dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0xd]
call fcn.140025d88
mov edx, dword [rbx - 0x20]
mov rcx, rdi
call fcn.14002666c
mov ecx, dword [rdi + 0xb8]
mov dword [rax + 8], ecx
mov rcx, rdi
mov edx, dword [rbx - 0x20]
sub edx, 2
call fcn.14002666c
mov ecx, dword [rdi + 0xb8]
mov dword [rax + 8], ecx
mov r9d, dword [rbx - 0xc]
test r9d, r9d
je 0x14006aa9f
mov r8d, dword [rbx - 0x10]
mov edx, 0x3b
and dword [rsp + 0x20], 0
mov rcx, rdi
shr r8d, 1
call fcn.140025d88
mov r8d, dword [rbx - 0x34]
test r8d, r8d
je 0x14006ab4e
mov ebp, dword [r13 + 0x28]
xor r9d, r9d
and dword [rsp + 0x20], 0
mov rcx, rdi
lea edx, [r9 + 0x30]
call fcn.140025d88
mov r14d, eax
test bpl, 0x40
jne 0x14006aae5
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbx - 0x30]
mov rcx, rdi
lea edx, [r9 + 0x7d]
call fcn.140025d88
bt ebp, 9
jb 0x14006aaf8
bt ebp, 0xd
jae 0x14006ab10
cmp qword [rbx + 4], 0
je 0x14006ab10
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbx - 0x2c]
mov rcx, rdi
lea edx, [r9 + 0x7d]
call fcn.140025d88
mov al, byte [rbx - 7]
cmp al, 0x3f
jne 0x14006ab1d
mov r8d, dword [rbx - 4]
jmp 0x14006ab20
xor r8d, r8d
mov r9d, dword [rbx - 0x18]
sub al, 0x3f
neg al
mov rcx, rdi
sbb edx, edx
and dword [rsp + 0x20], 0
add edx, 0xe
call fcn.140025d88
mov edx, r14d
mov rcx, rdi
call fcn.14002666c
mov ecx, dword [rdi + 0xb8]
mov dword [rax + 8], ecx
mov r11, qword [rsp + 0x88]
dec r15d
sub rbx, 0x58
mov dword [rsp + 0x80], r15d
sub r12, 1
jns 0x14006a7f1
mov r14, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14006ab9d
mov eax, dword [rsi + 0x38]
not eax
movsxd rcx, eax
mov eax, dword [rdi + 0xb8]
mov dword [rdx + rcx*4], eax
xor ebp, ebp
cmp byte [rsi + 0x42], bpl
jbe 0x14006ad13
lea rbx, [rsi + 0x3e0]
movzx eax, byte [rbx - 0x1c]
imul rcx, rax, 0x78
mov rax, qword [rbx]
test byte [rcx + r14 + 0x48], 0x10
mov r15, qword [rcx + r14 + 0x28]
je 0x14006abe6
mov r9d, dword [rcx + r14 + 0x40]
mov rcx, r11
and dword [rsp + 0x20], 0
mov r8d, dword [rbx - 0x44]
mov edx, dword [rbx - 0x28]
call fcn.140065b1c
jmp 0x14006acf9
test dword [rax + 0x28], 0x240
je 0x14006abf5
mov r10, qword [rax + 0x20]
jmp 0x14006ac06
test dword [rax + 0x28], 0x2000
je 0x14006acf9
mov r10, qword [rbx - 0x10]
test r10, r10
je 0x14006acf9
cmp byte [rsi + 0x45], 0
je 0x14006ac23
mov rax, qword [r10 + 0x18]
test byte [rax + 0x40], 0x20
je 0x14006acf9
cmp byte [r13 + 0x61], 0
jne 0x14006acf9
mov edx, dword [rbx - 0x28]
mov rcx, rdi
mov r9d, dword [rdi + 0xb8]
call fcn.14002666c
cmp dword [rbx - 0x28], r9d
jge 0x14006acf9
sub r9d, dword [rbx - 0x28]
lea rdx, [rax + 4]
mov r14d, r9d
mov r13d, 0x18
mov eax, dword [rbx - 0x44]
cmp dword [rdx], eax
jne 0x14006acdc
mov al, byte [rdx - 4]
cmp al, 0x62
jne 0x14006acc6
test byte [r15 + 0x40], 0x20
movsxd r9, dword [rdx + 4]
je 0x14006ac96
mov r8, qword [r15 + 0x10]
jmp 0x14006ac88
mov eax, dword [r8 + 0x64]
and al, 3
cmp al, 2
je 0x14006ac8d
mov r8, qword [r8 + 0x28]
test r8, r8
jne 0x14006ac7a
mov rax, qword [r8 + 8]
movsx r9d, word [rax + r9*2]
movzx r8d, word [r10 + 0x60]
xor ecx, ecx
test r8d, r8d
je 0x14006acb7
mov r11, qword [r10 + 8]
movsxd rax, ecx
cmp r9w, word [r11 + rax*2]
je 0x14006acba
inc ecx
cmp ecx, r8d
jl 0x14006aca6
or ecx, 0xffffffff
movsx eax, cx
test eax, eax
js 0x14006acdc
mov dword [rdx + 4], eax
jmp 0x14006acd7
cmp al, 0x7c
jne 0x14006acd3
mov eax, dword [rbx - 0x40]
mov byte [rdx - 4], 0x83
jmp 0x14006acda
cmp al, 0x17
jne 0x14006acdc
mov eax, dword [rbx - 0x40]
mov dword [rdx], eax
add rdx, r13
sub r14, 1
jne 0x14006ac5b
mov r14, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
movzx eax, byte [rsi + 0x42]
inc ebp
mov r11, qword [rsp + 0x88]
add rbx, 0x58
cmp ebp, eax
jl 0x14006abb0
mov rdx, qword [rsp + 0x88]
mov rcx, r13
mov eax, dword [rsi + 0x3c]
mov dword [rdx + 0xb4], eax
mov rdx, rsi
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.140066760