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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x101ea628
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1098
call fcn.101ae1b0
mov eax, dword [0x102683e0]
xor eax, esp
mov dword [esp + 0x1094], eax
push esi
push edi
mov eax, dword [0x102683e0]
xor eax, esp
push eax
lea eax, [esp + 0x10a8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x30], 0
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], 0
mov byte [esp + 0x84], 0
push 0xfff
lea eax, [esp + 0xa1]
mov dword [esp + 0x10b4], 0
push 0
push eax
mov byte [esp + 0xa8], 0
call fcn.101a01b0
add esp, 0xc
lea eax, [esp + 0x9c]
mov edx, str..taz
push 0xfff
push eax
sub esp, 8
push str.SFTA.Lightip.ss
push ecx
mov ecx, SysReAllocStringLen
call fcn.1008d970
mov edi, eax
push edi
push str.GetPrivateSupplyId_CryptDecrypt_AesEcb_dwSize___d
push 0
push str.Light_pub.cpp
call fcn.10036720
mov al, byte [0x10230c80]
add esp, 0x10
movdqu xmm0, xmmword [str.LIGHT20248787878]
mov byte [esp + 0x44], al
xor eax, eax
mov dword [esp + 0x68], 7
movdqu xmmword [esp + 0x34], xmm0
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
mov byte [esp + 0x10b0], 1
test edi, edi
jne 0x100964fe
push 0x1022a5e4
mov ecx, esi
call fcn.100031d0
jmp 0x10096742
cmp byte [esp + 0x9c], 0
je 0x10096736
lea eax, [esp + 0x9c]
push edi
push eax
lea ecx, [esp + 0x3c]
call fcn.100d6e50
add esp, 8
test al, al
je 0x10096736
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
lea ecx, [esp + 0x34]
movq qword [esp + 0x34], xmm0
call fcn.1000a2d0
lea eax, [esp + 0x9c]
mov byte [esp + 0x10b0], 2
push eax
lea ecx, [esp + 0x1c]
call fcn.10003120
lea eax, [esp + 0x18]
mov byte [esp + 0x10b0], 3
mov ecx, dword [esp + 0x38]
push eax
call fcn.10023440
test al, al
mov byte [esp + 0x10b0], 2
sete al
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0x17], al
jb 0x1009659a
push dword [esp + 0x18]
call fcn.101a02f0
mov al, byte [esp + 0x1b]
add esp, 4
test al, al
je 0x100965cd
push 0x1022a5e4
mov ecx, esi
call fcn.100031d0
lea ecx, [esp + 0x34]
call fcn.1000a390
lea ecx, [esp + 0x54]
call fcn.100032a0
lea ecx, [esp + 0x84]
call fcn.10003180
jmp 0x10096755
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
push str.installdir
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10b4], 4
call fcn.10003120
lea eax, [esp + 0x6c]
mov byte [esp + 0x10b0], 5
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call fcn.1000c6e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x10b0], 4
call fcn.10003180
push str.supply
lea ecx, [esp + 0x1c]
call fcn.10003120
lea eax, [esp + 0x54]
mov byte [esp + 0x10b0], 6
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call fcn.1000c6e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x10b0], 4
call fcn.10003180
cmp dword [ebp + 0xc], 0
je 0x100966a3
push str.cover_supply
lea ecx, [esp + 0x1c]
call fcn.10003120
lea eax, [esp + 0x54]
mov byte [esp + 0x10b0], 7
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call fcn.1000c6e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x10b0], 4
call fcn.10003180
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100966cb
test al, 0x10
je 0x100966cb
mov edi, 1
jmp 0x100966cd
xor edi, edi
cmp dword [esp + 0x68], 8
lea ecx, [esp + 0x54]
lea eax, [esp + 0x6c]
cmovae ecx, dword [esp + 0x54]
cmp dword [esp + 0x80], 8
push ecx
push dword [ebp + 0xc]
cmovae eax, dword [esp + 0x74]
push edi
push eax
push str.GetPrivateSupplyId_installdir:_s_bDirExisted:_d__bCoverSupply:_d__supply:__s
push 0
push str.Light_pub.cpp
call fcn.10036720
add esp, 0x1c
test edi, edi
jne 0x10096724
push 0x1022a5e4
mov ecx, esi
call fcn.100031d0
lea ecx, [esp + 0x6c]
call fcn.100032a0
jmp 0x100965aa
lea ecx, [esp + 0x6c]
call fcn.100032a0
lea ecx, [esp + 0x34]
call fcn.1000a390
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call fcn.10003230
cmp dword [esp + 0x68], 8
jb 0x10096755
push dword [esp + 0x54]
call fcn.101a02f0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1094]
xor ecx, esp
call fcn.101a0193
mov esp, ebp
pop ebp
ret