Function at 0x41d1f4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push esi
push edi
mov dword [ebp - 0x1b4], ecx
mov eax, dword [ebp - 0x1b4]
mov dword [eax + 0x90], 0
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx + 0x8c], 0
mov edx, dword [ebp - 0x1b4]
mov dword [edx + 0x88], 0
mov eax, dword [ebp - 0x1b4]
mov dword [eax + 0x94], 2
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx + 0x80], 0
mov edx, dword [ebp - 0x1b4]
mov dword [edx + 0xa0], 0
mov eax, dword [ebp - 0x1b4]
mov dword [eax + 0x9c], 0
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx + 0x98], 0
lea ecx, [ebp - 0x16c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1b4]
mov dword [edx + 0x90], 1
push 3
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x1b4]
add ecx, 0x70
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1bc]
push edx
lea ecx, [ebp - 0x16c]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a8]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x168]
push ecx
lea edx, [ebp - 0x18c]
push edx
push 1
lea ecx, [ebp - 0x16c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.004158f8
add esp, 0x10
test eax, eax
je 0x41d385
push 0
push 0x3e8
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.00425a80
mov edx, dword [ebp - 0x1b4]
mov dword [edx + 0x9c], eax
push 0
push 0x3e8
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x174]
push ecx
call fcn.00425a80
mov edx, dword [ebp - 0x1b4]
mov dword [edx + 0xa0], eax
lea ecx, [ebp - 0x1a4]
call fcn.004255ac
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x180], 0x2c
mov eax, dword [ebp - 0x1b4]
add eax, 0xac
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x1b4]
add ecx, 0x70
push ecx
lea ecx, [ebp - 0x178]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 4
push 0x4312c8
push 1
lea edx, [ebp - 0x1b0]
push edx
lea ecx, [ebp - 0x178]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1c4]
push ecx
call fcn.0040d8b0
mov byte [ebp - 0x1ac], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1b0]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x1ac]
and edx, 0xff
test edx, edx
je 0x41d451
push 0x4312cc
lea ecx, [ebp - 0x178]
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 6
push 0x4312d0
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [ebp - 0x1b4]
add esi, 0x78
mov ecx, 0xb
mov edi, dword [ebp - 0x190]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1b4]
add ecx, 0x70
call fcn.00401c20
add eax, 1
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
push ecx
push 1
mov ecx, dword [ebp - 0x1b4]
add ecx, 0x70
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x1b4]
lea ecx, [eax + edx + 0xac]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x180]
add edx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], edx
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x17c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x17c]
mov dword [eax + 0x10], ecx
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x15c]
call fcn.00403090
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0xffffffff
jne 0x41d573
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x190]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x190]
push edx
mov eax, dword [ebp - 0x180]
push eax
push 0x401
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx + 0x74]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x41d85b
mov eax, dword [ebp - 0x14c]
and eax, 0x10
test eax, eax
je 0x41d58c
mov dword [ebp - 0x184], 1
jmp 0x41d596
mov dword [ebp - 0x184], 0
mov ecx, dword [ebp - 0x1b4]
cmp dword [ecx + 0x24b8], 0
je 0x41d5b3
cmp dword [ebp - 0x184], 0
jne 0x41d5b3
jmp 0x41d832
cmp dword [ebp - 0x184], 0
je 0x41d613
movsx edx, byte [ebp - 0x120]
cmp edx, 0x2e
jne 0x41d613
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0042554c
push 0x4312d4
lea ecx, [ebp - 0x16c]
push ecx
call fcn.0040ac90
and eax, 0xff
test eax, eax
jne 0x41d60e
push 0x4312d8
lea edx, [ebp - 0x16c]
push edx
call fcn.0040ac90
and eax, 0xff
test eax, eax
je 0x41d613
jmp 0x41d832
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp - 0x1b4]
cmp dword [edx + 0x74], 0
jne 0x41d64c
push 1
push 0
call sub.MFC42.DLL_AfxEndThread
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x1b4]
lea edx, [ecx + eax + 0xac]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x180]
add eax, 0x18
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x184], 0
je 0x41d68b
mov ecx, dword [ebp - 0x150]
mov dword [ecx], 2
jmp 0x41d697
mov edx, dword [ebp - 0x150]
mov dword [edx], 0
cmp dword [ebp - 0x184], 0
je 0x41d6f4
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x16c]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x16c]
call sub.MFC42.DLL_CString::operator_1
push 1
lea ecx, [ebp - 0x16c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.0041d009
test eax, eax
je 0x41d6f4
mov edx, dword [ebp - 0x150]
mov eax, dword [edx]
add eax, 4
mov ecx, dword [ebp - 0x150]
mov dword [ecx], eax
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x14c]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x12c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x138]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x134]
mov dword [eax + 0x10], edx
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
add ecx, 1
mov edx, dword [ebp - 0x150]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 8]
lea ecx, [eax + ecx + 0x18]
mov edx, dword [ebp - 0x190]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 0x20]
add ecx, 1
mov edx, dword [ebp - 0x190]
mov dword [edx + 0x20], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x1b4]
lea edx, [ecx + eax + 0xac]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x180]
add ecx, dword [eax + 4]
mov dword [ebp - 0x180], ecx
cmp dword [ebp - 0x180], 0x2000
jbe 0x41d832
mov edx, dword [ebp - 0x1b4]
add edx, 0xac
push edx
mov eax, dword [ebp - 0x180]
push eax
push 0x401
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx + 0x74]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx + 0x10]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x190]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x190]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x180], edx
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41d573
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x1b4]
cmp dword [eax + 0x74], 0
je 0x41d8d8
cmp dword [ebp - 0x180], 0
je 0x41d8a8
mov ecx, dword [ebp - 0x190]
mov dword [ecx + 0x1c], 3
mov edx, dword [ebp - 0x1b4]
add edx, 0xac
push edx
mov eax, dword [ebp - 0x180]
push eax
push 0x401
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx + 0x74]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x41d8d8
mov eax, dword [ebp - 0x1b4]
cmp dword [eax + 0x24b8], 0
je 0x41d8d8
mov ecx, dword [ebp - 0x1b4]
add ecx, 0x78
push ecx
push 0x2c
push 0x401
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx + 0x74]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x178]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret