Function at 0x436280
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x44f418]
sub esp, 0x104
test eax, eax
jne 0x43652d
mov eax, dword [0x44f41c]
test eax, eax
jne 0x436565
mov eax, dword [0x44c6c4]
test eax, eax
je 0x4362be
push 0x44f400
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x44c6c4], 0
push 0x44f400
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x44f418]
test eax, eax
jne 0x436522
mov al, byte [0x44ff64]
test al, al
je 0x4362f9
push 0x44ff64
lea eax, [esp + 4]
push str._sGLGIFTGA.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x43630c
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 [0x44f418], eax
jne 0x43633e
push 0x44f400
mov dword [0x44f41c], 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 [0x44f420], eax
mov eax, dword [0x44f418]
push str.GetGlobalColorIndexData
push eax
call esi
mov ecx, dword [0x44f418]
push str.GetGlobalColorIndexTotal
push ecx
mov dword [0x44f424], eax
call esi
mov edx, dword [0x44f418]
push str.GetNextImage
push edx
mov dword [0x44f428], eax
call esi
mov dword [0x44f42c], eax
mov eax, dword [0x44f418]
push str.GetImageSize
push eax
call esi
mov ecx, dword [0x44f418]
push str.CloseGifHandle
push ecx
mov dword [0x44f430], eax
call esi
mov edx, dword [0x44f418]
push str.LoadGifFromMem
push edx
mov dword [0x44f434], eax
call esi
mov dword [0x44f438], eax
mov eax, dword [0x44f418]
push str.LoadGifFile
push eax
call esi
mov ecx, dword [0x44f418]
push str.Reset
push ecx
mov dword [0x44f43c], eax
call esi
mov edx, dword [0x44f418]
push str.CreateCurrentBmp
push edx
mov dword [0x44f440], eax
call esi
mov dword [0x44f444], eax
mov eax, dword [0x44f418]
push str.LoadTGAFile
push eax
call esi
mov ecx, dword [0x44f418]
push str.LoadTgaFromMem
push ecx
mov dword [0x44f448], eax
call esi
mov edx, dword [0x44f418]
push str.CreateBitmapFromTGA
push edx
mov dword [0x44f44c], eax
call esi
mov dword [0x44f450], eax
mov eax, dword [0x44f418]
push str.CloseTGAHandle
push eax
call esi
mov ecx, dword [0x44f418]
push str.GetTgaWidth
push ecx
mov dword [0x44f454], eax
call esi
mov edx, dword [0x44f418]
push str.GetTgaHeight
push edx
mov dword [0x44f458], eax
call esi
mov dword [0x44f45c], eax
mov eax, dword [0x44f418]
push str.GetTgaPalNum
push eax
call esi
mov ecx, dword [0x44f418]
push str.GetTgaPixelDepth
push ecx
mov dword [0x44f460], eax
call esi
mov edx, dword [0x44f418]
push str.GetTgaGetImageData
push edx
mov dword [0x44f464], eax
call esi
mov dword [0x44f468], eax
mov eax, dword [0x44f418]
push str.GetTgaGetImagePalData
push eax
call esi
mov ecx, dword [0x44f418]
push str.GetTgaGetImageAlphaData
push ecx
mov dword [0x44f46c], eax
call esi
mov dword [0x44f470], eax
mov eax, dword [0x44f420]
test eax, eax
pop esi
je 0x436539
mov eax, dword [0x44f424]
test eax, eax
je 0x436539
mov eax, dword [0x44f428]
test eax, eax
je 0x436539
mov eax, dword [0x44f42c]
test eax, eax
je 0x436539
mov eax, dword [0x44f430]
test eax, eax
je 0x436539
mov eax, dword [0x44f434]
test eax, eax
je 0x436539
mov eax, dword [0x44f438]
test eax, eax
je 0x436539
mov eax, dword [0x44f43c]
test eax, eax
je 0x436539
mov eax, dword [0x44f440]
test eax, eax
je 0x436539
mov eax, dword [0x44f444]
test eax, eax
je 0x436539
push 0x44f400
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
add esp, 0x104
ret
mov edx, dword [0x44f418]
mov dword [0x44f41c], 1
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x44f400
mov dword [0x44f418], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add esp, 0x104
ret