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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
test ebx, ebx
jne 0x62aa15a3
test eax, eax
je 0x62aa158b
mov dword [eax], 0
mov eax, 0xfffffffe
test esi, esi
je 0x62aa1f3d
mov dword [esi], 0
jmp 0x62aa1f3d
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x70], ecx
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x7c], esi
mov dword [ebx + 0x84], ecx
mov dword [ebp - 0x20], 0
test eax, eax
je 0x62aa15c8
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x88], edx
mov edx, edi
cmp dword [ebx], 0
mov dword [ebx + 0x80], ecx
sete cl
or edx, esi
mov dword [ebx + 0x8c], 0
setne dl
cmp cl, dl
jne 0x62aa1629
cmp dword [ebx + 0x6c], 0
jne 0x62aa1629
cmp dword [ebp + 0x1c], 4
mov edx, dword [ebx + 0x68]
je 0x62aa1608
test edx, edx
jne 0x62aa1629
test eax, eax
je 0x62aa1617
cmp dword [eax], 0
je 0x62aa1617
cmp dword [ebp + 0xc], 0
je 0x62aa162d
test esi, esi
je 0x62aa164e
cmp dword [esi], 0
je 0x62aa164e
test edi, edi
jne 0x62aa164e
jmp 0x62aa1ef0
test eax, eax
je 0x62aa1633
mov dword [eax], 0
test esi, esi
je 0x62aa163d
mov dword [esi], 0
mov dword [ebx + 0x6c], 0xfffffffe
mov eax, 0xfffffffe
jmp 0x62aa1f3d
xor eax, eax
cmp dword [ebp + 0x1c], 4
sete al
or edx, eax
mov dword [ebp - 0x48], eax
cmp dword [ebx + 0x5c], 0
mov dword [ebx + 0x68], edx
jne 0x62aa1ee4
cmp dword [ebx + 0x60], 0
jne 0x62aa1ee4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x20], 0
je 0x62aa1e25
mov eax, dword [ebx + 0x24]
mov edi, dword [ebx + 0x20]
mov dword [ebp - 0x1c], eax
add eax, edi
cmp eax, 1
jbe 0x62aa17f1
mov ecx, dword [ebx + 0x1c]
add ecx, edi
mov edx, ecx
lea esi, [ecx - 2]
dec ecx
mov eax, esi
and ecx, 0x7fff
and eax, 0x7fff
and edx, 0x7fff
movzx ecx, byte [ebx + ecx + 0x90]
movzx eax, byte [ebx + eax + 0x90]
shl eax, 5
xor eax, ecx
mov ecx, 0x102
sub ecx, edi
mov dword [ebp - 0x24], eax
cmp ecx, dword [ebp - 0x20]
jbe 0x62aa16dc
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
sub dword [ebp - 0x20], ecx
add eax, ecx
add ecx, edi
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x20], ecx
mov edi, dword [ebp - 0x30]
cmp dword [ebp - 0x28], edi
je 0x62aa17fe
inc dword [ebp - 0x30]
cmp edx, 0x100
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax - 1]
mov byte [ebx + edx + 0x90], cl
ja 0x62aa1718
mov byte [ebx + edx + 0x8090], cl
mov eax, dword [ebp - 0x24]
mov edi, esi
shl eax, 5
and edi, 0x7fff
xor eax, ecx
inc edx
and eax, 0x7fff
and edx, 0x7fff
mov ecx, eax
mov dword [ebp - 0x24], eax
add ecx, eax
add ecx, ebx
mov ax, word [ecx + 0x29272]
mov word [ebx + edi*2 + 0x19272], ax
mov word [ecx + 0x29272], si
inc esi
jmp 0x62aa16ec
cmp eax, 0x101
ja 0x62aa17fe
inc dword [ebp - 0x30]
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ebp - 0x30]
lea esi, [ecx + eax]
and esi, 0x7fff
dec dword [ebp - 0x20]
mov dl, byte [edi - 1]
cmp esi, 0x100
mov byte [ebx + esi + 0x90], dl
ja 0x62aa178f
mov byte [ebx + esi + 0x8090], dl
inc eax
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x20], eax
lea esi, [edi + eax]
cmp esi, 2
jbe 0x62aa17f1
add eax, ecx
lea esi, [eax - 3]
sub eax, 2
mov edi, esi
and eax, 0x7fff
and edi, 0x7fff
movzx ecx, byte [ebx + eax + 0x90]
movzx eax, byte [ebx + edi + 0x90]
shl ecx, 5
shl eax, 0xa
xor eax, ecx
movzx ecx, dl
xor ecx, eax
and ecx, 0x7fff
add ecx, ecx
lea eax, [ebx + ecx]
mov dx, word [eax + 0x29272]
mov word [ebx + edi*2 + 0x19272], dx
mov word [eax + 0x29272], si
cmp dword [ebp - 0x20], 0
mov eax, dword [ebx + 0x20]
jne 0x62aa1756
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x34], eax
mov eax, 0x8000
sub eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jbe 0x62aa181a
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x34], 0x101
mov dword [ebx + 0x24], eax
ja 0x62aa1833
cmp dword [ebp + 0x1c], 0
je 0x62aa1e3d
mov edi, dword [ebx + 0x50]
mov eax, 2
test edi, edi
je 0x62aa1841
mov eax, edi
mov esi, dword [ebx + 0x1c]
mov dword [ebp - 0x3c], esi
and esi, 0x7fff
mov dword [ebp - 0x28], esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x40], esi
test esi, 0x90000
je 0x62aa18bc
cmp dword [ebp - 0x24], 0
je 0x62aa1f04
and esi, 0x80000
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], esi
jne 0x62aa1f04
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x28]
dec eax
and eax, 0x7fff
lea ecx, [ebx + esi]
mov dl, byte [ebx + eax + 0x90]
xor eax, eax
cmp dword [ebp - 0x34], eax
je 0x62aa18a7
cmp dl, byte [ecx + eax + 0x90]
jne 0x62aa18a7
inc eax
jmp 0x62aa1896
cmp eax, 2
jbe 0x62aa1a71
mov dword [ebp - 0x24], 1
jmp 0x62aa1f04
cmp dword [ebp - 0x34], 0x102
jbe 0x62aa18e1
mov dword [esp + 8], 0x5af
mov dword [esp + 4], 0x62b25538
mov dword [esp], str.max_match_len___TDEFL_MAX_MATCH_LEN
jmp 0x62aa1b0d
cmp dword [ebp - 0x34], eax
jbe 0x62aa1efd
xor edx, edx
cmp eax, 0x1f
seta dl
mov dword [ebp - 0x1c], 0
mov esi, dword [ebx + edx*4 + 0xc]
mov dword [ebp - 0x54], esi
lea esi, [ebx + 0x90]
mov dword [ebp - 0x4c], esi
add esi, dword [ebp - 0x28]
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], esi
lea edx, [esi + eax]
mov cl, byte [ebx + edx + 0x90]
mov byte [ebp - 0x41], cl
mov cl, byte [ebx + edx + 0x8f]
mov byte [ebp - 0x42], cl
dec dword [ebp - 0x54]
je 0x62aa1a5d
mov esi, dword [ebp - 0x2c]
mov dx, word [ebx + esi*2 + 0x19272]
test dx, dx
je 0x62aa1a5d
mov ecx, dword [ebp - 0x3c]
sub ecx, edx
movzx esi, cx
cmp dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
jb 0x62aa1a5d
mov esi, edx
mov cl, byte [ebp - 0x41]
and esi, 0x7fff
mov dword [ebp - 0x2c], esi
add esi, eax
cmp byte [ebx + esi + 0x90], cl
jne 0x62aa1986
mov cl, byte [ebp - 0x42]
cmp byte [ebx + esi + 0x8f], cl
je 0x62aa1a20
mov esi, dword [ebp - 0x2c]
mov dx, word [ebx + esi*2 + 0x19272]
test dx, dx
je 0x62aa1a5d
mov ecx, dword [ebp - 0x3c]
sub ecx, edx
movzx esi, cx
cmp dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
jb 0x62aa1a5d
mov esi, edx
mov cl, byte [ebp - 0x41]
and esi, 0x7fff
mov dword [ebp - 0x2c], esi
add esi, eax
cmp cl, byte [ebx + esi + 0x90]
jne 0x62aa19d3
mov cl, byte [ebp - 0x42]
cmp cl, byte [ebx + esi + 0x8f]
je 0x62aa1a20
mov esi, dword [ebp - 0x2c]
mov dx, word [ebx + esi*2 + 0x19272]
test dx, dx
je 0x62aa1a5d
mov ecx, dword [ebp - 0x3c]
sub ecx, edx
movzx esi, cx
cmp dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
jb 0x62aa1a5d
mov esi, edx
mov cl, byte [ebp - 0x41]
and esi, 0x7fff
mov dword [ebp - 0x2c], esi
add esi, eax
cmp cl, byte [ebx + esi + 0x90]
jne 0x62aa192c
mov cl, byte [ebp - 0x42]
cmp cl, byte [ebx + esi + 0x8f]
jne 0x62aa192c
cmp dword [ebp - 0x38], 0
je 0x62aa1a5d
mov esi, dword [ebp - 0x4c]
add esi, dword [ebp - 0x2c]
mov dword [ebp - 0x58], esi
xor esi, esi
cmp dword [ebp - 0x34], esi
je 0x62aa1a4b
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
mov cl, byte [ecx + esi]
cmp byte [edx + esi], cl
jne 0x62aa1f0f
inc esi
jmp 0x62aa1a31
cmp eax, dword [ebp - 0x34]
jae 0x62aa192c
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], esi
cmp eax, 3
jne 0x62aa1a73
cmp dword [ebp - 0x1c], 0x1fff
ja 0x62aa1ba3
jmp 0x62aa1a73
xor eax, eax
mov edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x28], edx
je 0x62aa1ba3
bt dword [ebp - 0x40], 0x11
jae 0x62aa1a8f
cmp eax, 5
jbe 0x62aa1ba3
test edi, edi
je 0x62aa1c54
cmp edi, eax
jae 0x62aa1bab
mov esi, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x54]
inc dword [ebx + 0x3c]
lea edi, [esi + 1]
mov dword [ebx + 0x28], edi
mov byte [esi], cl
movzx edx, cl
mov ecx, dword [ebx + 0x2c]
shr byte [ecx], 1
mov ecx, dword [ebx + 0x38]
dec ecx
je 0x62aa1ac3
mov dword [ebx + 0x38], ecx
jmp 0x62aa1ad6
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x38], 8
mov dword [ebx + 0x2c], ecx
lea esi, [ecx + 1]
mov dword [ebx + 0x28], esi
inc word [ebx + edx*2 + 0x8192]
cmp eax, 0x7f
jbe 0x62aa1d66
mov edx, dword [ebp - 0x1c]
dec edx
mov dword [ebp - 0x1c], edx
cmp edx, 0x7fff
jbe 0x62aa1b12
mov dword [esp + 8], 0x6a0
mov dword [esp + 4], 0x62b25538
mov dword [esp], str._match_len___TDEFL_MIN_MATCH_LEN____match_dist___1____match_dist___TDEFL_LZ_DICT_SIZE_
call sym.__assert
mov esi, dword [ebx + 0x28]
lea ecx, [eax - 3]
add dword [ebx + 0x3c], eax
mov dl, byte [ebp - 0x1c]
mov byte [esi], cl
mov esi, dword [ebp - 0x1c]
shr esi, 8
mov ecx, dword [ebx + 0x28]
mov byte [ecx + 1], dl
mov edx, esi
mov ecx, dword [ebx + 0x28]
mov byte [ecx + 2], dl
add dword [ebx + 0x28], 3
mov edi, dword [ebx + 0x2c]
mov cl, byte [edi]
shr cl, 1
or ecx, 0xffffff80
mov byte [edi], cl
mov ecx, dword [ebx + 0x38]
dec ecx
je 0x62aa1b4f
mov dword [ebx + 0x38], ecx
jmp 0x62aa1b62
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x38], 8
mov dword [ebx + 0x2c], ecx
lea edi, [ecx + 1]
mov dword [ebx + 0x28], edi
mov edx, dword [ebp - 0x1c]
and edx, 0x1ff
movzx esi, byte [esi + 0x62b3ffa0]
cmp dword [ebp - 0x1c], 0x1ff
mov cl, byte [edx + 0x62b40580]
jbe 0x62aa1b83
mov ecx, esi
movzx ecx, cl
movzx edx, word [eax + eax + 0x62b4011a]
inc word [ebx + ecx*2 + 0x83d2]
inc word [ebx + edx*2 + 0x8192]
jmp 0x62aa1c48
test edi, edi
je 0x62aa1c5a
mov eax, dword [ebx + 0x4c]
dec eax
cmp edi, 2
jbe 0x62aa1af6
cmp eax, 0x7fff
ja 0x62aa1af6
mov edx, dword [ebx + 0x28]
lea ecx, [edi - 3]
add dword [ebx + 0x3c], edi
mov byte [edx], cl
mov ecx, eax
shr ecx, 8
mov edx, dword [ebx + 0x28]
mov byte [edx + 1], al
mov edx, dword [ebx + 0x28]
mov byte [edx + 2], cl
add dword [ebx + 0x28], 3
mov esi, dword [ebx + 0x2c]
mov dl, byte [esi]
shr dl, 1
or edx, 0xffffff80
mov byte [esi], dl
mov edx, dword [ebx + 0x38]
dec edx
je 0x62aa1bfa
mov dword [ebx + 0x38], edx
jmp 0x62aa1c0d
mov edx, dword [ebx + 0x28]
mov dword [ebx + 0x38], 8
mov dword [ebx + 0x2c], edx
lea esi, [edx + 1]
mov dword [ebx + 0x28], esi
mov edx, eax
mov cl, byte [ecx + 0x62b3ffa0]
and edx, 0x1ff
cmp eax, 0x1ff
movzx edx, byte [edx + 0x62b40580]
jbe 0x62aa1c2c
movzx edx, cl
inc word [ebx + edx*2 + 0x83d2]
movzx eax, word [edi + edi + 0x62b4011a]
inc word [ebx + eax*2 + 0x8192]
mov eax, dword [ebx + 0x50]
dec eax
mov dword [ebx + 0x50], 0
jmp 0x62aa1d82
cmp dword [ebp - 0x1c], 0
jne 0x62aa1ca3
mov eax, dword [ebp - 0x28]
mov edx, dword [ebx + 0x28]
movzx eax, byte [ebx + eax + 0x90]
lea ecx, [edx + 1]
inc dword [ebx + 0x3c]
mov dword [ebx + 0x28], ecx
mov byte [edx], al
mov edx, dword [ebx + 0x2c]
shr byte [edx], 1
mov edx, dword [ebx + 0x38]
dec edx
je 0x62aa1c83
mov dword [ebx + 0x38], edx
jmp 0x62aa1c96
mov edx, dword [ebx + 0x28]
mov dword [ebx + 0x38], 8
mov dword [ebx + 0x2c], edx
lea ecx, [edx + 1]
mov dword [ebx + 0x28], ecx
inc word [ebx + eax*2 + 0x8192]
jmp 0x62aa1d7d
mov edx, dword [ebp - 0x40]
and edx, 0x10000
or edx, dword [ebx + 0x14]
jne 0x62aa1cbb
cmp eax, 0x7f
ja 0x62aa1cc4
jmp 0x62aa1d66
cmp eax, 2
jbe 0x62aa1af6
cmp dword [ebp - 0x1c], 0x8000
ja 0x62aa1af6
mov edx, dword [ebx + 0x28]
lea ecx, [eax - 3]
add dword [ebx + 0x3c], eax
mov byte [edx], cl
mov ecx, dword [ebp - 0x1c]
dec ecx
mov edx, dword [ebx + 0x28]
mov dword [ebp - 0x1c], ecx
mov cl, byte [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
shr esi, 8
mov byte [edx + 1], cl
mov edx, dword [ebx + 0x28]
mov ecx, esi
mov byte [edx + 2], cl
add dword [ebx + 0x28], 3
mov edi, dword [ebx + 0x2c]
mov dl, byte [edi]
shr dl, 1
or edx, 0xffffff80
mov byte [edi], dl
mov edx, dword [ebx + 0x38]
dec edx
je 0x62aa1d15
mov dword [ebx + 0x38], edx
jmp 0x62aa1d28
mov edx, dword [ebx + 0x28]
mov dword [ebx + 0x38], 8
mov dword [ebx + 0x2c], edx
lea edi, [edx + 1]
mov dword [ebx + 0x28], edi
mov ecx, dword [ebp - 0x1c]
and ecx, 0x1ff
movzx esi, byte [esi + 0x62b3ffa0]
cmp dword [ebp - 0x1c], 0x1ff
mov dl, byte [ecx + 0x62b40580]
jbe 0x62aa1d49
mov edx, esi
movzx edx, dl
inc word [ebx + edx*2 + 0x83d2]
movzx edx, word [eax + eax + 0x62b4011a]
inc word [ebx + edx*2 + 0x8192]
jmp 0x62aa1d82
mov edi, dword [ebp - 0x28]
movzx edx, byte [ebx + edi + 0x90]
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x50], eax
mov eax, 1
mov edx, dword [ebx + 0x20]
add dword [ebx + 0x1c], eax
cmp eax, edx
jbe 0x62aa1da8
mov dword [esp + 8], 0x735
mov dword [esp + 4], 0x62b25538
mov dword [esp], str.d__m_lookahead_size___len_to_move
jmp 0x62aa1b0d
add dword [ebx + 0x24], eax
sub edx, eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x20], edx
cmp eax, 0x8000
jbe 0x62aa1dbf
mov eax, 0x8000
mov dword [ebx + 0x24], eax
lea edx, [ebx + 0x1926a]
mov eax, dword [ebx + 0x28]
cmp eax, edx
ja 0x62aa1dfa
mov edx, dword [ebx + 0x3c]
cmp edx, 0x7c00
jbe 0x62aa1679
lea ecx, [ebx + 0x9272]
sub eax, ecx
imul eax, eax, 0x73
shr eax, 7
cmp edx, eax
jbe 0x62aa1dfa
test byte [ebx + 0xa], 8
je 0x62aa1679
mov eax, dword [ebp - 0x30]
xor edx, edx
mov dword [ebx + 0x84], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x88], eax
mov eax, ebx
call sym._tdefl_flush_block
test eax, eax
je 0x62aa1679
js 0x62aa1ea9
jmp 0x62aa1e4f
cmp dword [ebp + 0x1c], 0
je 0x62aa1e37
cmp dword [ebx + 0x20], 0
jne 0x62aa1683
jmp 0x62aa1e3d
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x84], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x88], eax
test dword [ebx + 8], 0x3000
je 0x62aa1e80
cmp dword [ebp + 0xc], 0
je 0x62aa1e80
mov eax, dword [ebx + 0x84]
sub eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sym._mz_adler32
mov dword [ebx + 0x18], eax
cmp dword [ebp + 0x1c], 0
je 0x62aa1ee4
cmp dword [ebx + 0x20], 0
jne 0x62aa1ee4
cmp dword [ebx + 0x88], 0
jne 0x62aa1ee4
cmp dword [ebx + 0x5c], 0
jne 0x62aa1ee4
mov edx, dword [ebp + 0x1c]
mov eax, ebx
call sym._tdefl_flush_block
test eax, eax
jns 0x62aa1eb1
mov eax, dword [ebx + 0x6c]
jmp 0x62aa1f3d
mov eax, dword [ebp - 0x48]
cmp dword [ebp + 0x1c], 3
mov dword [ebx + 0x60], eax
jne 0x62aa1ee4
lea edx, [ebx + 0x29272]
xor eax, eax
mov edi, edx
mov ecx, 0x4000
lea edx, [ebx + 0x19272]
rep stosd dword es:[edi], eax
mov ecx, 0x4000
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebx + 0x24], 0
mov eax, ebx
call sym._tdefl_flush_output_buffer
mov dword [ebx + 0x6c], eax
jmp 0x62aa1f3d
test eax, eax
jne 0x62aa162d
jmp 0x62aa1637
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], esi
jmp 0x62aa1a73
cmp eax, esi
jae 0x62aa192c
mov eax, dword [ebp - 0x28]
add eax, esi
mov cl, byte [ebx + eax + 0x90]
mov al, byte [ebx + eax + 0x8f]
mov byte [ebp - 0x42], al
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x41], cl
mov eax, esi
jmp 0x62aa192c
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret