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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d666
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
test edi, edi
je 0x413cbb
lea ecx, [ebp - 0x40]
call fcn.004063a0
push 0xd
push str.LightRegulate
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00402779
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x88]
call fcn.00406020
push eax
lea ecx, [ebp - 0x40]
call fcn.004064e0
cmp dword [ebp - 0x74], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x413a46
push dword [ebp - 0x88]
call esi
add esp, 4
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x413a61
test al, 0x10
jne 0x413a71
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
call fcn.0040c890
push str.report.db
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.0040345d
add esp, 4
push 0xffffffffffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
push ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00401e8e
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
jne 0x413b67
push 0x1d
push str.api.win_13.com:8008_v1_report
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
call fcn.0040206a
lea edx, [ebp - 0xb8]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.00413910
mov ebx, eax
lea eax, [ebp - 0x28]
cmp eax, ebx
je 0x413b29
cmp dword [ebp - 0x14], 0x10
jb 0x413b0e
push dword [ebp - 0x28]
call esi
add esp, 4
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404560
cmp dword [ebp - 0x74], 0x10
jb 0x413b3a
push dword [ebp - 0x88]
call esi
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
jb 0x413b67
push dword [ebp - 0xb8]
call esi
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.InitReport_strUrlInit:_s
push 0
push str.Light_pub.cpp
call fcn.00403e90
add esp, 0x10
mov dword [ebp - 0x8c], 0xf
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
push 0x10
push str.LIGHT20248787878
call fcn.0040206a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
push 0x10
push str.Lightr_Aes_20240
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.0040206a
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x413bf1
push 0xffffffffffffffff
push 0
push eax
call fcn.00401e8e
lea ecx, [edi + 4]
lea eax, [ebp - 0x70]
cmp ecx, eax
je 0x413c05
push 0xffffffffffffffff
push 0
push eax
call fcn.00401e8e
lea ecx, [edi + 0x1c]
lea eax, [ebp - 0xa0]
cmp ecx, eax
je 0x413c1c
push 0xffffffffffffffff
push 0
push eax
call fcn.00401e8e
lea ecx, [edi + 0x64]
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x413c30
push 0xffffffffffffffff
push 0
push eax
call fcn.004022c7
mov ecx, edi
call fcn.004102f0
cmp dword [ebp - 0x5c], 0x10
jb 0x413c45
push dword [ebp - 0x70]
call esi
add esp, 4
cmp dword [ebp - 0x8c], 0x10
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
jb 0x413c6b
push dword [ebp - 0xa0]
call esi
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x413c79
push dword [ebp - 0x28]
call esi
add esp, 4
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x413c99
push dword [ebp - 0x58]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x413cbb
push dword [ebp - 0x40]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret