Function at 0x4014c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48ffae
mov eax, dword fs:[0]
push eax
sub esp, 0x5a0
mov eax, dword [0x4a8228]
xor eax, esp
mov dword [esp + 0x598], eax
push ebx
push esi
push edi
mov eax, dword [0x4a8228]
xor eax, esp
push eax
lea eax, [esp + 0x5b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
push str..SMPlugins.dll
mov eax, 0x104
lea edi, [esp + 0x4a0]
call fcn.00403b40
add esp, 4
test eax, eax
je 0x40152b
xor al, al
jmp 0x4017a8
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x4a0]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x4017a6
jmp 0x401550
mov edi, 0x494b90
lea esi, [esp + 0x70]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x401787
mov edi, 0x494b94
lea esi, [esp + 0x70]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x401787
test byte [esp + 0x44], 0x10
jne 0x401787
xor ebx, ebx
push ebx
push ebx
push 0x104
lea eax, [esp + 0x190]
push eax
push ebx
push ebx
push ebx
lea ecx, [esp + 0x8c]
push ebx
push ecx
call fcn.004623f8
add esp, 0x24
lea edx, [esp + 0x70]
push str.d.dll
push edx
call fcn.004626e0
add esp, 8
test eax, eax
je 0x4015e2
lea eax, [esp + 0x184]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4015d0
sub eax, edx
mov byte [esp + eax + 0x183], bl
lea eax, [esp + 0x184]
push eax
push str.SMC_Plugin__s
lea ecx, [esp + 0x294]
push 0x104
push ecx
call fcn.004627fb
add esp, 0x10
lea edx, [esp + 0x28c]
push edx
mov ecx, 0x4ed010
call fcn.00408730
test al, al
jne 0x40163e
lea eax, [esp + 0x28c]
push eax
lea ecx, [esp + 0x74]
push ecx
push str.permission_denied__plugin:__s__SecurityDesc:__s
push 0x1000000
call fcn.0045ef10
add esp, 0x10
jmp 0x401787
lea edx, [esp + 0x70]
push edx
push str..SMPlugins_s
lea eax, [esp + 0x39c]
push 0x104
push eax
call fcn.004627fb
add esp, 0x10
lea ecx, [esp + 0x394]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str._CreatePlugin__YA_NPAUsPluginCreateInfo___Z
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
jne 0x40168b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x401787
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xa4]
mov ecx, dword [0x4ed000]
mov edx, dword [0x4ecffc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [0x4ed004]
lea eax, [esp + 0x184]
push ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 0x4ed1c0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], ebx
call edi
add esp, 4
test al, al
jne 0x4016f7
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x401787
lea eax, [esp + 0x70]
push eax
push str.plugin_loaded_:_4_s
push ebx
call fcn.0045ef10
add esp, 0xc
push 0x24
call fcn.00462993
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x5b8], ebx
cmp eax, ebx
je 0x40172b
push eax
call fcn.004017d0
jmp 0x40172d
xor eax, eax
mov dword [esp + 0x5b8], 0xffffffff
mov dword [eax], esi
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov dword [eax + 4], ecx
add eax, 8
push eax
lea edx, [esp + 0x398]
call fcn.004038d0
mov ebx, dword [esp + 0x10]
add ebx, 0x190
lea eax, [esp + 0x14]
call fcn.00401e90
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
push eax
add esi, 0x90
call fcn.0044fd30
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x44]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401550
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [esp + 0x5b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x598]
xor ecx, esp
call fcn.004626c8
mov esp, ebp
pop ebp
ret 4