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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42991a
mov eax, dword fs:[0]
push eax
sub esp, 0x580
mov eax, dword [0x481720]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x56c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x568], eax
lea eax, [ebp - 0x260]
push edi
push eax
mov dword [ebp - 0x558], edi
call fcn.0040c960
mov esi, eax
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x404952
mov esi, dword [esi]
lea ecx, [ebp - 0x218]
mov edx, 0x104
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x40497f
movzx eax, word [esi + ecx]
test ax, ax
je 0x40497f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x404961
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x24c]
cmp ecx, 8
jb 0x4049cc
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4049c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053bd
push ecx
push edx
call fcn.00410dc4
add esp, 8
push 0x42c680
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.00404520
lea eax, [ebp - 0x550]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x564], esi
cmp esi, 0xffffffff
jne 0x404a0c
or eax, eax
or edx, esi
jmp 0x4053a2
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov cl, al
movlpd qword [ebp - 0x578], xmm0
and cl, 1
mov edx, dword [ebp - 0x574]
mov byte [ebp - 0x553], cl
mov ecx, eax
shr ecx, 1
and ecx, 0xffffff01
mov dword [ebp - 0x560], edx
mov dword [ebp - 0x584], ecx
mov ecx, eax
shr ecx, 2
and ecx, 0xffffff01
mov dword [ebp - 0x580], ecx
mov ecx, eax
shr ecx, 3
and ecx, 0xffffff01
mov dword [ebp - 0x588], ecx
mov ecx, eax
shr ecx, 4
and ecx, 0xffffff01
mov dword [ebp - 0x58c], ecx
mov ecx, eax
shr ecx, 5
shr eax, 6
and ecx, 0xffffff01
and eax, 0xffffff01
mov dword [ebp - 0x57c], ecx
mov dword [ebp - 0x570], eax
mov eax, dword [ebp - 0x578]
mov dword [ebp - 0x55c], eax
nop
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0040ce80
add esp, 8
mov eax, dword [ebp - 0x550]
and eax, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x574], eax
seta byte [ebp - 0x551]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 3
mov dword [ebp - 0x2b8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 3
mov dword [ebp - 0x2a0], 0
mov byte [ebp - 0x288], 0
movlpd qword [ebp - 0x280], xmm0
movlpd qword [ebp - 0x278], xmm0
movlpd qword [ebp - 0x270], xmm0
movlpd qword [ebp - 0x268], xmm0
mov byte [ebp - 4], 3
mov eax, 0x42c690
xor ecx, ecx
lea eax, [eax + 4]
inc ecx
cmp dword [eax], 0
jne 0x404b44
cmp dword [ebp - 0x234], 4
lea esi, [ebp - 0x248]
mov edx, dword [ebp - 0x238]
cmovae esi, dword [ebp - 0x248]
setae byte [ebp - 0x552]
cmp edx, ecx
jne 0x404b9b
mov ecx, 0x42c690
test edx, edx
je 0x4052a5
sub esi, ecx
mov eax, dword [ecx + esi]
cmp eax, dword [ecx]
jne 0x404b95
add ecx, 4
sub edx, 1
jne 0x404b81
jmp 0x4052a5
mov edx, dword [ebp - 0x238]
mov eax, 0x42c6a0
xor ecx, ecx
lea eax, [eax + 4]
inc ecx
cmp dword [eax], 0
jne 0x404ba2
cmp byte [ebp - 0x552], 0
lea esi, [ebp - 0x248]
cmovne esi, dword [ebp - 0x248]
cmp edx, ecx
jne 0x404be6
mov ecx, 0x42c6a0
test edx, edx
je 0x4052a5
sub esi, ecx
mov eax, dword [ecx + esi]
cmp eax, dword [ecx]
jne 0x404be6
add ecx, 4
sub edx, 1
jne 0x404bd2
jmp 0x4052a5
cmp byte [ebp - 0x57c], 0
mov al, byte [ebp - 0x551]
mov edx, dword [edi + 0x10]
mov byte [ebp - 0x288], al
je 0x404fdb
mov edi, 3
mov dword [ebp - 0x220], 0
xor esi, esi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x230], esi
mov eax, dword [ebp - 0x56c]
mov byte [ebp - 4], 5
mov eax, dword [eax + 0x10]
cmp eax, edx
jae 0x404ea9
sub edx, eax
mov dword [ebp - 0x260], esi
or ecx, 0xffffffff
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], esi
cmp edx, 0xffffffff
mov esi, dword [ebp - 0x558]
cmovb ecx, edx
mov edx, esi
cmp dword [esi + 0x14], 4
jb 0x404c61
mov edx, dword [esi]
push ecx
lea eax, [edx + eax*4]
push eax
lea ecx, [ebp - 0x260]
call fcn.00401d70
movups xmm1, xmmword [ebp - 0x260]
movq xmm0, qword [ebp - 0x250]
movups xmmword [ebp - 0x230], xmm1
movq qword [ebp - 0x220], xmm0
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
cmp edi, 4
movd edx, xmm1
mov byte [ebp - 4], 5
setae cl
cmovae eax, edx
mov dword [ebp - 0x230], edx
mov byte [ebp - 0x551], cl
cmp dword [eax], 0x2f
je 0x404cd1
test cl, cl
lea eax, [ebp - 0x230]
cmovne eax, edx
cmp dword [eax], 0x5c
jne 0x404d74
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
cmp eax, 1
jb 0x4053c7
dec eax
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp byte [ebp - 0x551], 0
lea eax, [ebp - 0x230]
cmovne eax, edx
push ecx
add eax, 4
lea ecx, [ebp - 0x260]
push eax
call fcn.00401d70
mov eax, dword [ebp - 0x21c]
cmp eax, 4
jb 0x404d46
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00405560
movups xmm0, xmmword [ebp - 0x260]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [ebp - 0x250]
movq qword [ebp - 0x220], xmm0
mov edi, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x230]
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
cmp edi, 4
cmovae eax, edx
setae cl
mov byte [ebp - 0x551], cl
cmp dword [eax + esi*4 - 4], 0x2f
je 0x404da8
test cl, cl
lea eax, [ebp - 0x230]
cmovne eax, edx
cmp dword [eax + esi*4 - 4], 0x5c
jne 0x404df0
lea ecx, [esi - 1]
cmp ecx, esi
ja 0x404dce
cmp byte [ebp - 0x551], 0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], ecx
cmovne eax, edx
mov dword [eax + ecx*4], 0
jmp 0x404dde
sub ecx, esi
push 0
push ecx
lea ecx, [ebp - 0x230]
call fcn.00402360
mov edx, dword [ebp - 0x230]
mov esi, dword [ebp - 0x220]
mov edi, dword [ebp - 0x21c]
mov eax, 0x42c688
xor ecx, ecx
lea eax, [eax + 4]
inc ecx
cmp dword [eax], 0
jne 0x404df7
mov eax, 0x3ffffffe
sub eax, esi
cmp eax, ecx
jb 0x4053c2
push ecx
push 0x42c688
cmp edi, 4
lea eax, [ebp - 0x230]
push esi
cmovae eax, edx
lea ecx, [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x564]
call fcn.00402a40
cmp dword [ebp - 0x234], 4
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x260]
push eax
mov byte [ebp - 4], 0xa
call fcn.00402490
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 3
mov dword [eax], 0
movups xmmword [ebp - 0x2b8], xmm0
movq qword [ebp - 0x2a8], xmm1
lea ecx, [ebp - 0x260]
call fcn.00401fe0
mov edi, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x230]
jmp 0x404ecf
cmp byte [ebp - 0x552], 0
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovne eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x2b8]
push eax
call fcn.00402610
mov byte [ebp - 4], 3
cmp edi, 4
jb 0x404f07
lea ecx, [edi*4 + 4]
mov eax, esi
cmp ecx, 0x1000
jb 0x404efd
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053bd
push ecx
push esi
call fcn.00410dc4
add esp, 8
mov edi, dword [ebp - 0x558]
cmp dword [ebp - 0x574], 0
jbe 0x4050c0
cmp byte [ebp - 0x570], 0
je 0x404f40
cmp dword [ebp - 0x234], 4
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
cmp dword [eax], 0x2e
je 0x4052a5
cmp byte [ebp - 0x553], 0
je 0x404fc9
push 0x42c688
lea eax, [ebp - 0x2d0]
push edi
push eax
call fcn.00402810
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x14
push ecx
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00402780
push dword [ebp + 0x14]
mov byte [ebp - 4], 0x15
push dword [ebp - 0x568]
push eax
push dword [ebp - 0x56c]
call fcn.004048f0
add esp, 0x28
lea ecx, [ebp - 0x260]
mov esi, eax
mov edi, edx
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x27c], edi
call fcn.00401fe0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 3
call fcn.00401fe0
add dword [ebp - 0x55c], esi
adc dword [ebp - 0x560], edi
cmp byte [ebp - 0x580], 0
je 0x4052a5
jmp 0x405293
mov eax, 0x42c688
xor ecx, ecx
lea eax, [eax + 4]
inc ecx
cmp dword [eax], 0
jne 0x404fe2
mov eax, 0x3ffffffe
sub eax, edx
cmp eax, ecx
jb 0x4053c2
cmp dword [edi + 0x14], 4
mov eax, edi
jb 0x405004
mov eax, dword [edi]
push ecx
push 0x42c688
push edx
push eax
push edi
push dword [ebp - 0x564]
lea ecx, [ebp - 0x260]
call fcn.00402a40
cmp dword [ebp - 0x234], 4
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x260]
push eax
mov byte [ebp - 4], 0xf
call fcn.00402490
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 3
mov dword [eax], 0
movups xmmword [ebp - 0x2b8], xmm0
movq qword [ebp - 0x2a8], xmm1
mov ecx, dword [ebp - 0x24c]
mov byte [ebp - 4], 3
cmp ecx, 4
jb 0x404f0d
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*4 + 4]
mov eax, edx
cmp ecx, 0x1000
jb 0x4050b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053bd
push ecx
push edx
call fcn.00410dc4
add esp, 8
jmp 0x404f0d
cmp byte [ebp - 0x584], 0
je 0x4052a5
cmp byte [ebp - 0x570], 0
je 0x4050f3
cmp dword [ebp - 0x234], 4
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
cmp dword [eax], 0x2e
je 0x4052a5
cmp byte [ebp - 0x588], 0
je 0x405169
push 0x42c688
lea eax, [ebp - 0x260]
push edi
push eax
call fcn.00402810
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00402780
push eax
mov byte [ebp - 4], 0x17
call fcn.00403fb0
add esp, 0x1c
lea ecx, [ebp - 0x2d0]
mov esi, eax
mov edi, edx
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x27c], edi
call fcn.00401fe0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 3
call fcn.00401fe0
add dword [ebp - 0x55c], esi
adc dword [ebp - 0x560], edi
cmp byte [ebp - 0x58c], 0
je 0x405293
mov esi, dword [ebp - 0x558]
lea eax, [ebp - 0x260]
push 0x42c688
push esi
push eax
call fcn.00402810
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x18
push ecx
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00402780
push eax
mov byte [ebp - 4], 0x19
call fcn.00404060
add esp, 0x1c
mov dword [ebp - 0x278], eax
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x274], edx
call fcn.00401fe0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 3
call fcn.00401fe0
push 0x42c688
lea eax, [ebp - 0x260]
push esi
push eax
call fcn.00402810
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x1a
push ecx
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00402780
push eax
mov byte [ebp - 4], 0x1b
call fcn.00404060
add esp, 0x1c
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x26c], edx
call fcn.00401fe0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 3
call fcn.00401fe0
push 0x42c688
lea eax, [ebp - 0x300]
push esi
push eax
call fcn.00402810
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x1c
push ecx
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.00402780
push eax
mov byte [ebp - 4], 0x1d
call fcn.00404060
add esp, 0x1c
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 0x264], edx
call fcn.00401fe0
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 3
call fcn.00401fe0
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x2b8]
push eax
call fcn.00405b90
mov ecx, dword [ebp - 0x28c]
mov byte [ebp - 4], 0
cmp ecx, 4
jb 0x4052e9
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*4 + 4]
mov eax, edx
cmp ecx, 0x1000
jb 0x4052df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053bd
push ecx
push edx
call fcn.00410dc4
add esp, 8
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 4
jb 0x405329
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*4 + 4]
mov eax, edx
cmp ecx, 0x1000
jb 0x40531f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053bd
push ecx
push edx
call fcn.00410dc4
add esp, 8
mov eax, dword [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
cmp eax, 4
jb 0x40536c
mov edx, dword [ebp - 0x248]
lea ecx, [eax*4 + 4]
mov eax, edx
cmp ecx, 0x1000
jb 0x405362
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053bd
push ecx
push edx
call fcn.00410dc4
add esp, 8
mov esi, dword [ebp - 0x564]
lea eax, [ebp - 0x550]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40538f
mov edi, dword [ebp - 0x558]
jmp 0x404aa0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x55c]
mov edx, dword [ebp - 0x560]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411023
mov esp, ebp
pop ebp
ret
call fcn.00415a2f
call fcn.00401e60
call fcn.004021f0
int3