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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x28
call fcn.0040a7ca
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.0040a7ca
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 8
call fcn.0040a7ca
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 8
call fcn.0040a7ca
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 0x14
push ebx
push 0x210
call fcn.0040a7ca
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4282e7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x82
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x24
call fcn.0040a7ca
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4282ef
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp + 8]
call fcn.0040365a
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404c16
push ebx
call fcn.0040a7d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 2
push VariantCopy
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x404c39
mov eax, 0x4282b0
push eax
push 2
mov ebx, 0x1a4
call fcn.0040bf30
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, 0x44b468
xor ecx, ecx
test eax, eax
je 0x404c5d
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x24]
xor ebx, ebx
test eax, eax
je 0x404c6e
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x404c85
dec eax
test ecx, ecx
je 0x404c85
call fcn.00402981
add esp, 0xc
test eax, eax
mov eax, 0
setne al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404ca5
push ebx
call fcn.0040a7d0
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x404cdf
push 0x44b468
push dword [ebp - 4]
mov ecx, 2
call fcn.00403434
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404cdb
push ebx
call fcn.0040a7d0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push VariantCopy
push 0
push 0x44b468
push VariantCopy
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x404d04
mov eax, 0x4282b0
push eax
push 3
mov ebx, 0x1ac
call fcn.0040bf70
add esp, 0x28
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jne 0x404d2e
mov eax, 0
jmp 0x4054ad
push 0x44b49a
push dword [ebp - 4]
mov ecx, 2
call fcn.00403434
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x250
call fcn.0040a7ca
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x208
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x1c
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x404e1a
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop
nop
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.0040ac80
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x404ef7
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x404ef5
imul eax, dword [edi]
jmp 0x404eea
mov ecx, eax
cmp ecx, 0x208
jle 0x404f04
mov ecx, 0x208
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x208
push ebx
push edi
push 1
mov eax, 2
call fcn.0040ac80
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x404f42
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x404f40
imul eax, dword [edi]
jmp 0x404f35
mov ecx, eax
cmp ecx, 0x1c
jle 0x404f4c
mov ecx, 0x1c
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x1c
call fcn.0040a7d0
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404f74
push ebx
call fcn.0040a7d0
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4054a5
mov ebx, dword [ebp - 0xc]
add ebx, 0x20
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
call fcn.0040204a
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x404fa7
jmp 0x405237
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
nop
nop
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x404fc6
jmp 0x405237
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x4282df]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x4282df]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.0040113f
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x910
call fcn.0040b430
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405027
push ebx
call fcn.0040a7d0
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, 0x44b4a6
xor ecx, ecx
test eax, eax
je 0x405039
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
xor ebx, ebx
test eax, eax
je 0x40504a
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x405061
dec eax
test ecx, ecx
je 0x405061
call fcn.00402981
add esp, 0xc
test eax, eax
je 0x4050b1
mov eax, 0x44b4b2
xor ecx, ecx
test eax, eax
je 0x40507a
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
xor ebx, ebx
test eax, eax
je 0x40508b
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4050a2
dec eax
test ecx, ecx
je 0x4050a2
call fcn.00402981
add esp, 0xc
test eax, eax
je 0x4050b1
xor eax, eax
jmp 0x4050b6
mov eax, 1
test eax, eax
je 0x4050c3
jmp 0x405237
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 2
mov ebx, 0xc4
call fcn.0040b410
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x405134
push dword [ebp - 0x18]
push dword [ebp - 4]
mov ecx, 2
call fcn.00403434
add esp, 8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404ad5
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40512f
push ebx
call fcn.0040a7d0
add esp, 4
jmp 0x405237
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 1
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 2
mov ebx, 0xc4
call fcn.0040b410
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4051fc
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 1
push 1
mov ebx, 0xc0
call fcn.0040c0e0
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 2
mov ebx, 0xc4
call fcn.0040b410
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push dword [ebp - 4]
mov ecx, 2
call fcn.00403434
add esp, 8
mov dword [ebp - 0x24], eax
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4051e1
add eax, 8
push eax
xor eax, eax
call dword [0x44bc13]
nop
nop
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4051fc
push ebx
call fcn.0040a7d0
add esp, 4
push dword [ebp - 0x18]
push dword [ebp - 4]
mov ecx, 2
call fcn.00403434
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40521c
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
nop
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405237
push ebx
call fcn.0040a7d0
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
push 0x250
call fcn.0040a7ca
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x208
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x1c
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
nop
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.0040ac80
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4053e0
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4053de
imul eax, dword [edi]
jmp 0x4053d3
mov ecx, eax
cmp ecx, 0x208
jle 0x4053ed
mov ecx, 0x208
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x208
push ebx
push edi
push 1
mov eax, 2
call fcn.0040ac80
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x40542b
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x405429
imul eax, dword [edi]
jmp 0x40541e
mov ecx, eax
cmp ecx, 0x1c
jle 0x405435
mov ecx, 0x1c
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x1c
call fcn.0040a7d0
add esp, 4
pop eax
test eax, eax
jne 0x404f84
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
nop
push 0x44b41a
push dword [ebp - 4]
mov ecx, 2
call fcn.00403434
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x405481
add eax, 8
push eax
xor eax, eax
call dword [0x44bc17]
nop
nop
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40549f
push ebx
call fcn.0040a7d0
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x4054ad
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4054be
push ebx
call fcn.0040a7d0
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040a7d0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040a7d0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040a7d0
add esp, 4
pop ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040a7d0
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040a7d0
add esp, 4
pop ebx
call fcn.0040a7d0
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40552a
push ebx
call fcn.0040a7d0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4