Function at 0x70234ec4
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 0x70234eff
test eax, eax
je 0x70234ee7
mov dword [eax], 0
mov eax, 0xfffffffe
test esi, esi
je 0x70235899
mov dword [esi], 0
jmp 0x70235899
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 0x70234f24
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 0x70234f85
cmp dword [ebx + 0x6c], 0
jne 0x70234f85
cmp dword [ebp + 0x1c], 4
mov edx, dword [ebx + 0x68]
je 0x70234f64
test edx, edx
jne 0x70234f85
test eax, eax
je 0x70234f73
cmp dword [eax], 0
je 0x70234f73
cmp dword [ebp + 0xc], 0
je 0x70234f89
test esi, esi
je 0x70234faa
cmp dword [esi], 0
je 0x70234faa
test edi, edi
jne 0x70234faa
jmp 0x7023584c
test eax, eax
je 0x70234f8f
mov dword [eax], 0
test esi, esi
je 0x70234f99
mov dword [esi], 0
mov dword [ebx + 0x6c], 0xfffffffe
mov eax, 0xfffffffe
jmp 0x70235899
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 0x70235840
cmp dword [ebx + 0x60], 0
jne 0x70235840
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x20], 0
je 0x70235781
mov eax, dword [ebx + 0x24]
mov edi, dword [ebx + 0x20]
mov dword [ebp - 0x1c], eax
add eax, edi
cmp eax, 1
jbe 0x7023514d
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 0x70235038
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 0x7023515a
inc dword [ebp - 0x30]
cmp edx, 0x100
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax - 1]
mov byte [ebx + edx + 0x90], cl
ja 0x70235074
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 0x70235048
cmp eax, 0x101
ja 0x7023515a
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 0x702350eb
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 0x7023514d
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 0x702350b2
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 0x70235176
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 0x7023518f
cmp dword [ebp + 0x1c], 0
je 0x70235799
mov edi, dword [ebx + 0x50]
mov eax, 2
test edi, edi
je 0x7023519d
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 0x70235218
cmp dword [ebp - 0x24], 0
je 0x70235860
and esi, 0x80000
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], esi
jne 0x70235860
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 0x70235203
cmp dl, byte [ecx + eax + 0x90]
jne 0x70235203
inc eax
jmp 0x702351f2
cmp eax, 2
jbe 0x702353cd
mov dword [ebp - 0x24], 1
jmp 0x70235860
cmp dword [ebp - 0x34], 0x102
jbe 0x7023523d
mov dword [esp + 8], 0x5af
mov dword [esp + 4], 0x702bacd8
mov dword [esp], str.max_match_len___TDEFL_MAX_MATCH_LEN
jmp 0x70235469
cmp dword [ebp - 0x34], eax
jbe 0x70235859
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 0x702353b9
mov esi, dword [ebp - 0x2c]
mov dx, word [ebx + esi*2 + 0x19272]
test dx, dx
je 0x702353b9
mov ecx, dword [ebp - 0x3c]
sub ecx, edx
movzx esi, cx
cmp dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
jb 0x702353b9
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 0x702352e2
mov cl, byte [ebp - 0x42]
cmp byte [ebx + esi + 0x8f], cl
je 0x7023537c
mov esi, dword [ebp - 0x2c]
mov dx, word [ebx + esi*2 + 0x19272]
test dx, dx
je 0x702353b9
mov ecx, dword [ebp - 0x3c]
sub ecx, edx
movzx esi, cx
cmp dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
jb 0x702353b9
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 0x7023532f
mov cl, byte [ebp - 0x42]
cmp cl, byte [ebx + esi + 0x8f]
je 0x7023537c
mov esi, dword [ebp - 0x2c]
mov dx, word [ebx + esi*2 + 0x19272]
test dx, dx
je 0x702353b9
mov ecx, dword [ebp - 0x3c]
sub ecx, edx
movzx esi, cx
cmp dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
jb 0x702353b9
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 0x70235288
mov cl, byte [ebp - 0x42]
cmp cl, byte [ebx + esi + 0x8f]
jne 0x70235288
cmp dword [ebp - 0x38], 0
je 0x702353b9
mov esi, dword [ebp - 0x4c]
add esi, dword [ebp - 0x2c]
mov dword [ebp - 0x58], esi
xor esi, esi
cmp dword [ebp - 0x34], esi
je 0x702353a7
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
mov cl, byte [ecx + esi]
cmp byte [edx + esi], cl
jne 0x7023586b
inc esi
jmp 0x7023538d
cmp eax, dword [ebp - 0x34]
jae 0x70235288
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], esi
cmp eax, 3
jne 0x702353cf
cmp dword [ebp - 0x1c], 0x1fff
ja 0x702354ff
jmp 0x702353cf
xor eax, eax
mov edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x28], edx
je 0x702354ff
bt dword [ebp - 0x40], 0x11
jae 0x702353eb
cmp eax, 5
jbe 0x702354ff
test edi, edi
je 0x702355b0
cmp edi, eax
jae 0x70235507
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 0x7023541f
mov dword [ebx + 0x38], ecx
jmp 0x70235432
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 0x702356c2
mov edx, dword [ebp - 0x1c]
dec edx
mov dword [ebp - 0x1c], edx
cmp edx, 0x7fff
jbe 0x7023546e
mov dword [esp + 8], 0x6a0
mov dword [esp + 4], 0x702bacd8
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 0x702354ab
mov dword [ebx + 0x38], ecx
jmp 0x702354be
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 + 0x702d5dc0]
cmp dword [ebp - 0x1c], 0x1ff
mov cl, byte [edx + 0x702d63a0]
jbe 0x702354df
mov ecx, esi
movzx ecx, cl
movzx edx, word [eax + eax + 0x702d5f3a]
inc word [ebx + ecx*2 + 0x83d2]
inc word [ebx + edx*2 + 0x8192]
jmp 0x702355a4
test edi, edi
je 0x702355b6
mov eax, dword [ebx + 0x4c]
dec eax
cmp edi, 2
jbe 0x70235452
cmp eax, 0x7fff
ja 0x70235452
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 0x70235556
mov dword [ebx + 0x38], edx
jmp 0x70235569
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 + 0x702d5dc0]
and edx, 0x1ff
cmp eax, 0x1ff
movzx edx, byte [edx + 0x702d63a0]
jbe 0x70235588
movzx edx, cl
inc word [ebx + edx*2 + 0x83d2]
movzx eax, word [edi + edi + 0x702d5f3a]
inc word [ebx + eax*2 + 0x8192]
mov eax, dword [ebx + 0x50]
dec eax
mov dword [ebx + 0x50], 0
jmp 0x702356de
cmp dword [ebp - 0x1c], 0
jne 0x702355ff
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 0x702355df
mov dword [ebx + 0x38], edx
jmp 0x702355f2
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 0x702356d9
mov edx, dword [ebp - 0x40]
and edx, 0x10000
or edx, dword [ebx + 0x14]
jne 0x70235617
cmp eax, 0x7f
ja 0x70235620
jmp 0x702356c2
cmp eax, 2
jbe 0x70235452
cmp dword [ebp - 0x1c], 0x8000
ja 0x70235452
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 0x70235671
mov dword [ebx + 0x38], edx
jmp 0x70235684
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 + 0x702d5dc0]
cmp dword [ebp - 0x1c], 0x1ff
mov dl, byte [ecx + 0x702d63a0]
jbe 0x702356a5
mov edx, esi
movzx edx, dl
inc word [ebx + edx*2 + 0x83d2]
movzx edx, word [eax + eax + 0x702d5f3a]
inc word [ebx + edx*2 + 0x8192]
jmp 0x702356de
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 0x70235704
mov dword [esp + 8], 0x735
mov dword [esp + 4], 0x702bacd8
mov dword [esp], str.d__m_lookahead_size___len_to_move
jmp 0x70235469
add dword [ebx + 0x24], eax
sub edx, eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x20], edx
cmp eax, 0x8000
jbe 0x7023571b
mov eax, 0x8000
mov dword [ebx + 0x24], eax
lea edx, [ebx + 0x1926a]
mov eax, dword [ebx + 0x28]
cmp eax, edx
ja 0x70235756
mov edx, dword [ebx + 0x3c]
cmp edx, 0x7c00
jbe 0x70234fd5
lea ecx, [ebx + 0x9272]
sub eax, ecx
imul eax, eax, 0x73
shr eax, 7
cmp edx, eax
jbe 0x70235756
test byte [ebx + 0xa], 8
je 0x70234fd5
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 0x70234fd5
js 0x70235805
jmp 0x702357ab
cmp dword [ebp + 0x1c], 0
je 0x70235793
cmp dword [ebx + 0x20], 0
jne 0x70234fdf
jmp 0x70235799
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 0x702357dc
cmp dword [ebp + 0xc], 0
je 0x702357dc
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 0x70235840
cmp dword [ebx + 0x20], 0
jne 0x70235840
cmp dword [ebx + 0x88], 0
jne 0x70235840
cmp dword [ebx + 0x5c], 0
jne 0x70235840
mov edx, dword [ebp + 0x1c]
mov eax, ebx
call sym._tdefl_flush_block
test eax, eax
jns 0x7023580d
mov eax, dword [ebx + 0x6c]
jmp 0x70235899
mov eax, dword [ebp - 0x48]
cmp dword [ebp + 0x1c], 3
mov dword [ebx + 0x60], eax
jne 0x70235840
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 0x70235899
test eax, eax
jne 0x70234f89
jmp 0x70234f93
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], esi
jmp 0x702353cf
cmp eax, esi
jae 0x70235288
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 0x70235288
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret