Function at 0x41c070
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x431b80]
sub esp, 0x104
test eax, eax
jne 0x41c31d
mov eax, dword [0x431b84]
test eax, eax
jne 0x41c355
mov eax, dword [0x42f700]
test eax, eax
je 0x41c0ae
push 0x431b68
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x42f700], 0
push 0x431b68
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x431b80]
test eax, eax
jne 0x41c312
mov al, byte [0x4326cc]
test al, al
je 0x41c0e9
push 0x4326cc
lea eax, [esp + 4]
push str._sGLGIFTGA.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x41c0fc
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 [0x431b80], eax
jne 0x41c12e
push 0x431b68
mov dword [0x431b84], 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 [0x431b88], eax
mov eax, dword [0x431b80]
push str.GetGlobalColorIndexData
push eax
call esi
mov ecx, dword [0x431b80]
push str.GetGlobalColorIndexTotal
push ecx
mov dword [0x431b8c], eax
call esi
mov edx, dword [0x431b80]
push str.GetNextImage
push edx
mov dword [0x431b90], eax
call esi
mov dword [0x431b94], eax
mov eax, dword [0x431b80]
push str.GetImageSize
push eax
call esi
mov ecx, dword [0x431b80]
push str.CloseGifHandle
push ecx
mov dword [0x431b98], eax
call esi
mov edx, dword [0x431b80]
push str.LoadGifFromMem
push edx
mov dword [0x431b9c], eax
call esi
mov dword [0x431ba0], eax
mov eax, dword [0x431b80]
push str.LoadGifFile
push eax
call esi
mov ecx, dword [0x431b80]
push str.Reset
push ecx
mov dword [0x431ba4], eax
call esi
mov edx, dword [0x431b80]
push str.CreateCurrentBmp
push edx
mov dword [0x431ba8], eax
call esi
mov dword [0x431bac], eax
mov eax, dword [0x431b80]
push str.LoadTGAFile
push eax
call esi
mov ecx, dword [0x431b80]
push str.LoadTgaFromMem
push ecx
mov dword [0x431bb0], eax
call esi
mov edx, dword [0x431b80]
push str.CreateBitmapFromTGA
push edx
mov dword [0x431bb4], eax
call esi
mov dword [0x431bb8], eax
mov eax, dword [0x431b80]
push str.CloseTGAHandle
push eax
call esi
mov ecx, dword [0x431b80]
push str.GetTgaWidth
push ecx
mov dword [0x431bbc], eax
call esi
mov edx, dword [0x431b80]
push str.GetTgaHeight
push edx
mov dword [0x431bc0], eax
call esi
mov dword [0x431bc4], eax
mov eax, dword [0x431b80]
push str.GetTgaPalNum
push eax
call esi
mov ecx, dword [0x431b80]
push str.GetTgaPixelDepth
push ecx
mov dword [0x431bc8], eax
call esi
mov edx, dword [0x431b80]
push str.GetTgaGetImageData
push edx
mov dword [0x431bcc], eax
call esi
mov dword [0x431bd0], eax
mov eax, dword [0x431b80]
push str.GetTgaGetImagePalData
push eax
call esi
mov ecx, dword [0x431b80]
push str.GetTgaGetImageAlphaData
push ecx
mov dword [0x431bd4], eax
call esi
mov dword [0x431bd8], eax
mov eax, dword [0x431b88]
test eax, eax
pop esi
je 0x41c329
mov eax, dword [0x431b8c]
test eax, eax
je 0x41c329
mov eax, dword [0x431b90]
test eax, eax
je 0x41c329
mov eax, dword [0x431b94]
test eax, eax
je 0x41c329
mov eax, dword [0x431b98]
test eax, eax
je 0x41c329
mov eax, dword [0x431b9c]
test eax, eax
je 0x41c329
mov eax, dword [0x431ba0]
test eax, eax
je 0x41c329
mov eax, dword [0x431ba4]
test eax, eax
je 0x41c329
mov eax, dword [0x431ba8]
test eax, eax
je 0x41c329
mov eax, dword [0x431bac]
test eax, eax
je 0x41c329
push 0x431b68
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
add esp, 0x104
ret
mov edx, dword [0x431b80]
mov dword [0x431b84], 1
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x431b68
mov dword [0x431b80], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add esp, 0x104
ret