Function at 0x435020
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x44bce8]
sub esp, 0x104
test eax, eax
jne 0x4352cd
mov eax, dword [0x44bcec]
test eax, eax
jne 0x435305
mov eax, dword [0x449024]
test eax, eax
je 0x43505e
push 0x44bcd0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x449024], 0
push 0x44bcd0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x44bce8]
test eax, eax
jne 0x4352c2
mov al, byte [0x44c834]
test al, al
je 0x435099
push 0x44c834
lea eax, [esp + 4]
push str._sGLGIFTGA.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4350ac
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 [0x44bce8], eax
jne 0x4350de
push 0x44bcd0
mov dword [0x44bcec], 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 [0x44bcf0], eax
mov eax, dword [0x44bce8]
push str.GetGlobalColorIndexData
push eax
call esi
mov ecx, dword [0x44bce8]
push str.GetGlobalColorIndexTotal
push ecx
mov dword [0x44bcf4], eax
call esi
mov edx, dword [0x44bce8]
push str.GetNextImage
push edx
mov dword [0x44bcf8], eax
call esi
mov dword [0x44bcfc], eax
mov eax, dword [0x44bce8]
push str.GetImageSize
push eax
call esi
mov ecx, dword [0x44bce8]
push str.CloseGifHandle
push ecx
mov dword [0x44bd00], eax
call esi
mov edx, dword [0x44bce8]
push str.LoadGifFromMem
push edx
mov dword [0x44bd04], eax
call esi
mov dword [0x44bd08], eax
mov eax, dword [0x44bce8]
push str.LoadGifFile
push eax
call esi
mov ecx, dword [0x44bce8]
push str.Reset
push ecx
mov dword [0x44bd0c], eax
call esi
mov edx, dword [0x44bce8]
push str.CreateCurrentBmp
push edx
mov dword [0x44bd10], eax
call esi
mov dword [0x44bd14], eax
mov eax, dword [0x44bce8]
push str.LoadTGAFile
push eax
call esi
mov ecx, dword [0x44bce8]
push str.LoadTgaFromMem
push ecx
mov dword [0x44bd18], eax
call esi
mov edx, dword [0x44bce8]
push str.CreateBitmapFromTGA
push edx
mov dword [0x44bd1c], eax
call esi
mov dword [0x44bd20], eax
mov eax, dword [0x44bce8]
push str.CloseTGAHandle
push eax
call esi
mov ecx, dword [0x44bce8]
push str.GetTgaWidth
push ecx
mov dword [0x44bd24], eax
call esi
mov edx, dword [0x44bce8]
push str.GetTgaHeight
push edx
mov dword [0x44bd28], eax
call esi
mov dword [0x44bd2c], eax
mov eax, dword [0x44bce8]
push str.GetTgaPalNum
push eax
call esi
mov ecx, dword [0x44bce8]
push str.GetTgaPixelDepth
push ecx
mov dword [0x44bd30], eax
call esi
mov edx, dword [0x44bce8]
push str.GetTgaGetImageData
push edx
mov dword [0x44bd34], eax
call esi
mov dword [0x44bd38], eax
mov eax, dword [0x44bce8]
push str.GetTgaGetImagePalData
push eax
call esi
mov ecx, dword [0x44bce8]
push str.GetTgaGetImageAlphaData
push ecx
mov dword [0x44bd3c], eax
call esi
mov dword [0x44bd40], eax
mov eax, dword [0x44bcf0]
test eax, eax
pop esi
je 0x4352d9
mov eax, dword [0x44bcf4]
test eax, eax
je 0x4352d9
mov eax, dword [0x44bcf8]
test eax, eax
je 0x4352d9
mov eax, dword [0x44bcfc]
test eax, eax
je 0x4352d9
mov eax, dword [0x44bd00]
test eax, eax
je 0x4352d9
mov eax, dword [0x44bd04]
test eax, eax
je 0x4352d9
mov eax, dword [0x44bd08]
test eax, eax
je 0x4352d9
mov eax, dword [0x44bd0c]
test eax, eax
je 0x4352d9
mov eax, dword [0x44bd10]
test eax, eax
je 0x4352d9
mov eax, dword [0x44bd14]
test eax, eax
je 0x4352d9
push 0x44bcd0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
add esp, 0x104
ret
mov edx, dword [0x44bce8]
mov dword [0x44bcec], 1
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x44bcd0
mov dword [0x44bce8], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add esp, 0x104
ret