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

Disassembly:
push 0xffffffffffffffff
push 0x101c461b
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x1023d1a4]
xor eax, esp
mov dword [esp + 0x468], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1023d1a4]
xor eax, esp
push eax
lea eax, [esp + 0x480]
mov dword fs:[0], eax
mov esi, dword [esp + 0x498]
mov eax, dword [esp + 0x494]
mov ecx, dword [esp + 0x490]
mov ebx, dword [esp + 0x49c]
mov edi, dword [esp + 0x4a0]
push 0
push esi
push eax
push ecx
lea edx, [esp + 0x284]
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
call fcn.10004300
add esp, 0x14
test eax, eax
jne 0x10004d60
test edx, edx
jne 0x10004d60
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0xffff
cmp ax, si
jne 0x10004c04
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x278]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10004b84
call ebp
mov esi, eax
test esi, esi
jne 0x10004bbc
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test byte [esp + 0x24], 0x10
je 0x10004b88
lea eax, [esp + 0x24]
push eax
push edi
call ebx
test eax, eax
jne 0x10004b7e
call ebp
mov esi, eax
test esi, esi
je 0x10004b67
jmp 0x10004bb8
xor esi, esi
jmp 0x10004b61
lea ecx, [esp + 0x274]
push 0x5c
push ecx
call dword [sym.imp.MSVCR90.dll_wcsrchr]
xor edx, edx
add esp, 8
mov word [eax + 2], dx
lea eax, [esp + 0x50]
push eax
push 0x104
lea ecx, [esp + 0x27c]
push ecx
call fcn.100061c0
mov ebx, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 3
je 0x10004be9
cmp esi, 2
je 0x10004be9
cmp esi, 0x12
je 0x10004be9
test esi, esi
je 0x10004c00
push esi
push 0x220f1324
call fcn.1000e150
add esp, 8
jmp 0x10004d60
push 0x103
push 0x220f1005
call fcn.1000e150
add esp, 8
jmp 0x10004d60
mov edi, dword [esp + 0x20]
or esi, 0xffffffff
mov dword [esp + 0x14], vtable.CAhnI2s_File.0
mov dword [esp + 0x18], esi
push 0
lea edx, [esp + 0x278]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x490], 0
call fcn.1000f8d0
test eax, eax
jne 0x10004ca7
call ebp
cmp eax, 3
je 0x10004c74
call ebp
cmp eax, 2
je 0x10004c74
call ebp
push eax
push 0x220f1320
call fcn.1000e150
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov edi, edx
mov dword [esp + 0x488], 0xffffffff
call fcn.1000faa0
mov eax, esi
mov edx, edi
jmp 0x10004d60
push 0x103
push 0x220f1005
call fcn.1000e150
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov edi, edx
mov dword [esp + 0x488], 0xffffffff
call fcn.1000faa0
mov eax, esi
mov edx, edi
jmp 0x10004d60
lea ecx, [esp + 0x14]
call fcn.1000f960
test eax, eax
jl 0x10004c43
jne 0x10004ce3
push 0xd
push 0x220f1003
call fcn.1000e150
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov edi, edx
mov dword [esp + 0x488], 0xffffffff
call fcn.1000faa0
mov eax, esi
mov edx, edi
jmp 0x10004d60
push eax
mov ecx, ebx
mov dword [edi], eax
call fcn.10004050
test eax, eax
jne 0x10004d1e
push 0xe
push 0x220f1e01
call fcn.1000e150
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov edi, edx
mov dword [esp + 0x488], 0xffffffff
call fcn.1000faa0
mov eax, esi
mov edx, edi
jmp 0x10004d60
mov ecx, dword [ebx + 8]
mov eax, dword [edi]
cmp eax, ecx
jne 0x10004cb6
mov ecx, dword [ebx + 4]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.1000f9e0
test eax, eax
je 0x10004c43
mov ecx, dword [edi]
mov eax, dword [ebx + 4]
push ecx
push eax
call fcn.10004140
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x488], esi
call fcn.1000faa0
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x480]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.10010586
add esp, 0x478
ret