Function at 0x4027a0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47cb7b
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4b4200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], edx
mov esi, ecx
mov dword [ebp - 0x284], esi
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x288], eax
mov edi, edx
xor eax, eax
movq qword [ebp - 0x294], xmm0
mov dword [ebp - 0x28c], 0
test esi, esi
je 0x40280e
cmp word [esi], ax
je 0x40280e
inc eax
cmp word [esi + eax*2], 0
jne 0x402806
xor ecx, ecx
inc ecx
cmp word [ecx*2 + 0x49eae8], 0
jne 0x402810
add ecx, eax
test edx, edx
je 0x40283a
xor eax, eax
cmp word [edx], ax
je 0x402838
nop dword [eax]
inc eax
cmp word [edx + eax*2], 0
jne 0x402830
add ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x278], ecx
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0046a3df
add esp, 4
mov dword [ebp - 0x280], eax
mov edx, eax
test esi, esi
je 0x402891
movzx ecx, word [esi]
mov eax, ecx
mov dword [ebp - 0x274], eax
mov eax, edx
test cx, cx
je 0x402891
movzx ecx, cx
sub esi, eax
nop
mov word [edx], cx
add edx, 2
movzx eax, word [esi + edx]
mov ecx, eax
test ax, ax
jne 0x402880
mov esi, 0x49eae8
mov ecx, 0x5c
sub esi, edx
nop dword [eax]
mov word [edx], cx
add edx, 2
movzx eax, word [esi + edx]
mov ecx, eax
test ax, ax
jne 0x4028a0
mov esi, dword [ebp - 0x284]
mov eax, edi
test eax, eax
je 0x4028db
movzx eax, word [eax]
mov ecx, eax
test ax, ax
je 0x4028db
movzx eax, ax
lea edi, [edi + 2]
mov word [edx], ax
add edx, 2
movzx eax, word [edi]
test ax, ax
jne 0x4028c7
mov edi, dword [ebp - 0x280]
xor eax, eax
mov word [edx], ax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x290], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dl, al
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x278], 1
and dl, 4
mov byte [ebp - 0x28c], 1
and ecx, 0xfffffffb
mov byte [ebp - 0x279], dl
test dl, dl
push 0x250
cmove ecx, eax
lea eax, [ebp - 0x270]
push 0
push eax
mov dword [ebp - 0x274], ecx
movups xmmword [ebp - 0x20], xmm0
call fcn.0046ba40
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x402976
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x1c], 0
call fcn.00401110
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
cmp eax, 0xffffffff
jne 0x4029f0
mov ecx, dword [ebp - 0x274]
test cl, 2
je 0x402bdf
mov eax, dword [ebp - 0x288]
push dword [eax + 4]
push 5
push ecx
push esi
mov ecx, eax
call fcn.004080e0
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0x28c], 1
cmp eax, 0xffffffff
je 0x4029b8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x270]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x402bd9
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x1c], 0
call fcn.00401110
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x402bd9
xor eax, eax
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x294], 0
lea edi, [ebp - 0x244]
mov byte [ebp - 0x28c], 0
mov dword [ebp - 0x290], 0
test esi, esi
je 0x402a2a
cmp word [esi], ax
je 0x402a2a
inc eax
cmp word [esi + eax*2], 0
jne 0x402a22
xor ecx, ecx
nop dword [eax]
inc ecx
cmp word [ecx*2 + 0x49eae8], 0
jne 0x402a30
add ecx, eax
xor eax, eax
cmp word [ebp - 0x244], ax
je 0x402a5c
nop dword [eax]
inc eax
cmp word [ebp + eax*2 - 0x244], 0
jne 0x402a50
add ecx, eax
mov dword [ebp - 0x29c], ecx
lea eax, [ecx + 1]
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0046a3df
add esp, 4
mov dword [ebp - 0x280], eax
test esi, esi
je 0x402aa6
movzx ecx, word [esi]
mov edx, ecx
test cx, cx
je 0x402aa6
sub esi, eax
mov word [eax], dx
add eax, 2
movzx ecx, word [esi + eax]
mov edx, ecx
test cx, cx
jne 0x402a95
mov esi, 0x49eae8
mov edx, 0x5c
sub esi, eax
mov word [eax], dx
add eax, 2
movzx ecx, word [esi + eax]
mov edx, ecx
test cx, cx
jne 0x402ab2
mov ecx, dword [ebp - 0x244]
test cx, cx
je 0x402ae5
movzx ecx, cx
movzx ecx, cx
lea edi, [edi + 2]
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
test cx, cx
jne 0x402ad1
mov edi, dword [ebp - 0x280]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x294], edi
test eax, eax
je 0x402b15
push eax
call fcn.00469dd3
add esp, 4
mov eax, dword [ebp - 0x270]
mov ecx, edi
mov byte [ebp - 0x28c], 1
push dword [ebp - 0x288]
test al, 0x10
je 0x402b55
test eax, 0x400
je 0x402b42
mov edx, dword [ebp - 0x274]
call fcn.00402cf0
jmp 0x402b60
push dword [ebp - 0x274]
mov edx, dword [ebp - 0x298]
call fcn.004027a0
jmp 0x402b60
mov edx, dword [ebp - 0x274]
call fcn.00402c60
test eax, eax
jne 0x402b6c
mov dword [ebp - 0x278], eax
jmp 0x402b87
mov esi, dword [ebp - 0x278]
test esi, esi
je 0x402b87
cmp eax, 2
mov eax, 2
cmove esi, eax
mov dword [ebp - 0x278], esi
call fcn.00407990
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x402bd3
lea ecx, [ebp - 0x270]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x402bc4
lea ecx, [ebp - 0x270]
call fcn.00401110
mov esi, dword [ebp - 0x284]
test al, al
jne 0x4029f0
mov eax, dword [ebp - 0x20]
jmp 0x402bd9
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
or eax, 0xffffffff
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x274]
cmp byte [ebp - 0x279], 0
jne 0x402c1c
push dword [ebp - 0x288]
mov edx, ecx
mov ecx, esi
call fcn.00402cf0
test eax, eax
jne 0x402c02
xor esi, esi
mov eax, dword [ebp - 0x20]
jmp 0x402c22
mov esi, dword [ebp - 0x278]
test esi, esi
je 0x402bfd
cmp eax, 2
mov eax, 2
cmove esi, eax
mov eax, dword [ebp - 0x20]
jmp 0x402c22
mov esi, dword [ebp - 0x278]
cmp eax, 0xffffffff
je 0x402c2e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x402c3b
push edi
call fcn.00469dd3
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469dc5
mov esp, ebp
pop ebp
ret 8