Function at 0x466aa0
Capabilities:
Create directory
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48003c
mov eax, dword fs:[0]
push eax
mov eax, 0x1c40
call fcn.0042cec0
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c44], esi
push str.write_path_regitery
call fcn.0044e890
add esp, 4
call fcn.0045f500
mov ecx, eax
call fcn.0045f680
mov edi, eax
push edi
mov ecx, dword [edi]
call dword [ecx + 0x18]
push 0x800
mov dword [ebp - 0x1c40], eax
lea eax, [ebp - 0xc38]
push 0
push eax
call fcn.00432c40
mov ecx, dword [edi]
lea eax, [ebp - 0xc38]
add esp, 0xc
push 0x400
push eax
push edi
call dword [ecx + 0x1c]
cmp word [ebp - 0xc38], 0
jne 0x466b39
xor eax, eax
jmp 0x466f29
push 0x800
lea eax, [ebp - 0x1c38]
push 0
push eax
call fcn.00432c40
mov eax, dword [edi]
lea ecx, [ebp - 0x1c38]
add esp, 0xc
push 0x400
push ecx
push edi
call dword [eax + 0x20]
mov ecx, dword [esi + 4]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ecx - 0xc]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
lea eax, [ebp - 0x1c38]
push eax
lea eax, [ebp - 0xc38]
push eax
push dword [ebp - 0x1c40]
call esi
neg eax
sbb eax, eax
inc eax
cmp dword [0x4c24d4], 4
mov dword [ebp - 0x1c4c], eax
jne 0x466c78
lea eax, [ebp - 0x230]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x230], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.0040b4c0
mov ecx, eax
test ecx, ecx
je 0x466f44
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c3c], eax
movzx eax, word [ebp - 0x224]
push eax
movzx eax, word [ebp - 0x226]
push eax
movzx eax, word [ebp - 0x228]
push eax
movzx eax, word [ebp - 0x22a]
push eax
movzx eax, word [ebp - 0x22e]
push eax
movzx eax, word [ebp - 0x230]
push eax
lea eax, [ebp - 0x1c3c]
mov dword [ebp - 4], 0
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.00409e30
mov esi, dword [ebp - 0x1c3c]
add esp, 0x20
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push str.InstallDate
lea eax, [ebp - 0xc38]
push eax
push dword [ebp - 0x1c40]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x466c72
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x208
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.00432c40
mov eax, dword [edi]
lea ecx, [ebp - 0x438]
add esp, 0xc
push 0x104
push ecx
push edi
call dword [eax + 0x14]
push 0x800
lea eax, [ebp - 0x1438]
push 0
push eax
call fcn.00432c40
add esp, 0xc
call fcn.0040b4c0
mov ecx, eax
test ecx, ecx
je 0x466f4e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c3c], eax
push str.LDSGameHall_
lea ecx, [ebp - 0x1c3c]
mov dword [ebp - 4], 1
call fcn.00406bc0
test al, al
jne 0x466d02
push 0xc
push str.LDSGameHall_
lea ecx, [ebp - 0x1c3c]
call fcn.00416a50
lea eax, [ebp - 0x438]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x1c3c]
push eax
lea eax, [ebp - 0x1c48]
push eax
call fcn.00404d40
add esp, 0xc
push dword [eax]
mov eax, dword [ebp - 0x1c44]
push dword [eax + 4]
lea eax, [ebp - 0x1438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x1c48]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x466d5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c3c]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x466d82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1438]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466d90
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x1438]
push eax
push 1
push 0
lea eax, [ebp - 0xc38]
push eax
push dword [ebp - 0x1c40]
call esi
mov eax, dword [0x4c24d4]
cmp eax, 1
je 0x466f23
cmp eax, 2
je 0x466f23
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x220]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push str.PluginCfg
push eax
call esi
push 0
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.lockscreenfix.ini
lea eax, [ebp - 0x220]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
push 0x4c2588
push 4
push str.Mini_rec
push str.SOFTWARELDSGameMasterHallSettings
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 4
push 0x4c2590
push 4
push str.Info_rec
push str.SOFTWARELDSGameMasterHallSettings
push reloc.OLEAUT32.dll_SysReAllocString
call esi
call fcn.0040b4c0
mov ecx, eax
test ecx, ecx
je 0x466f58
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c3c], eax
push dword [0x4c258c]
lea eax, [ebp - 0x1c3c]
mov dword [ebp - 4], 3
push 0x487c0c
push eax
call fcn.00409e30
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x220]
add esp, 0xc
push eax
push dword [ebp - 0x1c3c]
push str.lock_screen_state
push str.General
call edi
push 0
call fcn.00440ed0
push edx
push eax
lea eax, [ebp - 0x1c3c]
push str._lld
push eax
call fcn.00409e30
mov esi, dword [ebp - 0x1c3c]
lea eax, [ebp - 0x220]
add esp, 0x14
push eax
push esi
push str.lock_screen_time
push str.General
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x466f23
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004068b0
push 0x80004005
call fcn.004068b0
push 0x80004005
call fcn.004068b0
int3