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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
xor eax, eax
sub esp, 0x2c
mov dword [ebp - 0x28], edx
test byte [ebx + 0xa], 8
je 0x4c14d5
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x40]
cmp dword [ebx + 0x24], eax
setae al
movzx eax, al
cmp dword [ebx], 0
jne 0x4c14f7
mov edx, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x8c]
mov edx, dword [edx]
sub edx, ecx
cmp edx, 0x14ccb
jbe 0x4c14f7
add ecx, dword [ebx + 0x74]
mov dword [ebp - 0x1c], ecx
jmp 0x4c1500
lea edi, [ebx + 0x39272]
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp - 0x1c]
lea edx, [esi + 0x14cbc]
mov dword [ebx + 0x30], esi
mov esi, dword [ebx + 0x5c]
mov dword [ebx + 0x34], edx
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4c1535
mov dword [esp + 8], 0x4c1
mov dword [esp + 4], str.miniz.c
mov dword [esp], str._d__m_output_flush_remaining
jmp 0x4c18ec
mov esi, dword [ebx + 0x2c]
xor edx, edx
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x58], edx
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 0x4c1577
mov ecx, dword [ebx + 0x44]
xor edx, edx
cmp dword [ebp - 0x28], 4
mov edi, dword [ebx + 0x48]
sete dl
shl edx, cl
lea esi, [ecx + 1]
or edi, edx
mov dword [ebx + 0x48], edi
jmp 0x4c1609
cmp dword [ebx + 0x64], 0
jne 0x4c1559
mov ecx, dword [ebx + 0x44]
mov edx, 0x78
shl edx, cl
or edx, dword [ebx + 0x48]
add ecx, 8
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x44], ecx
mov esi, dword [ebx + 0x30]
cmp ecx, 7
jbe 0x4c15b9
cmp esi, dword [ebx + 0x34]
jae 0x4c15a8
lea ecx, [esi + 1]
mov dword [ebx + 0x30], ecx
mov byte [esi], dl
mov edx, dword [ebx + 0x48]
mov edi, dword [ebx + 0x44]
shr edx, 8
lea ecx, [edi - 8]
mov dword [ebx + 0x48], edx
jmp 0x4c1590
bts edx, ecx
add ecx, 8
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x44], ecx
mov esi, dword [ebx + 0x30]
cmp ecx, 7
jbe 0x4c1559
cmp esi, dword [ebx + 0x34]
jae 0x4c15da
lea ecx, [esi + 1]
mov dword [ebx + 0x30], ecx
mov byte [esi], dl
mov edx, dword [ebx + 0x48]
mov edi, dword [ebx + 0x44]
shr edx, 8
lea ecx, [edi - 8]
mov dword [ebx + 0x48], edx
jmp 0x4c15c2
cmp esi, dword [ebx + 0x34]
jae 0x4c15fa
lea edx, [esi + 1]
mov ecx, edi
mov dword [ebx + 0x30], edx
mov byte [esi], cl
mov edi, dword [ebx + 0x48]
mov esi, dword [ebx + 0x44]
shr edi, 8
sub esi, 8
mov dword [ebx + 0x48], edi
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x20], 7
mov dword [ebx + 0x44], esi
mov esi, dword [ebx + 0x30]
ja 0x4c15eb
test eax, eax
jne 0x4c1657
mov edx, 1
test byte [ebx + 0xa], 4
jne 0x4c1633
xor edx, edx
cmp dword [ebx + 0x3c], 0x2f
setbe dl
mov eax, ebx
call fcn.004c0fe0
mov ecx, dword [ebx + 0x3c]
mov edx, eax
test ecx, ecx
je 0x4c176b
mov eax, dword [ebx + 0x30]
sub eax, esi
inc eax
cmp eax, ecx
jb 0x4c176b
jmp 0x4c1659
xor edx, edx
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x40]
cmp dword [ebx + 0x24], eax
jb 0x4c176b
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x48], edi
add ecx, 2
mov dword [ebx + 0x44], ecx
cmp ecx, 7
jbe 0x4c169f
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x34]
jae 0x4c168e
lea edx, [eax + 1]
mov ecx, edi
mov dword [ebx + 0x30], edx
mov byte [eax], cl
mov edi, dword [ebx + 0x48]
mov eax, dword [ebx + 0x44]
shr edi, 8
lea ecx, [eax - 8]
mov dword [ebx + 0x48], edi
jmp 0x4c1674
test ecx, ecx
je 0x4c16d3
mov ecx, 8
mov dword [ebx + 0x44], ecx
cmp ecx, 7
jbe 0x4c16d3
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x34]
jae 0x4c16c2
lea edx, [eax + 1]
mov dword [ebx + 0x30], edx
mov edx, edi
mov byte [eax], dl
mov edi, dword [ebx + 0x48]
mov eax, dword [ebx + 0x44]
shr edi, 8
lea ecx, [eax - 8]
mov dword [ebx + 0x48], edi
jmp 0x4c16a8
mov edx, 2
movzx eax, word [ebx + 0x3c]
shl eax, cl
or dword [ebx + 0x48], eax
add ecx, 0x10
mov dword [ebx + 0x44], ecx
cmp ecx, 7
jbe 0x4c170b
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebx + 0x34]
jae 0x4c16ff
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov cl, byte [ebx + 0x48]
mov byte [eax], cl
mov eax, dword [ebx + 0x44]
shr dword [ebx + 0x48], 8
lea ecx, [eax - 8]
jmp 0x4c16e4
xor dword [ebx + 0x3c], 0xffff
dec edx
je 0x4c171c
mov edx, 1
jmp 0x4c16d8
xor eax, eax
cmp eax, dword [ebx + 0x3c]
jae 0x4c1787
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 ecx, 7
jbe 0x4c1768
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x34]
jae 0x4c175c
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 ecx, [edi - 8]
jmp 0x4c1741
inc eax
jmp 0x4c171e
test edx, edx
jne 0x4c1787
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x30], esi
mov edx, 1
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x44], eax
mov eax, ebx
call fcn.004c0fe0
cmp dword [ebp - 0x28], 0
je 0x4c18cd
mov eax, dword [ebx + 0x44]
cmp dword [ebp - 0x28], 4
lea ecx, [eax + 3]
jne 0x4c1843
test eax, eax
jne 0x4c17b9
test byte [ebx + 9], 0x10
je 0x4c18cd
mov edx, dword [ebx + 0x18]
mov eax, 4
jmp 0x4c1818
mov eax, 8
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x44], eax
cmp eax, 7
jbe 0x4c17a5
cmp edx, ecx
jae 0x4c17db
mov eax, dword [ebx + 0x48]
lea ecx, [edx + 1]
mov dword [ebx + 0x30], ecx
mov byte [edx], al
mov eax, dword [ebx + 0x44]
shr dword [ebx + 0x48], 8
sub eax, 8
jmp 0x4c17be
cmp edi, esi
jae 0x4c17f6
lea ecx, [edi + 1]
mov dword [ebx + 0x30], ecx
mov cl, byte [ebx + 0x48]
mov byte [edi], cl
mov edi, dword [ebx + 0x44]
shr dword [ebx + 0x48], 8
lea ecx, [edi - 8]
mov edi, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
mov dword [ebx + 0x44], ecx
cmp ecx, 7
ja 0x4c17e7
shl edx, 8
dec eax
je 0x4c18cd
mov ecx, dword [ebx + 0x44]
mov esi, edx
shr esi, 0x18
shl esi, cl
add ecx, 8
or dword [ebx + 0x48], esi
jmp 0x4c1800
cmp eax, edx
jae 0x4c1839
mov edx, dword [ebx + 0x48]
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov byte [eax], dl
mov eax, dword [ebx + 0x44]
shr dword [ebx + 0x48], 8
lea ecx, [eax - 8]
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x44], ecx
cmp ecx, 7
ja 0x4c182a
test ecx, ecx
je 0x4c1883
mov ecx, 8
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x44], ecx
cmp ecx, 7
jbe 0x4c1883
cmp eax, edx
jae 0x4c1877
mov edx, dword [ebx + 0x48]
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov byte [eax], dl
mov eax, dword [ebx + 0x44]
shr dword [ebx + 0x48], 8
lea ecx, [eax - 8]
jmp 0x4c185a
mov edx, 2
mov eax, dword [ebp - 0x24]
shl eax, cl
or dword [ebx + 0x48], eax
add ecx, 0x10
mov eax, dword [ebx + 0x30]
mov esi, dword [ebx + 0x34]
mov dword [ebx + 0x44], ecx
cmp ecx, 7
jbe 0x4c18bc
cmp eax, esi
jae 0x4c18b0
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
mov cl, byte [ebx + 0x48]
mov byte [eax], cl
mov eax, dword [ebx + 0x44]
shr dword [ebx + 0x48], 8
lea ecx, [eax - 8]
jmp 0x4c1893
xor dword [ebp - 0x24], 0xffff
dec edx
je 0x4c18cd
mov edx, 1
jmp 0x4c1888
mov edx, dword [ebx + 0x30]
cmp edx, dword [ebx + 0x34]
jb 0x4c18f2
mov dword [esp + 8], 0x515
mov dword [esp + 4], str.miniz.c
mov dword [esp], str.d__m_pOutput_buf___d__m_pOutput_buf_end
call dword [sym.imp.msvcrt.dll__assert]
lea esi, [ebx + 0x8192]
xor eax, eax
mov ecx, 0x90
mov edi, esi
lea esi, [ebx + 0x83d2]
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [ebx + 0x9273]
mov dword [ebx + 0x38], 8
mov dword [ebx + 0x28], eax
lea eax, [ebx + 0x9272]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x3c]
add dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x1c]
inc dword [ebx + 0x64]
sub edx, eax
mov dword [ebp - 0x20], edx
je 0x4c19cc
mov edx, dword [ebx]
lea ecx, [ebx + 0x39272]
test edx, edx
je 0x4c1984
mov esi, dword [ebx + 0x78]
mov eax, dword [ebx + 0x84]
sub eax, dword [ebx + 0x70]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
call edx
test eax, eax
jne 0x4c19cc
mov dword [ebx + 0x6c], 0xffffffff
or eax, 0xffffffff
jmp 0x4c19cf
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x8c]
cmp ecx, eax
jne 0x4c19c1
mov eax, dword [ebx + 0x7c]
mov esi, dword [ebp - 0x20]
mov eax, dword [eax]
sub eax, edx
cmp eax, esi
cmova eax, esi
add edx, dword [ebx + 0x74]
mov esi, dword [ebp - 0x1c]
mov edi, edx
mov edx, dword [ebp - 0x20]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x8c], eax
sub edx, eax
je 0x4c19cc
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
jmp 0x4c19cc
mov eax, dword [ebp - 0x20]
add edx, eax
mov dword [ebx + 0x8c], edx
mov eax, dword [ebx + 0x5c]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret