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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov eax, dword [rcx + 0x28]
mov rsi, r8
mov r9, qword [rcx + 0x88]
and eax, 0x42000000
mov edi, edx
mov rbx, rcx
mov ebp, 1
cmp eax, 0x40000000
je 0x140006866
test r9, r9
jne 0x140006822
mov rax, qword [rbx + 0xc0]
mov rdx, qword [rbx + 8]
mov r11d, dword [rax + 0x10]
mov r8, qword [rdx + 0x40]
mov r12d, dword [rax + 0x20]
add r11, r8
mov r10d, dword [rax + 0x60]
add r12, r8
mov r9d, dword [rax + 0x18]
mov qword [rsp + 0x98], r11
test r10d, r10d
je 0x140006848
mov ecx, dword [rdx + 0x280]
mov eax, dword [rax + 0x64]
add rcx, 4
cmp rcx, rax
ja 0x140006848
lea r14, [r8 + r10]
movzx eax, byte [r9 + r8 + 0x23]
movzx r13d, byte [r9 + r8 + 0x22]
shl r13d, 8
or r13d, eax
movsxd rax, dword [rdx + 0x284]
cmp dword [rax + rdx + 0x1bc], 0
jne 0x140006881
xor r15d, r15d
mov eax, dword [rdx + 0x150]
xor r9b, r9b
mov ecx, dword [rdx + 0x154]
mov byte [rsp + 0x80], r9b
add rax, r8
mov dword [rsp + 0x38], ecx
lea ecx, [r13 - 1]
mov qword [rsp + 0x30], rax
movzx r10d, byte [r12 + rcx*4]
movzx eax, byte [r12 + rcx*4 + 1]
shl r10w, 8
or r10w, ax
mov byte [rsp + 0x3c], 0
test r9b, r9b
jne 0x1400068bd
test byte [rbx + 0x74], 0x10
je 0x140006857
test byte [r11 + 0x11], 0x14
je 0x140006857
mov rcx, qword [rbx + 8]
test dword [rcx + 0x1e8], 0x10000000
jne 0x140035368
mov eax, ebp
test eax, eax
je 0x14000685e
test r14, r14
je 0x140006850
movzx eax, byte [rdi + r14 + 4]
mov rdx, rdi
cmp dword [rbx + 0x7c], eax
jl 0x140006850
cmp edi, r13d
jae 0x140006909
movzx eax, byte [r12 + rdx*4]
movzx ecx, byte [r12 + rdx*4 + 1]
shl eax, 8
or ecx, eax
test r9b, r9b
jne 0x1400068ec
mov eax, dword [rbx + 0x50]
imul eax, ecx
cmp dword [rbx + 0x50], 0
jle 0x14003537c
lea r9d, [rax + 0x8000]
sar r9d, 0xc
and r9d, 0xfffffff0
mov dword [rsi], r9d
mov rcx, qword [rbx + 8]
test dword [rcx + 0x1e8], 0x10000000
je 0x14000682d
mov edx, edi
call fcn.14001cf8c
test eax, eax
je 0x14000682d
cmp dword [0x1400c1308], 0
jne 0x14000682d
test r9d, r9d
je 0x14000682d
mov edx, dword [rbx + 0x194]
mov ecx, edx
shl ecx, 4
cmp r9d, ecx
je 0x14000682d
shl edx, 5
mov dword [rsi], edx
jmp 0x14000682d
movzx ecx, byte [rdi + r9 + 2]
shl ecx, 4
mov dword [rsi], ecx
mov eax, ebp
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor r14d, r14d
jmp 0x1400066dc
or dword [rsi], 0xffffffff
xor ebp, ebp
jmp 0x14000682d
xor eax, eax
jmp 0x14000677b
mov rdx, rdi
jmp 0x14000679e
mov rcx, qword [rcx + 8]
test dword [rcx + 0x1e8], 0x10000000
jne 0x140035354
or dword [rsi], 0xffffffff
xor eax, eax
jmp 0x14000682f
lea r15, [rdx + 0x200]
add r15, rax
je 0x140006707
mov eax, dword [rdx + 0x150]
test eax, eax
je 0x140006707
mov ecx, dword [rdx + 0x154]
test ecx, ecx
je 0x140006707
mov r9b, bpl
mov byte [rsp + 0x80], bpl
jmp 0x14000671e
mov r9d, ecx
mov word [rsp + 0x20], r10w
lea rcx, [rsp + 0x30]
mov rdx, r15
call fcn.14001bc20
mov r9b, byte [rsp + 0x80]
movzx r10d, ax
mov r11, qword [rsp + 0x98]
jmp 0x140006750
mov word [rsp + 0x20], cx
mov r9d, edi
lea rcx, [rsp + 0x30]
mov rdx, r15
call fcn.14001bc20
movzx ecx, ax
jmp 0x1400067c0
movzx ecx, r10w
jmp 0x1400067c0
lea eax, [rax]
add byte [rax], al
insb byte [rdi], dx
outsd dx, dword [rsi]
push rsp