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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2144
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x63434c]
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.0047b6d0
lea eax, [ebp - 0x27c]
mov dword [ebp - 4], 0
push eax
call fcn.0047f130
add esp, 0xc
push dword [ebp - 0x27c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
je 0x49e47f
push 0x5b4864
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.004297b0
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 0x49e27e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x49e47f
cmp edi, 0xffffffff
je 0x49e47f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
xor bh, bh
test byte [ebp - 0x278], 0x10
je 0x49e2d3
push 0x5b4808
lea eax, [ebp - 0x24c]
push eax
call esi
test eax, eax
je 0x49e44a
push 0x5b480c
lea eax, [ebp - 0x24c]
push eax
call esi
test eax, eax
je 0x49e44a
mov bh, 1
jmp 0x49e44a
call fcn.004291f0
test eax, eax
je 0x49e4b8
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 0x49e312
movzx eax, ax
lea ecx, [ebp - 0x280]
push eax
call fcn.00429d30
jmp 0x49e342
lea ecx, [ebp - 0x24c]
lea edx, [ecx + 2]
jmp 0x49e320
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e320
sub ecx, edx
lea eax, [ebp - 0x24c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x280]
call fcn.0042a000
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 0x49e370
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0042e2d0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.0047d850
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 3
mov bl, al
cmp edx, 8
jb 0x49e3d9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49e3cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49e4c2
push edx
push ecx
call fcn.00558004
add esp, 8
test bl, bl
je 0x49e426
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.0042af40
push 1
push eax
mov byte [ebp - 4], 5
call fcn.00446100
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 0x49e428
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x49e428
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 0x49e444
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 0x49e297
test bh, bh
jne 0x49e475
push 1
push eax
push dword [ebp - 0x27c]
call fcn.0047f220
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 0x49e49a
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.00557e89
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00429b00
call fcn.00566a14
int3