Function at 0x41f010
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44666b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x45d0bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 0x5c], al
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xdc]
push eax
push dword [edi + 4]
call fcn.0041f360
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov eax, esi
jb 0x41f0da
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41f11b
push 1
push 0
push 0xc0000000
push esi
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], 0
call fcn.004226b0
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x41f11b
cmp eax, 0xffffffff
je 0x41f11b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4481c4
lea eax, [edi + 0x84]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00409fd0
add esp, 0xc
cmp dword [edi + 0x34], 8
lea edx, [edi + 0x20]
mov byte [ebp - 4], 1
jb 0x41f143
mov edx, dword [edi + 0x20]
push dword [edi + 0x30]
mov ecx, eax
push edx
call fcn.00407e50
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.00419e00
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x41f1ce
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f1c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f348
push edx
push ecx
call fcn.004241cb
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x41f21f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f215
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f34d
push edx
push ecx
call fcn.004241cb
add esp, 8
push 0x4481c4
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00409fd0
add esp, 0xc
cmp dword [ebp - 0xa8], 8
lea ecx, [ebp - 0xbc]
push dword [ebp - 0xac]
cmovae ecx, dword [ebp - 0xbc]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00407e50
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.00419e00
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x41f2d6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f2cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f352
push edx
push ecx
call fcn.004241cb
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x41f320
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f316
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f357
push edx
push ecx
call fcn.004241cb
add esp, 8
lea ecx, [ebp - 0xdc]
call fcn.0041db70
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.00424185
mov esp, ebp
pop ebp
ret 4
call fcn.0042b37c
call fcn.0042b37c
call fcn.0042b37c
call fcn.0042b37c
int3