Function at 0x1003e2ff
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x10089e0e
call fcn.100884fc
sub esp, 0x378
push ebx
mov ebx, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x20], edx
push esi
push edi
test ebx, ebx
jne 0x1003e399
mov esi, dword [edx + 0x2c]
mov edi, dword [edx + 0x30]
cmp esi, edi
je 0x1003e33f
mov ecx, esi
call fcn.1000b185
add esi, 0x18
cmp esi, edi
jne 0x1003e328
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x30], eax
xor ecx, ecx
mov al, byte [ecx + 0x10183638]
mov byte [ecx + 0x101833a0], al
inc ecx
test al, al
jne 0x1003e341
mov byte [ebp + 9], 0x5e
mov byte [ebp + 0xa], 0x2c
mov byte [ebp + 0xb], al
mov al, byte [ebp + 9]
xor eax, eax
sub byte [ebp + eax + 9], 2
inc eax
cmp eax, 2
jb 0x1003e362
lea edx, [ebp + 9]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003e372
mov ebx, 0x101833a0
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003e383
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x280]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x24], esi
cmp esi, 0xffffffff
je 0x1003e5f9
test byte [ebp - 0x280], 0x10
je 0x1003e491
lea ecx, [ebp - 0x254]
cmp byte [ecx], 0x2e
jne 0x1003e3d9
movzx eax, byte [ecx + 1]
test al, al
je 0x1003e5dc
lea edx, [ebp - 0x254]
mov edi, 0x100969a8
xor ecx, ecx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x1003e3f9
inc ecx
cmp ecx, 3
jne 0x1003e3e6
xor eax, eax
jmp 0x1003e3fe
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003e5dc
lea edx, [ebp - 0x384]
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x1003e410
lea eax, [ebp - 0x384]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
lea edx, [ebp - 0x254]
pop ecx
mov byte [eax + 1], 0
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003e437
lea edi, [ebp - 0x384]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003e447
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x384]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x1003e464
mov ax, word [0x100969ac]
mov word [ecx], ax
mov al, byte [0x100969ae]
mov byte [ecx + 2], al
lea eax, [ebp - 0x384]
mov ecx, dword [ebp - 0x20]
push eax
call fcn.1003e2ff
jmp 0x1003e5d9
test byte [ebp - 0x280], 0x20
je 0x1003e5dc
mov ecx, 0x10183638
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e4a6
sub ecx, edx
inc ecx
add ecx, ebx
cmp byte [ecx], 0x2a
je 0x1003e4e4
lea edx, [ebp - 0x140]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x1003e4bf
lea eax, [ebp - 0x140]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x1003e4eb
mov byte [eax + 1], 0
jmp 0x1003e4eb
mov byte [ebp - 0x140], 0
lea edx, [ebp - 0x254]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003e4f3
lea edi, [ebp - 0x140]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003e503
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1003e51e
mov byte [eax], 0x2f
lea eax, [ebp - 0x140]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_strchr]
pop ecx
pop ecx
test eax, eax
jne 0x1003e51b
mov byte [ebp - 0x1b], 0x82
mov byte [ebp - 0x1a], 0x80
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x7f
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x16], 0x80
mov byte [ebp - 0x15], 0x81
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0x13], 0x81
mov byte [ebp - 0x12], 0x80
mov byte [ebp - 0x11], 0x3b
mov byte [ebp - 0x10], 0x76
mov byte [ebp - 0xf], 0x7b
mov byte [ebp - 0xe], 0x76
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0x1b]
xor eax, eax
sub byte [ebp + eax - 0x1b], 0xd
inc eax
cmp eax, 0xe
jb 0x1003e574
lea eax, [ebp - 0x1b]
push eax
lea eax, [ebp - 0x140]
push eax
call sub.msvcrt.dll__stricmp
pop ecx
pop ecx
test eax, eax
je 0x1003e5d9
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000ae00
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
and dword [ebp - 4], 0
push ecx
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
je 0x1003e5c4
mov ecx, eax
call fcn.1000adc7
add dword [esi + 0x30], 0x18
jmp 0x1003e5cd
push eax
lea ecx, [esi + 0x2c]
call fcn.1003f652
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.1000b185
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1003e3b5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4