Function at 0x42bd40
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493fcc
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4b81bc]
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 ebx, edx
mov dword [ebp - 0x274], ebx
mov esi, ecx
mov dword [ebp - 0x288], esi
mov eax, dword [ebp + 0x10]
push dword [esi]
mov dword [ebp - 0x284], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c08f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
je 0x42c08f
push ebx
mov edx, esi
lea ecx, [ebp - 0x268]
call fcn.0042b340
add esp, 4
push 0x4aa88c
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0
call fcn.00426ee0
push 0x4ab190
lea ecx, [ebp - 0x268]
call fcn.00426ee0
push 1
push 0x4aa88c
lea ecx, [ebp - 0x268]
call fcn.0041f760
push 0x250
lea eax, [ebp - 0x260]
mov dword [ebp - 0x27c], 0
push 0
push eax
call fcn.0046ce30
push 0x4ab1b0
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x280]
call fcn.00411010
add esp, 0x10
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x280]
mov ebx, eax
or edi, 0xffffffff
mov dword [ebp - 0x278], ebx
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42be5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 0xffffffff
je 0x42c067
mov ebx, dword [ebp + 0x14]
nop dword [eax + eax]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.004038a0
mov byte [ebp - 4], 1
mov edx, 0x4ab1ac
mov eax, dword [ebp - 0x264]
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x42beb9
test si, si
je 0x42beb5
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x42beb9
add ecx, 4
add edx, 4
test si, si
jne 0x42be93
xor ecx, ecx
jmp 0x42bebe
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x42bfd9
mov ecx, 0x4ab1b8
mov edx, eax
nop dword [eax]
mov si, word [edx]
cmp si, word [ecx]
jne 0x42bef6
test si, si
je 0x42bef2
mov si, word [edx + 2]
cmp si, word [ecx + 2]
jne 0x42bef6
add edx, 4
add ecx, 4
test si, si
jne 0x42bed0
xor ecx, ecx
jmp 0x42befb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x42bfd9
mov edx, dword [ebp - 0x274]
lea eax, [ebp - 0x264]
mov esi, dword [ebp - 0x260]
lea ecx, [ebp - 0x26c]
push eax
call fcn.0042b340
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x26c]
mov ecx, dword [ebp + 8]
push eax
and esi, 0x10
jne 0x42bf3a
mov ecx, dword [ebp + 0xc]
call fcn.0042bb10
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42bf60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x42bfca
test ebx, ebx
je 0x42bfca
mov edx, dword [ebp - 0x274]
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x270]
call fcn.0042b340
mov ecx, dword [ebp - 0x288]
lea edx, [ebp - 0x270]
push ebx
push dword [ebp - 0x284]
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042bd40
mov byte [ebp - 4], 1
add esp, 0x14
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
test eax, eax
mov eax, edi
je 0x42c011
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42bfca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
jmp 0x42bfe0
mov byte [ebp - 4], 0
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42bff4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42be70
jmp 0x42c04e
mov dword [ebp - 0x27c], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c02d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c04e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
cmp dword [ebp - 0x27c], ebx
sete bl
jmp 0x42c069
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x42c08b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x42c091
xor eax, eax
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.00439921
mov esp, ebp
pop ebp
ret