Function at 0x4c00e0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c901
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x4a0], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x47c], esi
mov dword [ebp - 0x48c], esi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x474], eax
push eax
mov ecx, ebx
call fcn.004c0000
test al, al
je 0x4c014e
xor eax, eax
jmp 0x4c086d
call fcn.0040baa0
mov dword [ebp - 0x470], eax
push 0x58
call fcn.0052bd3f
add esp, 4
test eax, eax
je 0x4c0172
mov ecx, eax
call fcn.004bec70
mov edi, eax
jmp 0x4c0174
xor edi, edi
mov dword [ebp - 0x478], edi
mov dword [ebp - 4], 0
push dword [ebp - 0x474]
lea ecx, [edi + 0x28]
call fcn.00403ef0
push esi
call fcn.004bfdc0
add esp, 4
mov ecx, 0x14c
cmp ax, cx
je 0x4c01c4
push dword [0x5fb47c]
lea ecx, [ebp - 0x43c]
call fcn.004029a0
push 0x5dbcfc
lea eax, [ebp - 0x43c]
push eax
call fcn.00543656
push str.AddDllDirectory
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
neg eax
sbb eax, eax
and eax, 0x1100
push eax
push 0
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [edi], eax
test eax, eax
jne 0x4c026b
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.00423a00
add esp, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2dc], 0
jne 0x4c0239
push str.Load_Library_has_failed._nChanging_the_projects__Runtime_Library__setting_to__Multi_threaded__MT___might_solve_this_problem.
lea ecx, [ebp - 0x454]
call fcn.004029a0
push 0x5dbcfc
lea eax, [ebp - 0x454]
push eax
call fcn.00543656
cmp dword [ebp - 0x2d8], 8
mov eax, dword [ebp - 0x2ec]
jae 0x4c024e
lea eax, [ebp - 0x2ec]
push eax
lea ecx, [ebp - 0x46c]
call fcn.004029a0
push 0x5dbcfc
lea eax, [ebp - 0x46c]
push eax
call fcn.00543656
push str.isUnicode
push eax
call esi
mov dword [edi + 0x1c], eax
test eax, eax
je 0x4c0825
call eax
test eax, eax
je 0x4c0825
push str.setInfo
push dword [edi]
call esi
mov dword [edi + 8], eax
test eax, eax
jne 0x4c02b9
push str.Missing__setInfo__function
lea ecx, [ebp - 0x31c]
call fcn.004029a0
push 0x5dbcfc
lea eax, [ebp - 0x31c]
push eax
call fcn.00543656
push str.getName
push dword [edi]
call esi
mov dword [edi + 0xc], eax
test eax, eax
jne 0x4c02ea
push str.Missing__getName__function
lea ecx, [ebp - 0x334]
call fcn.004029a0
push 0x5dbcfc
lea eax, [ebp - 0x334]
push eax
call fcn.00543656
call eax
push eax
lea ecx, [edi + 0x40]
call fcn.00403ef0
push str.beNotified
push dword [edi]
call esi
mov dword [edi + 0x10], eax
test eax, eax
jne 0x4c0326
push str.Missing__beNotified__function
lea ecx, [ebp - 0x34c]
call fcn.004029a0
push 0x5dbcfc
lea eax, [ebp - 0x34c]
push eax
call fcn.00543656
push str.messageProc
push dword [edi]
call esi
mov dword [edi + 0x18], eax
test eax, eax
jne 0x4c0357
push str.Missing__messageProc__function
lea ecx, [ebp - 0x364]
call fcn.004029a0
push 0x5dbcfc
lea eax, [ebp - 0x364]
push eax
call fcn.00543656
sub esp, 0xc
mov ecx, esp
mov eax, dword [ebx]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edi + 8]
call eax
add esp, 0xc
push str.getFuncsArray
push dword [edi]
call esi
mov dword [edi + 0x14], eax
test eax, eax
jne 0x4c03a5
push str.Missing__getFuncsArray__function
lea ecx, [ebp - 0x37c]
call fcn.004029a0
push 0x5dbcfc
lea eax, [ebp - 0x37c]
push eax
call fcn.00543656
lea ebx, [edi + 0x24]
push ebx
call eax
add esp, 4
mov dword [edi + 0x20], eax
test eax, eax
je 0x4c0804
cmp dword [ebx], 0
jle 0x4c0804
call dword [sym.imp.USER32.dll_CreateMenu]
mov dword [edi + 4], eax
push str.GetLexerCount
push dword [edi]
call esi
mov ebx, eax
test ebx, ebx
je 0x4c07d0
push str.GetLexerName
push dword [edi]
call esi
mov dword [ebp - 0x490], eax
test eax, eax
jne 0x4c0412
push str.Loading_GetLexerName_function_failed.
lea ecx, [ebp - 0x394]
call fcn.004029a0
push 0x5dbcfc
lea eax, [ebp - 0x394]
push eax
call fcn.00543656
push str.GetLexerStatusText
push dword [edi]
call esi
mov dword [ebp - 0x494], eax
test eax, eax
jne 0x4c0446
push str.Loading_GetLexerStatusText_function_failed.
lea ecx, [ebp - 0x3ac]
call fcn.004029a0
push 0x5dbcfc
lea eax, [ebp - 0x3ac]
push eax
call fcn.00543656
mov byte [ebp - 0x2e4], 0
xor eax, eax
mov word [ebp - 0x54], ax
call ebx
mov ebx, eax
mov dword [ebp - 0x480], ebx
call fcn.0040b9e0
mov dword [ebp - 0x484], eax
xor esi, esi
mov dword [ebp - 0x498], esi
cmp esi, ebx
jge 0x4c054c
push 0x10
lea eax, [ebp - 0x2e4]
push eax
push esi
call dword [ebp - 0x490]
push 0x20
lea eax, [ebp - 0x54]
push eax
push esi
call dword [ebp - 0x494]
push 0
push 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2e4]
push eax
mov ecx, dword [ebp - 0x484]
call fcn.00424360
mov ebx, eax
push ebx
mov ecx, dword [ebp - 0x470]
call fcn.004b72c0
test al, al
jne 0x4c052f
mov eax, dword [ebp - 0x470]
cmp dword [eax + 0xb10], 0x1e
jge 0x4c052f
push 0x60
call fcn.0052bd3f
add esp, 4
mov dword [ebp - 0x4a4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4c0511
lea ecx, [ebp - 0x54]
push ecx
push ebx
mov ecx, eax
call fcn.004bea30
mov byte [ebp - 4], 0
mov dword [ebp + esi*4 - 0x2d4], eax
inc esi
mov dword [ebp - 0x498], esi
mov ebx, dword [ebp - 0x480]
jmp 0x4c0470
xor eax, eax
mov byte [ebp - 4], al
mov dword [ebp + esi*4 - 0x2d4], eax
inc esi
mov dword [ebp - 0x498], esi
mov ebx, dword [ebp - 0x480]
jmp 0x4c0470
mov dword [ebp + esi*4 - 0x2d4], 0
inc esi
mov dword [ebp - 0x498], esi
mov ebx, dword [ebp - 0x480]
jmp 0x4c0470
lea eax, [ebp - 0x304]
push eax
mov ebx, dword [ebp - 0x470]
mov ecx, ebx
call fcn.0042fb90
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4c056c
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x25c]
push eax
call fcn.0054bd88
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x304]
call fcn.004038c0
push str.pluginsConfig
lea eax, [ebp - 0x25c]
push eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
call esi
add edi, 0x28
cmp dword [edi + 0x14], 8
jb 0x4c05b1
mov eax, dword [edi]
jmp 0x4c05b3
mov eax, edi
push eax
lea eax, [ebp - 0x25c]
push eax
call esi
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0x5884e4
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c06c0
push 0x104
push 0x5b9e18
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, ebx
call fcn.00482eb0
push eax
push 0x104
lea eax, [ebp - 0x25c]
push eax
call fcn.0054bd88
add esp, 0xc
push str.pluginsConfig
lea eax, [ebp - 0x25c]
push eax
call esi
cmp dword [edi + 0x14], 8
jb 0x4c063a
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x25c]
push eax
call esi
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0x5884e4
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c06c0
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x304]
call fcn.004029a0
mov byte [ebp - 4], 4
push str._is_missing.
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00401df0
add esp, 0xc
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x3c4]
call fcn.004226d0
push 0x5dbcfc
lea eax, [ebp - 0x3c4]
push eax
call fcn.00543656
push 0x6c
call fcn.0052bd3f
add esp, 4
mov dword [ebp - 0x4a4], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4c06ea
lea ecx, [ebp - 0x25c]
push ecx
mov ecx, eax
call fcn.004ecea0
mov edi, eax
jmp 0x4c06ec
xor edi, edi
mov byte [ebp - 4], 0
mov dword [ebp - 0x470], edi
mov ecx, edi
call fcn.004ee330
test al, al
jne 0x4c0763
test edi, edi
je 0x4c070d
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov dword [ebp - 0x470], 0
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x424]
call fcn.004029a0
mov byte [ebp - 4], 7
push str._failed_to_load.
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.00401df0
add esp, 0xc
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x3dc]
call fcn.004226d0
push 0x5dbcfc
lea eax, [ebp - 0x3dc]
push eax
call fcn.00543656
xor esi, esi
mov dword [ebp - 0x49c], esi
cmp esi, dword [ebp - 0x480]
jge 0x4c0789
mov eax, dword [ebp + esi*4 - 0x2d4]
test eax, eax
je 0x4c0786
push eax
mov ecx, ebx
call fcn.004a8780
inc esi
jmp 0x4c0765
push edi
mov ecx, ebx
call fcn.004b2230
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebx + 0x48]
call fcn.00514e20
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x47c]
mov ecx, dword [ebp - 0x484]
call fcn.00427d90
push eax
push 0
push 0xfa7
mov esi, dword [ebp - 0x488]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c07d6
mov esi, dword [ebp - 0x488]
push dword [ebp - 0x474]
push dword [ebp - 0x47c]
mov ecx, esi
call fcn.004bf530
lea eax, [ebp - 0x478]
push eax
lea ecx, [esi + 0x10]
call fcn.00514e20
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
sar eax, 2
dec eax
jmp 0x4c086d
push str.Missing__FuncItems__array__or_the_nb_of_Function_Item_is_not_set_correctly
lea ecx, [ebp - 0x3f4]
call fcn.004029a0
push 0x5dbcfc
lea eax, [ebp - 0x3f4]
push eax
call fcn.00543656
push str.This_ANSI_plugin_is_not_compatible_with_your_Unicode_Notepad.
lea ecx, [ebp - 0x40c]
call fcn.004029a0
push 0x5dbcfc
lea eax, [ebp - 0x40c]
push eax
call fcn.00543656
push dword [ebp - 0x4ac]
push dword [ebp - 0x474]
mov ecx, dword [ebp - 0x4a0]
call fcn.004c15b0
mov eax, 0x4c0863
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 4