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

Disassembly:
sub rsp, 0xc8
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
add rcx, 0x34
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
cmp dword [rax + 0x10], 0x10
jge 0x14003ef4e
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc0]
cmp rax, qword [rcx + 8]
setae al
test al, 1
jne 0x14003ef31
jmp 0x14003ef41
mov dword [rsp + 0xbc], 0xffffffff
jmp 0x14003eff7
mov rcx, qword [rsp + 0xa8]
call fcn.14003f510
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
mov ecx, dword [rcx + 0x14]
and ecx, 0x1ff
mov ecx, ecx
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
je 0x14003efdb
mov eax, dword [rsp + 0xa4]
sar eax, 9
mov dword [rsp + 0xa0], eax
mov ecx, dword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
mov edx, dword [rax + 0x14]
shr edx, cl
mov ecx, edx
mov dword [rax + 0x14], ecx
mov edx, dword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rax + 0x10]
sub ecx, edx
mov dword [rax + 0x10], ecx
mov eax, dword [rsp + 0xa4]
and eax, 0x1ff
mov dword [rsp + 0xbc], eax
jmp 0x14003eff7
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
call fcn.14003f760
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0x100
jge 0x14003f09b
cmp dword [rsp + 0x3c], 0
jge 0x14003f030
lea rcx, str.bad_huffman_code
call fcn.14001a4b0
mov dword [rsp + 0x50], eax
jmp 0x14003f4fd
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
cmp rax, qword [rcx + 0x28]
jb 0x14003f07d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov r8d, 1
call fcn.14003f5f0
cmp eax, 0
jne 0x14003f06f
mov dword [rsp + 0x50], 0
jmp 0x14003f4fd
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x3c]
mov cl, al
mov rax, qword [rsp + 0x40]
mov rdx, rax
add rdx, 1
mov qword [rsp + 0x40], rdx
mov byte [rax], cl
jmp 0x14003f4f8
cmp dword [rsp + 0x3c], 0x100
jne 0x14003f0c4
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x18], rcx
mov dword [rsp + 0x50], 1
jmp 0x14003f4fd
cmp dword [rsp + 0x3c], 0x11e
jl 0x14003f0e7
lea rcx, str.bad_huffman_code
call fcn.14001a4b0
mov dword [rsp + 0x50], eax
jmp 0x14003f4fd
mov eax, dword [rsp + 0x3c]
sub eax, 0x101
mov dword [rsp + 0x3c], eax
movsxd rcx, dword [rsp + 0x3c]
lea rax, [0x140144d80]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x2c], eax
movsxd rcx, dword [rsp + 0x3c]
lea rax, [0x140144e00]
cmp dword [rax + rcx*4], 0
je 0x14003f1a4
movsxd rcx, dword [rsp + 0x3c]
lea rax, [0x140144e00]
mov ecx, dword [rax + rcx*4]
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x74], ecx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
cmp eax, dword [rsp + 0x74]
jge 0x14003f156
mov rcx, qword [rsp + 0x68]
call fcn.14003f510
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
mov ecx, dword [rsp + 0x74]
mov edx, 1
shl edx, cl
mov ecx, edx
sub ecx, 1
and eax, ecx
mov dword [rsp + 0x64], eax
mov ecx, dword [rsp + 0x74]
mov rax, qword [rsp + 0x68]
mov edx, dword [rax + 0x14]
shr edx, cl
mov ecx, edx
mov dword [rax + 0x14], ecx
mov edx, dword [rsp + 0x74]
mov rax, qword [rsp + 0x68]
mov ecx, dword [rax + 0x10]
sub ecx, edx
mov dword [rax + 0x10], ecx
mov eax, dword [rsp + 0x64]
add eax, dword [rsp + 0x2c]
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x48]
add rcx, 0x818
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0x10
jge 0x14003f22b
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
cmp rax, qword [rcx + 8]
setae al
test al, 1
jne 0x14003f20e
jmp 0x14003f21e
mov dword [rsp + 0x94], 0xffffffff
jmp 0x14003f2bf
mov rcx, qword [rsp + 0x80]
call fcn.14003f510
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x14]
and ecx, 0x1ff
mov ecx, ecx
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
je 0x14003f2a3
mov eax, dword [rsp + 0x7c]
sar eax, 9
mov dword [rsp + 0x78], eax
mov ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x14]
shr edx, cl
mov ecx, edx
mov dword [rax + 0x14], ecx
mov edx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x10]
sub ecx, edx
mov dword [rax + 0x10], ecx
mov eax, dword [rsp + 0x7c]
and eax, 0x1ff
mov dword [rsp + 0x94], eax
jmp 0x14003f2bf
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.14003f760
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jl 0x14003f2e0
cmp dword [rsp + 0x3c], 0x1e
jl 0x14003f2f5
lea rcx, str.bad_huffman_code
call fcn.14001a4b0
mov dword [rsp + 0x50], eax
jmp 0x14003f4fd
movsxd rcx, dword [rsp + 0x3c]
lea rax, [0x140144e80]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x28], eax
movsxd rcx, dword [rsp + 0x3c]
lea rax, [0x140144f00]
cmp dword [rax + rcx*4], 0
je 0x14003f3a5
movsxd rcx, dword [rsp + 0x3c]
lea rax, [0x140144f00]
mov ecx, dword [rax + rcx*4]
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x10]
cmp eax, dword [rsp + 0x60]
jge 0x14003f357
mov rcx, qword [rsp + 0x58]
call fcn.14003f510
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
mov ecx, dword [rsp + 0x60]
mov edx, 1
shl edx, cl
mov ecx, edx
sub ecx, 1
and eax, ecx
mov dword [rsp + 0x54], eax
mov ecx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov edx, dword [rax + 0x14]
shr edx, cl
mov ecx, edx
mov dword [rax + 0x14], ecx
mov edx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 0x10]
sub ecx, edx
mov dword [rax + 0x10], ecx
mov eax, dword [rsp + 0x54]
add eax, dword [rsp + 0x28]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x20]
sub rax, rcx
movsxd rcx, dword [rsp + 0x28]
cmp rax, rcx
jge 0x14003f3d9
lea rcx, str.bad_dist
call fcn.14001a4b0
mov dword [rsp + 0x50], eax
jmp 0x14003f4fd
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x2c]
add rax, rcx
mov rcx, qword [rsp + 0x48]
cmp rax, qword [rcx + 0x28]
jbe 0x14003f42d
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.14003f5f0
cmp eax, 0
jne 0x14003f41f
mov dword [rsp + 0x50], 0
jmp 0x14003f4fd
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rdx, dword [rsp + 0x28]
xor ecx, ecx
sub rcx, rdx
add rax, rcx
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x28], 1
jne 0x14003f49f
mov rax, qword [rsp + 0x30]
mov al, byte [rax]
mov byte [rsp + 0x27], al
cmp dword [rsp + 0x2c], 0
je 0x14003f49a
jmp 0x14003f46a
mov cl, byte [rsp + 0x27]
mov rax, qword [rsp + 0x40]
mov rdx, rax
add rdx, 1
mov qword [rsp + 0x40], rdx
mov byte [rax], cl
mov eax, dword [rsp + 0x2c]
add eax, 0xffffffff
mov dword [rsp + 0x2c], eax
cmp eax, 0
jne 0x14003f46a
jmp 0x14003f49a
jmp 0x14003f4f3
cmp dword [rsp + 0x2c], 0
je 0x14003f4ee
jmp 0x14003f4af
mov rax, qword [rsp + 0x30]
mov rcx, rax
add rcx, 1
mov qword [rsp + 0x30], rcx
mov cl, byte [rax]
mov rax, qword [rsp + 0x40]
mov rdx, rax
add rdx, 1
mov qword [rsp + 0x40], rdx
mov byte [rax], cl
mov eax, dword [rsp + 0x2c]
add eax, 0xffffffff
mov dword [rsp + 0x2c], eax
cmp eax, 0
jne 0x14003f4af
jmp 0x14003f4ee
jmp 0x14003f4f3
jmp 0x14003f4f8
jmp 0x14003eeca
mov eax, dword [rsp + 0x50]
add rsp, 0xc8
ret