Function at 0x418af0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435982
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x449030]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], eax
xor edx, edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x280], eax
call fcn.00406fd0
mov ebx, eax
lea edi, [esp + 0x14]
call fcn.00406f70
mov eax, dword [esp + 0x10]
test eax, eax
je 0x418b9c
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x418b9c
test esi, esi
je 0x418b9c
mov eax, dword [esi]
test eax, eax
je 0x418b83
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x418b93
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov edi, str.coolword.
call fcn.00402e10
lea edx, [esp + 0x10]
push edx
lea ebx, [esp + 0x18]
mov byte [esp + 0x284], 1
call fcn.0041a1c0
mov byte [esp + 0x280], 0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x418c05
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x418c05
mov eax, dword [esi]
test eax, eax
je 0x418bec
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x418bfc
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
push 0x24c
lea ecx, [esp + 0x24]
push 0
push ecx
mov dword [esp + 0x28], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea esi, [esp + 0x14]
call fcn.00402920
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x418cf5
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov bl, 2
jmp 0x418c50
cmp word [esp + 0x48], 0x2e
je 0x418cd6
mov edx, dword [esp + 0x1c]
and edx, 0x10
cmp dl, 0x10
je 0x418cd6
lea eax, [esp + 0x48]
push eax
call edi
test eax, eax
je 0x418cd6
push str..txt
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x418cd6
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 0x10]
mov byte [esp + 0x280], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_4074]
push 0x43947c
push str..txt
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_5485]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
call fcn.004170f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x280], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418c50
test esi, esi
je 0x418cf5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x418d31
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x418d31
mov eax, dword [esi]
test eax, eax
je 0x418d18
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x418d28
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004322b8
mov esp, ebp
pop ebp
ret 4