Function at 0x5df730
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
push ebx
push esi
push edi
mov eax, dword [0x69468c]
mov dword [ebp - 0x160], eax
mov dword [0x69468c], 0
call fcn.005df6c0
push 0
push 0
push 0
push str.plugin_list
push 0x7668c8
call fcn.005dd300
add esp, 0x14
cmp dword [0x7668c8], 0
jne 0x5df781
mov eax, 1
jmp 0x5dfbd0
mov ecx, dword [0x7668c8]
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x164]
mov eax, dword [edx + 0x10c]
mov dword [ebp - 0x168], eax
mov edi, 0x6953b8
mov edx, 0x7463c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x7463c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x5df822
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx + 0x7463c7]
cmp edx, 0x5c
je 0x5df822
mov edi, 0x67cac4
mov edx, 0x7463c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x7463c8
mov edx, 0x74ac48
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x67d2d4
mov edx, 0x7463c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x15c]
push eax
push 0x7463c8
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 1
cmp dword [ebp - 0x10], 0xffffffff
jne 0x5df8b3
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 4], 0
je 0x5dfa9b
mov edi, 0x74ac48
mov edx, 0x74ab40
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x130]
mov edx, 0x74ab40
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [0x7464d8], 0
push 3
push 0x74ab40
push 0x7464d0
call fcn.0046d4d0
add esp, 0xc
cmp dword [0x7464d8], 0x40f1820
jne 0x5dfa82
push 4
push 0x74ab40
push 0x7464d0
call fcn.0046d4d0
add esp, 0xc
mov dword [0x7464d8], 0
mov eax, dword [0x747818]
and eax, 0xff000000
test eax, eax
jne 0x5dfa82
mov ecx, dword [ebp - 0x164]
push ecx
call fcn.005dd260
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
jne 0x5df9a8
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x5dfbd0
push str.pifn
push 0x228
call fcn.005ddd80
add esp, 8
mov ecx, dword [ebp - 0x168]
mov dword [ecx], eax
mov edx, dword [ebp - 0x168]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5df9f6
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.005dcf30
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x5dfbd0
lea edi, [ebp - 0x130]
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x7477f0
mov edx, dword [ebp - 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x74ac48
mov ecx, dword [ebp - 0xc]
add ecx, 0x124
mov edx, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x69468c]
add ecx, 1
mov dword [0x69468c], ecx
lea edx, [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 4], eax
jmp 0x5df8b3
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [0x7567cc]
push edx
call dword [sym.imp.USER32.dll_GetMenu]
mov dword [ebp - 8], eax
push 0x6946a0
push 0xa40f
push 0
push 0xa410
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_InsertMenuA]
cmp dword [ebp - 0x160], 0
jne 0x5dfae3
mov dword [ebp - 0x160], 1
mov dword [ebp - 0x18], 0
jmp 0x5dfaf5
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x160]
jge 0x5dfb17
push 0
mov eax, dword [ebp - 0x18]
add eax, 0xa410
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x5dfaec
cmp dword [ebp - 0x14], 0
je 0x5dfb8e
mov edx, dword [0x7668c8]
mov eax, dword [edx + 0x10c]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x18], 0
jmp 0x5dfb41
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [0x69468c]
jge 0x5dfb8c
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x5dfb7b
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0xa410
push eax
push 0
push 0xa40f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_InsertMenuA]
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 4]
mov dword [ebp - 0x168], eax
jmp 0x5dfb38
jmp 0x5dfbbd
push 0x6946a0
push 0xa410
push 0
push 0xa40f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_InsertMenuA]
mov dword [0x69468c], 0
mov dword [ebp - 0x160], 0
push 0
push 0xa40f
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_DeleteMenu]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret