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

Disassembly:
push 0x314
mov eax, 0x49429a
call fcn.00452240
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x2a8], esi
mov dword [ebp - 4], ebx
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov edx, ecx
mov byte [ebp - 4], 4
push 0x4b0728
lea ecx, [ebp - 0x38]
call fcn.0040a3b4
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2a0]
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push ecx
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b4], eax
cmp eax, 0xffffffff
jne 0x410798
add dword [0x4ce8f8], 1
adc dword [0x4ce8fc], ebx
mov eax, dword [ebp - 0x2bc]
mov edi, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2ac], eax
xor eax, eax
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], ax
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x274]
mov dword [ebp - 0x3c], 7
push eax
call fcn.00409c6f
mov edx, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2e4]
push 0x4afd54
mov byte [ebp - 4], 6
call fcn.0040a3b4
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x308]
call fcn.0040c80b
pop ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.004059cb
lea ecx, [ebp - 0x308]
call fcn.0040848e
lea ecx, [ebp - 0x2e4]
call fcn.0040848e
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.0040848e
test byte [ebp - 0x2a0], 0x10
jne 0x410ae8
mov byte [ebp - 4], 8
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
push 0x4afd9c
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.00474141
pop ecx
pop ecx
test eax, eax
jne 0x410867
mov byte [ebp - 4], 5
jmp 0x410b33
push eax
call fcn.00471bd3
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.0040a06a
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040c4eb
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 0x2a1], al
mov byte [ebp - 4], 8
call fcn.0040848e
cmp byte [ebp - 0x2a1], 0
je 0x4108eb
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.0040a06a
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040c491
mov ecx, eax
mov byte [ebp - 4], 8
mov eax, edx
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2c0], ecx
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2bc], eax
call fcn.0040848e
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x320]
call fcn.0040a06a
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, eax
call fcn.0040c1ba
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.00409f77
or esi, 2
mov dword [ebp - 0x2a8], esi
lea ecx, [ebp - 0x2e4]
call fcn.0040848e
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 0xf
call fcn.0040848e
mov edi, ebx
mov esi, 0x4c5b50
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.0040c858
pop ecx
pop ecx
test al, al
push 1
pop eax
cmovne edi, eax
add esi, 0x18
cmp esi, 0x4c5df0
jl 0x410947
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x308]
call fcn.0040a06a
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x308]
mov esi, dword [ebp - 0x2a8]
or esi, 1
mov dword [ebp - 0x2a8], esi
call fcn.0040c4eb
test al, al
je 0x4109da
mov ecx, dword [ebp - 0x2b0]
cmp ecx, ebx
jg 0x4109da
mov eax, dword [ebp - 0x2ac]
jl 0x4109b1
cmp eax, 0x1400000
jae 0x4109da
or eax, ecx
je 0x4109da
cmp edi, 1
jne 0x4109da
cmp dword [ebp - 0x40], 7
je 0x4109da
push ecx
push str.information
lea ecx, [ebp - 0x38]
call fcn.0040c6e0
mov byte [ebp - 0x2a1], 1
cmp eax, 0xffffffff
je 0x4109e0
mov byte [ebp - 0x2a1], bl
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x308]
and esi, 0xfffffffe
mov dword [ebp - 0x2a8], esi
call fcn.0040848e
cmp byte [ebp - 0x2a1], 0
je 0x410a94
sub esp, 0x20
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp - 0x2e8], esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040881e
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x2c4], esp
lea eax, [ebp + 0x24]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00408571
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x2c8], esp
lea eax, [ebp + 0xc]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00408571
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
lea eax, [ebp - 0x38]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00408571
mov byte [ebp - 4], 0xf
call fcn.0040f8f9
add esp, 0x68
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.00474c02
pop ecx
lea ecx, [ebp - 0x50]
call fcn.004085da
mov dword [ebp - 4], 5
jmp 0x410ae0
mov edi, dword [ebp - 0x2b4]
jmp 0x410b33
push 0x4b0640
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x410b33
push 0x4b0644
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x410b33
push ecx
push str.C:Windows
lea ecx, [ebp - 0x38]
call fcn.0040c6e0
cmp eax, 0xffffffff
jne 0x410b33
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040c624
lea eax, [ebp - 0x2a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4107b6
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x410bbc
sub esp, 0x18
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040881e
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x2c8], esp
lea eax, [ebp + 0x24]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00408571
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esp
lea eax, [ebp + 0xc]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00408571
push esi
mov byte [ebp - 4], 5
call fcn.00410719
add esp, 0x4c
add esi, 0x18
jmp 0x410b56
lea ecx, [ebp - 0x38]
call fcn.0040848e
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x410bfa
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x410be3
mov ecx, esi
call fcn.0040848e
add esi, 0x18
cmp esi, edi
jne 0x410bd2
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
sub eax, esi
push 0x18
pop ecx
cdq
idiv ecx
imul eax, eax, 0x18
push eax
push esi
call fcn.0040b038
pop ecx
pop ecx
lea ecx, [ebp + 0xc]
call fcn.0040848e
lea ecx, [ebp + 0x24]
call fcn.0040848e
lea ecx, [ebp + 0x3c]
call fcn.004085da
call fcn.0045218d
ret