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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ed9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x1012d034]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0x318]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x320], 0
lea ecx, [esp + 0x14]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov ecx, eax
mov byte [esp + 0x320], 1
cmp dword [ecx + 0x14], 8
jb 0x10003de3
mov ecx, dword [ecx]
cmp dword [esi + 0x48], 8
lea eax, [esi + 0x34]
jb 0x10003dee
mov eax, dword [eax]
push ecx
push eax
lea eax, [esp + 0x94]
push 0x100f94b4
push eax
call fcn.10039f20
add esp, 0x10
mov byte [esp + 0x320], 3
cmp dword [esp + 0x28], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x10003e23
push dword [esp + 0x14]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
lea eax, [esp + 0x8c]
push 0x100f9570
push eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x2c], 0
push eax
call fcn.10007140
push 0x24c
lea eax, [esp + 0xd0]
mov byte [esp + 0x330], 4
push 0
push eax
mov dword [esp + 0xd4], 0
call sub.MSVCR120.dll_memset
add esp, 0x18
lea ecx, [esp + 0xbc]
cmp dword [esp + 0x88], 8
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x10003ebd
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x10004058
mov edi, dword [esp + 0x10]
test byte [esp + 0xbc], 0x10
je 0x1000401f
cmp word [esp + 0xe8], 0x2e
je 0x1000401f
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10007140
push 0x100f9588
mov edx, eax
mov byte [esp + 0x330], 5
lea ecx, [esp + 0x60]
call fcn.10007230
push 0x100f9578
mov edx, eax
mov byte [esp + 0x334], 6
lea ecx, [esp + 0xb8]
call fcn.10007230
add esp, 0x14
cmp dword [esp + 0x64], 8
jb 0x10003f3e
push dword [esp + 0x50]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
mov byte [esp + 0x320], 9
cmp dword [esp + 0x48], 8
jb 0x10003f6d
push dword [esp + 0x34]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
push 0xffffffffffffffff
push eax
mov word [esp + 0x3c], ax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x34], 7
call fcn.10001a70
lea ecx, [esp + 0x14]
mov byte [esp + 0x320], 0xa
call fcn.1003ad30
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [esp + 0x320], 9
setne bl
cmp dword [esp + 0x28], 8
jb 0x10003fec
push dword [esp + 0x14]
call esi
add esp, 4
test bl, bl
je 0x10004001
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x6c]
call fcn.10006ae0
mov byte [esp + 0x320], 4
cmp dword [esp + 0xb8], 8
jb 0x1000401f
push dword [esp + 0xa4]
call esi
add esp, 4
lea eax, [esp + 0xbc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10003ec1
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x70]
mov dword [edi + 8], eax
cmp dword [esp + 0x88], 8
jb 0x1000406b
push dword [esp + 0x74]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
cmp dword [esp + 0xa0], 8
mov word [esp + 0x74], ax
mov dword [esp + 0x84], eax
jb 0x1000409a
push dword [esp + 0x8c]
call esi
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x318]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x300]
xor ecx, esp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 4