Function at 0x4022bb
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x417da0
push 0xffffffffffffffff
push 0x54b049
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x5c1d10]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov edi, dword [esp + 0x188]
mov dword [esp + 0x2c], edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov ecx, edi
call fcn.004c8d98
test eax, eax
je 0x418090
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5c4c78
call fcn.004049b2
mov dword [esp + 0x180], 0
push str.Plugins.
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00404502
add esp, 0xc
mov byte [esp + 0x180], 2
lea ecx, [esp + 0x18]
call fcn.00402798
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x34]
push edx
push eax
mov esi, 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x418077
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x1c], 0x7530
jmp 0x417e70
cmp esi, 1
jne 0x418077
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x18]
call fcn.00404133
mov byte [esp + 0x180], 3
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jge 0x417e9e
or eax, 0xffffffff
jmp 0x417ebb
push str..dll
push ecx
call fcn.004f52ae
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x417eb9
or eax, 0xffffffff
jmp 0x417ebb
sub eax, ecx
mov ecx, dword [ecx - 0xc]
add ecx, 0xfffffffc
cmp eax, ecx
jne 0x418038
lea edx, [esp + 0x28]
push edx
mov ecx, 0x5c4c78
call fcn.004049b2
mov byte [esp + 0x180], 4
push str.Plugins_
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00404502
mov byte [esp + 0x18c], 5
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.00401bc7
add esp, 0x18
mov byte [esp + 0x180], 7
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x180], 9
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x418010
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
call fcn.004015fa
mov byte [esp + 0x180], 0xb
push str.LoadDll
push esi
call ebp
push str.DoMyJob
push esi
mov dword [0x5c4eb0], eax
call ebp
mov dword [0x5c4eac], eax
mov eax, dword [0x5c4eb0]
test eax, eax
je 0x417fd2
call eax
test eax, eax
jne 0x417fb3
xor ecx, ecx
jmp 0x417fc7
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x417fb8
sub ecx, edi
mov edi, dword [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.0040468d
cmp dword [0x5c4eac], 0
je 0x417ff8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 4]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InsertMenuA]
add dword [esp + 0x1c], 1
mov byte [esp + 0x180], 9
lea ecx, [esp + 0x20]
call fcn.00402798
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esp + 0x180], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418038
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, eax
mov byte [esp + 0x180], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417e70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x417e70
mov dword [esp + 0x180], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00402798
mov eax, 1
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.004f409d
add esp, 0x170
ret 4