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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c617
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x461040]
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, ecx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
xor eax, eax
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 1
mov esi, edx
cmp dword [edx + 0x14], 7
jbe 0x411ae0
mov esi, dword [edx]
mov ecx, dword [edx + 0x10]
sub esp, 0x10
mov eax, esp
push ecx
push esi
lea ecx, [ebp - 0x88]
mov dword [eax], 0x45971c
mov dword [eax + 4], 1
call fcn.0040a820
mov eax, dword [ebp - 0x84]
add esp, 0x18
mov esi, dword [ebp - 0x88]
mov dword [ebp - 0x78], eax
cmp esi, eax
je 0x411c2d
nop dword [eax]
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x411b2a
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 2
push 1
push 0x4598e4
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.0040a9b0
add esp, 0x10
mov byte [ebp - 4], 3
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x411b53
mov ecx, dword [eax]
push 1
push 0x4598e4
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0040ac00
or dword [ebp - 0x74], 2
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00403d40
push 1
sub esp, 0x18
lea eax, [ebp - 0x58]
mov dword [ebp - 0x90], esp
mov edi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
push eax
call fcn.00402b30
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.00409b40
add esp, 0x18
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00409e60
mov byte [ebp - 4], 7
and dword [ebp - 0x74], 0xfffffffd
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.00403d40
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409890
mov byte [ebp - 4], 9
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00403d40
cmp edi, 0xffffffff
je 0x411c12
push ecx
lea ecx, [ebp - 0x28]
call fcn.00409410
test al, al
jne 0x411c8f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00403d40
add esi, 0x18
cmp esi, dword [ebp - 0x78]
jne 0x411b20
mov edi, dword [ebp - 0x7c]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 1
or dword [ebp - 0x74], 1
mov byte [ebp - 4], al
lea ecx, [ebp - 0x88]
call fcn.00403050
mov eax, edi
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.00429557
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x7c]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x14], 0
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x74]
or eax, 1
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00403d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00403050
mov eax, esi
jmp 0x411c74