Function at 0x423430
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x43e781
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
mov eax, dword [esp + 0x164]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push eax
lea ecx, [esp + 0x1c]
xor esi, esi
call fcn.0043a78c
mov ecx, dword [esp + 0x178]
mov dword [esp + 0x16c], esi
push ecx
lea ecx, [ebp + 0x3c]
call sub.MFC42.DLL_CString::operator_1
push 1
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x14]
push 1
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 1
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x16c], 0
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4234e2
push 0x4500fc
lea ecx, [esp + 0x1c]
call fcn.0043a834
lea edx, [esp + 0x18]
lea ecx, [ebp + 0x34]
push edx
call fcn.0043a7b6
lea eax, [esp + 0x18]
push 0x45018c
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea edx, [esp + 0x24]
push edx
push eax
call edi
mov ebx, eax
lea ecx, [esp + 0x10]
cmp ebx, 0xffffffff
sete byte [esp + 0x1f]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x1f]
test al, al
je 0x42354d
lea ecx, [esp + 0x18]
mov byte [ebp + 0x20], 0
mov dword [esp + 0x16c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x423724
test byte [esp + 0x24], 0x10
je 0x42359a
lea eax, [esp + 0x50]
lea ecx, [esp + 0x14]
push eax
call fcn.0043a78c
mov ecx, dword [esp + 0x14]
push 0x450180
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x423591
mov edx, dword [esp + 0x14]
push 0x45017c
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x423591
inc esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42354d
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
jne 0x4235be
mov byte [ebp + 0x20], 0
jmp 0x42370b
mov ecx, ebp
call fcn.00423f20
lea ecx, [esi*4]
mov dword [ebp + 0xc], esi
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp + 4], eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push 0x45018c
push edx
push eax
mov byte [ebp + 0x20], 1
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push eax
call edi
mov esi, eax
lea ecx, [esp + 0x10]
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x423631
lea ecx, [esp + 0x18]
mov dword [esp + 0x16c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x423724
mov dword [esp + 0x14], 0
test byte [esp + 0x24], 0x10
je 0x4236f0
lea edx, [esp + 0x50]
lea ecx, [esp + 0x10]
push edx
call fcn.0043a78c
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x450180
push eax
mov byte [esp + 0x174], 2
call edi
add esp, 8
test eax, eax
je 0x4236df
mov ecx, dword [esp + 0x10]
push 0x45017c
push ecx
call edi
add esp, 8
test eax, eax
je 0x4236df
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
inc ebx
push ebx
call sub.MFC42.DLL_operatornew
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x54]
add esp, 4
mov dword [edx + ecx], eax
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x14]
mov ecx, ebx
mov edi, dword [edx + eax]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add eax, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + eax - 4]
mov byte [edx + ebx - 1], 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x16c], 0
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x423639
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x18]
mov dword [esp + 0x16c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x160
ret 8