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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567589
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5c5678]
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 + 0xc]
mov dword [ebp - 0x274], eax
mov dword [ebp - 4], 2
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
mov byte [ebp - 0x261], 1
call eax
add eax, 0x10
mov dword [ebp - 0x268], eax
push 0x24c
lea ecx, [ebp - 0x25c]
push 0
mov byte [ebp - 4], 3
push ecx
mov dword [ebp - 0x260], 0
call fcn.00545940
mov edx, dword [ebp + 8]
add esp, 0xc
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c6a57
mov byte [ebp - 0x261], 1
mov eax, dword [ebp + 8]
push eax
push str._s__________.log
lea edi, [ebp - 0x268]
call fcn.00424dc0
mov edx, dword [ebp - 0x268]
add esp, 8
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x270], esi
cmp esi, 0xffffffff
jne 0x4c6a96
mov byte [ebp - 0x261], 1
mov ebx, 4
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c6ac8
test dx, dx
je 0x4c6ac4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c6ac8
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x4c6aa4
xor eax, eax
jmp 0x4c6acd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jg 0x4c6bbd
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x234]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c6b04
test dx, dx
je 0x4c6b00
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c6b04
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x4c6ae0
xor eax, eax
jmp 0x4c6b09
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jl 0x4c6bbd
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x26c]
push ecx
mov esi, 0x58c9b0
call fcn.004236c0
push eax
lea edx, [ebp - 0x278]
push edx
lea esi, [ebp - 0x234]
mov byte [ebp - 4], bl
call fcn.004236c0
add esp, 0x10
lea edi, [ebp - 0x268]
mov byte [ebp - 4], 5
call fcn.00425450
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c6b73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c6b99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x268]
call fcn.004c6fe0
mov esi, dword [ebp - 0x270]
add esp, 4
test eax, eax
setne byte [ebp - 0x261]
lea edx, [ebp - 0x260]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c6a9b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
movzx esi, byte [ebp - 0x261]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c6c07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c6c2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c6c4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c6c73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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.0053d78d
mov esp, ebp
pop ebp
ret