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

Disassembly:
push 0xffffffffffffffff
push 0x520360
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004b4151
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x434b72
push 0x80004005
call fcn.004010bd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.CRDE96V3.DLL
mov dword [esp + 0x20], ebx
call edi
cmp eax, ebx
mov dword [esi + 0x4c], eax
jne 0x434bac
push 0xc
push str.crde96v3.dll
lea ecx, [esp + 0x18]
call fcn.00401452
jmp 0x434be8
push str.I3SPEC32.DLL
call edi
cmp eax, ebx
mov dword [esi + 0x50], eax
jne 0x434bcc
push 0xc
push str.i3spec32.dll
lea ecx, [esp + 0x18]
call fcn.00401452
jmp 0x434be8
push str.I3TIF32.DLL
call edi
cmp eax, ebx
mov dword [esi + 0x54], eax
jne 0x434be8
push str.crde96v3.dll
lea ecx, [esp + 0x14]
call fcn.00401522
cmp dword [esi + 0x4c], ebx
je 0x434f59
cmp dword [esi + 0x54], ebx
je 0x434f59
mov eax, dword [esi + 0x50]
cmp eax, ebx
je 0x434f59
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 edx, dword [esi + 0x4c]
push str.GrayDIB
push edx
mov dword [esi + 0xe8], eax
call edi
mov dword [esi + 0xec], eax
mov eax, dword [esi + 0xb8]
cmp eax, ebx
je 0x434e12
push str.sprintf
push ebx
call eax
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0x434e24
push str.msgbox
push ebx
call eax
mov eax, dword [esi + 0xbc]
cmp eax, ebx
je 0x434e36
push str.sprintf
push ebx
call eax
cmp dword [esi + 0x7c], ebx
je 0x434f1a
cmp dword [esi + 0x80], ebx
je 0x434f1a
cmp dword [esi + 0x84], ebx
je 0x434f1a
cmp dword [esi + 0xcc], ebx
je 0x434f1a
cmp dword [esi + 0xd4], ebx
je 0x434f1a
cmp dword [esi + 0x88], ebx
je 0x434f1a
cmp dword [esi + 0x8c], ebx
je 0x434f1a
cmp dword [esi + 0x90], ebx
je 0x434f1a
cmp dword [esi + 0x98], ebx
je 0x434f1a
cmp dword [esi + 0xe4], ebx
je 0x434f1a
cmp dword [esi + 0x9c], ebx
je 0x434f1a
cmp dword [esi + 0xa0], ebx
je 0x434f1a
cmp dword [esi + 0xa4], ebx
je 0x434f1a
cmp dword [esi + 0xa8], ebx
je 0x434f1a
cmp dword [esi + 0xb0], ebx
je 0x434f1a
cmp dword [esi + 0xac], ebx
je 0x434f1a
cmp dword [esi + 0xb4], ebx
je 0x434f1a
cmp dword [esi + 0xb8], ebx
je 0x434f1a
cmp dword [esi + 0xbc], ebx
je 0x434f1a
cmp dword [esi + 0xc0], ebx
je 0x434f1a
cmp dword [esi + 0xd0], ebx
je 0x434f1a
cmp dword [esi + 0xd8], ebx
je 0x434f1a
cmp dword [esi + 0xdc], ebx
je 0x434f1a
cmp dword [esi + 0x78], ebx
je 0x434f1a
cmp dword [esi + 0x94], ebx
je 0x434f1a
mov bl, 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434f42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
cmp byte [esp + 0x24], bl
je 0x434fa9
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push str.Cannot_find
push edx
call fcn.00412826
add esp, 0xc
mov eax, dword [eax]
push ebx
push ebx
push eax
mov byte [esp + 0x28], 1
call fcn.004c26b2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434fa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434fd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4