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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x2c
xor eax, eax
mov dword [ebp - 0x28], edx
test byte [ebx + 0xa], 8
je 0x70235f35
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x24]
setbe al
movzx eax, al
cmp dword [ebx], 0
jne 0x70235f57
mov edx, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x8c]
mov edx, dword [edx]
sub edx, ecx
cmp edx, 0x14ccb
jbe 0x70235f57
add ecx, dword [ebx + 0x74]
mov dword [ebp - 0x1c], ecx
jmp 0x70235f60
lea edi, [ebx + 0x39272]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x30], edi
lea edx, [edi + 0x14cbc]
mov edi, dword [ebx + 0x5c]
mov dword [ebx + 0x34], edx
mov dword [ebp - 0x20], edi
test edi, edi
je 0x70235f95
mov dword [esp + 8], 0x4e6
mov dword [esp + 4], 0x702bacd8
mov dword [esp], str._d__m_output_flush_remaining
jmp 0x70236350
mov esi, dword [ebx + 0x2c]
mov dword [ebx + 0x58], 0
mov ecx, dword [ebx + 0x38]
movzx edx, byte [esi]
sar edx, cl
mov byte [esi], dl
xor edx, edx
cmp dword [ebx + 0x38], 8
sete dl
sub dword [ebx + 0x28], edx
test byte [ebx + 9], 0x10
jne 0x70235fd5
xor edx, edx
mov ecx, dword [ebx + 0x44]
cmp dword [ebp - 0x28], 4
sete dl
shl edx, cl
inc ecx
or dword [ebx + 0x48], edx
mov dword [ebx + 0x44], ecx
jmp 0x7023606b
cmp dword [ebx + 0x64], 0
jne 0x70235fbb
mov ecx, dword [ebx + 0x44]
mov edx, 0x78
shl edx, cl
or dword [ebx + 0x48], edx
add ecx, 8
mov dword [ebx + 0x44], ecx
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
mov edi, dword [ebx + 0x48]
cmp ecx, 7
jbe 0x70236017
cmp edx, esi
jae 0x7023600d
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov ecx, edi
mov byte [edx], cl
shr dword [ebx + 0x48], 8
sub dword [ebx + 0x44], 8
jmp 0x70235fee
mov edx, 1
shl edx, cl
or edx, edi
add ecx, 8
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x44], ecx
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x34]
jae 0x7023603c
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov cl, byte [ebx + 0x48]
mov byte [edx], cl
mov edi, dword [ebx + 0x44]
shr dword [ebx + 0x48], 8
lea edx, [edi - 8]
mov dword [ebx + 0x44], edx
cmp edx, 7
ja 0x70236029
jmp 0x70235fbb
cmp dword [ebx + 0x34], esi
jbe 0x70236063
lea edx, [esi + 1]
mov cl, byte [ebp - 0x24]
mov dword [ebx + 0x30], edx
mov byte [esi], cl
shr dword [ebx + 0x48], 8
sub dword [ebx + 0x44], 8
mov edi, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x48]
mov esi, dword [ebx + 0x30]
mov dword [ebp - 0x24], ecx
cmp edi, 7
ja 0x70236053
test eax, eax
jne 0x702360b6
test byte [ebx + 0xa], 4
mov edx, 1
jne 0x70236094
xor edx, edx
cmp dword [ebx + 0x3c], 0x2f
setbe dl
mov eax, ebx
call sym._tdefl_compress_block
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x702361c6
mov edx, dword [ebx + 0x30]
sub edx, esi
inc edx
cmp ecx, edx
ja 0x702361c6
jmp 0x702360b8
xor eax, eax
mov edx, dword [ebx + 0x1c]
sub edx, dword [ebx + 0x40]
cmp edx, dword [ebx + 0x24]
ja 0x702361c6
mov eax, dword [ebp - 0x24]
add edi, 2
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], edi
mov eax, dword [ebx + 0x44]
cmp eax, 7
jbe 0x702360fb
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x34]
jae 0x702360f1
mov edx, dword [ebx + 0x48]
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov byte [eax], dl
shr dword [ebx + 0x48], 8
sub dword [ebx + 0x44], 8
jmp 0x702360d6
test eax, eax
jne 0x70236106
mov edx, 2
jmp 0x70236164
mov dword [ebx + 0x44], 8
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x34]
jae 0x70236120
mov edx, dword [ebx + 0x48]
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov byte [eax], dl
mov eax, dword [ebx + 0x44]
sub eax, 8
shr dword [ebx + 0x48], 8
mov dword [ebx + 0x44], eax
cmp eax, 7
ja 0x7023610d
jmp 0x702360ff
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x34]
jae 0x70236147
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov cl, byte [ebx + 0x48]
mov byte [eax], cl
shr dword [ebx + 0x48], 8
sub dword [ebx + 0x44], 8
cmp dword [ebx + 0x44], 7
ja 0x70236134
xor dword [ebx + 0x3c], 0xffff
dec edx
je 0x70236178
mov edx, 1
movzx eax, word [ebx + 0x3c]
mov ecx, dword [ebx + 0x44]
shl eax, cl
add ecx, 0x10
or dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
jmp 0x7023614f
xor eax, eax
cmp dword [ebx + 0x3c], eax
jbe 0x702361e2
mov edx, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
add edx, eax
and edx, 0x7fff
movzx edx, byte [ebx + edx + 0x90]
shl edx, cl
or dword [ebx + 0x48], edx
add ecx, 8
mov dword [ebx + 0x44], ecx
cmp dword [ebx + 0x44], 7
jbe 0x702361c3
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x34]
jae 0x702361b9
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov cl, byte [ebx + 0x48]
mov byte [edx], cl
shr dword [ebx + 0x48], 8
sub dword [ebx + 0x44], 8
jmp 0x702361a0
inc eax
jmp 0x7023617a
test eax, eax
jne 0x702361e2
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], edi
mov edx, 1
mov eax, ebx
call sym._tdefl_compress_block
cmp dword [ebp - 0x28], 0
jne 0x70236210
mov esi, dword [ebx + 0x30]
cmp esi, dword [ebx + 0x34]
jb 0x70236355
mov dword [esp + 8], 0x53a
mov dword [esp + 4], 0x702bacd8
mov dword [esp], str.d__m_pOutput_buf___d__m_pOutput_buf_end
jmp 0x70236350
cmp dword [ebp - 0x28], 4
mov eax, dword [ebx + 0x44]
jne 0x702362a1
test eax, eax
jne 0x70236231
test byte [ebx + 9], 0x10
je 0x702361e8
mov edx, dword [ebx + 0x18]
mov edi, 4
jmp 0x7023628c
mov dword [ebx + 0x44], 8
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x34]
jae 0x7023624b
mov edx, dword [ebx + 0x48]
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov byte [eax], dl
mov eax, dword [ebx + 0x44]
sub eax, 8
shr dword [ebx + 0x48], 8
mov dword [ebx + 0x44], eax
cmp eax, 7
ja 0x70236238
jmp 0x70236221
cmp ecx, esi
jae 0x7023626e
lea esi, [ecx + 1]
mov al, byte [ebx + 0x48]
mov dword [ebx + 0x30], esi
mov byte [ecx], al
shr dword [ebx + 0x48], 8
sub dword [ebx + 0x44], 8
cmp dword [ebx + 0x44], 7
mov ecx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
ja 0x7023625f
shl edx, 8
dec edi
je 0x702361e8
mov esi, edx
mov ecx, dword [ebx + 0x44]
shr esi, 0x18
shl esi, cl
add ecx, 8
or dword [ebx + 0x48], esi
mov dword [ebx + 0x44], ecx
jmp 0x70236276
add eax, 3
mov dword [ebx + 0x44], eax
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
cmp edx, 7
jbe 0x702362ce
cmp eax, ecx
jae 0x702362c4
mov edx, dword [ebx + 0x48]
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov byte [eax], dl
shr dword [ebx + 0x48], 8
sub dword [ebx + 0x44], 8
jmp 0x702362a7
test edx, edx
jne 0x702362d9
mov edx, 2
jmp 0x7023633d
mov dword [ebx + 0x44], 8
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x34]
jae 0x702362f3
mov edx, dword [ebx + 0x48]
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov byte [eax], dl
mov eax, dword [ebx + 0x44]
sub eax, 8
shr dword [ebx + 0x48], 8
mov dword [ebx + 0x44], eax
cmp eax, 7
ja 0x702362e0
jmp 0x702362d2
cmp eax, ecx
jae 0x70236316
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov cl, byte [ebx + 0x48]
mov byte [eax], cl
shr dword [ebx + 0x48], 8
sub dword [ebx + 0x44], 8
cmp dword [ebx + 0x44], 7
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
ja 0x70236307
xor dword [ebp - 0x20], 0xffff
dec edx
je 0x702361e8
mov edx, 1
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebp - 0x20]
shl eax, cl
add ecx, 0x10
or dword [ebx + 0x48], eax
mov dword [ebx + 0x44], ecx
jmp 0x7023631e
call sym.__assert
lea edx, [ebx + 0x8192]
xor eax, eax
mov edi, edx
mov ecx, 0x90
lea edx, [ebx + 0x83d2]
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebx + 0x9273]
inc dword [ebx + 0x64]
mov dword [ebx + 0x28], eax
lea eax, [ebx + 0x9272]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x3c]
add dword [ebx + 0x40], eax
mov dword [ebx + 0x38], 8
sub esi, dword [ebp - 0x1c]
mov dword [ebx + 0x3c], 0
mov dword [ebp - 0x20], esi
je 0x70236423
cmp dword [ebx], 0
lea esi, [ebx + 0x39272]
je 0x702363e2
mov eax, dword [ebx + 0x84]
mov edx, dword [ebx + 0x78]
sub eax, dword [ebx + 0x70]
mov dword [edx], eax
mov dword [esp], esi
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
call dword [ebx]
test eax, eax
jne 0x70236423
mov dword [ebx + 0x6c], 0xffffffff
or eax, 0xffffffff
jmp 0x70236426
cmp dword [ebp - 0x1c], esi
mov edx, dword [ebx + 0x8c]
jne 0x7023641a
mov eax, dword [ebx + 0x7c]
mov eax, dword [eax]
sub eax, edx
cmp eax, dword [ebp - 0x20]
jbe 0x702363fc
mov eax, dword [ebp - 0x20]
add edx, dword [ebx + 0x74]
mov ecx, eax
mov edi, edx
mov edx, dword [ebp - 0x20]
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x8c], eax
sub edx, eax
je 0x70236423
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
jmp 0x70236423
add edx, dword [ebp - 0x20]
mov dword [ebx + 0x8c], edx
mov eax, dword [ebx + 0x5c]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret