Function at 0x40e7d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4958f6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x4c6190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0
jne 0x40e852
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x40ea04
mov dword [ebp - 0x2a0], 0
xor eax, eax
mov dword [ebp - 0x290], 0
push 5
push 0x4a9534
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
mov byte [ebp - 4], al
call fcn.00402010
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 2
lea eax, [edi + 4]
push ecx
push eax
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x34]
push eax
call fcn.0044da90
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x40e8f3
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e8e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ec8a
push ecx
push edx
call fcn.00465ef5
add esp, 8
xor eax, eax
mov dword [ebp - 0x290], 0
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x284]
mov word [ebp - 0x2a0], ax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
mov dword [ebp - 0x28c], 7
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40ea23
mov ecx, dword [ebp - 0x18]
xor edi, edi
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], edi
mov dword [esi], eax
mov dword [esi + 8], edx
cmp ecx, 8
jb 0x40e995
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ec85
push ecx
push edx
call fcn.00465ef5
mov edi, dword [ebp - 0x1c]
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
test edi, edi
je 0x40ea04
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push edi
call fcn.00401cb0
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40e9fa
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ec85
push ecx
push edi
call fcn.00465ef5
add esp, 8
mov eax, esi
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.00465ee7
mov esp, ebp
pop ebp
ret 4
test byte [ebp - 0x284], 0x10
jne 0x40eb9e
mov dword [ebp - 0x2b8], 0
xor eax, eax
mov dword [ebp - 0x2a8], 0
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], ax
lea edx, [ecx + 2]
mov byte [ebp - 4], 4
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ea64
sub ecx, edx
lea eax, [ebp - 0x258]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00402010
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x288]
lea eax, [ebp - 0x2d4]
push eax
call fcn.0044da90
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x40eaef
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [ebp - 0x18], 0x18
jmp 0x40eaf9
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00409d80
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c0]
cmp ecx, 8
jb 0x40eb3d
mov edx, dword [ebp - 0x2d4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40eb33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ec8a
push ecx
push edx
call fcn.00465ef5
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 7
mov word [ebp - 0x2d4], ax
cmp ecx, 8
jb 0x40eb9e
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40eb94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ec8a
push ecx
push edx
call fcn.00465ef5
add esp, 8
lea eax, [ebp - 0x284]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40ea23
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x18]
xor edi, edi
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], edi
mov dword [esi], eax
mov dword [esi + 8], edx
cmp ecx, 8
jb 0x40ec18
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ec0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ec85
push ecx
push edx
call fcn.00465ef5
mov edi, dword [ebp - 0x1c]
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
test edi, edi
je 0x40ea04
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push edi
call fcn.00401cb0
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40e9fa
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e9fa
call fcn.00469eed
call fcn.00469eed
int3