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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x101ea5a1
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x102683e0]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov eax, dword [0x102683e0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
mov byte [esp + 0xa0], 1
mov edx, str.Softwarelightregulate_
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x20019
push ecx
mov ecx, SysReAllocStringLen
call fcn.1008cee0
add esp, 0xc
test eax, eax
jne 0x100960e9
mov ecx, dword [esp + 0x10]
call fcn.1008cf70
push 0x1022a5e4
push str.InstallDir
push str.Softwarelightregulate_
lea ecx, [esp + 0x60]
call fcn.1008d4e0
mov esi, eax
lea eax, [esp + 0x3c]
cmp eax, esi
je 0x10096064
cmp dword [esp + 0x50], 8
jb 0x10096043
push dword [esp + 0x3c]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
push esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
call fcn.10003640
cmp dword [esp + 0x68], 8
jb 0x10096077
push dword [esp + 0x54]
call fcn.101a02f0
add esp, 4
push 0x1022a5e4
push str.supplyid
push str.Softwarelightregulate_
lea ecx, [esp + 0x60]
call fcn.1008d4e0
mov esi, eax
lea eax, [esp + 0x6c]
cmp eax, esi
je 0x100960d6
cmp dword [esp + 0x80], 8
jb 0x100960af
push dword [esp + 0x6c]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
call fcn.10003640
cmp dword [esp + 0x68], 8
jb 0x100960e9
push dword [esp + 0x54]
call fcn.101a02f0
add esp, 4
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.10018a30
mov esi, eax
add esp, 8
lea eax, [esp + 0x3c]
cmp eax, esi
je 0x10096139
cmp dword [esp + 0x50], 8
jb 0x10096118
push dword [esp + 0x3c]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
push esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
call fcn.10003640
cmp dword [esp + 0x68], 8
jb 0x1009614c
push dword [esp + 0x54]
call fcn.101a02f0
add esp, 4
cmp dword [esp + 0x50], 8
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10096372
test al, 0x10
je 0x10096372
cmp dword [esp + 0x7c], 0
je 0x10096372
xorps xmm0, xmm0
mov dword [esp + 0x8c], 0
lea ecx, [esp + 0x84]
movq qword [esp + 0x84], xmm0
call fcn.1000a2d0
push str.installdir
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 2
call fcn.10003120
lea eax, [esp + 0x3c]
mov byte [esp + 0xa0], 3
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x8c]
call fcn.1000d060
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x28], 0x10
jb 0x100961ef
push dword [esp + 0x14]
call fcn.101a02f0
add esp, 4
push str.supply
lea ecx, [esp + 0x18]
call fcn.10003120
lea eax, [esp + 0x6c]
mov byte [esp + 0xa0], 4
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x8c]
call fcn.1000d060
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x28], 0x10
jb 0x10096236
push dword [esp + 0x14]
call fcn.101a02f0
add esp, 4
push str.cover_supply
lea ecx, [esp + 0x18]
call fcn.10003120
push edi
lea eax, [esp + 0x18]
mov byte [esp + 0xa4], 5
push eax
lea ecx, [esp + 0x8c]
call fcn.1000d060
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x28], 0x10
jb 0x10096279
push dword [esp + 0x14]
call fcn.101a02f0
add esp, 4
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x88]
call fcn.1007f570
mov byte [esp + 0xa0], 6
mov esi, dword [esp + 0x64]
lea edi, [esi + 0xf]
and edi, 0xfffffff0
push edi
call fcn.101875f8
add esp, 4
mov dword [esp + 0x10], eax
push edi
push 0
push eax
call fcn.101a01b0
add esp, 0xc
lea ecx, [esp + 0x54]
cmp dword [esp + 0x68], 0x10
cmovae ecx, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x14]
push ecx
push esi
call fcn.101a1180
movdqu xmm0, xmmword [str.LIGHT20248787878]
mov al, byte [0x10230c80]
lea ecx, [esp + 0x20]
add esp, 0xc
mov byte [esp + 0x24], al
movdqu xmmword [esp + 0x14], xmm0
push edi
push esi
call fcn.100d6c60
add esp, 8
test al, al
je 0x10096312
push edi
push esi
push str.SFTA.Lightip.ss
push ecx
mov edx, str..taz
mov ecx, SysReAllocStringLen
call fcn.1008d890
cmp dword [esp + 0x68], 0x10
jb 0x10096325
push dword [esp + 0x54]
call fcn.101a02f0
add esp, 4
mov byte [esp + 0xa0], 1
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
test esi, esi
je 0x10096372
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x10096372
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10096372
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [esp + 0x80], 8
jb 0x10096388
push dword [esp + 0x6c]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
cmp dword [esp + 0x50], 8
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
jb 0x100963b5
push dword [esp + 0x3c]
call fcn.101a02f0
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.101a0193
mov esp, ebp
pop ebp
ret