Function at 0x1003f117
Capabilities:
Enumerate files on windows

Disassembly:
push 0x36c
mov eax, 0x1008913e
call fcn.10063057
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x360], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp + 0x18]
mov esi, ecx
mov dword [ebp - 0x368], eax
lea eax, [esi + 0x14]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x378]
mov dword [ebp - 0x364], edi
mov dword [ebp - 0x36c], ebx
call fcn.10037ac7
mov dword [ebp - 4], ebx
mov byte [esi + 8], bl
cmp edi, ebx
jne 0x1003f1e5
cmp dword [ebp - 0x360], ebx
jne 0x1003f1b0
push 0x1010
call fcn.10062b5c
pop ecx
cmp eax, ebx
je 0x1003f197
push 0x10004178
push ebx
push 2
push eax
call fcn.10037a50
add esp, 0x10
jmp 0x1003f199
xor eax, eax
mov dword [ebp - 0x35c], eax
push 0x1008bdb8
lea eax, [ebp - 0x35c]
push eax
call fcn.1006330f
mov eax, dword [ebp - 0x368]
mov ecx, esi
cmp dword [eax], ebx
jne 0x1003f1bf
lea eax, [esi + 0x34]
push eax
push dword [ebp - 0x35c]
push dword [ebp + 0x10]
push dword [ebp - 0x360]
call fcn.1003ea82
lea ecx, [ebp - 0x378]
mov esi, eax
call fcn.10037af5
mov eax, esi
jmp 0x1003f251
push 0x140
lea eax, [ebp - 0x358]
push ebx
push eax
call fcn.100620c0
add esp, 0xc
lea eax, [ebp - 0x358]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call edi
cmp eax, 0xffffffff
je 0x1003f259
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x368]
mov ecx, esi
cmp dword [eax], ebx
jne 0x1003f225
lea eax, [esi + 0x34]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x360]
push dword [ebp - 0x364]
call fcn.1003e640
mov dword [ebp - 0x36c], eax
lea ecx, [ebp - 0x378]
call fcn.10037af5
mov eax, dword [ebp - 0x36c]
call fcn.100630e9
ret 0x14
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.100620c0
push dword [ebp - 0x364]
lea eax, [ebp - 0x114]
push 0x10003a30
push eax
call fcn.10062ada
push 0x140
lea eax, [ebp - 0x358]
push ebx
push eax
call fcn.100620c0
add esp, 0x24
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x114]
push eax
call edi
mov dword [ebp - 0x35c], eax
cmp eax, 0xffffffff
jne 0x1003f2eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1010
mov esi, eax
call fcn.10062b5c
pop ecx
cmp eax, ebx
je 0x1003f197
push esi
lea ecx, [ebp - 0x114]
push ecx
push 0x10004120
push esi
push 5
push eax
call fcn.10037a50
add esp, 0x18
jmp 0x1003f199
mov edi, dword [ebp - 0x358]
and edi, 0x10
je 0x1003f31a
cmp byte [ebp - 0x32c], 0x2e
jne 0x1003f31a
lea eax, [ebp - 0x32c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1003f308
sub eax, edx
cmp eax, 1
je 0x1003f39a
cmp edi, ebx
je 0x1003f347
cmp byte [ebp - 0x32c], 0x2e
jne 0x1003f347
cmp byte [ebp - 0x32b], 0x2e
jne 0x1003f347
lea eax, [ebp - 0x32c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1003f339
sub eax, edx
cmp eax, 2
je 0x1003f39a
push 0x104
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.100620c0
lea eax, [ebp - 0x32c]
push eax
push dword [ebp - 0x364]
lea eax, [ebp - 0x218]
push 0x10002638
push eax
call fcn.10062ada
mov eax, dword [ebp - 0x368]
add esp, 0x1c
mov ecx, esi
cmp dword [eax], ebx
jne 0x1003f389
lea eax, [esi + 0x34]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.1003e640
push 0x140
lea eax, [ebp - 0x358]
push ebx
push eax
call fcn.100620c0
add esp, 0xc
lea eax, [ebp - 0x358]
push eax
push dword [ebp - 0x35c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1003f2eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x35c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0x12
je 0x1003f240
push 0x1010
call fcn.10062b5c
pop ecx
cmp eax, ebx
je 0x1003f197
push esi
push 0x100040d0
push esi
push 5
push eax
call fcn.10037a50
add esp, 0x14
jmp 0x1003f199