Function at 0x49eb20
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a66e4
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x639354]
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 eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0047b5a0
lea eax, [ebp - 0x27c]
mov dword [ebp - 4], 0
push eax
call fcn.0047fa90
add esp, 0xc
push dword [ebp - 0x27c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
je 0x49eddf
push 0x5b9864
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00429810
add esp, 0xc
lea ecx, [ebp - 0x278]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x28c], edi
mov edx, dword [ebp - 0x284]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49ebde
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x49eddf
cmp edi, 0xffffffff
je 0x49eddf
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
xor bh, bh
test byte [ebp - 0x278], 0x10
je 0x49ec33
push 0x5b9808
lea eax, [ebp - 0x24c]
push eax
call esi
test eax, eax
je 0x49edaa
push 0x5b980c
lea eax, [ebp - 0x24c]
push eax
call esi
test eax, eax
je 0x49edaa
mov bh, 1
jmp 0x49edaa
call fcn.00429250
test eax, eax
je 0x49ee18
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x49ec72
movzx eax, ax
lea ecx, [ebp - 0x280]
push eax
call fcn.00429d90
jmp 0x49eca2
lea ecx, [ebp - 0x24c]
lea edx, [ecx + 2]
jmp 0x49ec80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49ec80
sub ecx, edx
lea eax, [ebp - 0x24c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x280]
call fcn.0042a060
mov esi, dword [ebp - 0x280]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49ecd0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0042e330
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.0047da30
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 3
mov bl, al
cmp edx, 8
jb 0x49ed39
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49ed2f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ee22
push edx
push ecx
call fcn.0055c524
add esp, 8
test bl, bl
je 0x49ed86
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.0042afa0
push 1
push eax
mov byte [ebp - 4], 5
call fcn.00445c60
mov edx, dword [ebp - 0x288]
add esp, 0x14
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49ed88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x49ed88
mov bh, 1
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x49eda4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x49ebf7
test bh, bh
jne 0x49edd5
push 1
push eax
push dword [ebp - 0x27c]
call fcn.0047fb80
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
or esi, 0xffffffff
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x49edfa
mov ecx, dword [edx]
push edx
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.0055c3a9
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00429b60
call fcn.0056af64
int3