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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47546d
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x490040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d0], edx
mov eax, ecx
mov dword [ebp - 0x2d4], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
cmp ecx, edx
je 0x419d6e
push ecx
call fcn.0040c540
mov eax, dword [esi]
add esp, 4
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a210
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 7
jbe 0x419d86
mov edi, dword [edi]
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.00417c00
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x2c4], 0x19f9f98f
mov ecx, dword [eax]
mov eax, dword [0x496100]
mov dword [ebp - 0x2d4], ecx
cmp eax, dword [ecx + 4]
jle 0x419e26
push 0x496100
call fcn.00452992
add esp, 4
cmp dword [0x496100], 0xffffffff
jne 0x419e26
xorps xmm0, xmm0
mov byte [0x4966dc], 1
movlpd qword [ebp - 0x2cc], xmm0
mov edx, dword [ebp - 0x2c8]
mov ecx, dword [ebp - 0x2cc]
nop dword [eax]
mov ax, word [ebp + ecx*2 - 0x2c4]
mov word [ecx*2 + 0x4966d8], ax
add ecx, 1
adc edx, 0
test edx, edx
jne 0x419e0f
cmp ecx, 2
jb 0x419df0
push 0x47a420
call fcn.00452c62
push 0x496100
call fcn.00452941
add esp, 8
mov ecx, 0x4966d8
call fcn.0041e9d0
mov ecx, 0x4966d8
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419e40
sub ecx, edx
mov eax, 0x7ffffffe
mov edx, dword [ebp - 0x18]
sub eax, edx
sar ecx, 1
cmp eax, ecx
jb 0x41a344
push ecx
lfence
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0x4966d8
cmova eax, dword [ebp - 0x28]
push edx
push eax
push ecx
push dword [ebp - 0x2c8]
lea ecx, [ebp - 0x58]
call fcn.0040ced0
mov edi, dword [ebp - 0x2d0]
lea edx, [ebp - 0x58]
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040c330
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x419edd
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419ed3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a349
push ecx
push edx
call fcn.00452c7c
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x2c0]
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push ecx
push eax
mov dword [ebp - 0x44], 7
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c4], eax
cmp eax, 0xffffffff
jne 0x41a096
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41a29e
cmp dword [edi + 0x14], 7
jbe 0x419f36
mov edi, dword [edi]
mov dword [ebp - 0x2d0], edi
push ecx
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.0041a470
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 7
jbe 0x419f52
mov esi, dword [esi]
movaps xmm0, xmmword [0x4880f0]
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0x2d4]
cmova edi, dword [ebp - 0x28]
mov eax, dword [0x4966f0]
movups xmmword [ebp - 0x31c], xmm0
mov dword [ebp - 0x2ec], 0x6c1cc348
movaps xmm0, xmmword [0x487bc0]
movups xmmword [ebp - 0x30c], xmm0
mov dword [ebp - 0x2e8], 0x67c4c9e2
movaps xmm0, xmmword [0x487810]
movups xmmword [ebp - 0x2fc], xmm0
mov dword [ebp - 0x2e4], 0xf1cd569
mov word [ebp - 0x2e0], 0x8cd8
mov byte [ebp - 0x2de], 0xb0
cmp eax, dword [ecx + 4]
jle 0x41a033
push 0x4966f0
call fcn.00452992
add esp, 4
cmp dword [0x4966f0], 0xffffffff
jne 0x41a033
xorps xmm0, xmm0
mov byte [0x495f57], 1
movlpd qword [ebp - 0x2cc], xmm0
mov edx, dword [ebp - 0x2c8]
mov ecx, dword [ebp - 0x2cc]
nop dword [eax]
mov al, byte [ebp + ecx - 0x31c]
mov byte [ecx + 0x495f18], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x41a01c
cmp ecx, 0x3f
jb 0x41a000
push 0x47a3f0
call fcn.00452c62
push 0x4966f0
call fcn.00452941
add esp, 8
mov ecx, 0x495f18
call fcn.0041ec10
mov edx, dword [ebp - 0x2d0]
push edx
push esi
push edi
push 0x495f18
push 1
call fcn.00401610
mov ecx, dword [ebp - 0x5c]
add esp, 0x14
cmp ecx, 7
jbe 0x41a08f
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a085
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a34e
push ecx
push edx
call fcn.00452c7c
add esp, 8
xor esi, esi
jmp 0x41a2a3
mov edi, dword [ebp - 0x2c4]
nop dword [eax]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x41a0f6
lea edx, [ebp - 0x294]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
lea eax, [edx + 2]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x2c8], eax
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41a0d0
sub edx, dword [ebp - 0x2c8]
lea eax, [ebp - 0x294]
sar edx, 1
push edx
push eax
call fcn.0040c680
add dword [esi + 4], 0x18
jmp 0x41a105
lea eax, [ebp - 0x294]
push eax
push ecx
mov ecx, esi
call fcn.004219b0
lea eax, [ebp - 0x2c0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41a0a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x2c4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x2d0]
cmp esi, 0x12
je 0x41a29e
cmp dword [edi + 0x14], 7
jbe 0x41a142
mov edi, dword [edi]
push ecx
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.0041a470
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 7
jbe 0x41a15e
mov esi, dword [esi]
movaps xmm0, xmmword [0x4885f0]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0x2d4]
cmova eax, dword [ebp - 0x28]
movups xmmword [ebp - 0x320], xmm0
mov dword [ebp - 0x2c8], eax
movaps xmm0, xmmword [0x487fe0]
mov eax, dword [0x496454]
movups xmmword [ebp - 0x310], xmm0
mov dword [ebp - 0x2e0], 0x7919cf21
movaps xmm0, xmmword [0x487960]
movups xmmword [ebp - 0x300], xmm0
mov word [ebp - 0x2dc], 0xa5a2
movaps xmm0, xmmword [0x488750]
movups xmmword [ebp - 0x2f0], xmm0
cmp eax, dword [ecx + 4]
jle 0x41a243
push 0x496454
call fcn.00452992
add esp, 4
cmp dword [0x496454], 0xffffffff
jne 0x41a243
xorps xmm0, xmm0
mov byte [0x4960a6], 1
movlpd qword [ebp - 0x2d8], xmm0
mov edx, dword [ebp - 0x2d4]
mov ecx, dword [ebp - 0x2d8]
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x320]
mov byte [ecx + 0x496060], al
add ecx, 1
adc edx, 0
test edx, edx
jne 0x41a22c
cmp ecx, 0x46
jb 0x41a210
push 0x47a3c0
call fcn.00452c62
push 0x496454
call fcn.00452941
add esp, 8
mov ecx, 0x496060
call fcn.0041ef10
push edi
push esi
push dword [ebp - 0x2c8]
push 0x496060
push 2
call fcn.00401610
mov ecx, dword [ebp - 0x5c]
add esp, 0x14
cmp ecx, 7
jbe 0x41a29e
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a294
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a353
push ecx
push edx
call fcn.00452c7c
add esp, 8
mov esi, 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x41a2dd
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a2d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a358
push ecx
push edx
call fcn.00452c7c
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x41a327
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a31d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a358
push ecx
push edx
call fcn.00452c7c
add esp, 8
mov eax, esi
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.00452933
mov esp, ebp
pop ebp
ret
call fcn.004015f0
call fcn.004579bf
call fcn.004579bf
call fcn.004579bf
call fcn.004579bf
int3