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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xc4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0x80000
test eax, eax
je 0x405996
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
sub edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
cmp edx, eax
ja 0x405996
mov eax, 1
jmp 0x40599b
mov eax, 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jne 0x4059d6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x8c]
mov eax, edx
sub eax, ecx
cmp eax, 0x14ccb
jbe 0x4059d6
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x74]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x8c]
add eax, edx
jmp 0x4059de
mov eax, dword [ebp + 8]
add eax, 0x39272
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x30], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea edx, [eax + 0x14cbc]
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x405a24
mov dword [esp + 8], 0x4f3
mov dword [esp + 4], str.miniz.c
mov dword [esp], str._d__m_output_flush_remaining
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov ecx, eax
sar edx, cl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
cmp eax, 8
sete al
movzx eax, al
neg eax
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0x1000
test eax, eax
je 0x405cd2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x64]
test eax, eax
jne 0x405cd2
mov byte [ebp - 0x31], 0x78
mov byte [ebp - 0xd], 3
mov dword [ebp - 0x38], 0xb
mov dword [ebp - 0x14], 0
jmp 0x405acb
mov eax, dword [ebp - 0x14]
mov edx, dword [eax*4 + 0x421f20]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0xfff
cmp edx, eax
je 0x405ad5
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x38]
jb 0x405aae
jmp 0x405ad6
nop
cmp dword [ebp - 0x14], 1
ja 0x405ae2
mov byte [ebp - 0xd], 0
jmp 0x405af8
cmp dword [ebp - 0x14], 5
ja 0x405aee
mov byte [ebp - 0xd], 1
jmp 0x405af8
cmp dword [ebp - 0x14], 6
jne 0x405af8
mov byte [ebp - 0xd], 2
movzx eax, byte [ebp - 0x31]
shl eax, 8
mov edx, eax
movzx eax, byte [ebp - 0xd]
shl eax, 6
or eax, edx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, 0x8421085
mov eax, ecx
mul edx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
mov edx, eax
mov eax, edx
shl eax, 5
sub eax, edx
sub ecx, eax
mov edx, ecx
mov eax, dword [ebp - 0x3c]
sub eax, edx
add eax, 0x1f
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x3d], al
movzx eax, byte [ebp - 0x31]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 8
mov eax, dword [ebp - 0x48]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x44], eax
jbe 0x405b84
mov dword [esp + 8], 0x50f
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x44]
mov ecx, eax
shl edx, cl
mov eax, edx
or ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x48]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x405bff
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x405bdf
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x405bb6
movzx eax, byte [ebp - 0x3d]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x50]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x4c], eax
jbe 0x405c4c
mov dword [esp + 8], 0x510
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x4c]
mov ecx, eax
shl edx, cl
mov eax, edx
or ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x405cc7
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x405ca7
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x405c7e
cmp dword [ebp + 0xc], 4
sete al
movzx eax, al
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x58]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x54], eax
jbe 0x405d1a
mov dword [esp + 8], 0x513
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x54]
mov ecx, eax
shl edx, cl
mov eax, edx
or ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x58]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x405d95
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x405d75
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x405d4c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x2c], 0
jne 0x405df9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0x40000
test eax, eax
jne 0x405ddb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
cmp eax, 0x2f
ja 0x405de2
mov eax, 1
jmp 0x405de7
mov eax, 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._tdefl_compress_block
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x2c], 0
jne 0x405e27
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x40620f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
sub eax, dword [ebp - 0x5c]
lea edx, [eax + 1]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
cmp edx, eax
jb 0x40620f
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
sub edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
cmp edx, eax
ja 0x40620f
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x30], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x60]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x44], edx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 2
mov eax, dword [ebp - 0x6c]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x68], eax
jbe 0x405ea0
mov dword [esp + 8], 0x523
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x68]
mov ecx, eax
shl edx, cl
mov eax, edx
or ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x6c]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x405f1b
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x405efb
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x405ed2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x406005
mov dword [ebp - 0x70], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, 8
sub eax, edx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x70], eax
jbe 0x405f7f
mov dword [esp + 8], 0x526
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x70]
mov ecx, eax
shl edx, cl
mov eax, edx
or ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x74]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x405ffa
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x405fda
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x405fb1
mov dword [ebp - 0x18], 2
jmp 0x406100
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
and eax, 0xffff
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], 0x10
mov eax, dword [ebp - 0x84]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x80], eax
jbe 0x406060
mov dword [esp + 8], 0x52a
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x80]
mov ecx, eax
shl edx, cl
mov eax, edx
or ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x84]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x4060de
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x4060be
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x406095
sub dword [ebp - 0x18], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
xor eax, 0xffff
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], edx
cmp dword [ebp - 0x18], 0
jne 0x406011
mov dword [ebp - 0x18], 0
jmp 0x4061fe
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x18]
add eax, edx
and eax, 0x7fff
mov edx, eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + edx + 0x90]
movzx eax, al
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], 8
mov eax, dword [ebp - 0x7c]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x78], eax
jbe 0x406174
mov dword [esp + 8], 0x52e
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x78]
mov ecx, eax
shl edx, cl
mov eax, edx
or ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x7c]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x4061ef
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x4061cf
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x4061a6
add dword [ebp - 0x18], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
cmp dword [ebp - 0x18], eax
jb 0x406116
jmp 0x406243
cmp dword [ebp - 0xc], 0
jne 0x406243
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x30], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x60]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x44], edx
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._tdefl_compress_block
cmp dword [ebp + 0xc], 0
je 0x406732
cmp dword [ebp + 0xc], 4
jne 0x406463
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x406348
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, 8
sub eax, edx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0xa0], eax
jbe 0x4062bc
mov dword [esp + 8], 0x53f
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0xa0]
mov ecx, eax
shl edx, cl
mov eax, edx
or ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0xa4]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x40633d
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x40631d
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x4062f4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
and eax, 0x1000
test eax, eax
je 0x406732
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
jmp 0x406454
mov eax, dword [ebp - 0x20]
shr eax, 0x18
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], 8
mov eax, dword [ebp - 0xac]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0xa8], eax
jbe 0x4063c0
mov dword [esp + 8], 0x546
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0xa8]
mov ecx, eax
shl edx, cl
mov eax, edx
or ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0xac]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x406441
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x406421
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x4063f8
shl dword [ebp - 0x20], 8
add dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 3
jbe 0x406370
jmp 0x406732
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 3
mov eax, dword [ebp - 0x8c]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x88], eax
jbe 0x4064b8
mov dword [esp + 8], 0x54e
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x88]
mov ecx, eax
shl edx, cl
mov eax, edx
or ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x8c]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x406539
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x406519
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x4064f0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x406635
mov dword [ebp - 0x90], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, 8
sub eax, edx
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x90], eax
jbe 0x4065a9
mov dword [esp + 8], 0x551
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x90]
mov ecx, eax
shl edx, cl
mov eax, edx
or ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x94]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x40662a
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x40660a
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x4065e1
mov dword [ebp - 0x24], 2
jmp 0x406728
mov eax, dword [ebp - 0x28]
movzx eax, ax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], 0x10
mov eax, dword [ebp - 0x9c]
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
sub eax, 1
cmp dword [ebp - 0x98], eax
jbe 0x406691
mov dword [esp + 8], 0x555
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.bits_____1U____len____1U_
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x98]
mov ecx, eax
shl edx, cl
mov eax, edx
or ebx, eax
mov edx, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x9c]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x406712
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jae 0x4066f2
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
lea ecx, [eax + 1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, ebx
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
cmp eax, 7
ja 0x4066c9
sub dword [ebp - 0x24], 1
xor dword [ebp - 0x28], 0xffff
cmp dword [ebp - 0x24], 0
jne 0x406641
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
cmp edx, eax
jb 0x406760
mov dword [esp + 8], 0x55a
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.d__m_pOutput_buf___d__m_pOutput_buf_end
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
call eax
mov eax, dword [ebp + 8]
add eax, 0x8192
mov dword [esp + 8], 0x240
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
mov eax, dword [ebp + 8]
add eax, 0x83d2
mov dword [esp + 8], 0x40
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
mov eax, dword [ebp + 8]
add eax, 0x9272
lea edx, [eax + 1]
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
mov eax, dword [ebp + 8]
lea edx, [eax + 0x9272]
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], 8
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x64]
lea edx, [eax + 1]
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x406940
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x406878
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x70]
sub edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x78]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov ecx, dword [ebp + 8]
add ecx, 0x39272
mov dword [esp + 8], edx
mov edx, dword [ebp - 0xb0]
mov dword [esp + 4], edx
mov dword [esp], ecx
call eax
test eax, eax
jne 0x406940
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0xffffffff
mov eax, 0xffffffff
jmp 0x406946
mov eax, dword [ebp + 8]
add eax, 0x39272
cmp dword [ebp - 0x30], eax
jne 0x406926
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x8c]
sub edx, eax
mov eax, dword [ebp - 0xb0]
cmp edx, eax
cmovbe eax, edx
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp + 8]
lea ecx, [edx + 0x39272]
mov edx, dword [ebp + 8]
mov ebx, dword [edx + 0x74]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x8c]
add edx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._memcpy
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x8c]
mov eax, dword [ebp - 0xb4]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x8c], edx
mov eax, dword [ebp - 0xb4]
sub dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x406940
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], edx
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], edx
jmp 0x406940
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x8c]
mov eax, dword [ebp - 0xb0]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x8c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
mov ebx, dword [ebp - 4]
leave
ret