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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156e41
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x328], esi
mov dword [ebp - 0x32c], esi
mov byte [ebp - 0x31d], al
mov byte [ebp - 0x328], al
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
cmp dword [edi + 0x10], 0
mov dword [ebp - 4], 0
jne 0x1003e36a
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
jmp 0x1003e896
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1003e374
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003e39b
mov eax, dword [ebp - 0x31c]
mov dword [esi], eax
mov eax, dword [ebp - 0x318]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x314]
mov dword [esi + 8], eax
jmp 0x1003e347
push 1
xor eax, eax
mov dword [ebp - 0x48], 0
push 0x10161e80
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.1000bc10
push 1
xor eax, eax
mov byte [ebp - 4], 1
push 0x10161e84
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.1000bc10
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xb8]
push edi
push eax
call fcn.10038e00
add esp, 0xc
mov edx, eax
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
sub ecx, esi
cmp dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 3
jbe 0x1003e43b
mov eax, dword [ebp - 0x44]
sub eax, ecx
cmp eax, esi
jb 0x1003e43b
cmp dword [edx + 0x14], 8
jb 0x1003e42d
mov edx, dword [edx]
push esi
push edx
push 0
lea ecx, [ebp - 0x58]
call fcn.10047180
jmp 0x1003e44f
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
mov ecx, edx
push eax
call fcn.1001cfc0
mov dword [ebp - 0x60], 0
xor ecx, ecx
mov dword [ebp - 0x5c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xb8]
call fcn.100098e0
lea ecx, [ebp - 0x88]
call fcn.100098e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.100098e0
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x308]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x324], eax
cmp eax, 0xffffffff
je 0x1003e850
mov esi, 0x38
mov dword [ebp - 0x310], esi
nop word [eax + eax]
test byte [ebp - 0x308], 0x10
jne 0x1003e605
push 1
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x10161e84
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.1000bc10
cmp dword [edi + 0x14], 8
mov eax, edi
mov byte [ebp - 4], 8
jb 0x1003e51e
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x40]
push eax
push 0
call fcn.10047180
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
or esi, 0xc0
mov dword [ebp - 0x310], esi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x2dc]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.1002b8a0
add esp, 0xc
mov ecx, dword [ebp - 0x318]
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x314], ecx
je 0x1003e5d4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [ebp - 0x318], 0x18
jmp 0x1003e5e1
push eax
push ecx
lea ecx, [ebp - 0x31c]
call fcn.10013370
lea ecx, [ebp - 0xa0]
call fcn.100098e0
lea ecx, [ebp - 0x28]
call fcn.100098e0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.100098e0
jmp 0x1003e829
cmp byte [ebp - 0x31d], 0
je 0x1003e706
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x10161e5c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.1000bc10
or esi, 0x102
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x310], esi
lea ecx, [ebp - 0x2dc]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x330], esi
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1003e686
test dx, dx
je 0x1003e682
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1003e686
add ecx, 4
add eax, 4
test dx, dx
jne 0x1003e660
xor eax, eax
jmp 0x1003e68b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003e706
push 2
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x10161e60
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.1000bc10
or esi, 0x204
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2dc]
mov dword [ebp - 0x310], esi
cmovae eax, dword [ebp - 0x40]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1003e6f6
test dx, dx
je 0x1003e6f2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1003e6f6
add ecx, 4
add eax, 4
test dx, dx
jne 0x1003e6d0
xor eax, eax
jmp 0x1003e6fb
sbb eax, eax
or eax, 1
mov byte [ebp - 0x309], 1
test eax, eax
jne 0x1003e70d
mov byte [ebp - 0x309], 0
mov eax, dword [ebp - 0x310]
test al, 4
je 0x1003e72e
and eax, 0xfffffffb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x310], eax
call fcn.100098e0
mov eax, dword [ebp - 0x310]
mov dword [ebp - 4], 7
test al, 2
je 0x1003e74a
and eax, 0xfffffffd
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x310], eax
call fcn.100098e0
cmp byte [ebp - 0x309], 0
je 0x1003e823
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x10161e84
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.1000bc10
mov esi, dword [ebp - 0x310]
or esi, 0x400
mov dword [ebp - 0x310], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.10038e00
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.1002b8a0
push dword [ebp - 0x328]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x33c]
push eax
call fcn.1003e2b0
add esp, 0x24
lea ecx, [ebp - 0xa0]
call fcn.100098e0
lea ecx, [ebp - 0x40]
call fcn.100098e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.100098e0
push dword [ebp - 0x32c]
lea ecx, [ebp - 0x31c]
push dword [ebp - 0x338]
push dword [ebp - 0x33c]
push dword [ebp - 0x318]
call fcn.1003bc00
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 7
call fcn.1000ddd0
jmp 0x1003e829
mov esi, dword [ebp - 0x310]
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x324]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1003e4e0
push dword [ebp - 0x324]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x32c]
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x31c], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x318]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x314]
mov dword [esi + 8], eax
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
call fcn.100098e0
lea ecx, [ebp - 0x31c]
call fcn.1000ddd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret