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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47df82
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4be5b4]
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 dword [ebp - 0x244], ecx
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x22c]
push 4
push eax
push 4
push str.Mini_rec
push str.SOFTWARELDSGameMasterHallSettings
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x22c], 0
mov dword [0x4c2590], 0
mov dword [0x4c258c], 0
mov dword [0x4c2588], 0
call esi
push 4
lea eax, [ebp - 0x22c]
push eax
push 4
push str.Info_rec
push str.SOFTWARELDSGameMasterHallSettings
push reloc.OLEAUT32.dll_SysReAllocString
call esi
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 eax, dword [0x4c24a8]
test al, 1
jne 0x427445
or eax, 1
mov dword [0x4c24a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x481600
mov dword [0x4c249c], 0x482874
mov dword [0x4c24a0], eax
mov byte [0x4c24a4], 0
call fcn.0042c749
mov eax, dword [0x4c24a8]
add esp, 4
test al, 2
jne 0x4274a1
or eax, 2
mov dword [0x4c24ac], 0x483b00
mov dword [0x4c24a8], eax
xor eax, eax
push 0x481630
mov dword [0x4c24b0], 0x4c249c
mov dword [0x4c24c0], 2
mov dword [0x4c24b8], 0
mov dword [0x4c24bc], 0
mov dword [0x4c24c4], eax
mov dword [0x4c24b4], 0x4c24ac
call fcn.0042c749
add esp, 4
mov eax, dword [0x4c24ac]
mov ecx, 0x4c24ac
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push 0
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
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 - 0x224]
push str.lock_screen_state
push str.General
call edi
push 0
call fcn.00440ed0
push edx
push eax
lea eax, [ebp - 0x224]
push str._lld
push eax
call fcn.00409e30
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x220]
add esp, 0x14
push eax
push esi
push str.lock_screen_time
push str.General
call edi
push str.open_hall
push str.installpkg
call fcn.0040b360
push eax
call fcn.00450840
add esp, 0xc
call fcn.0040b420
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.0041b750
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 1
push eax
call fcn.0040a550
mov ebx, eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
call fcn.0040bcd0
mov edi, eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
call fcn.0040b660
mov ecx, dword [ebp - 0x230]
mov byte [ebp - 4], 4
push dword [ecx]
push dword [ebx]
push dword [edi]
push dword [eax]
lea eax, [ebp - 0x228]
push 1
push 0
push eax
push 0x4c2518
call fcn.004601a0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x234]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4275da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4275fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x23c]
mov eax, edi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42761c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x240]
mov eax, edi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42763d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x228]
push str.__PopSetting
push eax
call fcn.00426870
add esp, 8
call fcn.0045f500
push dword [ebp - 0x228]
push str.LDSGameHallLDSGameHall.exe
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [ebp - 0x228]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427696
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], edi
dec edi
test edi, edi
jg 0x4276b2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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.0042c75e
mov esp, ebp
pop ebp
ret 0x10