Function at 0x445610
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x486d90
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x49e7c0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e7c0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, dword [esp + 0x80]
xor ebx, ebx
xor ebp, ebp
cmp esi, 3
jl 0x445659
xor eax, eax
jmp 0x445a3f
push str._LoadLoaderDLL__ENTER_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 0x4a0b14
mov dword [esp + 0x14], ecx
call fcn.00404330
cmp dword [esi*4 + 0x4a13a4], ebx
mov dword [esp + 0x78], ebx
jne 0x4458f0
mov eax, dword [esi*4 + 0x49e668]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi*4 + 0x4a13a4], eax
jne 0x4456a4
or ebp, 0xffffffff
jmp 0x4458f0
mov ecx, esi
sub ecx, ebx
je 0x44583a
sub ecx, 1
je 0x445799
sub ecx, 1
jne 0x4458f0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetDllVersion
push eax
call edi
mov ecx, dword [esi*4 + 0x4a13a4]
push str.CheckPicture
push ecx
mov dword [0x49fbb8], eax
call edi
mov edx, dword [esi*4 + 0x4a13a4]
push str.LoadPictureInfo
push edx
mov dword [0x49fbb4], eax
call edi
mov dword [0x49fbb0], eax
mov eax, dword [esi*4 + 0x4a13a4]
push str.LoadPicture
push eax
call edi
mov ecx, dword [esi*4 + 0x4a13a4]
push str.GifWriteOpen
push ecx
mov dword [0x49fbac], eax
call edi
mov edx, dword [esi*4 + 0x4a13a4]
push str.GifWriteClose
push edx
mov dword [0x49fb94], eax
call edi
mov dword [0x49fb90], eax
mov eax, dword [esi*4 + 0x4a13a4]
push str.GifAddFrame
push eax
call edi
mov ecx, dword [0x49fbb8]
cmp ecx, ebx
mov dword [0x49fb8c], eax
je 0x44578c
cmp dword [0x49fbb4], ebx
je 0x44578c
cmp dword [0x49fbb0], ebx
je 0x44578c
cmp dword [0x49fbac], ebx
je 0x44578c
cmp dword [0x49fb94], ebx
je 0x44578c
cmp dword [0x49fb90], ebx
je 0x44578c
cmp eax, ebx
je 0x44578c
call ecx
cmp eax, 0xb
je 0x4458f0
mov ecx, dword [esi*4 + 0x4a13a4]
push ecx
jmp 0x4458de
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetDllVersion
push eax
call edi
mov edx, dword [esi*4 + 0x4a13a4]
push str.CheckPicture
push edx
mov dword [0x4a13c4], eax
call edi
mov dword [0x4a13c0], eax
mov eax, dword [esi*4 + 0x4a13a4]
push str.LoadPictureInfo
push eax
call edi
mov ecx, dword [esi*4 + 0x4a13a4]
push str.LoadPicture
push ecx
mov dword [0x4a13bc], eax
call edi
mov edx, dword [esi*4 + 0x4a13a4]
push str.SavePicture
push edx
mov dword [0x4a13b8], eax
call edi
mov ecx, dword [0x4a13c4]
cmp ecx, ebx
mov dword [0x4a13b4], eax
je 0x44582d
cmp dword [0x4a13c0], ebx
je 0x44582d
cmp dword [0x4a13bc], ebx
je 0x44582d
cmp dword [0x4a13b8], ebx
je 0x44582d
cmp eax, ebx
je 0x44582d
call ecx
cmp eax, 0xb
je 0x4458f0
mov eax, dword [esi*4 + 0x4a13a4]
push eax
jmp 0x4458de
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ijlGetLibVersion
push eax
call edi
mov ecx, dword [esi*4 + 0x4a13a4]
push str.ijlInit
push ecx
mov dword [0x4a13a0], eax
call edi
mov edx, dword [esi*4 + 0x4a13a4]
push str.ijlFree
push edx
mov dword [0x4a139c], eax
call edi
mov dword [0x4a1398], eax
mov eax, dword [esi*4 + 0x4a13a4]
push str.ijlRead
push eax
call edi
mov ecx, dword [esi*4 + 0x4a13a4]
push str.ijlWrite
push ecx
mov dword [0x4a1394], eax
call edi
mov ecx, dword [0x4a13a0]
cmp ecx, ebx
mov dword [0x4a1390], eax
je 0x4458d6
cmp dword [0x4a139c], ebx
je 0x4458d6
cmp dword [0x4a1398], ebx
je 0x4458d6
cmp dword [0x4a1394], ebx
je 0x4458d6
cmp eax, ebx
je 0x4458d6
call ecx
cmp dword [eax], 2
jne 0x4458d6
call dword [0x4a13a0]
cmp dword [eax + 4], 5
je 0x4458f0
mov edx, dword [esi*4 + 0x4a13a4]
push edx
mov ebp, 0xfffffffe
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi*4 + 0x4a13a4], ebx
mov ecx, 0x4a0b14
mov dword [esp + 0x78], 0xffffffff
call fcn.004016e0
push 0x48de34
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp ebp, ebx
je 0x445a3d
cmp byte [esi + 0x4a13c8], bl
jne 0x445a3d
mov eax, dword [esi*4 + 0x49e668]
push eax
lea ecx, [esp + 0x54]
mov byte [esi + 0x4a13c8], 1
call fcn.004029c0
mov edi, 7
mov dword [esp + 0x78], 1
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
cmp ebp, 0xffffffff
mov byte [esp + 0x78], 2
jne 0x445969
lea ecx, [esp + 0x34]
push ecx
push 0x192
jmp 0x445978
cmp ebp, 0xfffffffe
jne 0x445980
lea edx, [esp + 0x34]
push edx
push 0x197
call fcn.00442450
add esp, 8
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x5c]
call fcn.00401fd0
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea ecx, [esp + 0x18]
push ecx
push 0x198
mov byte [esp + 0x80], 3
call fcn.00442450
mov ecx, dword [esp + 0x24]
mov esi, 8
add esp, 8
cmp dword [esp + 0x30], esi
jae 0x4459cb
lea ecx, [esp + 0x1c]
cmp dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
jae 0x4459d9
lea eax, [esp + 0x54]
mov edx, dword [0x4a06a4]
push 0x10
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esp + 0x30], esi
jb 0x4459fd
mov eax, dword [esp + 0x1c]
push eax
call fcn.004775de
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x445a1d
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004775de
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
jb 0x445a3d
mov edx, dword [esp + 0x54]
push edx
call fcn.004775de
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004777ea
add esp, 0x68
ret