Function at 0x50b2e0
Capabilities:
Link many functions at runtime
Rebuild import table

Disassembly:
push 0xffffffffffffffff
push 0x5e4000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x677e28]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
push str.CRDE96V3.DLL
mov dword [esp + 0x1c], ebx
call edi
cmp eax, ebx
mov dword [esi + 0x4c], eax
je 0x50b341
push str.I3SPEC32.DLL
call edi
cmp eax, ebx
mov dword [esi + 0x50], eax
jne 0x50b333
push str.i3spec32.dll
jmp 0x50b346
push str.I3TIF32.DLL
call edi
cmp eax, ebx
mov dword [esi + 0x54], eax
jne 0x50b34f
push str.crde96v3.dll
lea ecx, [esp + 0x10]
call fcn.0059d986
cmp dword [esi + 0x4c], ebx
je 0x50b697
cmp dword [esi + 0x54], ebx
je 0x50b697
mov eax, dword [esi + 0x50]
cmp eax, ebx
je 0x50b697
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnhanceBMP
push eax
call edi
mov ecx, dword [esi + 0x50]
push str.BetterBMP
push ecx
mov dword [esi + 0x80], eax
call edi
mov edx, dword [esi + 0x50]
push str.ILRotateBMP
push edx
mov dword [esi + 0x84], eax
call edi
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x50]
push str.ILRotate
push eax
call edi
mov ecx, dword [esi + 0x4c]
push str.InitDll
push ecx
mov dword [esi + 0x78], eax
call edi
mov edx, dword [esi + 0x50]
push str.DllInit
push edx
mov dword [esi + 0xb8], eax
call edi
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0x54]
push str.InitDLL
push eax
call edi
mov ecx, dword [esi + 0x4c]
push str.readjpgfile
push ecx
mov dword [esi + 0xbc], eax
call edi
mov edx, dword [esi + 0x54]
push str.getinfo
push edx
mov dword [esi + 0x8c], eax
call edi
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x4c]
push str.writejpgfile
push eax
call edi
mov ecx, dword [esi + 0x4c]
push str.wrjpgfiledib
push ecx
mov dword [esi + 0x90], eax
call edi
mov edx, dword [esi + 0x4c]
push str.readbmpfile
push edx
mov dword [esi + 0x94], eax
call edi
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0x4c]
push str.writebmpfile
push eax
call edi
mov ecx, dword [esi + 0x4c]
push str.wrbmpfiledib
push ecx
mov dword [esi + 0xac], eax
call edi
mov edx, dword [esi + 0x4c]
push str.readgiffile
push edx
mov dword [esi + 0xb0], eax
call edi
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0x4c]
push str.writegiffile
push eax
call edi
mov dword [esi + 0xa0], eax
push str.writetiffile
mov ecx, dword [esi + 0x54]
push ecx
call edi
mov edx, dword [esi + 0x54]
push str.readtiffile
push edx
mov dword [esi + 0xa4], eax
call edi
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x54]
push str.readtiffiledib
push eax
call edi
mov ecx, dword [esi + 0x54]
push str.writetiffiledib
push ecx
mov dword [esi + 0xc0], eax
call edi
mov edx, dword [esi + 0x4c]
push str.wrgiffiledib
push edx
mov dword [esi + 0xc4], eax
call edi
mov dword [esi + 0xc8], eax
mov eax, dword [esi + 0x50]
push str.ILInvertBMP
push eax
call edi
mov ecx, dword [esi + 0x50]
push str.ScaleToGrayBMP
push ecx
mov dword [esi + 0xcc], eax
call edi
mov edx, dword [esi + 0x50]
push str.ScaleToGray
push edx
mov dword [esi + 0xd0], eax
call edi
mov dword [esi + 0xd4], eax
mov eax, dword [esi + 0x50]
push str.ILIncreaseColorsBMP
push eax
call edi
mov ecx, dword [esi + 0x4c]
push str.rdgiffiledib
push ecx
mov dword [esi + 0xd8], eax
call edi
mov edx, dword [esi + 0x4c]
push str.rdjpgfiledib
push edx
mov dword [esi + 0xdc], eax
call edi
mov dword [esi + 0xe0], eax
mov eax, dword [esi + 0x4c]
push str.rdbmpfiledib
push eax
call edi
mov ecx, dword [esi + 0x4c]
push str.DIB1to4
push ecx
mov dword [esi + 0xe4], eax
call edi
mov dword [esi + 0xe8], eax
mov eax, dword [esi + 0xb8]
cmp eax, ebx
je 0x50b568
push str.sprintf
push ebx
call eax
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0x50b57a
push str.msgbox
push ebx
call eax
mov eax, dword [esi + 0xbc]
cmp eax, ebx
je 0x50b58c
push str.sprintf
push ebx
call eax
cmp dword [esi + 0x7c], ebx
je 0x50b670
cmp dword [esi + 0x80], ebx
je 0x50b670
cmp dword [esi + 0x84], ebx
je 0x50b670
cmp dword [esi + 0xcc], ebx
je 0x50b670
cmp dword [esi + 0xd4], ebx
je 0x50b670
cmp dword [esi + 0x88], ebx
je 0x50b670
cmp dword [esi + 0x8c], ebx
je 0x50b670
cmp dword [esi + 0x90], ebx
je 0x50b670
cmp dword [esi + 0x98], ebx
je 0x50b670
cmp dword [esi + 0xe4], ebx
je 0x50b670
cmp dword [esi + 0x9c], ebx
je 0x50b670
cmp dword [esi + 0xa0], ebx
je 0x50b670
cmp dword [esi + 0xa4], ebx
je 0x50b670
cmp dword [esi + 0xa8], ebx
je 0x50b670
cmp dword [esi + 0xb0], ebx
je 0x50b670
cmp dword [esi + 0xac], ebx
je 0x50b670
cmp dword [esi + 0xb4], ebx
je 0x50b670
cmp dword [esi + 0xb8], ebx
je 0x50b670
cmp dword [esi + 0xbc], ebx
je 0x50b670
cmp dword [esi + 0xc0], ebx
je 0x50b670
cmp dword [esi + 0xd0], ebx
je 0x50b670
cmp dword [esi + 0xd8], ebx
je 0x50b670
cmp dword [esi + 0xdc], ebx
je 0x50b670
cmp dword [esi + 0x78], ebx
je 0x50b670
cmp dword [esi + 0x94], ebx
je 0x50b670
mov bl, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0059d7fd
pop edi
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
cmp byte [esp + 0x20], bl
je 0x50b6cd
lea edx, [esp + 0xc]
lea eax, [esp + 0x20]
push edx
push str.Cannot_find
push eax
call fcn.0059db06
mov eax, dword [eax]
push ebx
push ebx
push eax
mov byte [esp + 0x24], 1
call fcn.005ab679
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], bl
call fcn.0059d7fd
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0059d7fd
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4