Function at 0x427f70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e5a1
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x4ade78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x4adbb8]
mov ecx, 0x4adbb8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x158], eax
push 0x140
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00462e00
lea eax, [edi + 0x28]
push 0x491810
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00402d20
add esp, 0x18
push eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 1
call fcn.00402970
mov edx, dword [ebp - 0x154]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x42801e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x4af2c0]
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 6
idiv ecx
cmp edx, 3
jne 0x42804d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x50
div ecx
inc edx
mov dword [0x4af2c0], edx
mov esi, dword [ebp - 0x158]
lea eax, [ebp - 0x150]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x154], eax
cmp eax, 0xffffffff
je 0x428195
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, eax
jmp 0x428080
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428090
sub eax, edx
je 0x428165
lea eax, [ebp - 0x124]
push 0x491814
push eax
call fcn.0046236e
add esp, 8
test eax, eax
je 0x428165
lea eax, [ebp - 0x124]
push 0x491818
push eax
call fcn.0046236e
add esp, 8
test eax, eax
je 0x428165
lea eax, [ebp - 0x124]
push str.setev
push eax
call fcn.0046236e
add esp, 8
test eax, eax
jne 0x428165
push str._setev
lea eax, [edi + 0x28]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00402d20
add esp, 0xc
push 1
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00428a20
mov edx, dword [ebp - 0x15c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x428139
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004291b0
test al, al
jne 0x42814a
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
lea ecx, [edi + 0x28]
call fcn.00404340
mov eax, dword [edi + 0x2c]
push dword [edi + eax*4 + 0x34]
call ebx
mov eax, dword [edi + 0x30]
test eax, eax
je 0x428165
push eax
call ebx
lea eax, [ebp - 0x150]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x428080
call fcn.00429070
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x158]
or ebx, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4281b3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461234
mov esp, ebp
pop ebp
ret