Function at 0x14006fc50
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 rax, qword [rdx]
mov rbx, rcx
mov edx, dword [rdx + 8]
mov r11, rax
and r11, 0xfffffffffffffff8
and eax, 7
mov qword [rcx], r11
xor edi, edi
mov qword [rcx + 0x10], r11
mov r14d, 1
shl eax, 3
mov ebp, r8d
mov dword [rcx + 8], eax
mov dword [rcx + 0x18], eax
lea r15d, [rdi + 2]
mov dword [rcx + 0x20], r9d
mov byte [rcx + 0x24], 0
mov dword [rcx + 0x54], 0xff
mov dword [rcx + 0x68], edx
mov ecx, eax
shl r14, cl
lea ecx, [rax + 1]
and r14, qword [r11]
mov dword [rbx + 0x18], ecx
mov r8, qword [rbx + 0x10]
mov r9, qword [r11]
mov qword [rsp + 0x28], r14
jne 0x14006fcd9
mov eax, 1
lea edx, [rcx + 1]
shl rax, cl
and rax, r9
neg rax
sbb esi, esi
and esi, 0x40
jmp 0x14006fd1f
cmp edx, 1
mov eax, edi
setne al
shr r9, cl
add eax, 9
mov esi, eax
lea edx, [rcx + rax]
cmp edx, 0x40
jb 0x14006fd0e
sub edx, 0x40
lea r8, [r11 + 8]
mov qword [rbx + 0x10], r8
test edx, edx
jle 0x14006fd0e
sub eax, edx
movzx ecx, al
mov rax, qword [r8]
shl rax, cl
xor r9, rax
lea ecx, [rsi + 0xff]
mov rsi, r15
shl rsi, cl
dec esi
and esi, r9d
mov dword [rbx + 0x18], edx
movzx eax, sil
and al, 1
mov r13d, esi
mov byte [rbx + 0x25], al
and r13d, r15d
mov eax, esi
mov r12d, esi
and eax, 8
and r12d, 4
mov dword [rsp + 0x80], eax
mov ecx, esi
and ecx, 0x30
mov dword [rsp + 0x98], r12d
cmp ecx, 0x20
mov dword [rsp + 0x90], ecx
sete al
cmp ecx, 0x10
mov byte [rbx + 0x26], al
mov ecx, edx
sete al
mov byte [rbx + 0x27], al
mov eax, esi
and eax, 0x40
mov dword [rsp + 0x88], eax
mov eax, esi
shr eax, 7
and al, 1
mov byte [rbx + 0x28], al
mov eax, esi
mov r11, qword [r8]
and eax, 0x100
and esi, 0x200
mov dword [rsp + 0x20], eax
test r14, r14
mov eax, 4
cmove eax, r15d
shr r11, cl
mov r14d, eax
lea r9d, [rdx + rax]
cmp r9d, 0x40
jl 0x14006fdd2
sub r9d, 0x40
lea rax, [r8 + 8]
mov qword [rbx + 0x10], rax
test r9d, r9d
jle 0x14006fdd2
mov rax, qword [rax]
mov ecx, r14d
sub ecx, r9d
shl rax, cl
xor r11, rax
lea ecx, [r14 + 0xff]
mov dword [rbx + 0x18], r9d
mov rax, r15
shl rax, cl
dec eax
and eax, r11d
mov dword [rbx + 0x54], eax
cmp ebp, 0x2000
je 0x1400700a1
mov edx, 8
mov rcx, rbx
call fcn.140070d60
mov r14, rax
mov dword [rbx + 0x48], r14d
cmp ebp, r15d
je 0x1400700a1
mov r15d, 5
test r12d, r12d
je 0x14006fe3f
mov edx, r15d
mov rcx, rbx
call fcn.140070d60
lea edx, [r15 - 2]
mov rcx, rbx
lea r12d, [rax + 1]
call fcn.140070d60
sub r14d, eax
jmp 0x14006fe68
test r13d, r13d
jne 0x14006fe55
cmp dword [rsp + 0x90], edi
jne 0x14006fe55
mov r14d, edi
mov r12d, edi
jmp 0x14006fe68
mov edx, r15d
mov rcx, rbx
call fcn.140070d60
lea r14d, [rax + 2]
lea r12d, [rax + 1]
mov ecx, 0x38
mov rax, rbx
mov dword [rcx + rbx], r12d
mov dword [rbx + 0x3c], r14d
cmp ebp, 0x400
je 0x1400700a1
test r13d, r13d
je 0x14006fe9a
lea edx, [rcx - 0x32]
mov rcx, rbx
call fcn.140070c90
shl rax, 3
jmp 0x14006fe9f
mov eax, 0xffffffff
mov dword [rbx + 0x2c], eax
cmp ebp, 1
je 0x1400700a1
cmp dword [rsp + 0x98], edi
je 0x14006fec7
mov edx, 6
mov rcx, rbx
call fcn.140070c90
shl rax, 3
jmp 0x14006fecc
mov eax, 0xffffffff
mov dword [rbx + 0x30], eax
cmp ebp, 0x100
je 0x1400700a1
cmp dword [rsp + 0x80], edi
je 0x14006fef7
mov edx, 6
mov rcx, rbx
call fcn.140070c90
shl rax, 3
jmp 0x14006fefc
mov eax, 0xffffffff
mov dword [rbx + 0x40], eax
cmp ebp, 0x40
je 0x1400700a1
cmp dword [rsp + 0x90], edi
je 0x14006ff24
mov edx, 6
mov rcx, rbx
call fcn.140070c90
shl rax, 3
jmp 0x14006ff29
mov eax, 0xffffffff
mov dword [rbx + 0x44], eax
cmp ebp, 0x80
je 0x1400700a1
mov r14, qword [rsp + 0x28]
cmp dword [rsp + 0x88], edi
je 0x14006ff61
test r14, r14
je 0x14006ff67
mov edx, 3
mov rcx, rbx
call fcn.140070d60
mov r15, rax
xor r15d, 5
jmp 0x14006ff67
mov r15d, 0xffffffff
mov ecx, 0x4c
mov rax, rbx
mov dword [rbx + rcx], r15d
cmp dword [rsp + 0x20], edi
je 0x14006ff86
lea edx, [rcx - 0x48]
mov rcx, rbx
call fcn.140070d60
jmp 0x14006ff8b
mov eax, 0xffffffff
mov ecx, 0x50
mov rdx, rbx
mov dword [rbx + rcx], eax
test esi, esi
je 0x14006ffab
lea edx, [rcx - 0x4a]
mov rcx, rbx
call fcn.140070c90
shl rax, 3
jmp 0x14006ffb0
mov eax, 0xffffffff
mov ecx, 0x34
mov rdx, rbx
mov dword [rbx + rcx], eax
test r14, r14
jne 0x14006ffc4
mov ecx, edi
jmp 0x14006ffd8
mov edx, 3
mov rcx, rbx
call fcn.140070d60
mov rcx, rax
shl rcx, 3
mov eax, 0x64
mov rdx, rbx
mov dword [rbx + rax], ecx
lea edx, [rax - 0x62]
mov rcx, rbx
call fcn.140070d60
mov dword [rbx + 0x58], eax
test r14, r14
jne 0x14006fffa
mov eax, edi
jmp 0x140070007
mov edx, 1
mov rcx, rbx
call fcn.140070d60
mov dword [rbx + 0x60], eax
test bpl, 0x18
je 0x140070027
cmp dword [rbx + 0x58], edi
je 0x140070022
mov edx, dword [rbx + 0x20]
mov rcx, rbx
call fcn.140072160
mov edi, eax
mov dword [rbx + 0x5c], edi
jmp 0x140070083
bt ebp, 9
jae 0x140070083
mov ecx, dword [rbx + 0x48]
lea rax, [rcx - 1]
test rcx, rax
setne dil
cmp rcx, 1
je 0x14007004c
inc edi
shr rcx, 1
cmp rcx, 1
jne 0x140070041
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
imul edi, dword [rbx + 0x58]
sub rdx, rcx
sar rdx, 3
shl rdx, 6
mov eax, edi
add rdx, rax
movsxd rax, dword [rbx + 0x18]
add rdx, rax
mov rax, rdx
shr rax, 6
and edx, 0x3f
mov dword [rbx + 0x18], edx
lea rax, [rcx + rax*8]
mov qword [rbx + 0x10], rax
cmp byte [rbx + 0x24], 0
jne 0x1400700a1
test bpl, 8
je 0x1400700a1
mov r8, rbx
lea rdx, [0x140072d50]
mov rcx, rbx
call fcn.1400711a0
mov rax, rbx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret