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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x308
mov qword [rsp + 0x58], r8
mov rdi, rdx
test r9b, r9b
mov qword [rsp + 0x30], rcx
je 0x14005df4f
lea r14, [rcx + 0xd80]
lea r9, [0x14011d3e0]
xor esi, esi
mov r8d, 0x90
mov rcx, r14
xor edx, edx
call fcn.14005f367
cmp rdx, rsi
je 0x14005dfc6
mov byte [rax + rsi], 8
inc rsi
jmp 0x14005df3d
mov word [rcx + 0x200], 1
xor r15d, r15d
mov byte [rsp + 0x20], r15b
mov r8d, 0x120
mov r9d, 0xf
xor edx, edx
call fcn.14005e953
mov byte [rsp + 0x20], r15b
mov edx, 1
mov r8d, 0x20
mov r9d, 0xf
mov rcx, qword [rsp + 0x30]
call fcn.14005e953
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 0xd80]
mov qword [rsp + 0x78], rax
lea rax, [rcx + 0xe9d]
cmp r15, 0x1d
je 0x14005e39e
cmp byte [rax], 0
jne 0x14005e3a4
inc r15
dec rax
jmp 0x14005dfab
lea r9, [0x14011d3f8]
mov edx, 0x90
mov r8d, 0x100
mov rcx, r14
call fcn.14005f367
xor ecx, ecx
cmp rdx, rcx
je 0x14005dff0
mov byte [rax + rcx], 9
inc rcx
jmp 0x14005dfe2
lea r9, [0x14011d410]
mov edx, 0x100
mov r8d, 0x118
mov rcx, r14
call fcn.14005f367
xor ecx, ecx
cmp rdx, rcx
je 0x14005e01a
mov byte [rax + rcx], 7
inc rcx
jmp 0x14005e00c
lea r9, [0x14011d428]
mov edx, 0x118
mov r8d, 0x120
mov rcx, r14
call fcn.14005f367
xor ecx, ecx
mov r8, qword [rsp + 0x30]
cmp rdx, rcx
je 0x14005e049
mov byte [rax + rcx], 8
inc rcx
jmp 0x14005e03b
lea rdx, [r8 + 0xea0]
lea r9, [0x14011d440]
mov ecx, 0x20
mov r8d, 0x120
call fcn.14004a28e
xor ecx, ecx
cmp rdx, rcx
je 0x14005e077
mov byte [rax + rcx], 5
inc rcx
jmp 0x14005e069
mov bl, 1
mov byte [rsp + 0x20], bl
mov r8d, 0x120
mov r9d, 0xf
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
xor edx, edx
call fcn.14005e953
mov byte [rsp + 0x20], bl
mov edx, 1
mov r8d, 0x20
mov r9d, 0xf
mov rcx, rsi
call fcn.14005e953
mov rcx, rdi
mov edx, 1
mov r8d, 2
call fcn.14005de73
mov r10, qword [rsp + 0x58]
mov rbx, qword [r10 + 0x10000]
cmp rbx, 0x10001
jae 0x14005e8bc
mov r13d, dword [rdi + 0x18]
mov r14d, dword [rdi + 0x1c]
mov esi, 1
xor r12d, r12d
mov r9, qword [rsp + 0x30]
mov qword [rsp + 0x80], rdi
cmp r12, rbx
jae 0x14005e341
cmp esi, 1
jne 0x14005e11f
movzx edi, byte [r10 + r12]
or edi, 0x100
inc r12
mov r11, r12
jmp 0x14005e124
mov r11, r12
mov edi, esi
test dil, 1
jne 0x14005e18e
lea rax, [r11 + 3]
mov edx, 3
mov r12, r11
sub edx, 1
jb 0x14005e22b
cmp r12, rbx
jae 0x14005e80e
mov esi, edi
shr esi, 1
movzx r8d, byte [r10 + r12]
inc r12
movzx r15d, word [r9 + r8*2 + 0x6c0]
mov ecx, r14d
shl r15, cl
movzx ebp, byte [r9 + r8 + 0xd80]
or r15, r13
add ebp, r14d
test dil, 2
jne 0x14005e2b0
mov r14d, ebp
mov r13, r15
mov edi, esi
cmp r12, rbx
jb 0x14005e136
jmp 0x14005e2b0
cmp r11, rbx
lea r12, [0x14011d608]
jae 0x14005e85d
movzx esi, byte [r10 + r11]
mov rbp, r11
lea r8, [r11 + 1]
mov rcx, r10
mov rdx, rbx
call fcn.14005f38d
lea rcx, [0x14011d668]
movzx r10d, word [rcx + rsi*2]
cmp r10, 0x120
jae 0x14005e827
lea rcx, [0x14011d880]
movzx r9d, byte [rsi + rcx]
cmp r9, 0x11
mov r11, qword [rsp + 0x30]
jae 0x14005e849
movzx r15d, word [r11 + r10*2 + 0x6c0]
mov ecx, r14d
shl r15, cl
movzx ecx, byte [r11 + r10 + 0xd80]
add ecx, r14d
and esi, dword [r12 + r9*4]
shl rsi, cl
movzx edx, ax
cmp ax, 0x200
jae 0x14005e236
lea rax, [0x14011dab0]
lea r8, [rax + rdx]
lea rax, [0x14011dcb0]
add rax, rdx
jmp 0x14005e258
mov ebp, r14d
mov r15, r13
mov r12, rax
jmp 0x14005e2ae
mov eax, edx
shr eax, 8
test dx, dx
js 0x14005e892
lea r8, [0x14011d998]
add r8, rax
lea r10, [0x14011da30]
add rax, r10
movzx r10d, byte [rax]
cmp r10, 0x11
jae 0x14005e835
shr edi, 1
mov r14, rbp
add r14, 3
movzx eax, r9b
add ecx, eax
movzx eax, byte [r8]
movzx r8d, word [r11 + rax*2 + 0x900]
shl r8, cl
movzx eax, byte [r11 + rax + 0xea0]
add eax, ecx
and edx, dword [r12 + r10*4]
mov ecx, eax
shl rdx, cl
movzx ebp, r10b
or r15, rsi
or r15, r8
or r15, rdx
or r15, r13
add ebp, eax
mov r12, r14
mov esi, edi
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rdi + 0x10]
mov r8, qword [rdi]
mov r9, qword [rdi + 8]
lea rdx, [rcx + 8]
lea rax, [0x14011d150]
mov qword [rsp + 0x20], rax
call fcn.14006ed81
mov qword [rsp + 0x88], r15
lea rcx, [0x14011d168]
mov qword [rsp + 0x20], rcx
mov r9d, 8
mov rcx, rax
lea r8, [rsp + 0x88]
call fcn.140060059
mov edx, ebp
shr edx, 3
mov al, 2
add rdx, qword [rdi + 0x10]
jb 0x14005e651
cmp rdx, qword [rdi + 8]
ja 0x14005e651
mov ecx, ebp
and cl, 0x38
shr r15, cl
mov qword [rdi + 0x10], rdx
and ebp, 7
mov r14d, ebp
mov r13, r15
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x58]
jmp 0x14005e0fe
and qword [rdi + 0x18], 0
lea rsi, [0x14011d608]
test r14d, r14d
je 0x14005e37f
cmp r14d, 0x10
mov ebx, 0x10
cmovb ebx, r14d
mov edx, dword [rsi + rbx*4]
and edx, r13d
mov rcx, rdi
mov r8d, ebx
call fcn.14005de73
mov r9, qword [rsp + 0x30]
mov ecx, ebx
shr r13, cl
sub r14d, ebx
jmp 0x14005e34d
movzx edx, word [r9 + 0x8c0]
movzx r8d, byte [r9 + 0xe80]
mov rcx, rdi
call fcn.14005de73
mov al, 1
jmp 0x14005e651
mov r15d, 0x1d
mov eax, 0x11e
sub rax, r15
mov qword [rsp + 0x70], rax
lea rdx, [rcx + 0xea0]
lea rax, [rcx + 0xebd]
xor esi, esi
mov qword [rsp + 0x50], rdx
cmp rsi, 0x1d
je 0x14005e3d9
cmp byte [rax], 0
jne 0x14005e3de
inc rsi
dec rax
jmp 0x14005e3c6
mov esi, 0x1d
mov ebp, 0x1e
sub rbp, rsi
lea r14, [rsp + 0x1c8]
mov r8d, 0x140
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x88]
mov r8d, 0x140
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rbx, qword [rsp + 0x70]
lea r13, [rbx + rbp]
lea r9, [0x14011d458]
mov r8d, 0x140
mov rcx, rbx
mov rdx, r14
call fcn.14004a28e
mov r14, rax
mov r12, rdx
lea r8, [0x14011d470]
mov rcx, qword [rsp + 0x78]
mov rdx, rbx
call fcn.14005f1d0
mov r9, rdx
lea rcx, [0x14011d488]
mov qword [rsp + 0x20], rcx
mov rcx, r14
mov rdx, r12
mov r8, rax
call fcn.140060059
lea rax, [0x14011d4a0]
mov qword [rsp + 0x20], rax
mov r9d, 0x140
mov rcx, rbx
mov rdx, r13
lea r8, [rsp + 0x1c8]
call fcn.14006ed81
mov r14, rax
mov r12, rdx
lea r8, [0x14011d4b8]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], rbp
mov rdx, rbp
call fcn.14005f1d0
mov r9, rdx
lea rcx, [0x14011d4d0]
mov qword [rsp + 0x20], rcx
mov rcx, r14
mov rdx, r12
mov r8, rax
call fcn.140060059
and qword [rsp + 0x3c], 0
mov byte [rsp + 0x44], 0xff
mov eax, 0x480
mov r9, qword [rsp + 0x30]
cmp rax, 0x4a6
je 0x14005e4f5
and word [r9 + rax], 0
add rax, 2
jmp 0x14005e4e1
and qword [rsp + 0x48], 0
cmp r13, 0x141
jae 0x14005e8d0
mov r12, rdi
add rsi, r15
mov edi, 0x13c
sub rdi, rsi
xor esi, esi
lea r13, [rsp + 0x3c]
lea rbp, [rsp + 0x88]
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x64]
cmp rdi, rsi
je 0x14005e614
movzx ebx, byte [rsp + rsi + 0x1c8]
mov rcx, r13
mov rdx, rbp
mov r8, r14
test rbx, rbx
je 0x14005e589
call fcn.14005f1f9
test al, al
jne 0x14005e64f
cmp bl, byte [rsp + 0x44]
jne 0x14005e5bc
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp eax, 6
jne 0x14005e603
mov rcx, r13
mov rdx, rbp
mov r8, r14
mov r9, qword [rsp + 0x30]
call fcn.14005f28f
jmp 0x14005e5ff
call fcn.14005f28f
test al, al
jne 0x14005e64f
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp eax, 0x8a
jne 0x14005e603
mov rcx, r13
mov rdx, rbp
mov r8, r14
mov r9, qword [rsp + 0x30]
call fcn.14005f1f9
jmp 0x14005e5ff
mov rcx, r13
mov rdx, rbp
mov r8, r14
mov r9, qword [rsp + 0x30]
call fcn.14005f28f
test al, al
jne 0x14005e64f
mov rax, qword [rsp + 0x30]
inc word [rax + rbx*2 + 0x480]
mov byte [rsp + 0x64], bl
mov qword [rsp + 0x20], r14
mov edx, 1
mov r9d, 0x140
mov rcx, r15
mov r8, rbp
call fcn.14005f316
test al, al
jne 0x14005e64f
mov byte [rsp + 0x44], bl
inc rsi
mov r9, qword [rsp + 0x30]
jmp 0x14005e52f
cmp dword [rsp + 0x40], 0
je 0x14005e634
lea rcx, [rsp + 0x3c]
lea rdx, [rsp + 0x88]
lea r8, [rsp + 0x48]
call fcn.14005f28f
jmp 0x14005e64b
lea rcx, [rsp + 0x3c]
lea rdx, [rsp + 0x88]
lea r8, [rsp + 0x48]
call fcn.14005f1f9
test al, al
je 0x14005e665
mov al, 2
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rsp + 0x20], 0
mov esi, 0x13
mov edx, 2
mov r8d, 0x13
mov r9d, 7
mov rcx, qword [rsp + 0x30]
call fcn.14005e953
mov rdi, r12
mov rcx, r12
mov edx, 2
mov r8d, 2
call fcn.14005de73
mov rdx, qword [rsp + 0x70]
add edx, 0xfffffeff
mov rcx, r12
mov r8d, 5
call fcn.14005de73
mov rdx, qword [rsp + 0x50]
dec edx
mov rcx, r12
mov r8d, 5
call fcn.14005de73
lea rcx, [0x14011d512]
xor eax, eax
mov r8, qword [rsp + 0x78]
cmp rax, 0x13
je 0x14005e6fb
movzx edx, byte [rcx]
cmp byte [r8 + rdx + 0x240], 0
jne 0x14005e6f8
inc rax
dec rcx
jmp 0x14005e6dc
mov rsi, rax
mov edi, 0x13
mov eax, 0x13
sub rax, rsi
cmp rax, 5
mov r14d, 4
cmovae r14, rax
lea edx, [r14 - 4]
mov rcx, r12
mov r8d, 4
call fcn.14005de73
cmp rdi, rsi
jb 0x14005e8e4
xor esi, esi
lea rdi, [0x14011d500]
mov rcx, qword [rsp + 0x30]
cmp r14, rsi
je 0x14005e768
movzx eax, byte [rsi + rdi]
movzx edx, byte [rcx + rax + 0xfc0]
mov rcx, r12
mov r8d, 3
call fcn.14005de73
mov rcx, qword [rsp + 0x30]
inc rsi
jmp 0x14005e73f
xor ebx, ebx
movabs rsi, 0x300000002
cmp rbx, qword [rsp + 0x48]
jae 0x14005e806
mov r14, rbx
cmp rbx, 0x13f
ja 0x14005e866
movzx edi, byte [rsp + r14 + 0x88]
cmp rdi, 0x13
mov rax, qword [rsp + 0x30]
jae 0x14005e87a
lea rbx, [r14 + 1]
movzx edx, word [rax + rdi*2 + 0xb40]
movzx r8d, byte [rax + rdi + 0xfc0]
mov rcx, r12
call fcn.14005de73
cmp dil, 0x10
jb 0x14005e774
cmp r14, 0x13f
je 0x14005e8a6
movzx edx, byte [rsp + r14 + 0x89]
mov qword [rsp + 0x64], rsi
mov dword [rsp + 0x6c], 7
mov r8d, dword [rsp + rdi*4 + 0x24]
mov rcx, r12
call fcn.14005de73
add r14, 2
mov rbx, r14
jmp 0x14005e774
mov rdi, r12
jmp 0x14005e0c8
cmp r11, rbx
cmovbe r11, rbx
lea r8, [0x14011dec8]
mov rcx, r11
mov rdx, rbx
call fcn.1400ddf70
lea r8, [0x14011d868]
mov edx, 0x120
jmp 0x14005e841
lea r8, [0x14011deb0]
mov edx, 0x11
mov rcx, r10
call fcn.1400ddf70
lea r8, [0x14011d980]
mov edx, 0x11
mov rcx, r9
call fcn.1400ddf70
lea r8, [0x14011d650]
jmp 0x14005e81c
lea r8, [0x14011d530]
mov edx, 0x140
mov rcx, r14
call fcn.1400ddf70
lea rcx, str.assertion_failed:_code___MAX_HUFF_SYMBOLS_2
lea r8, [0x14011d578]
mov edx, 0x2b
call fcn.1400de050
lea r8, [0x14011da18]
mov edx, 0x80
mov rcx, rax
call fcn.1400ddf70
lea r8, [0x14011d590]
mov ecx, 0x140
mov edx, 0x140
call fcn.1400ddf70
lea r8, [0x14011dee0]
mov edx, 0x10000
mov rcx, rbx
call fcn.1400ddfe0
lea r8, [0x14011d4e8]
mov edx, 0x140
mov rcx, r13
call fcn.1400ddfe0
lea r8, [0x14011d518]
mov edx, 0x13
mov rcx, r14
call fcn.1400ddfe0
int3