Function at 0x431f40
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac58f
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x5036c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x4ac], esi
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x4a4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cmp dword [edi + 0x10], 0
mov esi, 1
mov dword [ebp - 4], 0
je 0x4321f6
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x431fbd
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4321f6
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00469cf0
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x431fec
mov eax, dword [edi]
push 0x4dc790
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4321f6
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x49c], eax
test eax, eax
je 0x4321f6
nop dword [eax]
test byte [ebp - 0x498], 0x10
mov dword [ebp - 0x4a8], esi
jne 0x4321d9
xor eax, eax
mov dword [ebp - 4], 1
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
mov eax, dword [edi + 0x10]
or esi, 2
inc eax
mov dword [ebp - 0x220], 0
push eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x4a0], esi
call fcn.004272f0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x43208a
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x230]
push eax
call fcn.00426fc0
push 1
push str._.
lea ecx, [ebp - 0x230]
call fcn.00426fc0
lea eax, [ebp - 0x46c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4320b4
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.00426fc0
mov esi, dword [ebp - 0x4a8]
xor ecx, ecx
or esi, 6
mov dword [ebp - 0x4a0], esi
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movups xmmword [ebp - 0x248], xmm0
mov word [eax], cx
movq qword [ebp - 0x238], xmm1
mov eax, dword [ebp - 0x4a4]
mov byte [ebp - 4], 2
mov ecx, dword [eax + 4]
cmp dword [eax + 8], ecx
je 0x43213d
movups xmmword [ecx], xmm0
mov edx, 7
movq qword [ecx + 0x10], xmm1
xor ecx, ecx
add dword [eax + 4], 0x18
mov word [ebp - 0x248], cx
jmp 0x432152
lea edx, [ebp - 0x248]
push edx
push ecx
mov ecx, eax
call fcn.0041f730
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x432190
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432186
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432217
push edx
push ecx
call fcn.0043b7c2
add esp, 8
mov edx, dword [ebp - 0x21c]
and esi, 0xfffffffd
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4321d3
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4321c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432217
push edx
push ecx
call fcn.0043b7c2
add esp, 8
mov eax, dword [ebp - 0x49c]
lea ecx, [ebp - 0x498]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4321f6
mov eax, dword [ebp - 0x49c]
jmp 0x432030
mov eax, dword [ebp - 0x4a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043ba78
mov esp, ebp
pop ebp
ret
call fcn.0046d258
int3