Function at 0x430620
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4322eb
push eax
mov eax, 0x6028
mov dword fs:[0], esp
call fcn.00431220
push ebp
xor ebp, ebp
mov dword [esp + 0x21a4], ebp
mov dword [esp + 0x21a8], ebp
mov eax, dword [esp + 0x603c]
lea ecx, [esp + 0x21ac]
push eax
push 0x438144
push ecx
mov dword [esp + 0x6040], ebp
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x21ac]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
je 0x430a21
push ebx
mov ebx, dword [esp + 0x6044]
push esi
push edi
test byte [esp + 0x20], 0x10
je 0x4307cc
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [esp + 0x4c]
push 0x438140
push ecx
call esi
add esp, 8
test eax, eax
je 0x4309ab
lea edx, [esp + 0x4c]
push 0x438138
push edx
call esi
add esp, 8
test eax, eax
je 0x4309ab
mov eax, ebp
and eax, 0xf
test al, al
jne 0x43075d
lea eax, [ebp + ebp*4 + 0x50]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea edx, [ebp + ecx*4 + 0x10]
lea eax, [ebp + edx*8 + 0x10]
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
lea ecx, [ebp + ebp*4]
mov esi, dword [esp + 0x21b4]
mov dword [esp + 0x14], eax
mov edi, eax
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [ebp + ecx*4]
lea edx, [ebp + edx*8]
shl edx, 2
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov ecx, 0xfa90
lea edi, [edx + esi]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x21b4]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, esi
add esp, 8
mov dword [esp + 0x21b0], edx
mov ecx, dword [esp + 0x6048]
lea eax, [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0x4100]
push 0x438118
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [ebp + eax*4]
mov eax, dword [esp + 0x21c0]
lea edx, [ebp + ecx*8]
lea ecx, [esp + 0x4108]
inc ebp
push ecx
lea esi, [eax + edx*4]
mov dword [esp + 0x21c8], ebp
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov edx, dword [esp + 0x4c]
add esp, 0x18
mov dword [esi + 0x3e8c], edx
mov eax, dword [esp + 0x38]
mov dword [esi + 0x3e90], eax
jmp 0x4309ab
mov ecx, dword [esp + 0x3c]
push 1
push 0
push 0
push ecx
call fcn.00431480
mov esi, dword [esp + 0x6058]
mov edi, edx
mov edx, dword [esp + 0x40]
mov ecx, eax
xor eax, eax
add ecx, edx
adc edi, eax
mov eax, esi
shl eax, 0xa
cdq
cmp edi, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
jb 0x430811
ja 0x430809
cmp ecx, eax
jbe 0x430811
test esi, esi
jne 0x4309ab
mov eax, dword [esp + 0x6054]
shl eax, 0xa
cdq
cmp edi, edx
jb 0x4309ab
ja 0x43082e
cmp ecx, eax
jb 0x4309ab
lea ecx, [esp + 0x4c]
push 0x2e
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x430886
mov eax, dword [esp + 0x6050]
test eax, eax
je 0x430886
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x430886
lea edx, [esp + 0x4c]
mov ecx, dword [esp + 0x6050]
sub esi, edx
add esi, 2
sar esi, 1
lea eax, [esp + esi*2 + 0x4c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x4309ab
mov eax, dword [ebx + 0x1f44]
mov edx, eax
and edx, 0xf
test dl, dl
jne 0x430926
lea ecx, [eax + eax*4 + 0x50]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4 + 0x10]
lea eax, [eax + edx*8 + 0x10]
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov edx, eax
mov eax, dword [ebx + 0x1f44]
mov esi, dword [ebx + 0x1f40]
mov edi, edx
lea ecx, [eax + eax*4]
mov dword [esp + 0x14], edx
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
lea ecx, [eax + ecx*8]
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x1f44]
mov ecx, 0xfa90
lea edi, [esi + esi*4]
lea edi, [edi + edi*4]
lea edi, [edi + edi*4]
lea edi, [esi + edi*4]
lea esi, [esi + edi*8]
lea edi, [edx + esi*4]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x1f40]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
add esp, 8
mov dword [ebx + 0x1f40], edx
mov ecx, dword [esp + 0x6048]
lea eax, [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0x4100]
push 0x438118
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
mov eax, dword [ebx + 0x1f44]
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*8]
mov edx, dword [ebx + 0x1f40]
inc eax
mov dword [ebx + 0x1f44], eax
lea eax, [esp + 0x4108]
lea esi, [edx + ecx*4]
push eax
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x3e8c], ecx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x3e84], eax
add esp, 0x18
mov dword [esi + 0x3e90], edx
mov dword [esi + 0x3e88], edi
mov dword [esi + 0x3e80], 0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43069f
test ebp, ebp
jle 0x4309f9
mov esi, dword [esp + 0x21b0]
mov eax, dword [esp + 0x6058]
mov ecx, dword [esp + 0x6054]
mov edx, dword [esp + 0x6050]
push eax
push ecx
push edx
push ebx
push esi
call fcn.00430620
add esp, 0x14
add esi, 0x3ea4
dec ebp
jne 0x4309ce
mov eax, dword [esp + 0x14]
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b530
mov eax, dword [esp + 0x21b0]
pop edi
pop esi
pop ebx
test eax, eax
je 0x430a21
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x602c]
pop ebp
mov dword fs:[0], ecx
add esp, 0x6034
ret