Function at 0x4182f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x475a18
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x490018]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call dword [0x476410]
mov dword [esp + 0x278], 0
push 0x2904
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::LoadStringW]
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
push 0
lea ecx, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov dword [esp + 0x278], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [edi + 0x44]
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
mov dword [esp + 0x10], 0
sar edx, 2
test edx, edx
jbe 0x4184ec
mov ebx, dword [esp + 0x10]
mov eax, dword [eax + 4]
add ebx, ebx
add ebx, ebx
add eax, ebx
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
je 0x418517
lea esp, [esp]
mov ecx, 0x47d59c
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418416
test dx, dx
je 0x418412
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418416
add eax, 4
add ecx, 4
test dx, dx
jne 0x4183f0
xor eax, eax
jmp 0x41841b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4184b4
mov ecx, 0x47d580
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418456
test dx, dx
je 0x418452
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418456
add eax, 4
add ecx, 4
test dx, dx
jne 0x418430
xor eax, eax
jmp 0x41845b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4184b4
test byte [esp + 0x1c], 0x10
jne 0x4184b4
mov edx, dword [edi + 0x44]
mov eax, dword [edx + 4]
add eax, ebx
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x278], 1
mov ecx, dword [esp + 0x18]
mov edx, edi
call fcn.00418560
mov esi, eax
not eax
test al, 1
jne 0x418535
mov dword [esp + 0x278], 0xffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4183e0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [edi + 0x44]
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
mov ecx, dword [esp + 0x10]
inc ecx
sar edx, 2
mov dword [esp + 0x10], ecx
cmp ecx, edx
jb 0x4183af
mov eax, 1
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00428cb4
add esp, 0x270
ret
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x10]
lea eax, [ecx + edx*4]
push eax
lea ecx, [edi + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov eax, 0x6403ef00
jmp 0x4184f1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x278], 0xffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
jmp 0x4184f1