Function at 0x406150
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ac70
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x60c9c8]
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
xor edi, edi
push 0x24c
lea eax, [ebp - 0x25c]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x260], edi
call fcn.00531fb0
add esp, 0xc
push 0x55c8ac
lea ecx, [ebp - 0x264]
call fcn.00405b90
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
mov byte [ebp - 4], 1
jle 0x4061ca
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp + 8]
call fcn.00402d60
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x264]
push str._s.cab
push edx
call fcn.004047a0
mov ecx, dword [ebp - 0x264]
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40624c
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40621f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406245
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4063c9
push 0x14
call fcn.00432a1f
add esp, 4
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 2
cmp eax, edi
je 0x40626d
mov ecx, eax
call fcn.0044086c
mov edi, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x264]
cmp dword [edx - 0xc], 0
mov esi, dword [edx - 0x10]
lea eax, [edx - 0x10]
je 0x4062d2
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x4062aa
cmp dword [edx - 8], 0
jl 0x4063e7
mov dword [edx - 0xc], 0
mov edx, dword [ebp - 0x264]
xor ecx, ecx
mov word [edx], cx
jmp 0x4062d2
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4062c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 8]
mov esi, 1
cmp dword [eax - 4], esi
jle 0x4062ee
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp + 8]
call fcn.00402d60
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x234]
push edx
push eax
lea eax, [ebp - 0x264]
push 0x55d250
push eax
call fcn.004047a0
mov ecx, dword [ebp - 0x264]
add esp, 0x10
cmp dword [ecx - 4], esi
jle 0x40632a
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x264]
call fcn.00402d60
mov ecx, dword [ebp - 0x264]
mov eax, dword [edi + 8]
push ecx
push eax
mov ecx, edi
call fcn.00440d3c
push 0x250
lea edx, [ebp - 0x260]
push 0
push edx
call fcn.00531fb0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406271
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x264]
call fcn.00402e90
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4063a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4063c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
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.00531f97
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00402a80
int3