Function at 0x10007be0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053e87
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x100735cc]
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, ecx
mov dword [ebp - 0x228], ebx
push dword [ebx]
push 1
push str.enable
push str.lockscreen
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x10007ca5
call fcn.10027220
test eax, eax
je 0x10007c85
call fcn.10027220
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x10007c85
call fcn.10027220
lea ecx, [ebp - 0x2c0]
mov edi, eax
call fcn.10006fe0
mov esi, eax
push str.locksrc_disable
push esi
mov dword [ebp - 4], 0
call fcn.10007150
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x2c0]
call fcn.10002ee0
xor edi, edi
mov eax, edi
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.10028080
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10030d40
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebx]
push 0x104
push eax
push 0x100578bc
push str.last_date
push str.lockscreen
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.10007950
mov ecx, eax
test ecx, ecx
je 0x10007f16
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x10007d20
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.10007f30
jmp 0x10007d52
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007d30
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10008640
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.100078a0
mov eax, dword [eax]
test eax, eax
je 0x10007f20
mov esi, dword [ebp - 0x21c]
mov ecx, esi
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10007da6
test dx, dx
je 0x10007da2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10007da6
add ecx, 4
add eax, 4
test dx, dx
jne 0x10007d80
xor edi, edi
jmp 0x10007dab
sbb edi, edi
or edi, 1
mov edx, dword [ebp - 0x224]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10007dcb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x10007df9
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10007c87
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10007c87
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x220]
push eax
call fcn.10007a20
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], 0
je 0x10007ed1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10007ecb
call fcn.10027220
test eax, eax
je 0x10007e85
call fcn.10027220
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x10007e85
call fcn.10027220
lea ecx, [ebp - 0x358]
mov ebx, eax
call fcn.10006fe0
mov edi, eax
push str.tray_not_exist
push edi
mov byte [ebp - 4], 4
call fcn.10007150
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x14]
lea ecx, [ebp - 0x358]
call fcn.10002ee0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x220]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10007ea6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10007c85
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10007c85
mov eax, dword [ebp - 0x220]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 2
mov edi, 1
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10007ef1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10007c87
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10007c87
push 0x80004005
call fcn.10006370
push 0x80004005
call fcn.10006370
int3