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

Disassembly:
mov eax, 0x10053494
call fcn.10051f40
sub esp, 0x2b0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov bl, cl
lea ecx, [ebp - 0x4c]
call fcn.10001fd4
or dword [ebp - 0x18], 0xffffffff
test bl, bl
je 0x100074bc
mov edx, 0x10061d80
lea ecx, [ebp + 0x20]
call fcn.10008048
test al, al
je 0x100074bc
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.10007c8e
lea ecx, [ebp - 0x34]
call fcn.1001833b
add esp, 0x18
push eax
lea ecx, [ebp + 0x20]
call fcn.10001e35
lea ecx, [ebp - 0x34]
call fcn.10001e30
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.10007c8e
lea ecx, [ebp - 0x34]
call fcn.10018377
add esp, 0x18
push eax
lea ecx, [ebp + 0x20]
call fcn.10002e42
lea ecx, [ebp - 0x34]
call fcn.10001e30
push 0x10061e0c
lea ecx, [ebp + 8]
call fcn.10007c7c
and dword [ebp - 4], 0
lea eax, [ebp - 0x2b4]
push eax
push 0x10061dec
lea edx, [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.10007f23
pop ecx
mov ecx, eax
call fcn.10001e24
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x34]
call fcn.10001e30
cmp edi, 0xffffffff
je 0x100076fb
lea eax, [ebp - 0x2b4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x10007688
cmp byte [0x1006eb2e], 0
jne 0x100076ca
test byte [ebp - 0x2b4], 0x10
je 0x10007640
mov ecx, 0x10061d28
lea eax, [ebp - 0x288]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10007594
test dx, dx
je 0x10007590
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10007594
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000756e
xor eax, eax
jmp 0x10007599
sbb eax, eax
or eax, 1
test eax, eax
je 0x10007533
mov ecx, 0x10061e10
lea eax, [ebp - 0x288]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100075ce
test dx, dx
je 0x100075ca
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100075ce
add eax, 4
add ecx, 4
test dx, dx
jne 0x100075a8
xor eax, eax
jmp 0x100075d3
sbb eax, eax
or eax, 1
test eax, eax
je 0x10007533
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x64]
call fcn.10003b7e
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.10007fe1
pop ecx
lea ecx, [ebp - 0x64]
call fcn.10001e30
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x38]
push eax
call fcn.10001fe7
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.10007c8e
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x34]
push eax
call fcn.10007c8e
mov cl, bl
call fcn.10007459
lea ecx, [ebp - 0x34]
add esp, 0x48
call fcn.10001e30
jmp 0x10007533
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x38]
push eax
call fcn.10001fe7
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.10007c8e
sub esp, 0x18
mov esi, esp
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x64]
call fcn.10003b7e
push eax
lea edx, [ebp + 8]
mov ecx, esi
call fcn.10007fe1
pop ecx
mov cl, bl
call fcn.10007711
lea ecx, [ebp - 0x64]
jmp 0x10007633
or dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x4c]
call fcn.10001f0f
lea ecx, [ebp + 8]
call fcn.10001e30
lea ecx, [ebp + 0x20]
call fcn.10001e30
lea ecx, [ebp + 0x38]
call fcn.10001f0f
mov al, 1
jmp 0x100076ec
lea ecx, [ebp - 0x4c]
call fcn.10001f0f
lea ecx, [ebp + 8]
call fcn.10001e30
lea ecx, [ebp + 0x20]
call fcn.10001e30
lea ecx, [ebp + 0x38]
call fcn.10001f0f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
mov dword [ebp - 0x1c], 2
push 0x1006a7a0
lea eax, [ebp - 0x1c]
push eax
call fcn.1003328a
int3