Function at 0x417ee0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adddf
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x620024]
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 dword [ebp - 0x280], edx
push ecx
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x26c], 1
call fcn.00403880
mov dword [ebp - 4], 0
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x41826b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x274], edi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x264]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x418261
cmp ecx, edx
jg 0x418261
cmp word [eax + ecx*2], 0x5c
je 0x417f94
push 1
push 0x5f4568
lea ecx, [ebp - 0x264]
call fcn.00405b30
mov eax, dword [ebp - 0x264]
mov byte [ebp - 4], 2
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x417faa
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x417fc0
call fcn.00449b3d
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x418275
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x268], 1
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x264]
push 1
push 0x5f5268
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00416370
mov esi, dword [ebp - 0x270]
lea eax, [ebp - 0x260]
add esp, 0x14
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea edx, [esi - 0x10]
mov dword [ebp - 0x278], eax
xor ebx, ebx
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov dword [ebp - 0x268], ebx
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41803e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x278]
cmp eax, 0xffffffff
jne 0x4180a6
xor bl, bl
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x418060
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x418082
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.00586281
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x268]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4180c2
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4180d8
call fcn.00449b3d
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x41826b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x234]
or ebx, 2
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x268], ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418100
mov eax, dword [ebp - 0x264]
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x234]
push ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00416370
mov eax, dword [ebp - 0x270]
lea ebx, [edi - 0x10]
add esp, 0x14
lea esi, [eax - 0x10]
cmp esi, ebx
je 0x418198
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x418183
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x418183
push esi
call fcn.00405670
add esp, 4
mov dword [ebp - 0x27c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x418178
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x27c]
lea edi, [eax + 0x10]
mov dword [ebp - 0x274], edi
jmp 0x418198
push dword [eax - 0xc]
lea ecx, [ebp - 0x274]
push eax
call fcn.00402d30
mov edi, dword [ebp - 0x274]
and dword [ebp - 0x268], 0xfffffffd
or eax, 0xffffffff
mov byte [ebp - 4], 1
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4181b8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp - 0x260], 0x10
je 0x41820a
cmp word [ebp - 0x234], 0x2e
jne 0x4181e7
mov ax, word [ebp - 0x232]
test ax, ax
je 0x418230
cmp ax, 0x2e
jne 0x4181e7
cmp word [ebp - 0x230], 0
je 0x418230
push dword [ebp - 0x280]
mov edx, dword [edi - 0xc]
mov ecx, edi
push 1
call fcn.0041bb00
add esp, 8
test eax, eax
jns 0x418230
xor bl, bl
mov dword [ebp - 0x26c], ebx
jmp 0x418236
mov edx, dword [edi - 0xc]
push ecx
mov ecx, edi
call fcn.0041ba40
mov ebx, dword [ebp - 0x26c]
xor ecx, ecx
add esp, 4
movzx ebx, bl
test eax, eax
cmovs ebx, ecx
mov dword [ebp - 0x26c], ebx
jmp 0x418236
mov ebx, dword [ebp - 0x26c]
mov esi, dword [ebp - 0x278]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4180a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
or esi, 0xffffffff
jmp 0x418045
push 0x80070057
call fcn.00403300
push 0x80004005
call fcn.00403300
push 0x80004005
call fcn.00403300
int3