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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101ea309
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x102683e0]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x102683e0]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test esi, esi
je 0x10094b8b
lea eax, [esp + 0x88]
push eax
call fcn.100192c0
add esp, 4
push 0xd
push str.LightRegulate
lea ecx, [esp + 0x90]
mov dword [esp + 0xd0], 0
call fcn.10003b30
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.10018a30
mov edi, eax
add esp, 8
lea eax, [esp + 0x88]
cmp eax, edi
je 0x10094884
cmp dword [esp + 0x9c], 8
jb 0x10094857
push dword [esp + 0x88]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [esp + 0x9c], 7
push edi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
call fcn.10003640
cmp dword [esp + 0x54], 8
jb 0x10094897
push dword [esp + 0x40]
call fcn.101a02f0
add esp, 4
cmp dword [esp + 0x9c], 8
lea eax, [esp + 0x88]
cmovae eax, dword [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100948be
test al, 0x10
jne 0x100948db
cmp dword [esp + 0x9c], 8
lea eax, [esp + 0x88]
cmovae eax, dword [esp + 0x88]
push eax
call fcn.10083a60
push str.report.db
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.10004650
add esp, 0xc
push 0xffffffffffffffff
mov byte [esp + 0xcc], 1
lea ecx, [esp + 0x74]
push 0
push ebx
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
call fcn.10003440
mov byte [esp + 0xc8], 2
cmp dword [esp + 0x80], 0
jne 0x100949ef
push str.api.win_13.com:8008_v1_report
lea ecx, [esp + 0x44]
call fcn.10003120
lea eax, [esp + 0x40]
mov byte [esp + 0xc8], 3
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10093480
mov edi, eax
add esp, 8
lea eax, [esp + 0x70]
cmp eax, edi
je 0x100949ac
cmp dword [esp + 0x84], 0x10
jb 0x10094987
push dword [esp + 0x70]
call fcn.101a02f0
add esp, 4
push edi
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
call fcn.1000f160
cmp dword [esp + 0x6c], 0x10
jb 0x100949bf
push dword [esp + 0x58]
call fcn.101a02f0
add esp, 4
mov byte [esp + 0xc8], 2
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
jb 0x100949ef
push dword [esp + 0x40]
call fcn.101a02f0
add esp, 4
cmp dword [esp + 0x84], 0x10
lea eax, [esp + 0x70]
cmovae eax, dword [esp + 0x70]
push eax
push str.InitReport_strUrlInit:_s
push 0
push str.Light_pub.cpp
call fcn.10036550
add esp, 0x10
mov dword [esp + 0x3c], 0xf
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
push 0x10
push str.LIGHT20248787878
call fcn.100037c0
mov byte [esp + 0xc8], 4
lea ecx, [esp + 0x10]
push 0x10
push str.Lightr_Aes_20240
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.100037c0
lea ecx, [esi + 0x34]
mov byte [esp + 0xc8], 5
lea eax, [esp + 0x70]
cmp ecx, eax
je 0x10094a84
push 0xffffffffffffffff
push 0
push eax
call fcn.10003440
lea ecx, [esi + 4]
lea eax, [esp + 0x10]
cmp ecx, eax
je 0x10094a99
push 0xffffffffffffffff
push 0
push eax
call fcn.10003440
lea ecx, [esi + 0x1c]
lea eax, [esp + 0x28]
cmp ecx, eax
je 0x10094aae
push 0xffffffffffffffff
push 0
push eax
call fcn.10003440
lea ecx, [esi + 0x64]
lea eax, [esp + 0xa0]
cmp ecx, eax
je 0x10094ac6
push 0xffffffffffffffff
push 0
push eax
call fcn.100040d0
mov ecx, esi
call fcn.10080290
cmp dword [esp + 0x24], 0x10
jb 0x10094ae0
push dword [esp + 0x10]
call fcn.101a02f0
add esp, 4
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
jb 0x10094b08
push dword [esp + 0x28]
call fcn.101a02f0
add esp, 4
cmp dword [esp + 0x84], 0x10
jb 0x10094b1e
push dword [esp + 0x70]
call fcn.101a02f0
add esp, 4
cmp dword [esp + 0xb4], 8
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
jb 0x10094b52
push dword [esp + 0xa0]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [esp + 0xb4], 7
cmp dword [esp + 0x9c], 8
mov dword [esp + 0xb0], 0
mov word [esp + 0xa0], ax
jb 0x10094b8b
push dword [esp + 0x88]
call fcn.101a02f0
add esp, 4
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.101a0193
mov esp, ebp
pop ebp
ret