Function at 0x4327c0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x449758]
sub esp, 0x104
test eax, eax
jne 0x432a6d
mov eax, dword [0x44975c]
test eax, eax
jne 0x432aa5
mov eax, dword [0x447244]
test eax, eax
je 0x4327fe
push 0x449740
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x447244], 0
push 0x449740
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x449758]
test eax, eax
jne 0x432a62
mov al, byte [0x44a2a4]
test al, al
je 0x432839
push 0x44a2a4
lea eax, [esp + 4]
push str._sGLGIFTGA.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x43284c
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 [0x449758], eax
jne 0x43287e
push 0x449740
mov dword [0x44975c], 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 [0x449760], eax
mov eax, dword [0x449758]
push str.GetGlobalColorIndexData
push eax
call esi
mov ecx, dword [0x449758]
push str.GetGlobalColorIndexTotal
push ecx
mov dword [0x449764], eax
call esi
mov edx, dword [0x449758]
push str.GetNextImage
push edx
mov dword [0x449768], eax
call esi
mov dword [0x44976c], eax
mov eax, dword [0x449758]
push str.GetImageSize
push eax
call esi
mov ecx, dword [0x449758]
push str.CloseGifHandle
push ecx
mov dword [0x449770], eax
call esi
mov edx, dword [0x449758]
push str.LoadGifFromMem
push edx
mov dword [0x449774], eax
call esi
mov dword [0x449778], eax
mov eax, dword [0x449758]
push str.LoadGifFile
push eax
call esi
mov ecx, dword [0x449758]
push str.Reset
push ecx
mov dword [0x44977c], eax
call esi
mov edx, dword [0x449758]
push str.CreateCurrentBmp
push edx
mov dword [0x449780], eax
call esi
mov dword [0x449784], eax
mov eax, dword [0x449758]
push str.LoadTGAFile
push eax
call esi
mov ecx, dword [0x449758]
push str.LoadTgaFromMem
push ecx
mov dword [0x449788], eax
call esi
mov edx, dword [0x449758]
push str.CreateBitmapFromTGA
push edx
mov dword [0x44978c], eax
call esi
mov dword [0x449790], eax
mov eax, dword [0x449758]
push str.CloseTGAHandle
push eax
call esi
mov ecx, dword [0x449758]
push str.GetTgaWidth
push ecx
mov dword [0x449794], eax
call esi
mov edx, dword [0x449758]
push str.GetTgaHeight
push edx
mov dword [0x449798], eax
call esi
mov dword [0x44979c], eax
mov eax, dword [0x449758]
push str.GetTgaPalNum
push eax
call esi
mov ecx, dword [0x449758]
push str.GetTgaPixelDepth
push ecx
mov dword [0x4497a0], eax
call esi
mov edx, dword [0x449758]
push str.GetTgaGetImageData
push edx
mov dword [0x4497a4], eax
call esi
mov dword [0x4497a8], eax
mov eax, dword [0x449758]
push str.GetTgaGetImagePalData
push eax
call esi
mov ecx, dword [0x449758]
push str.GetTgaGetImageAlphaData
push ecx
mov dword [0x4497ac], eax
call esi
mov dword [0x4497b0], eax
mov eax, dword [0x449760]
test eax, eax
pop esi
je 0x432a79
mov eax, dword [0x449764]
test eax, eax
je 0x432a79
mov eax, dword [0x449768]
test eax, eax
je 0x432a79
mov eax, dword [0x44976c]
test eax, eax
je 0x432a79
mov eax, dword [0x449770]
test eax, eax
je 0x432a79
mov eax, dword [0x449774]
test eax, eax
je 0x432a79
mov eax, dword [0x449778]
test eax, eax
je 0x432a79
mov eax, dword [0x44977c]
test eax, eax
je 0x432a79
mov eax, dword [0x449780]
test eax, eax
je 0x432a79
mov eax, dword [0x449784]
test eax, eax
je 0x432a79
push 0x449740
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
add esp, 0x104
ret
mov edx, dword [0x449758]
mov dword [0x44975c], 1
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x449740
mov dword [0x449758], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add esp, 0x104
ret