Function at 0x4aded0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x4e38d8]
sub esp, 0x104
test eax, eax
jne 0x4ae17d
mov eax, dword [0x4e38dc]
test eax, eax
jne 0x4ae1b5
mov eax, dword [0x4db7d0]
test eax, eax
je 0x4adf0e
push 0x4e38c0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4db7d0], 0
push 0x4e38c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4e38d8]
test eax, eax
jne 0x4ae172
mov al, byte [0x4e3790]
test al, al
je 0x4adf49
push 0x4e3790
lea eax, [esp + 4]
push str._sGLGIFTGA.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4adf5c
lea ecx, [esp]
push str.GLGIFTGA.dll
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4e38d8], eax
jne 0x4adf8e
push 0x4e38c0
mov dword [0x4e38dc], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add esp, 0x104
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNextRawFrameData
push eax
call esi
mov dword [0x4e38e0], eax
mov eax, dword [0x4e38d8]
push str.GetGlobalColorIndexData
push eax
call esi
mov ecx, dword [0x4e38d8]
push str.GetGlobalColorIndexTotal
push ecx
mov dword [0x4e38e4], eax
call esi
mov edx, dword [0x4e38d8]
push str.GetNextImage
push edx
mov dword [0x4e38e8], eax
call esi
mov dword [0x4e38ec], eax
mov eax, dword [0x4e38d8]
push str.GetImageSize
push eax
call esi
mov ecx, dword [0x4e38d8]
push str.CloseGifHandle
push ecx
mov dword [0x4e38f0], eax
call esi
mov edx, dword [0x4e38d8]
push str.LoadGifFromMem
push edx
mov dword [0x4e38f4], eax
call esi
mov dword [0x4e38f8], eax
mov eax, dword [0x4e38d8]
push str.LoadGifFile
push eax
call esi
mov ecx, dword [0x4e38d8]
push str.Reset
push ecx
mov dword [0x4e38fc], eax
call esi
mov edx, dword [0x4e38d8]
push str.CreateCurrentBmp
push edx
mov dword [0x4e3900], eax
call esi
mov dword [0x4e3904], eax
mov eax, dword [0x4e38d8]
push str.LoadTGAFile
push eax
call esi
mov ecx, dword [0x4e38d8]
push str.LoadTgaFromMem
push ecx
mov dword [0x4e3908], eax
call esi
mov edx, dword [0x4e38d8]
push str.CreateBitmapFromTGA
push edx
mov dword [0x4e390c], eax
call esi
mov dword [0x4e3910], eax
mov eax, dword [0x4e38d8]
push str.CloseTGAHandle
push eax
call esi
mov ecx, dword [0x4e38d8]
push str.GetTgaWidth
push ecx
mov dword [0x4e3914], eax
call esi
mov edx, dword [0x4e38d8]
push str.GetTgaHeight
push edx
mov dword [0x4e3918], eax
call esi
mov dword [0x4e391c], eax
mov eax, dword [0x4e38d8]
push str.GetTgaPalNum
push eax
call esi
mov ecx, dword [0x4e38d8]
push str.GetTgaPixelDepth
push ecx
mov dword [0x4e3920], eax
call esi
mov edx, dword [0x4e38d8]
push str.GetTgaGetImageData
push edx
mov dword [0x4e3924], eax
call esi
mov dword [0x4e3928], eax
mov eax, dword [0x4e38d8]
push str.GetTgaGetImagePalData
push eax
call esi
mov ecx, dword [0x4e38d8]
push str.GetTgaGetImageAlphaData
push ecx
mov dword [0x4e392c], eax
call esi
mov dword [0x4e3930], eax
mov eax, dword [0x4e38e0]
test eax, eax
pop esi
je 0x4ae189
mov eax, dword [0x4e38e4]
test eax, eax
je 0x4ae189
mov eax, dword [0x4e38e8]
test eax, eax
je 0x4ae189
mov eax, dword [0x4e38ec]
test eax, eax
je 0x4ae189
mov eax, dword [0x4e38f0]
test eax, eax
je 0x4ae189
mov eax, dword [0x4e38f4]
test eax, eax
je 0x4ae189
mov eax, dword [0x4e38f8]
test eax, eax
je 0x4ae189
mov eax, dword [0x4e38fc]
test eax, eax
je 0x4ae189
mov eax, dword [0x4e3900]
test eax, eax
je 0x4ae189
mov eax, dword [0x4e3904]
test eax, eax
je 0x4ae189
push 0x4e38c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
add esp, 0x104
ret
mov edx, dword [0x4e38d8]
mov dword [0x4e38dc], 1
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x4e38c0
mov dword [0x4e38d8], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add esp, 0x104
ret