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

Disassembly:
push ebp
push edi
push esi
push ebx
add esp, 0xffffff80
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x1c]
mov ebx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax]
mov edi, eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 4]
lea eax, [edi + eax - 5]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0xc]
mov edi, eax
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x10]
mov edx, eax
lea eax, [edi + eax - 0x101]
sub edx, dword [esp + 0x98]
mov dword [esp + 0x10], eax
mov eax, ebx
mov ebx, dword [ebx + 0x2c]
mov esi, dword [eax + 0x38]
mov ebp, dword [eax + 0x3c]
add edx, edi
mov edi, dword [eax + 0x30]
mov dword [esp + 0x24], ebx
mov ebx, dword [eax + 0x34]
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], esi
mov esi, eax
mov dword [esp + 0x34], edi
mov edi, dword [eax + 0x40]
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x54]
mov dword [esp + 8], ecx
mov ecx, dword [eax + 0x58]
mov eax, 1
mov dword [esp + 0x20], edx
mov edx, eax
shl edx, cl
mov ecx, dword [esi + 0x5c]
mov esi, ebx
sub edx, 1
mov dword [esp + 0x18], edx
shl eax, cl
lea edx, [eax - 1]
mov eax, ebx
sub eax, 4
shr eax, 2
mov dword [esp + 0x28], edx
lea edx, [ebx - 1]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], edx
lea edx, [ebx + 4]
mov dword [esp + 0x4c], ecx
shl ecx, 2
add eax, ebx
sub esi, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], eax
add eax, 4
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, 4
sub eax, ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], eax
add esi, ecx
mov dword [esp + 0x3c], esi
cmp edi, 0xe
ja 0x48880d
mov esi, dword [esp + 4]
lea ecx, [edi + 8]
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
shl edx, cl
mov ecx, edi
add edi, 0x10
shl eax, cl
add edx, eax
mov eax, esi
add eax, 2
add ebp, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
and eax, ebp
lea ecx, [ebx + eax*4]
movzx edx, byte [ecx]
movzx eax, word [ecx + 2]
movzx ecx, byte [ecx + 1]
shr ebp, cl
sub edi, ecx
movzx ecx, dl
test ecx, ecx
je 0x48887b
test dl, 0x10
jne 0x488922
test dl, 0x40
jne 0x488b70
mov esi, 1
jmp 0x488857
test dl, 0x10
jne 0x488922
test dl, 0x40
jne 0x488b70
mov edx, esi
shl edx, cl
sub edx, 1
and edx, ebp
add edx, eax
lea ecx, [ebx + edx*4]
movzx edx, byte [ecx]
movzx eax, word [ecx + 2]
movzx ecx, byte [ecx + 1]
shr ebp, cl
sub edi, ecx
movzx ecx, dl
test ecx, ecx
jne 0x488845
mov esi, dword [esp]
mov byte [esi], al
lea eax, [esi + 1]
mov dword [esp], eax
mov esi, dword [esp + 0xc]
cmp dword [esp + 4], esi
jae 0x4888a0
mov esi, dword [esp + 0x10]
cmp dword [esp], esi
jb 0x4887e4
lea esi, [esi]
mov eax, dword [esp + 4]
mov edx, edi
mov ebx, dword [esp + 0x94]
shr edx, 3
sub eax, edx
shl edx, 3
sub edi, edx
mov dword [ebx], eax
mov edx, 1
mov ecx, edi
mov edi, dword [esp]
shl edx, cl
sub edx, 1
mov dword [ebx + 0xc], edi
mov ebx, dword [esp + 0xc]
and edx, ebp
cmp ebx, eax
jbe 0x488b85
sub ebx, eax
mov esi, edi
mov eax, ebx
add eax, 5
mov ebx, dword [esp + 0x94]
mov dword [ebx + 4], eax
mov ebx, dword [esp + 0x10]
mov eax, ebx
sub eax, esi
add eax, 0x101
cmp esi, ebx
jae 0x488906
mov eax, ebx
sub eax, esi
add eax, 0x101
mov ebx, dword [esp + 0x94]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], ecx
sub esp, 0xffffff80
pop ebx
pop esi
pop edi
pop ebp
ret
and edx, 0xf
mov dword [esp + 8], eax
je 0x488965
movzx eax, dl
cmp eax, edi
mov esi, eax
jbe 0x48894f
mov eax, dword [esp + 4]
mov ecx, edi
add edi, 8
movzx eax, byte [eax]
shl eax, cl
add ebp, eax
mov eax, dword [esp + 4]
add eax, 1
mov dword [esp + 4], eax
mov ecx, edx
mov eax, 1
sub edi, esi
shl eax, cl
sub eax, 1
and eax, ebp
add dword [esp + 8], eax
shr ebp, cl
cmp edi, 0xe
jbe 0x488b93
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
and eax, ebp
lea ecx, [ecx + eax*4]
movzx edx, byte [ecx]
movzx eax, word [ecx + 2]
movzx ecx, byte [ecx + 1]
shr ebp, cl
sub edi, ecx
test dl, 0x10
movzx ecx, dl
jne 0x4889d2
and edx, 0x40
jne 0x488be0
mov esi, dword [esp + 0x20]
jmp 0x4889aa
and edx, 0x40
jne 0x488be0
mov edx, 1
shl edx, cl
sub edx, 1
and edx, ebp
add edx, eax
lea ecx, [esi + edx*4]
movzx edx, byte [ecx]
movzx eax, word [ecx + 2]
movzx ecx, byte [ecx + 1]
shr ebp, cl
sub edi, ecx
test dl, 0x10
movzx ecx, dl
je 0x4889a1
and edx, 0xf
mov dword [esp + 0x5c], eax
mov esi, edx
movzx edx, dl
cmp edx, edi
jbe 0x488a01
mov eax, dword [esp + 4]
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
lea ecx, [edi + 8]
add ebp, eax
cmp edx, ecx
ja 0x488df7
add dword [esp + 4], 1
mov edi, ecx
mov ecx, esi
mov eax, 1
sub edi, edx
shl eax, cl
sub eax, 1
and eax, ebp
shr ebp, cl
mov ecx, dword [esp]
mov esi, eax
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
add eax, esi
mov edx, ecx
mov dword [esp + 0x6c], ecx
cmp eax, ecx
mov dword [esp + 0x64], eax
jbe 0x488bfe
mov ecx, eax
sub ecx, edx
cmp dword [esp + 0x34], ecx
mov dword [esp + 0x60], ecx
jae 0x488a58
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x1bc4]
test edx, edx
jne 0x4890c2
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x488c73
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 8]
mov eax, ecx
sub eax, esi
add eax, dword [esp + 0x1c]
cmp edx, esi
jbe 0x488d91
sub edx, esi
mov dword [esp + 8], edx
mov edx, dword [esp + 0x6c]
sub edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x68]
lea esi, [ecx + edx]
lea edx, [ecx + edx + 4]
add edx, dword [esp + 0x1c]
add esi, dword [esp + 0x1c]
cmp dword [esp], edx
mov edx, dword [esp]
setae byte [esp + 0x74]
add edx, 4
mov dword [esp + 0x70], esi
cmp esi, edx
mov esi, dword [esp + 0x60]
setae dl
or dl, byte [esp + 0x74]
cmp esi, 9
seta byte [esp + 0x74]
test byte [esp + 0x74], dl
je 0x489041
mov edx, dword [esp + 0x6c]
add edx, ecx
sub edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x68]
add edx, dword [esp + 0x1c]
or edx, dword [esp]
and edx, 3
jne 0x489041
lea edx, [esi - 4]
mov ecx, dword [esp]
mov dword [esp + 0x6c], eax
shr edx, 2
lea esi, [edx + 1]
xor edx, edx
mov dword [esp + 0x68], esi
shl esi, 2
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x70]
mov eax, dword [eax + edx*4]
mov dword [ecx + edx*4], eax
add edx, 1
cmp edx, dword [esp + 0x68]
jb 0x488b11
mov edx, ecx
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x60]
add edx, ecx
sub esi, ecx
add eax, ecx
cmp dword [esp + 0x60], ecx
je 0x488d83
movzx ecx, byte [eax]
cmp esi, 1
mov byte [edx], cl
je 0x488d83
movzx ecx, byte [eax + 1]
cmp esi, 2
mov byte [edx + 1], cl
jne 0x488d7c
jmp 0x488d83
and edx, 0x20
je 0x488bc0
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 0x3f3f
jmp 0x4888a0
sub ebx, eax
mov esi, edi
mov eax, ebx
add eax, 5
jmp 0x4888e2
mov esi, dword [esp + 4]
lea ecx, [edi + 8]
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
shl edx, cl
mov ecx, edi
add edi, 0x10
shl eax, cl
add edx, eax
mov eax, esi
add eax, 2
add ebp, edx
mov dword [esp + 4], eax
jmp 0x48896e
mov eax, dword [esp + 0x94]
mov dword [eax + 0x18], str.invalid_literal_length_code
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 0x3f51
jmp 0x4888a0
mov eax, dword [esp + 0x94]
mov dword [eax + 0x18], str.invalid_distance_code
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 0x3f51
jmp 0x4888a0
mov ecx, dword [esp]
mov esi, dword [esp + 8]
mov dword [esp + 0x5c], ebx
mov eax, ecx
sub eax, dword [esp + 0x64]
mov dword [esp + 8], eax
jmp 0x488c1d
mov dword [esp + 8], ebx
mov ecx, edx
mov eax, ebx
movzx edx, byte [eax]
lea ebx, [eax + 3]
sub esi, 3
cmp esi, 2
mov byte [ecx], dl
movzx edx, byte [eax + 1]
mov byte [ecx + 1], dl
movzx eax, byte [ebx - 1]
lea edx, [ecx + 3]
mov byte [edx - 1], al
ja 0x488c15
test esi, esi
mov dword [esp], ecx
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x5c]
je 0x488e16
movzx edx, byte [eax + 3]
cmp esi, 2
mov byte [ecx + 3], dl
jne 0x48902f
movzx eax, byte [eax + 4]
mov byte [ecx + 4], al
lea eax, [ecx + 5]
mov dword [esp], eax
jmp 0x488886
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x60]
cmp edx, esi
jb 0x488e1e
mov eax, edx
mov esi, edx
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
sub eax, edx
add eax, ecx
cmp dword [esp + 8], edx
jbe 0x488d91
sub dword [esp + 8], edx
mov edx, dword [esp + 0x6c]
sub edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x68]
add esi, edx
add edx, dword [esp + 0x50]
add esi, ecx
mov dword [esp + 0x70], esi
add edx, ecx
cmp dword [esp], edx
mov edx, dword [esp]
setae byte [esp + 0x74]
add edx, 4
movzx ecx, byte [esp + 0x74]
cmp esi, edx
mov esi, dword [esp + 0x60]
setae dl
or edx, ecx
cmp esi, 9
seta byte [esp + 0x74]
movzx ecx, byte [esp + 0x74]
test cl, dl
je 0x489096
mov edx, dword [esp + 0x6c]
add edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x68]
add edx, dword [esp + 0x1c]
or edx, dword [esp]
and edx, 3
jne 0x489096
lea edx, [esi - 4]
mov ecx, dword [esp]
mov dword [esp + 0x6c], eax
shr edx, 2
lea esi, [edx + 1]
xor edx, edx
mov dword [esp + 0x68], esi
shl esi, 2
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x70]
mov eax, dword [eax + edx*4]
mov dword [ecx + edx*4], eax
add edx, 1
cmp edx, dword [esp + 0x68]
jb 0x488d2f
mov edx, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add edx, esi
sub ecx, esi
add eax, esi
cmp dword [esp + 0x60], esi
mov dword [esp + 0x5c], ecx
je 0x488d83
mov esi, ecx
movzx ecx, byte [eax]
cmp esi, 1
mov byte [edx], cl
je 0x488d83
movzx ecx, byte [eax + 1]
cmp esi, 2
mov byte [edx + 1], cl
je 0x488d83
movzx eax, byte [eax + 2]
mov byte [edx + 2], al
mov esi, dword [esp + 0x60]
add dword [esp], esi
mov eax, dword [esp]
sub eax, dword [esp + 0x64]
cmp dword [esp + 8], 2
mov esi, dword [esp + 8]
jbe 0x488dcc
mov edx, dword [esp]
mov esi, dword [esp + 8]
movzx ecx, byte [eax]
add eax, 3
sub esi, 3
add edx, 3
mov byte [edx - 3], cl
movzx ecx, byte [eax - 2]
mov byte [edx - 2], cl
movzx ecx, byte [eax - 1]
cmp esi, 2
mov byte [edx - 1], cl
ja 0x488da3
mov dword [esp], edx
mov dword [esp + 8], esi
test esi, esi
je 0x488886
movzx edx, byte [eax]
mov ecx, dword [esp]
cmp esi, 2
mov byte [ecx], dl
jne 0x489026
movzx eax, byte [eax + 1]
mov byte [ecx + 1], al
lea eax, [ecx + 2]
mov dword [esp], eax
jmp 0x488886
mov eax, dword [esp + 4]
add edi, 0x10
movzx eax, byte [eax + 1]
shl eax, cl
add ebp, eax
mov eax, dword [esp + 4]
add eax, 2
mov dword [esp + 4], eax
jmp 0x488a01
mov dword [esp], edx
jmp 0x488886
mov eax, dword [esp + 0x38]
mov ecx, esi
sub ecx, edx
sub eax, esi
mov esi, dword [esp + 8]
add eax, dword [esp + 0x1c]
cmp esi, ecx
jbe 0x488d91
mov edx, dword [esp + 0x6c]
sub edx, dword [esp + 0x5c]
sub esi, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 8], esi
mov esi, dword [esp + 0x1c]
mov ecx, edx
sub ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x38]
add edx, ecx
add esi, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x74], esi
add edx, ecx
add edx, dword [esp + 0x1c]
cmp dword [esp], edx
mov edx, dword [esp]
setae cl
add edx, 4
cmp esi, edx
mov esi, dword [esp + 0x60]
setae dl
or edx, ecx
cmp esi, 9
seta cl
test dl, cl
je 0x48906a
mov ecx, dword [esp + 0x6c]
add ecx, dword [esp + 0x38]
mov edx, ecx
sub edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x68]
add edx, dword [esp + 0x1c]
or edx, dword [esp]
and edx, 3
jne 0x48906a
lea edx, [esi - 4]
mov dword [esp + 0x78], eax
shr edx, 2
lea esi, [edx + 1]
xor edx, edx
lea ecx, [esi*4]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp]
mov eax, dword [esp + 0x74]
mov eax, dword [eax + edx*4]
mov dword [ecx + edx*4], eax
add edx, 1
cmp edx, dword [esp + 0x70]
jb 0x488ed6
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], esi
mov esi, dword [esp]
mov eax, dword [esp + 0x78]
lea edx, [esi + ecx]
mov esi, dword [esp + 0x60]
add eax, ecx
sub esi, ecx
cmp dword [esp + 0x60], ecx
mov dword [esp + 0x70], esi
je 0x488f2a
movzx ecx, byte [eax]
cmp esi, 1
mov byte [edx], cl
je 0x488f2a
movzx ecx, byte [eax + 1]
cmp esi, 2
mov byte [edx + 1], cl
je 0x488f2a
movzx eax, byte [eax + 2]
mov byte [edx + 2], al
mov esi, dword [esp]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 8]
add ecx, esi
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, edx
jae 0x489038
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x6c]
sub edx, ecx
add eax, dword [esp + 0x68]
mov dword [esp + 8], edx
mov edx, eax
add eax, dword [esp + 0x58]
sub edx, ecx
add edx, esi
mov dword [esp + 0x60], edx
add eax, esi
cmp dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
setae dl
add eax, 4
cmp dword [esp + 0x60], eax
setae al
or eax, edx
cmp ecx, 9
seta dl
test al, dl
je 0x4890e0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x5c]
add edx, ecx
sub eax, edx
add eax, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
add eax, esi
or eax, edx
test al, 3
jne 0x4890e0
cmp dword [esp + 0x44], 2
jbe 0x4890b8
mov esi, dword [esp + 8]
mov dword [esp + 8], edx
xor eax, eax
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
add eax, 1
cmp eax, dword [esp + 0x4c]
jb 0x488fc6
mov dword [esp + 8], esi
mov eax, dword [esp]
mov esi, dword [esp + 0x48]
add eax, esi
cmp dword [esp + 0x2c], esi
je 0x489011
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
movzx ecx, byte [edx]
cmp esi, 1
mov byte [eax], cl
je 0x489011
movzx ecx, byte [edx + 1]
cmp esi, 2
mov byte [eax + 1], cl
je 0x489011
movzx edx, byte [edx + 2]
mov byte [eax + 2], dl
mov ecx, dword [esp]
add ecx, dword [esp + 0x2c]
mov eax, ecx
mov dword [esp], ecx
sub eax, dword [esp + 0x64]
jmp 0x488d91
add dword [esp], 1
jmp 0x488886
add dword [esp], 4
jmp 0x488886
mov eax, dword [esp + 0x1c]
jmp 0x488d91
add esi, eax
mov edx, dword [esp]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 8]
add eax, 1
add edx, 1
movzx ecx, byte [eax - 1]
cmp dword [esp + 0x5c], eax
mov byte [edx - 1], cl
jne 0x48904e
mov dword [esp + 8], esi
jmp 0x488d83
lea ecx, [eax + esi]
mov edx, dword [esp]
mov esi, dword [esp + 8]
mov dword [esp + 0x70], ebx
add eax, 1
movzx ebx, byte [eax - 1]
add edx, 1
cmp eax, ecx
mov byte [edx - 1], bl
jne 0x489078
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x70]
jmp 0x488f2a
add esi, eax
mov edx, dword [esp]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 8]
add eax, 1
add edx, 1
movzx ecx, byte [eax - 1]
cmp eax, dword [esp + 0x5c]
mov byte [edx - 1], cl
jne 0x4890a3
jmp 0x489061
mov esi, ecx
mov eax, dword [esp]
jmp 0x488ff4
mov eax, dword [esp + 0x94]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 0x3f51
jmp 0x4888a0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp]
add esi, eax
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 8]
add eax, 1
add edx, 1
movzx ecx, byte [eax - 1]
cmp eax, dword [esp + 0x5c]
mov byte [edx - 1], cl
jne 0x4890f5
mov dword [esp + 8], esi
jmp 0x489011