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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x90
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0xa4]
mov edx, dword [edx]
dec edx
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0xa4]
mov eax, dword [ebx + 4]
lea eax, [edx + eax - 5]
mov dword [esp + 0x38], eax
mov esi, dword [ebx + 0xc]
mov dword [esp], esi
dec esi
mov dword [esp + 0x18], esi
mov edx, dword [ebx + 0x10]
mov eax, edx
sub eax, dword [esp + 0xa8]
add esi, eax
mov dword [esp + 0x50], esi
mov ebx, dword [esp + 0x18]
lea edx, [ebx + edx - 0x101]
mov dword [esp + 0x28], edx
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x28]
mov dword [esp + 0x48], esi
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0x38]
mov ebp, dword [edx + 0x3c]
mov edi, dword [edx + 0x4c]
mov ebx, dword [edx + 0x50]
mov dword [esp + 0x44], ebx
mov ecx, dword [edx + 0x54]
mov edx, 1
mov ebx, edx
shl ebx, cl
dec ebx
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x58]
mov dword [esp + 4], ebx
mov cl, byte [esp + 4]
shl edx, cl
dec edx
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x2c]
dec ebx
mov dword [esp + 0x40], ebx
mov edx, dword [esp + 0x20]
shr edx, 2
mov dword [esp + 0x30], edx
shl edx, 2
mov dword [esp + 0x34], edx
sete byte [esp + 0x63]
mov ebx, dword [esp + 0x20]
sub ebx, edx
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x40]
add ebx, edx
mov dword [esp + 0x68], ebx
add eax, dword [esp]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x48]
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x2c]
add edx, 4
mov dword [esp + 0x6c], edx
cmp ebp, 0xe
ja 0x5e8bc7
mov ebx, dword [esp + 0x1c]
xor edx, edx
mov dl, byte [ebx + 1]
mov ecx, ebp
shl edx, cl
xor eax, eax
mov al, byte [ebx + 2]
lea ecx, [ebp + 8]
shl eax, cl
add eax, edx
add esi, eax
add ebp, 0x10
add ebx, 2
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x3c]
and eax, esi
lea eax, [edi + eax*4]
jmp 0x5e8c0a
test bl, 0x10
jne 0x5e8cc0
test bl, 0x40
jne 0x5e8fa0
mov edx, 1
mov cl, bl
shl edx, cl
mov ebx, edx
dec ebx
and ebx, esi
and eax, 0xffff
add ebx, eax
lea eax, [edi + ebx*4]
mov bl, byte [eax]
mov cl, byte [eax + 1]
mov ax, word [eax + 2]
xor edx, edx
mov dl, cl
shr esi, cl
sub ebp, edx
test bl, bl
jne 0x5e8be0
mov ebx, dword [esp + 0x18]
mov byte [ebx + 1], al
inc ebx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x38]
cmp dword [esp + 0x1c], ebx
jae 0x5e8c50
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x18], eax
jb 0x5e8b9d
lea esi, [esi]
lea edi, [edi]
mov edx, ebp
shr edx, 3
mov eax, dword [esp + 0x1c]
sub eax, edx
shl edx, 3
mov ecx, ebp
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
and edx, esi
lea ebx, [eax + 1]
mov esi, dword [esp + 0xa4]
mov dword [esi], ebx
mov ebx, dword [esp + 0x18]
inc ebx
mov dword [esi + 0xc], ebx
mov ebx, dword [esp + 0x38]
sub ebx, eax
mov eax, ebx
add eax, 5
mov dword [esi + 4], eax
mov esi, dword [esp + 0x28]
mov eax, esi
sub eax, dword [esp + 0x18]
add eax, 0x101
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 0x10], eax
mov esi, dword [esp + 0x14]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
add esp, 0x90
pop ebx
pop esi
pop edi
pop ebp
ret
and eax, 0xffff
mov dword [esp + 0x10], eax
and ebx, 0xf
xor eax, eax
mov al, bl
test eax, eax
je 0x5e8d07
cmp eax, ebp
jbe 0x5e8cf3
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov dl, byte [ecx + 1]
mov ecx, ebp
shl edx, cl
add esi, edx
add ebp, 8
mov edx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x1c], edx
mov edx, 1
mov cl, bl
shl edx, cl
dec edx
and edx, esi
add dword [esp + 0x10], edx
shr esi, cl
sub ebp, eax
cmp ebp, 0xe
jbe 0x5e8fc0
mov eax, dword [esp + 0x4c]
and eax, esi
mov ebx, dword [esp + 0x44]
lea edx, [ebx + eax*4]
mov al, byte [edx]
mov cl, byte [edx + 1]
mov dx, word [edx + 2]
xor ebx, ebx
mov bl, cl
shr esi, cl
sub ebp, ebx
test al, 0x10
jne 0x5e8d8a
test al, 0x40
jne 0x5e9010
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x44]
jmp 0x5e8d58
test al, 0x40
jne 0x5e9010
mov ebx, 1
mov cl, al
shl ebx, cl
mov eax, ebx
dec eax
and eax, esi
and edx, 0xffff
add eax, edx
lea edx, [edi + eax*4]
mov al, byte [edx]
mov cl, byte [edx + 1]
mov dx, word [edx + 2]
xor ebx, ebx
mov bl, cl
shr esi, cl
sub ebp, ebx
test al, 0x10
je 0x5e8d50
mov edi, dword [esp + 0x24]
and edx, 0xffff
mov dword [esp + 0x70], edx
and eax, 0xf
xor ebx, ebx
mov bl, al
cmp ebx, ebp
jbe 0x5e8dc3
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov dl, byte [ecx + 1]
mov ecx, ebp
shl edx, cl
add esi, edx
lea ecx, [ebp + 8]
mov dword [esp + 0x74], ecx
cmp ebx, ecx
ja 0x5e92b6
inc dword [esp + 0x1c]
mov ebp, ecx
mov edx, 1
mov cl, al
shl edx, cl
dec edx
and edx, esi
mov dword [esp + 0x24], edx
add edx, dword [esp + 0x70]
mov dword [esp + 0x74], edx
shr esi, cl
sub ebp, ebx
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x50]
cmp edx, eax
jbe 0x5e902d
mov ebx, edx
sub ebx, eax
cmp dword [esp + 0x54], ebx
jae 0x5e8e0b
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x1bc0]
test edx, edx
jne 0x5e9402
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5e90b9
mov edx, dword [esp + 0x48]
sub edx, ebx
add edx, dword [esp + 0x40]
cmp dword [esp + 0x10], ebx
jbe 0x5e8f2a
sub dword [esp + 0x10], ebx
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
sub ecx, eax
sub ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x7c], eax
mov eax, ebx
shr eax, 2
mov dword [esp + 0x80], eax
shl eax, 2
mov dword [esp + 0x70], eax
lea eax, [ecx + 5]
cmp dword [esp + 0x7c], eax
setae byte [esp + 0x24]
mov eax, dword [esp + 0x18]
add eax, 5
cmp dword [esp + 0x78], eax
setae al
or byte [esp + 0x24], al
cmp ebx, 9
seta al
and byte [esp + 0x24], al
mov eax, dword [esp + 0x78]
or eax, dword [esp + 0x7c]
test al, 3
sete al
test byte [esp + 0x24], al
je 0x5e942a
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5e942a
xor eax, eax
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x80]
mov ebx, dword [ecx + eax*4 + 1]
mov dword [edi + eax*4 + 1], ebx
inc eax
cmp edx, eax
ja 0x5e8ed0
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x70]
mov ecx, ebx
sub ecx, dword [esp + 0x70]
add edx, dword [esp + 0x70]
cmp ebx, dword [esp + 0x70]
je 0x5e8f1e
add ecx, eax
mov dword [esp + 0x24], ebx
mov esi, esi
lea edi, [edi]
inc eax
inc edx
mov bl, byte [edx]
mov byte [eax], bl
cmp eax, ecx
jne 0x5e8f10
mov ebx, dword [esp + 0x24]
add dword [esp + 0x18], ebx
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x74]
cmp dword [esp + 0x10], 2
jbe 0x5e8f66
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
lea esi, [esi]
mov bl, byte [edx + 1]
mov byte [eax + 1], bl
mov bl, byte [edx + 2]
mov byte [eax + 2], bl
add eax, 3
add edx, 3
mov bl, byte [edx]
mov byte [eax], bl
sub ecx, 3
cmp ecx, 2
ja 0x5e8f40
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5e8c2b
mov al, byte [edx + 1]
mov ebx, dword [esp + 0x18]
mov byte [ebx + 1], al
cmp dword [esp + 0x10], 2
jne 0x5e93df
mov eax, ebx
mov dl, byte [edx + 2]
mov byte [ebx + 2], dl
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x5e8c2b
and ebx, 0x20
je 0x5e8ff0
mov ebx, dword [esp + 0x14]
mov dword [ebx], 0xb
jmp 0x5e8c50
mov ebx, dword [esp + 0x1c]
xor edx, edx
mov dl, byte [ebx + 1]
mov ecx, ebp
shl edx, cl
xor eax, eax
mov al, byte [ebx + 2]
lea ecx, [ebp + 8]
shl eax, cl
add eax, edx
add esi, eax
add ebp, 0x10
add ebx, 2
mov dword [esp + 0x1c], ebx
jmp 0x5e8d10
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x18], str.invalid_literal_length_code
mov edx, dword [esp + 0x14]
mov dword [edx], 0x1d
jmp 0x5e8c50
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x18], str.invalid_distance_code
mov edx, dword [esp + 0x14]
mov dword [edx], 0x1d
jmp 0x5e8c50
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], edi
jmp 0x5e9056
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dl, byte [eax + 1]
mov byte [ecx + 1], dl
mov dl, byte [eax + 2]
mov byte [ecx + 2], dl
lea edx, [ecx + 3]
mov dword [esp + 0x70], edx
lea edi, [eax + 3]
mov dl, byte [eax + 3]
mov byte [ecx + 3], dl
sub ebx, 3
cmp ebx, 2
ja 0x5e9050
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x70]
test ebx, ebx
je 0x5e92da
mov bl, byte [eax + 4]
mov byte [ecx + 4], bl
cmp dword [esp + 0x10], 2
jne 0x5e93e9
mov al, byte [eax + 5]
mov edx, dword [esp + 0x18]
mov byte [edx + 5], al
add edx, 5
mov dword [esp + 0x18], edx
jmp 0x5e8c2b
cmp dword [esp + 0x20], ebx
jae 0x5e92e3
mov edx, dword [esp + 0x5c]
sub edx, ebx
add edx, dword [esp + 0x40]
sub ebx, dword [esp + 0x20]
mov dword [esp + 0x7c], ebx
cmp dword [esp + 0x10], ebx
jbe 0x5e8f2a
sub dword [esp + 0x10], ebx
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x5c]
sub ecx, eax
sub ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x2c]
lea ebx, [ecx + 1]
mov dword [esp + 0x84], ebx
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x8c], eax
mov ebx, dword [esp + 0x7c]
shr ebx, 2
lea eax, [ebx*4]
mov dword [esp + 0x80], eax
lea eax, [ecx + 5]
cmp dword [esp + 0x8c], eax
setae byte [esp + 0x78]
mov eax, dword [esp + 0x18]
add eax, 5
cmp dword [esp + 0x84], eax
setae al
or byte [esp + 0x78], al
cmp dword [esp + 0x7c], 9
seta al
and byte [esp + 0x78], al
mov eax, dword [esp + 0x84]
or eax, dword [esp + 0x8c]
test al, 3
sete al
test byte [esp + 0x78], al
je 0x5e943d
mov eax, dword [esp + 0x80]
test eax, eax
je 0x5e943d
xor eax, eax
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x78], edx
mov edx, dword [ecx + eax*4 + 1]
mov dword [edi + eax*4 + 1], edx
inc eax
cmp ebx, eax
ja 0x5e919c
mov edi, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x80]
add edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x80]
cmp dword [esp + 0x7c], ebx
je 0x5e91ea
add ecx, eax
inc eax
inc edx
mov bl, byte [edx]
mov byte [eax], bl
cmp eax, ecx
jne 0x5e91e0
mov ebx, dword [esp + 0x18]
add ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x20], eax
jae 0x5e93f5
mov edx, dword [esp + 0x20]
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
sub eax, edx
add eax, dword [esp + 0x70]
add eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
add edx, eax
lea eax, [edx + 4]
cmp dword [esp + 0x2c], eax
setae cl
cmp edx, dword [esp + 0x6c]
setae al
or ecx, eax
cmp dword [esp + 0x20], 9
seta al
and ecx, eax
mov eax, dword [esp + 0x2c]
or eax, edx
test al, 3
sete al
test cl, al
je 0x5e941b
cmp byte [esp + 0x63], 0
jne 0x5e941b
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
mov ebx, dword [ecx + eax*4]
mov dword [edx + eax*4], ebx
inc eax
cmp dword [esp + 0x30], eax
ja 0x5e9266
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
add edx, ebx
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x20], eax
je 0x5e92a3
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
add ecx, edx
mov dword [esp + 0x18], ebx
inc edx
inc eax
mov bl, byte [eax]
mov byte [edx], bl
cmp edx, ecx
jne 0x5e9295
mov ebx, dword [esp + 0x18]
add ebx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
mov edx, ebx
sub edx, dword [esp + 0x74]
jmp 0x5e8f2a
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov dl, byte [ecx + 2]
mov cl, byte [esp + 0x74]
shl edx, cl
add esi, edx
add ebp, 0x10
mov edx, dword [esp + 0x1c]
add edx, 2
mov dword [esp + 0x1c], edx
jmp 0x5e8dc3
mov dword [esp + 0x18], edx
jmp 0x5e8c2b
mov edx, dword [esp + 0x20]
sub edx, ebx
add edx, dword [esp + 0x40]
cmp dword [esp + 0x10], ebx
jbe 0x5e8f2a
sub dword [esp + 0x10], ebx
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
sub ecx, eax
sub ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x80], eax
mov eax, ebx
shr eax, 2
mov dword [esp + 0x70], eax
shl eax, 2
mov dword [esp + 0x78], eax
lea eax, [ecx + 5]
cmp dword [esp + 0x80], eax
setae byte [esp + 0x24]
mov eax, dword [esp + 0x18]
add eax, 5
cmp dword [esp + 0x7c], eax
setae al
or byte [esp + 0x24], al
cmp ebx, 9
seta al
and byte [esp + 0x24], al
mov eax, dword [esp + 0x7c]
or eax, dword [esp + 0x80]
test al, 3
sete al
test byte [esp + 0x24], al
je 0x5e9435
mov eax, dword [esp + 0x78]
test eax, eax
je 0x5e9435
xor eax, eax
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + eax*4 + 1]
mov dword [edi + eax*4 + 1], edx
inc eax
cmp dword [esp + 0x70], eax
ja 0x5e9397
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x78]
mov ecx, ebx
sub ecx, dword [esp + 0x78]
add edx, dword [esp + 0x78]
cmp ebx, dword [esp + 0x78]
je 0x5e8f1e
add ecx, eax
mov dword [esp + 0x24], ebx
inc eax
inc edx
mov bl, byte [edx]
mov byte [eax], bl
cmp eax, ecx
jne 0x5e93d0
jmp 0x5e8f1a
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x5e8c2b
add ecx, 4
mov dword [esp + 0x18], ecx
jmp 0x5e8c2b
mov edx, dword [esp + 0x40]
mov dword [esp + 0x18], ebx
jmp 0x5e8f2a
mov edx, dword [esp + 0xa4]
mov dword [edx + 0x18], str.invalid_distance_too_far_back
mov dword [eax], 0x1d
jmp 0x5e8c50
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov edx, ebx
jmp 0x5e928f
mov ecx, ebx
mov eax, dword [esp + 0x18]
jmp 0x5e8f01
mov ecx, ebx
mov eax, dword [esp + 0x18]
jmp 0x5e93ca
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x18]
jmp 0x5e91de