Function at 0x1003bed0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100437bb
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x100530b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x180], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x14], 0
xor edi, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
push 1
push 0x100498c4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.100072b0
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x15c]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x160], eax
cmp eax, 0xffffffff
jne 0x1003bfa0
mov ebx, dword [ebp - 0x164]
mov ecx, dword [ebp + 0x1c]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
cmp ecx, 0x10
jb 0x1003bf90
inc ecx
push ecx
push dword [ebp + 8]
call fcn.100079c0
mov eax, ebx
jmp 0x1003c100
test byte [ebp - 0x15c], 0x10
jne 0x1003c0b7
cmp byte [ebp - 0x130], 0
mov dword [ebp - 0x168], 0xf
mov dword [ebp - 0x16c], 0
mov byte [ebp - 0x17c], 0
jne 0x1003bfd5
xor ecx, ecx
jmp 0x1003bfe9
lea ecx, [ebp - 0x130]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003bfe0
sub ecx, edx
push ecx
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x17c]
call fcn.10007ac0
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 2
cmp eax, esi
jae 0x1003c043
cmp ebx, eax
ja 0x1003c043
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp esi, dword [ebp - 0x14]
jne 0x1003c037
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10005690
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
lea eax, [edi + edi*2]
lea eax, [ebx + eax*8]
test esi, esi
je 0x1003c068
jmp 0x1003c060
cmp esi, edi
jne 0x1003c056
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10005690
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
test esi, esi
je 0x1003c068
lea eax, [ebp - 0x17c]
push eax
mov ecx, esi
call fcn.10007440
add esi, 0x18
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x18], esi
cmp eax, 0x10
jb 0x1003c0ae
mov ecx, dword [ebp - 0x17c]
inc eax
cmp eax, 0x1000
jb 0x1003c0a5
test cl, 0x1f
jne 0x1003c0d4
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1003c0d4
sub ecx, eax
cmp ecx, 4
jb 0x1003c0d4
cmp ecx, 0x23
ja 0x1003c0d4
mov ecx, eax
push ecx
call fcn.1003edf4
add esp, 4
mov eax, dword [ebp - 0x160]
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x15c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1003c0da
mov eax, dword [ebp - 0x160]
jmp 0x1003bfa0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x164]
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x1003c0fa
inc eax
push eax
push dword [ebp + 8]
call fcn.100079c0
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003ea82
mov esp, ebp
pop ebp
ret