Function at 0x4093d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x4ae008]
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.0041a670
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.0041a6b1
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.0041a6b1
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x409502
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 0x4094b4
push ebx
call fcn.0041a66b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0041a65a
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 0x4094c0
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.0041a6b1
add esp, 4
mov esi, eax
mov dword [esp + 0x10], esi
push ebx
test esi, esi
jne 0x409523
call fcn.0041a66b
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.0041a65a
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esp + 0x10]
push ebx
push esi
call fcn.00420681
push 0x4aa474
push ebx
push esi
call fcn.004206e5
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 0x40960c
lea eax, [esp + 0x20]
push eax
push ebx
call esi
test eax, eax
je 0x40960c
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.0041a6b1
mov esi, eax
add esp, 4
test esi, esi
je 0x409657
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 0x4095eb
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 0x4095eb
push eax
call fcn.0041a66b
add esp, 4
push esi
call fcn.0041a66b
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 0x409575
push dword [esp + 0x10]
call fcn.0041a66b
push dword [esp + 0x1c]
call fcn.0041a66b
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [edi + 8]
cmp eax, 1
jbe 0x40963e
mov ecx, dword [esp + 0x1c]
dec eax
push eax
push 0
push edi
call fcn.004097a0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0041a65a
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x409666
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esp + 0x10]
call fcn.0041a66b
push dword [esp + 0x1c]
call fcn.0041a66b
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.0041a65a
mov esp, ebp
pop ebp
ret 4