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

Disassembly:
push 0xffffffffffffffff
push 0x101c3eab
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x1023d1bc]
xor eax, esp
mov dword [esp + 0x468], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1023d1bc]
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.100043d0
add esp, 0x14
test eax, eax
jne 0x10004e30
test edx, edx
jne 0x10004e30
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0xffff
cmp ax, si
jne 0x10004cd4
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 0x10004c54
call ebp
mov esi, eax
test esi, esi
jne 0x10004c8c
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test byte [esp + 0x24], 0x10
je 0x10004c58
lea eax, [esp + 0x24]
push eax
push edi
call ebx
test eax, eax
jne 0x10004c4e
call ebp
mov esi, eax
test esi, esi
je 0x10004c37
jmp 0x10004c88
xor esi, esi
jmp 0x10004c31
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.100023a0
mov ebx, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 3
je 0x10004cb9
cmp esi, 2
je 0x10004cb9
cmp esi, 0x12
je 0x10004cb9
test esi, esi
je 0x10004cd0
push esi
push 0x220f1324
call fcn.1000e640
add esp, 8
jmp 0x10004e30
push 0x103
push 0x220f1005
call fcn.1000e640
add esp, 8
jmp 0x10004e30
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.1000fd90
test eax, eax
jne 0x10004d77
call ebp
cmp eax, 3
je 0x10004d44
call ebp
cmp eax, 2
je 0x10004d44
call ebp
push eax
push 0x220f1320
call fcn.1000e640
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov edi, edx
mov dword [esp + 0x488], 0xffffffff
call fcn.1000ff60
mov eax, esi
mov edx, edi
jmp 0x10004e30
push 0x103
push 0x220f1005
call fcn.1000e640
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov edi, edx
mov dword [esp + 0x488], 0xffffffff
call fcn.1000ff60
mov eax, esi
mov edx, edi
jmp 0x10004e30
lea ecx, [esp + 0x14]
call fcn.1000fe20
test eax, eax
jl 0x10004d13
jne 0x10004db3
push 0xd
push 0x220f1003
call fcn.1000e640
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov edi, edx
mov dword [esp + 0x488], 0xffffffff
call fcn.1000ff60
mov eax, esi
mov edx, edi
jmp 0x10004e30
push eax
mov ecx, ebx
mov dword [edi], eax
call fcn.10004120
test eax, eax
jne 0x10004dee
push 0xe
push 0x220f1e01
call fcn.1000e640
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov edi, edx
mov dword [esp + 0x488], 0xffffffff
call fcn.1000ff60
mov eax, esi
mov edx, edi
jmp 0x10004e30
mov ecx, dword [ebx + 8]
mov eax, dword [edi]
cmp eax, ecx
jne 0x10004d86
mov ecx, dword [ebx + 4]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.1000fea0
test eax, eax
je 0x10004d13
mov ecx, dword [edi]
mov eax, dword [ebx + 4]
push ecx
push eax
call fcn.10004210
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x488], esi
call fcn.1000ff60
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.10010588
add esp, 0x478
ret