Function at 0x419180
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432514
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00408dd0
sub eax, 1
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00408e30
movsx eax, al
cmp eax, 0x5c
je 0x4191dd
push 0x435bd4
mov ecx, dword [ebp - 0x10]
add ecx, 4
call sub.MFC42.DLL_CString::operator_1
push 0x140
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
push 0x436110
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
lea ecx, [ebp - 0x20]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xa4]
call fcn.00408e10
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
lea edx, [ebp - 0x24]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xac]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
and eax, 0x10
test eax, eax
jne 0x4192cb
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c
push ecx
push 0x43610c
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x4192cb
mov edx, dword [ebp - 0x18]
add edx, 0x2c
push edx
push 0x436108
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x41937c
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4192f3
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x14], 0
jmp 0x41937c
mov eax, dword [ebp - 0x18]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
lea edx, [ebp - 0x28]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xb4]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
and eax, 0x10
test eax, eax
jne 0x419377
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c
push ecx
push 0x43610c
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x419377
mov edx, dword [ebp - 0x18]
add edx, 0x2c
push edx
push 0x436108
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x41937c
jmp 0x4192cb
lea ecx, [ebp + 0xc]
call fcn.00408dd0
test eax, eax
jle 0x4197e3
lea ecx, [ebp + 0xc]
call fcn.00408e10
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
mov eax, dword [ebp + 8]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0041a1a0
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xc0]
call fcn.00409fc0
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x2c], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x2c]
and eax, 0xff
test eax, eax
je 0x41943e
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x3c]
jmp 0x419831
lea ecx, [ebp + 0x10]
call fcn.00408dd0
test eax, eax
jle 0x419501
lea ecx, [ebp + 0x10]
call fcn.00408e10
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
mov edx, dword [ebp + 8]
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041a1a0
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xcc]
call fcn.00409fc0
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x40], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x40]
and edx, 0xff
test edx, edx
je 0x419501
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x50]
jmp 0x419831
lea ecx, [ebp + 0x14]
call fcn.00408dd0
test eax, eax
jle 0x4195c3
lea ecx, [ebp + 0x14]
call fcn.00408e10
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
mov eax, dword [ebp + 8]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0041a1a0
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xd8]
call fcn.00409fc0
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x54]
and eax, 0xff
test eax, eax
je 0x4195c3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x64]
jmp 0x419831
cmp dword [ebp - 0x14], 0
jne 0x4195ce
jmp 0x4197e3
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x435278
call fcn.004300a4
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0x435278
call fcn.004300a4
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], edx
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x435278
call fcn.004300a4
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00419850
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x14], edx
lea ecx, [ebp + 0xc]
call fcn.00408e10
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
mov eax, dword [ebp + 8]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0041a1a0
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xfc]
call fcn.00409fc0
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x74], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x74]
and eax, 0xff
test eax, eax
je 0x4196c3
jmp 0x4197e3
lea ecx, [ebp + 0x10]
call fcn.00408dd0
test eax, eax
jle 0x419749
lea ecx, [ebp + 0x10]
call fcn.00408e10
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
mov edx, dword [ebp + 8]
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041a1a0
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x108], ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x108]
call fcn.00409fc0
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x80], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x80]
and edx, 0xff
test edx, edx
je 0x419749
jmp 0x4197e3
lea ecx, [ebp + 0x14]
call fcn.00408dd0
test eax, eax
jle 0x4197d1
lea ecx, [ebp + 0x14]
call fcn.00408e10
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
mov eax, dword [ebp + 8]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x10c], eax
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0041a1a0
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x114]
call fcn.00409fc0
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x8c], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x8c]
and eax, 0xff
test eax, eax
je 0x4197d1
jmp 0x4197e3
push 0x435278
mov ecx, dword [ebp + 8]
call fcn.004300fe
jmp 0x4195c3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10