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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44030e
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x479fcc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x90], esi
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x98], eax
mov eax, ecx
mov dword [ebp - 0x94], edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x9c], ecx
jb 0x4116d0
mov eax, dword [ecx]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xa4], eax
call eax
cmp eax, 0xffffffff
je 0x4116fb
push dword [ebp - 0x9c]
mov ecx, edi
call fcn.0040e9f0
mov byte [edi + 0x18], 1
mov eax, edi
jmp 0x411a9e
mov eax, dword [ebp - 0x98]
xor edi, edi
cmp dword [eax + 0x10], esi
jbe 0x411a92
nop dword [eax]
push 0
push 0x3b
mov ecx, eax
call fcn.00417860
push 1
xorps xmm0, xmm0
mov dword [ebp - 0xa0], eax
push 0x44a9fc
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
call fcn.004010e0
mov edx, dword [ebp - 0x98]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 4], 0
mov eax, dword [edx + 0x10]
cmp ecx, 0xffffffff
jne 0x4117b3
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
cmp eax, edi
jb 0x411ab9
sub eax, edi
or ecx, ecx
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x411797
mov eax, dword [edx]
push ecx
lea eax, [eax + edi*2]
push eax
lea ecx, [ebp - 0x70]
call fcn.004010e0
or esi, 0x20
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
or esi, 2
jmp 0x4117fd
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
cmp eax, edi
jb 0x411ab9
sub eax, edi
sub ecx, edi
cmp eax, ecx
cmovb ecx, eax
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x4117e0
mov eax, dword [edx]
push ecx
lea eax, [eax + edi*2]
push eax
lea ecx, [ebp - 0x58]
call fcn.004010e0
or esi, 0x40
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 2
or esi, 4
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x90], esi
push ecx
push eax
push dword [ebp - 0x94]
lea ecx, [ebp - 0x40]
call fcn.0040eaf0
or esi, 8
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], esi
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 3
call fcn.004176a0
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
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
mov eax, dword [ebp - 0x8c]
or eax, 0x10
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp ecx, 8
jb 0x4118cf
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4118bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411abe
push ecx
push edx
call fcn.004197c3
mov eax, dword [ebp - 0x8c]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
mov byte [ebp - 4], 6
test al, 4
je 0x41193a
mov ecx, dword [ebp - 0x44]
and eax, 0xfffffffb
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], eax
cmp ecx, 8
jb 0x41193a
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41192a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411abe
push ecx
push edx
call fcn.004197c3
mov eax, dword [ebp - 0x8c]
add esp, 8
mov byte [ebp - 4], 7
test al, 2
je 0x41198b
mov ecx, dword [ebp - 0x5c]
and eax, 0xfffffffd
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], eax
cmp ecx, 8
jb 0x41198b
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411981
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411abe
push ecx
push edx
call fcn.004197c3
add esp, 8
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 8
cmp ecx, 8
jb 0x4119cc
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4119c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411abe
push ecx
push edx
call fcn.004197c3
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [ebp - 0xa4]
cmp eax, 0xffffffff
jne 0x411a45
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xa0]
cmp eax, 0xffffffff
lea edi, [eax + 1]
cmove edi, eax
cmp ecx, 8
jb 0x411a2f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411a25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411abe
push ecx
push edx
call fcn.004197c3
add esp, 8
mov eax, dword [ebp - 0x98]
cmp edi, dword [eax + 0x10]
jae 0x411a92
mov esi, dword [ebp - 0x8c]
jmp 0x411710
mov esi, dword [ebp - 0x94]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0040e9f0
mov ecx, dword [ebp - 0x14]
mov byte [esi + 0x18], 1
cmp ecx, 8
jb 0x411a9c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411a86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411abe
push ecx
push edx
call fcn.004197c3
add esp, 8
jmp 0x411a9c
mov esi, dword [ebp - 0x94]
mov byte [esi + 0x18], 0
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.004197d1
mov esp, ebp
pop ebp
ret
call fcn.00415430
call fcn.0041e68f
int3