Function at 0x62a9fddc
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 0x62a9fe17
test eax, eax
je 0x62a9fdff
mov dword [eax], 0
mov eax, 0xfffffffe
test esi, esi
je 0x62aa07b1
mov dword [esi], 0
jmp 0x62aa07b1
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 0x62a9fe3c
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 0x62a9fe9d
cmp dword [ebx + 0x6c], 0
jne 0x62a9fe9d
cmp dword [ebp + 0x1c], 4
mov edx, dword [ebx + 0x68]
je 0x62a9fe7c
test edx, edx
jne 0x62a9fe9d
test eax, eax
je 0x62a9fe8b
cmp dword [eax], 0
je 0x62a9fe8b
cmp dword [ebp + 0xc], 0
je 0x62a9fea1
test esi, esi
je 0x62a9fec2
cmp dword [esi], 0
je 0x62a9fec2
test edi, edi
jne 0x62a9fec2
jmp 0x62aa0764
test eax, eax
je 0x62a9fea7
mov dword [eax], 0
test esi, esi
je 0x62a9feb1
mov dword [esi], 0
mov dword [ebx + 0x6c], 0xfffffffe
mov eax, 0xfffffffe
jmp 0x62aa07b1
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 0x62aa0758
cmp dword [ebx + 0x60], 0
jne 0x62aa0758
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x20], 0
je 0x62aa0699
mov eax, dword [ebx + 0x24]
mov edi, dword [ebx + 0x20]
mov dword [ebp - 0x1c], eax
add eax, edi
cmp eax, 1
jbe 0x62aa0065
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 0x62a9ff50
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 0x62aa0072
inc dword [ebp - 0x30]
cmp edx, 0x100
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax - 1]
mov byte [ebx + edx + 0x90], cl
ja 0x62a9ff8c
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 0x62a9ff60
cmp eax, 0x101
ja 0x62aa0072
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 0x62aa0003
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 0x62aa0065
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 0x62a9ffca
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 0x62aa008e
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 0x62aa00a7
cmp dword [ebp + 0x1c], 0
je 0x62aa06b1
mov edi, dword [ebx + 0x50]
mov eax, 2
test edi, edi
je 0x62aa00b5
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 0x62aa0130
cmp dword [ebp - 0x24], 0
je 0x62aa0778
and esi, 0x80000
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], esi
jne 0x62aa0778
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 0x62aa011b
cmp dl, byte [ecx + eax + 0x90]
jne 0x62aa011b
inc eax
jmp 0x62aa010a
cmp eax, 2
jbe 0x62aa02e5
mov dword [ebp - 0x24], 1
jmp 0x62aa0778
cmp dword [ebp - 0x34], 0x102
jbe 0x62aa0155
mov dword [esp + 8], 0x5af
mov dword [esp + 4], 0x62b23258
mov dword [esp], str.max_match_len___TDEFL_MAX_MATCH_LEN
jmp 0x62aa0381
cmp dword [ebp - 0x34], eax
jbe 0x62aa0771
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 0x62aa02d1
mov esi, dword [ebp - 0x2c]
mov dx, word [ebx + esi*2 + 0x19272]
test dx, dx
je 0x62aa02d1
mov ecx, dword [ebp - 0x3c]
sub ecx, edx
movzx esi, cx
cmp dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
jb 0x62aa02d1
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 0x62aa01fa
mov cl, byte [ebp - 0x42]
cmp byte [ebx + esi + 0x8f], cl
je 0x62aa0294
mov esi, dword [ebp - 0x2c]
mov dx, word [ebx + esi*2 + 0x19272]
test dx, dx
je 0x62aa02d1
mov ecx, dword [ebp - 0x3c]
sub ecx, edx
movzx esi, cx
cmp dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
jb 0x62aa02d1
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 0x62aa0247
mov cl, byte [ebp - 0x42]
cmp cl, byte [ebx + esi + 0x8f]
je 0x62aa0294
mov esi, dword [ebp - 0x2c]
mov dx, word [ebx + esi*2 + 0x19272]
test dx, dx
je 0x62aa02d1
mov ecx, dword [ebp - 0x3c]
sub ecx, edx
movzx esi, cx
cmp dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
jb 0x62aa02d1
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 0x62aa01a0
mov cl, byte [ebp - 0x42]
cmp cl, byte [ebx + esi + 0x8f]
jne 0x62aa01a0
cmp dword [ebp - 0x38], 0
je 0x62aa02d1
mov esi, dword [ebp - 0x4c]
add esi, dword [ebp - 0x2c]
mov dword [ebp - 0x58], esi
xor esi, esi
cmp dword [ebp - 0x34], esi
je 0x62aa02bf
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
mov cl, byte [ecx + esi]
cmp byte [edx + esi], cl
jne 0x62aa0783
inc esi
jmp 0x62aa02a5
cmp eax, dword [ebp - 0x34]
jae 0x62aa01a0
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], esi
cmp eax, 3
jne 0x62aa02e7
cmp dword [ebp - 0x1c], 0x1fff
ja 0x62aa0417
jmp 0x62aa02e7
xor eax, eax
mov edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x28], edx
je 0x62aa0417
bt dword [ebp - 0x40], 0x11
jae 0x62aa0303
cmp eax, 5
jbe 0x62aa0417
test edi, edi
je 0x62aa04c8
cmp edi, eax
jae 0x62aa041f
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 0x62aa0337
mov dword [ebx + 0x38], ecx
jmp 0x62aa034a
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 0x62aa05da
mov edx, dword [ebp - 0x1c]
dec edx
mov dword [ebp - 0x1c], edx
cmp edx, 0x7fff
jbe 0x62aa0386
mov dword [esp + 8], 0x6a0
mov dword [esp + 4], 0x62b23258
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 0x62aa03c3
mov dword [ebx + 0x38], ecx
jmp 0x62aa03d6
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 + 0x62b3dc80]
cmp dword [ebp - 0x1c], 0x1ff
mov cl, byte [edx + 0x62b3e260]
jbe 0x62aa03f7
mov ecx, esi
movzx ecx, cl
movzx edx, word [eax + eax + 0x62b3ddfa]
inc word [ebx + ecx*2 + 0x83d2]
inc word [ebx + edx*2 + 0x8192]
jmp 0x62aa04bc
test edi, edi
je 0x62aa04ce
mov eax, dword [ebx + 0x4c]
dec eax
cmp edi, 2
jbe 0x62aa036a
cmp eax, 0x7fff
ja 0x62aa036a
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 0x62aa046e
mov dword [ebx + 0x38], edx
jmp 0x62aa0481
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 + 0x62b3dc80]
and edx, 0x1ff
cmp eax, 0x1ff
movzx edx, byte [edx + 0x62b3e260]
jbe 0x62aa04a0
movzx edx, cl
inc word [ebx + edx*2 + 0x83d2]
movzx eax, word [edi + edi + 0x62b3ddfa]
inc word [ebx + eax*2 + 0x8192]
mov eax, dword [ebx + 0x50]
dec eax
mov dword [ebx + 0x50], 0
jmp 0x62aa05f6
cmp dword [ebp - 0x1c], 0
jne 0x62aa0517
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 0x62aa04f7
mov dword [ebx + 0x38], edx
jmp 0x62aa050a
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 0x62aa05f1
mov edx, dword [ebp - 0x40]
and edx, 0x10000
or edx, dword [ebx + 0x14]
jne 0x62aa052f
cmp eax, 0x7f
ja 0x62aa0538
jmp 0x62aa05da
cmp eax, 2
jbe 0x62aa036a
cmp dword [ebp - 0x1c], 0x8000
ja 0x62aa036a
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 0x62aa0589
mov dword [ebx + 0x38], edx
jmp 0x62aa059c
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 + 0x62b3dc80]
cmp dword [ebp - 0x1c], 0x1ff
mov dl, byte [ecx + 0x62b3e260]
jbe 0x62aa05bd
mov edx, esi
movzx edx, dl
inc word [ebx + edx*2 + 0x83d2]
movzx edx, word [eax + eax + 0x62b3ddfa]
inc word [ebx + edx*2 + 0x8192]
jmp 0x62aa05f6
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 0x62aa061c
mov dword [esp + 8], 0x735
mov dword [esp + 4], 0x62b23258
mov dword [esp], str.d__m_lookahead_size___len_to_move
jmp 0x62aa0381
add dword [ebx + 0x24], eax
sub edx, eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x20], edx
cmp eax, 0x8000
jbe 0x62aa0633
mov eax, 0x8000
mov dword [ebx + 0x24], eax
lea edx, [ebx + 0x1926a]
mov eax, dword [ebx + 0x28]
cmp eax, edx
ja 0x62aa066e
mov edx, dword [ebx + 0x3c]
cmp edx, 0x7c00
jbe 0x62a9feed
lea ecx, [ebx + 0x9272]
sub eax, ecx
imul eax, eax, 0x73
shr eax, 7
cmp edx, eax
jbe 0x62aa066e
test byte [ebx + 0xa], 8
je 0x62a9feed
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 0x62a9feed
js 0x62aa071d
jmp 0x62aa06c3
cmp dword [ebp + 0x1c], 0
je 0x62aa06ab
cmp dword [ebx + 0x20], 0
jne 0x62a9fef7
jmp 0x62aa06b1
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 0x62aa06f4
cmp dword [ebp + 0xc], 0
je 0x62aa06f4
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 0x62aa0758
cmp dword [ebx + 0x20], 0
jne 0x62aa0758
cmp dword [ebx + 0x88], 0
jne 0x62aa0758
cmp dword [ebx + 0x5c], 0
jne 0x62aa0758
mov edx, dword [ebp + 0x1c]
mov eax, ebx
call sym._tdefl_flush_block
test eax, eax
jns 0x62aa0725
mov eax, dword [ebx + 0x6c]
jmp 0x62aa07b1
mov eax, dword [ebp - 0x48]
cmp dword [ebp + 0x1c], 3
mov dword [ebx + 0x60], eax
jne 0x62aa0758
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 0x62aa07b1
test eax, eax
jne 0x62a9fea1
jmp 0x62a9feab
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], esi
jmp 0x62aa02e7
cmp eax, esi
jae 0x62aa01a0
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 0x62aa01a0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret