Function at 0x4af1b8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x5345d0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov esi, 0x103
push esi
xor edi, edi
lea eax, [esp + 0x15]
push edi
push eax
mov byte [esp + 0x1c], 0
call fcn.004b53e0
add esp, 0xc
push esi
lea eax, [esp + 0x11d]
push edi
push eax
mov byte [esp + 0x124], 0
call fcn.004b53e0
add esp, 0xc
cmp dword [0x6462d8], edi
jne 0x4af4e3
mov esi, str.zLib.dll
push esi
push 0x4d45f8
mov ebx, 0x104
lea eax, [esp + 0x120]
push ebx
push eax
call fcn.0047da40
add esp, 0x10
push esi
push edi
push edi
call fcn.0045e8df
pop ecx
pop ecx
push eax
mov edi, 0x4d5d50
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.0047da40
lea eax, [esp + 0x24]
add esp, 0x14
push eax
mov edx, eax
lea ecx, [esp + 0x11c]
call fcn.0041ae5f
pop ecx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x4af356
push esi
push eax
push eax
call fcn.0045e70f
pop ecx
pop ecx
push eax
push edi
mov ebx, 0x104
lea eax, [esp + 0x124]
push ebx
push eax
call fcn.0047da40
add esp, 0x14
push esi
push 0
push 0
call fcn.0045e8df
pop ecx
pop ecx
push eax
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.0047da40
lea eax, [esp + 0x24]
add esp, 0x14
push eax
mov edx, eax
lea ecx, [esp + 0x11c]
call fcn.0041ae5f
pop ecx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x4af356
push esi
push eax
push eax
call fcn.0045e70f
pop ecx
pop ecx
push eax
push edi
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.0047da40
add esp, 0x14
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x4af349
lea edi, [esp + 0x10]
call fcn.0041b048
test eax, eax
mov eax, edi
je 0x4af335
push str._GetLastError_
push eax
push str.:7:InitGZDLL___FAILED:_LoadLibrary___s___FAILED:_The_DLL_exists_but_could_not_be_loaded:__s
call fcn.004178df
add esp, 0xc
jmp 0x4af342
push eax
push str.:7:InitGZDLL___FAILED:_LoadLibrary___s___FAILED:_The_DLL_could_not_be_found_
call fcn.004178df
pop ecx
pop ecx
xor eax, eax
jmp 0x4af4e6
push esi
push str.:7:InitGZDLL___had_to_load__s_directly_from_the_source_
call fcn.004178df
pop ecx
pop ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.gzopen
push ebx
call esi
test eax, eax
mov dword [0x6462bc], eax
jne 0x4af378
push str.:7:InitGZDLL___FAILED:_gzopen___could_not_be_loaded.
call fcn.004178df
pop ecx
push str.gzread
push ebx
call esi
test eax, eax
mov dword [0x6462c0], eax
jne 0x4af394
push str.:7:InitGZDLL___FAILED:_gzread___could_not_be_loaded.
call fcn.004178df
pop ecx
push str.gzwrite
push ebx
call esi
test eax, eax
mov dword [0x6462c4], eax
jne 0x4af3b0
push str.:7:InitGZDLL___FAILED:_gzwrite___could_not_be_loaded.
call fcn.004178df
pop ecx
push str.gzclose
push ebx
call esi
test eax, eax
mov dword [0x6462c8], eax
jne 0x4af3cc
push str.:7:InitGZDLL___FAILED:_gzclose___could_not_be_loaded.
call fcn.004178df
pop ecx
push str.gzseek
push ebx
call esi
test eax, eax
mov dword [0x6462cc], eax
jne 0x4af3e8
push str.:7:InitGZDLL___FAILED:_gzseek___could_not_be_loaded.
call fcn.004178df
pop ecx
push str.gzputs
push ebx
call esi
test eax, eax
mov dword [0x54631c], eax
jne 0x4af404
push str.:7:InitGZDLL___FAILED:_gzputs___could_not_be_loaded.
call fcn.004178df
pop ecx
push str.gzgets
push ebx
call esi
test eax, eax
mov dword [0x546324], eax
jne 0x4af420
push str.:7:InitGZDLL___FAILED:_gzgets___could_not_be_loaded.
call fcn.004178df
pop ecx
push str.gzputc
push ebx
call esi
test eax, eax
mov dword [0x545a9c], eax
jne 0x4af43c
push str.:7:InitGZDLL___FAILED:_gzputc___could_not_be_loaded.
call fcn.004178df
pop ecx
push str.gzgetc
push ebx
call esi
test eax, eax
mov dword [0x546320], eax
jne 0x4af458
push str.:7:InitGZDLL___FAILED:_gzgetc___could_not_be_loaded.
call fcn.004178df
pop ecx
push str.compress2
push ebx
call esi
test eax, eax
mov dword [0x546328], eax
jne 0x4af474
push str.:7:InitGZDLL___FAILED:_compress2___could_not_be_loaded.
call fcn.004178df
pop ecx
push str.compressBound
push ebx
call esi
test eax, eax
mov dword [0x546054], eax
jne 0x4af490
push str.:7:InitGZDLL___FAILED:_compressBound___could_not_be_loaded.
call fcn.004178df
pop ecx
push str.uncompress
push ebx
call esi
test eax, eax
mov dword [0x546318], eax
jne 0x4af4ac
push str.:7:InitGZDLL___FAILED:_uncompress___could_not_be_loaded.
call fcn.004178df
pop ecx
push str.gzprintf
push ebx
call esi
test eax, eax
mov dword [0x6462d0], eax
jne 0x4af4c8
push str.:7:InitGZDLL___FAILED:_gzprintf___could_not_be_loaded.
call fcn.004178df
pop ecx
lea eax, [esp + 0x10]
push eax
mov ecx, 0x104
mov eax, 0x6462e0
mov dword [0x6462d8], ebx
call fcn.0047c3fc
pop ecx
xor eax, eax
inc eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b4c95
mov esp, ebp
pop ebp
ret