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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r11, qword [r8]
lea rax, [0x140000000]
mov r10, rcx
mov qword [rsp + 0x20], r8
movzx ecx, byte [rdx + 4]
lea rax, [rax + 0xa9e90]
imul r14, rcx, 0xd8
mov rsi, r8
mov qword [rsp + 0x18], rdx
add rax, r14
mov qword [r10 + 8], r9
xor r13d, r13d
mov byte [rsp], cl
mov rdi, rdx
mov qword [r10], rax
mov byte [r10 + 0x10], cl
lea r8, [r10 + 0x1c]
mov edx, r13d
lea r9d, [r13 + 4]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 8]
lea r8, [r8 + 0x40]
lea rdx, [rdx + 4]
mov ecx, dword [rdx + rax - 4]
mov dword [r8 - 0x40], ecx
sub r9, 1
jne 0x14006de20
mov eax, dword [rdi]
shr eax, 4
test al, 1
je 0x14006de55
mov rax, qword [r10]
movzx ecx, byte [rax + 1]
mov eax, dword [r10 + 0x1c]
btr eax, ecx
mov dword [r10 + 0x1c], eax
sub r11, rsi
mov dword [rsp + 4], r13d
lea rcx, [rsi + 0xc]
mov ebp, r13d
mov qword [rsp + 8], rcx
mov ebx, 1
lea rax, [r11 + 0x90]
mov qword [rsp + 0x10], rax
nop word [rax + rax]
mov r12d, r13d
mov r15, rcx
nop word [rax + rax]
test dword [r15], 0x300
je 0x14006e128
mov r9d, dword [rax + r15]
test r9d, 0x300
je 0x14006e1d9
mov eax, ebp
lea rsi, [r10 + 0x11c]
lea rsi, [rsi + rax*8]
mov ecx, r9d
mov dword [rsi], r9d
mov r11b, reloc.OLEAUT32.dll_SafeArrayDestroy
mov eax, dword [r15]
mov edi, 0xff
mov edx, eax
shr ecx, 0xa
shr edx, 0x10
mov r8, r13
mov dword [rsi + 4], eax
test cl, 1
jne 0x14006e1cf
mov ecx, eax
shr ecx, 8
test cl, 1
je 0x14006df9d
mov ecx, eax
shr ecx, 0x18
cmp cl, 0x1f
ja 0x14006e1c5
movzx r8d, cl
mov rcx, qword [r10]
cmp dword [rcx + r8*4 + 0x14], r13d
je 0x14006e1c5
test al, al
jne 0x14006df2e
movzx edx, byte [r8 + rcx + 0x94]
and eax, 0xffffff00
or edx, eax
mov dword [rsi + 4], edx
mov rcx, qword [r10]
shr edx, 0x10
mov r11d, dword [rcx + r8*4 + 0x14]
shr r11d, 8
and r11b, 0xf
cmp r11b, 3
ja 0x14006e1bb
movzx eax, r11b
lea r8, [r10 + 0x1c]
shl rax, 6
add r8, rax
movzx edi, dl
cmp edi, 0x20
jae 0x14006e1b1
mov ecx, edi
mov eax, ebx
shl eax, cl
test dword [r8], eax
je 0x14006e1b1
mov ecx, dword [r8 + 0x10]
test eax, ecx
jne 0x14006e217
mov eax, dword [r8 + 0x14]
bts ecx, edi
bts eax, edi
mov dword [r8 + 0x10], ecx
mov dword [r8 + 0x14], eax
mov eax, dword [r8 + 8]
bts eax, edi
mov dword [r8 + 8], eax
jmp 0x14006e0a7
test al, al
jne 0x14006dfb3
movzx ecx, r9b
and eax, 0xffffff00
or eax, ecx
mov dword [rsi + 4], eax
movzx r9d, byte [rsi]
movzx ecx, al
movzx ebx, r9b
lea r9, [0x140000000]
movzx edx, byte [rcx + r9 + 0xb5830]
movzx r9d, byte [rbx + r9 + 0xb5830]
movzx ecx, byte [rsp]
cmp dl, r9b
not cl
cmovae r9d, edx
and ecx, 1
lea ecx, [rcx*4 + 4]
cmp r9d, ecx
jbe 0x14006e069
sub al, 0x20
cmp al, 9
ja 0x14006dffd
sub bl, 0x20
cmp bl, 9
jbe 0x14006e069
cmp r9d, 8
ja 0x14006e018
lea rax, [0x140000000]
mov ecx, dword [r14 + rax + 0xa9ed0]
test ecx, ecx
je 0x14006e025
jmp 0x14006e090
cmp r9d, 0x10
ja 0x14006e033
lea rax, [0x140000000]
mov ecx, dword [r14 + rax + 0xa9ed4]
test ecx, ecx
je 0x14006e040
jmp 0x14006e090
cmp r9d, 0x20
ja 0x14006e04e
lea rax, [0x140000000]
mov ecx, dword [r14 + rax + 0xa9ed8]
test ecx, ecx
je 0x14006e05f
jmp 0x14006e090
cmp r9d, 0x40
ja 0x14006e1d9
lea rax, [0x140000000]
mov ecx, dword [r14 + rax + 0xa9edc]
jmp 0x14006e088
lea rax, [0x140000000]
cmp r9d, 4
ja 0x14006e080
mov ecx, dword [r14 + rax + 0xa9ebc]
jmp 0x14006e088
mov ecx, dword [r14 + rax + 0xa9ec0]
test ecx, ecx
je 0x14006e1d9
movzx eax, byte [r10 + 0x13]
mov ebx, 1
shr ecx, 8
and ecx, 0xf
bts eax, ecx
mov byte [r10 + 0x13], al
mov ecx, dword [rsi]
mov eax, ecx
shr eax, 8
test al, 1
je 0x14006e113
mov eax, ecx
shr rcx, 0x18
shr eax, 0x10
movzx r9d, al
mov rax, qword [r10]
mov edx, dword [rax + rcx*4 + 0x14]
shr edx, 8
and dl, 0xf
cmp r11b, dl
jne 0x14006e0ef
mov byte [r9 + r8 + 0x20], bpl
mov eax, dword [r8 + 0xc]
btc eax, r9d
mov dword [r8 + 0xc], eax
cmp edi, r9d
jne 0x14006e121
or dword [rsi], 0x800
jmp 0x14006e121
cmp dl, 3
ja 0x14006e1d9
movzx ecx, dl
shl rcx, 6
add rcx, r10
mov byte [r9 + rcx + 0x3c], bpl
mov eax, dword [rcx + 0x28]
btc eax, r9d
mov dword [rcx + 0x28], eax
jmp 0x14006e121
test r8, r8
je 0x14006e11c
inc byte [r8 + 0x19]
mov byte [r10 + 0x11], 1
mov rax, qword [rsp + 0x10]
inc ebp
inc r12d
add r15, 4
cmp r12d, 4
jb 0x14006de90
mov edx, dword [rsp + 4]
mov rcx, qword [rsp + 8]
inc edx
add rcx, 0x10
mov dword [rsp + 4], edx
mov qword [rsp + 8], rcx
cmp edx, 0x10
jb 0x14006de80
mov r9, qword [rsp + 0x18]
lea rcx, [r10 + 0x2c]
mov r13d, 4
lea rdx, [r9 + 0x30]
nop dword [rax]
mov eax, dword [rdx + 0x10]
lea rcx, [rcx + 0x40]
not eax
or eax, dword [rdx]
lea rdx, [rdx + 4]
and eax, dword [rcx - 0x50]
or eax, dword [rcx - 0x44]
or eax, dword [rcx - 0x40]
mov dword [rcx - 0x4c], eax
sub r13, 1
jne 0x14006e170
cmp byte [r10 + 0x11], r13b
je 0x14006e1e3
movzx eax, byte [r9 + 0xa]
cmp byte [r9 + 0xd], al
jb 0x14006e1e3
mov eax, dword [r9]
shr eax, 4
test al, 1
jne 0x14006e1e3
mov r8b, 1
jmp 0x14006e1e6
mov eax, 0x1d
jmp 0x14006e3e4
mov eax, 0x1c
jmp 0x14006e3e4
mov eax, 0x1b
jmp 0x14006e3e4
mov eax, 0x19
jmp 0x14006e3e4
mov eax, 3
jmp 0x14006e3e4
xor r8b, r8b
mov rax, qword [rsp + 0x20]
lea rdi, [r10 + 0x1c]
movzx edx, byte [r9 + 6]
movzx ecx, byte [rax + 8]
cmp edx, 0xff
je 0x14006e208
mov eax, dword [rdi + 0xc]
bt eax, edx
jb 0x14006e217
cmp ecx, 0xff
je 0x14006e221
shl ebx, cl
test dword [rdi + 0x10], ebx
je 0x14006e22d
mov eax, 0x41
jmp 0x14006e3e4
mov ebx, r13d
test r8b, r8b
je 0x14006e314
movzx esi, byte [rsp]
movzx r8d, sil
mov byte [r10 + 0x15], bpl
mov eax, dword [r9]
not r8b
shr eax, 4
lea r9, [r10 + 0x11c]
and al, 1
and r8b, 1
mov byte [r10 + 0x12], al
not sil
add r8b, r8b
mov eax, ebp
and sil, 1
mov qword [r9 + rax*8], r13
add r8b, 0x27
lea r9, [r9 + rax*8]
or sil, 6
cmp edx, 0xff
jne 0x14006e2a5
cmp ecx, edx
je 0x14006e284
test dword [rdi + 0xc], ebx
jne 0x14006e284
mov edx, ecx
jmp 0x14006e2a5
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 4]
not eax
and eax, edx
jne 0x14006e2a2
mov eax, edx
not eax
and eax, dword [rdi]
jne 0x14006e2a2
mov eax, 0x40
jmp 0x14006e3e4
bsf edx, eax
mov eax, edx
movzx r11d, sil
shl r11d, 8
or eax, r11d
movzx r8d, r8b
shl eax, 0x10
or eax, r8d
bts eax, 8
mov dword [r9], eax
mov eax, edx
mov byte [rax + rdi + 0x20], bpl
mov eax, dword [rdi + 0xc]
btc eax, edx
mov dword [rdi + 0xc], eax
mov eax, dword [rdi + 4]
bts eax, edx
mov dword [rdi + 4], eax
cmp ecx, 0xff
je 0x14006e30b
mov eax, ecx
or eax, r11d
shl eax, 0x10
or eax, r8d
bts eax, 8
mov dword [r9 + 4], eax
mov eax, dword [rdi + 0x10]
bts eax, ecx
mov dword [rdi + 0x10], eax
mov eax, dword [rdi + 4]
bts eax, ecx
mov dword [rdi + 4], eax
jmp 0x14006e312
or dword [r9], 0x800
inc ebp
mov dword [r10 + 0x18], ebp
test ebp, ebp
je 0x14006e3e2
mov eax, r13d
lea rcx, [r10 + rax*8]
mov r8d, dword [rcx + 0x11c]
mov eax, r8d
shr eax, 8
test al, 1
je 0x14006e3d5
mov ecx, dword [rcx + 0x120]
mov eax, ecx
shr eax, 8
test al, 1
je 0x14006e3d5
mov r11, qword [r10]
mov eax, ecx
shr eax, 0x10
movzx ebx, al
mov eax, r8d
shr rax, 0x18
mov edx, dword [r11 + rax*4 + 0x14]
mov eax, ecx
shr rax, 0x18
shr edx, 8
and dl, 0xf
mov ecx, dword [r11 + rax*4 + 0x14]
shr ecx, 8
and cl, 0xf
cmp dl, cl
jne 0x14006e3d5
movzx r9d, dl
shl r9, 6
add r9, r10
mov eax, dword [r9 + 0x28]
bt eax, ebx
jae 0x14006e3d5
movzx ecx, byte [rbx + r9 + 0x3c]
lea rbx, [r10 + rcx*8]
movzx eax, byte [rbx + 0x123]
mov ecx, dword [r11 + rax*4 + 0x14]
shr ecx, 8
and cl, 0xf
cmp cl, dl
jne 0x14006e3d5
shr r8d, 0x10
cmp byte [rbx + 0x122], r8b
jne 0x14006e3d5
inc byte [r9 + 0x34]
movzx ecx, byte [r10 + 0x14]
movzx eax, dl
bts ecx, eax
mov byte [r10 + 0x14], cl
inc r13d
cmp r13d, dword [r10 + 0x18]
jb 0x14006e320
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret