Function at 0x407c81
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.0040f48b
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.0040f48b
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.0040f48b
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.0040f48b
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.0040f48b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x44eb93
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.0040f48b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x44eb9b
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.00407aac
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407dc2
push ebx
call fcn.0040f491
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 0x407de5
mov eax, 0x42e37c
push eax
push 2
mov ebx, 0x1a4
call fcn.00410f40
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, 0x44eb32
xor ecx, ecx
test eax, eax
je 0x407e09
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x24]
xor ebx, ebx
test eax, eax
je 0x407e1a
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x407e31
dec eax
test ecx, ecx
je 0x407e31
call fcn.0040224c
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 0x407e51
push ebx
call fcn.0040f491
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x407e8b
push 0x44eb32
push dword [ebp - 4]
mov ecx, 2
call fcn.00402798
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407e87
push ebx
call fcn.0040f491
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push VariantCopy
push 0
push 0x44eb32
push VariantCopy
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x407eb0
mov eax, 0x42e37c
push eax
push 3
mov ebx, 0x1ac
call fcn.00410f80
add esp, 0x28
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jne 0x407eda
mov eax, 0
jmp 0x408659
push 0x44eb6d
push dword [ebp - 4]
mov ecx, 2
call fcn.00402798
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x250
call fcn.0040f48b
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 0x407fc6
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.0040f970
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 0x4080a3
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4080a1
imul eax, dword [edi]
jmp 0x408096
mov ecx, eax
cmp ecx, 0x208
jle 0x4080b0
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.0040f970
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 0x4080ee
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4080ec
imul eax, dword [edi]
jmp 0x4080e1
mov ecx, eax
cmp ecx, 0x1c
jle 0x4080f8
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.0040f491
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408120
push ebx
call fcn.0040f491
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x408651
mov ebx, dword [ebp - 0xc]
add ebx, 0x20
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
call fcn.004086dd
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x408153
jmp 0x4083e3
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 0x408172
jmp 0x4083e3
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x44e46b]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x44e46b]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.004010cb
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x910
call fcn.00410440
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4081d3
push ebx
call fcn.0040f491
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, 0x44eb79
xor ecx, ecx
test eax, eax
je 0x4081e5
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
xor ebx, ebx
test eax, eax
je 0x4081f6
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40820d
dec eax
test ecx, ecx
je 0x40820d
call fcn.0040224c
add esp, 0xc
test eax, eax
je 0x40825d
mov eax, 0x44eb85
xor ecx, ecx
test eax, eax
je 0x408226
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
xor ebx, ebx
test eax, eax
je 0x408237
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40824e
dec eax
test ecx, ecx
je 0x40824e
call fcn.0040224c
add esp, 0xc
test eax, eax
je 0x40825d
xor eax, eax
jmp 0x408262
mov eax, 1
test eax, eax
je 0x40826f
jmp 0x4083e3
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.00410a10
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4082e0
push dword [ebp - 0x18]
push dword [ebp - 4]
mov ecx, 2
call fcn.00402798
add esp, 8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00407c81
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4082db
push ebx
call fcn.0040f491
add esp, 4
jmp 0x4083e3
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.00410a10
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4083a8
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 1
push 1
mov ebx, 0xc0
call fcn.004110f0
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.00410a10
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push dword [ebp - 4]
mov ecx, 2
call fcn.00402798
add esp, 8
mov dword [ebp - 0x24], eax
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40838d
add eax, 8
push eax
xor eax, eax
call dword [0x453869]
nop
nop
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4083a8
push ebx
call fcn.0040f491
add esp, 4
push dword [ebp - 0x18]
push dword [ebp - 4]
mov ecx, 2
call fcn.00402798
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4083c8
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 0x4083e3
push ebx
call fcn.0040f491
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
push 0x250
call fcn.0040f48b
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.0040f970
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 0x40858c
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40858a
imul eax, dword [edi]
jmp 0x40857f
mov ecx, eax
cmp ecx, 0x208
jle 0x408599
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.0040f970
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 0x4085d7
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4085d5
imul eax, dword [edi]
jmp 0x4085ca
mov ecx, eax
cmp ecx, 0x1c
jle 0x4085e1
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.0040f491
add esp, 4
pop eax
test eax, eax
jne 0x408130
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
nop
push 0x44e473
push dword [ebp - 4]
mov ecx, 2
call fcn.00402798
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40862d
add eax, 8
push eax
xor eax, eax
call dword [0x45386d]
nop
nop
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40864b
push ebx
call fcn.0040f491
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x408659
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40866a
push ebx
call fcn.0040f491
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040f491
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040f491
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040f491
add esp, 4
pop ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040f491
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040f491
add esp, 4
pop ebx
call fcn.0040f491
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4086d6
push ebx
call fcn.0040f491
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4