Function at 0x41bfc0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x42fba8]
sub esp, 0x104
test eax, eax
jne 0x41c26d
mov eax, dword [0x42fbac]
test eax, eax
jne 0x41c2a5
mov eax, dword [0x42e728]
test eax, eax
je 0x41bffe
push 0x42fb90
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x42e728], 0
push 0x42fb90
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x42fba8]
test eax, eax
jne 0x41c262
mov al, byte [0x4306f4]
test al, al
je 0x41c039
push 0x4306f4
lea eax, [esp + 4]
push str._sGLGIFTGA.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x41c04c
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 [0x42fba8], eax
jne 0x41c07e
push 0x42fb90
mov dword [0x42fbac], 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 [0x42fbb0], eax
mov eax, dword [0x42fba8]
push str.GetGlobalColorIndexData
push eax
call esi
mov ecx, dword [0x42fba8]
push str.GetGlobalColorIndexTotal
push ecx
mov dword [0x42fbb4], eax
call esi
mov edx, dword [0x42fba8]
push str.GetNextImage
push edx
mov dword [0x42fbb8], eax
call esi
mov dword [0x42fbbc], eax
mov eax, dword [0x42fba8]
push str.GetImageSize
push eax
call esi
mov ecx, dword [0x42fba8]
push str.CloseGifHandle
push ecx
mov dword [0x42fbc0], eax
call esi
mov edx, dword [0x42fba8]
push str.LoadGifFromMem
push edx
mov dword [0x42fbc4], eax
call esi
mov dword [0x42fbc8], eax
mov eax, dword [0x42fba8]
push str.LoadGifFile
push eax
call esi
mov ecx, dword [0x42fba8]
push str.Reset
push ecx
mov dword [0x42fbcc], eax
call esi
mov edx, dword [0x42fba8]
push str.CreateCurrentBmp
push edx
mov dword [0x42fbd0], eax
call esi
mov dword [0x42fbd4], eax
mov eax, dword [0x42fba8]
push str.LoadTGAFile
push eax
call esi
mov ecx, dword [0x42fba8]
push str.LoadTgaFromMem
push ecx
mov dword [0x42fbd8], eax
call esi
mov edx, dword [0x42fba8]
push str.CreateBitmapFromTGA
push edx
mov dword [0x42fbdc], eax
call esi
mov dword [0x42fbe0], eax
mov eax, dword [0x42fba8]
push str.CloseTGAHandle
push eax
call esi
mov ecx, dword [0x42fba8]
push str.GetTgaWidth
push ecx
mov dword [0x42fbe4], eax
call esi
mov edx, dword [0x42fba8]
push str.GetTgaHeight
push edx
mov dword [0x42fbe8], eax
call esi
mov dword [0x42fbec], eax
mov eax, dword [0x42fba8]
push str.GetTgaPalNum
push eax
call esi
mov ecx, dword [0x42fba8]
push str.GetTgaPixelDepth
push ecx
mov dword [0x42fbf0], eax
call esi
mov edx, dword [0x42fba8]
push str.GetTgaGetImageData
push edx
mov dword [0x42fbf4], eax
call esi
mov dword [0x42fbf8], eax
mov eax, dword [0x42fba8]
push str.GetTgaGetImagePalData
push eax
call esi
mov ecx, dword [0x42fba8]
push str.GetTgaGetImageAlphaData
push ecx
mov dword [0x42fbfc], eax
call esi
mov dword [0x42fc00], eax
mov eax, dword [0x42fbb0]
test eax, eax
pop esi
je 0x41c279
mov eax, dword [0x42fbb4]
test eax, eax
je 0x41c279
mov eax, dword [0x42fbb8]
test eax, eax
je 0x41c279
mov eax, dword [0x42fbbc]
test eax, eax
je 0x41c279
mov eax, dword [0x42fbc0]
test eax, eax
je 0x41c279
mov eax, dword [0x42fbc4]
test eax, eax
je 0x41c279
mov eax, dword [0x42fbc8]
test eax, eax
je 0x41c279
mov eax, dword [0x42fbcc]
test eax, eax
je 0x41c279
mov eax, dword [0x42fbd0]
test eax, eax
je 0x41c279
mov eax, dword [0x42fbd4]
test eax, eax
je 0x41c279
push 0x42fb90
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
add esp, 0x104
ret
mov edx, dword [0x42fba8]
mov dword [0x42fbac], 1
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x42fb90
mov dword [0x42fba8], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add esp, 0x104
ret