Function at 0x409fe0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x4b0008]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x10
mov dword [esp + 0x20], ecx
call fcn.0041b3a0
mov edi, eax
xor ecx, ecx
mov eax, 0xa
mov edx, 4
mul edx
mov dword [edi], vtable.SMImplementation::PointerVector.0
mov dword [edi + 8], 0
seto cl
mov dword [edi + 0xc], 0xa
neg ecx
or ecx, eax
push ecx
call fcn.0041b3e1
add esp, 8
mov dword [edi + 4], eax
mov dword [edi], vtable.SASM::StringVector.0
push 0
push 0
push 0xffffffffffffffff
push dword [esi]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b3e1
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x40a112
push dword [esp + 0x10]
push ebx
push 0xffffffffffffffff
push dword [esi]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x40a0c4
push ebx
call fcn.0041b39b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0041b38a
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a0d0
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 3]
xor ecx, ecx
mov dword [esp + 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b3e1
add esp, 4
mov esi, eax
mov dword [esp + 0x10], esi
push ebx
test esi, esi
jne 0x40a133
call fcn.0041b39b
add esp, 4
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0041b38a
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esp + 0x10]
push ebx
push esi
call fcn.004213f7
push 0x4ab4ac
push ebx
push esi
call fcn.0042145b
add esp, 0x18
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc], ebx
push eax
push ebx
call esi
test eax, eax
je 0x40a21c
lea eax, [esp + 0x20]
push eax
push ebx
call esi
test eax, eax
je 0x40a21c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x60]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
push ebx
call fcn.0041b3e1
mov esi, eax
add esp, 4
test esi, esi
je 0x40a267
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
lea eax, [esp + 0x60]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x40a1fb
push esi
lea ecx, [esp + 0x18]
call fcn.00401270
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.004013f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40a1fb
push eax
call fcn.0041b39b
add esp, 4
push esi
call fcn.0041b39b
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x24]
add esp, 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40a185
push dword [esp + 0x10]
call fcn.0041b39b
push dword [esp + 0x1c]
call fcn.0041b39b
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [edi + 8]
cmp eax, 1
jbe 0x40a24e
mov ecx, dword [esp + 0x1c]
dec eax
push eax
push 0
push edi
call fcn.0040a3b0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0041b38a
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40a276
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esp + 0x10]
call fcn.0041b39b
push dword [esp + 0x1c]
call fcn.0041b39b
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [esp + 0x274]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041b38a
mov esp, ebp
pop ebp
ret 4