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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov edi, dword [ebp + 0x14]
mov eax, dword [0x1008e00c]
xor eax, ebp
mov dword [esp + 0x60], eax
xor ebx, ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x40], bl
mov byte [esp + 0x1f], bl
mov byte [esp + 0x1e], bl
cmp dword [ecx + 0x3c], 0
je 0x1005e5ec
mov dword [esp], ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
sub esp, 0x1c
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
movups xmmword [esp], xmm0
call fcn.1005e71a
add esp, 0x1c
mov ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, eax
mov edx, eax
movzx ebx, bl
inc ebx
shr edx, 7
cmp ecx, 0x7f
mov ecx, edx
ja 0x1005e44c
movzx esi, bl
add esi, eax
mov ecx, dword [esp]
push edi
call fcn.1004dc6a
test eax, eax
je 0x1005e695
mov ebx, eax
mov eax, dword [eax + 0x38]
sub eax, dword [ebx + 4]
cmp esi, eax
jbe 0x1005e577
mov dword [esp + 4], esi
mov byte [esp + 0x1f], 1
mov esi, dword [esp]
mov ecx, esi
push edi
call fcn.1004dd5a
test eax, eax
je 0x1005e6b9
mov edi, eax
mov eax, dword [ebx + 0x38]
sub eax, dword [ebx + 4]
lea edx, [esp + 8]
mov ecx, ebx
push eax
push edx
call fcn.1004dcfa
movsd xmm0, qword [esi + 0x50]
movsd qword [edi + 0x40], xmm0
mov eax, dword [edi + 0x38]
add dword [esi + 0x50], eax
adc dword [esi + 0x54], 0
mov esi, dword [esp + 4]
mov ebx, esi
lea eax, [esp + 8]
sub ebx, dword [eax]
mov dword [edi], ebx
mov dword [edi + 4], ebx
lea eax, [esp + 0x48]
push 1
push eax
call fcn.10021dea
add esp, 8
lea eax, [esp + 0x48]
movsd xmm0, qword [eax + 0x10]
movsd qword [edi + 0x18], xmm0
movups xmm0, xmmword [eax]
movups xmmword [edi + 8], xmm0
cmp ebx, 0xffffffff
je 0x1005e6e3
mov byte [esp + 0x1e], 1
cmp byte [esp + 0x40], 0
jne 0x1005e6a4
add edi, 0x58
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
add eax, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
adc edx, 0
mov dword [esp + 0x3c], edx
test ecx, ecx
jne 0x1005e557
test ebx, ebx
jne 0x1005e6ce
mov byte [esp + 0x40], 1
mov ecx, dword [esp]
add dword [ecx + 0x60], esi
adc dword [ecx + 0x64], 0
mov eax, dword [ebp + 0x18]
add dword [ecx + 0x68], eax
mov eax, dword [ebp + 0x1c]
adc dword [ecx + 0x6c], eax
mov edi, dword [ebp + 0x14]
jmp 0x1005e5ec
sete byte [esp + 0x1f]
lea eax, [esp + 0x48]
mov ecx, ebx
push esi
push eax
call fcn.1004dcfa
cmp byte [esp + 0x40], 0
jne 0x1005e6a4
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], eax
add eax, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
adc ecx, 0
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x40], 1
mov ecx, dword [esp]
add dword [ecx + 0x60], esi
adc dword [ecx + 0x64], 0
mov eax, dword [ebp + 0x18]
add dword [ecx + 0x68], eax
mov eax, dword [ebp + 0x1c]
adc dword [ecx + 0x6c], eax
mov edx, edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x1f]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
lea eax, [esp + 0x1e]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov byte [esp + 0x58], 1
cmp byte [esp + 0x40], 0
je 0x1005e62f
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
lea ebx, [esp + 0x20]
push ebx
push dword [eax]
call fcn.1004e44a
add esp, 8
cmp byte [ebx + 0x20], 0
jne 0x1005e656
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi], eax
lea ecx, [esp + 0x48]
call fcn.1004e62a
mov ecx, dword [esp + 0x60]
xor ecx, ebp
call fcn.100375ba
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
movups xmm0, xmmword [eax]
sub esp, 0x1c
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
movups xmmword [esp], xmm0
lea esi, [esp + 0x3c]
mov ecx, esi
call fcn.1005e78a
cmp byte [esi + 0x20], 0
je 0x1005e6f8
movsd xmm0, qword [esp + 0x30]
movsd qword [edi], xmm0
jmp 0x1005e636
mov ecx, dword [esp]
add dword [ecx + 0x78], esi
adc dword [ecx + 0x7c], 0
jmp 0x1005e5ec
mov dword [0x1008f8f4], str.__1LZ4FrameDecompressionContext_Compression_mozilla__QAE_XZ
int3
mov eax, dword [esp + 4]
add dword [esi + 0x78], eax
adc dword [esi + 0x7c], 0
mov edi, dword [ebp + 0x14]
mov ecx, esi
jmp 0x1005e5ec
mov dword [0x1008f8f4], 0x10083516
int3
mov dword [0x1008f8f4], 0x10082d42
int3
mov dword [0x1008f8f4], 0x1008371f
int3