Function at 0x4210e2
Capabilities:
Read .ini file
Set registry value

Disassembly:
mov eax, 0x4920
call fcn.00432300
and word [esp], 0
push ebx
push ebp
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultoption
lea eax, [esp + 0x18]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
and word [esp + 0x28b0], 0
mov ecx, 0x823
xor eax, eax
lea edi, [esp + 0x28b2]
rep stosd dword es:[edi], eax
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
stosw word es:[edi], ax
push dword [esp + 0x4934]
lea eax, [esp + 0x28a4]
mov esi, 0x466054
mov edi, str.option
push 0x104
push eax
push esi
push str.AddrCE1
push edi
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [esp + 0x28a0]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x4211b2
lea eax, [esp + 0x28a0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x28a4]
push eax
push 1
lea eax, [esp + 0x1c]
push str.AddrCE1
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x28a0]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x28a4]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.AddrSE1
push edi
call ebx
lea eax, [esp + 0x28a0]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x421222
lea eax, [esp + 0x28a0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x28a4]
push eax
push 1
lea eax, [esp + 0x1c]
push str.AddrSE1
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x28a0]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x28a4]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.AddrCSE1
push edi
call ebx
lea eax, [esp + 0x28a0]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x421292
lea eax, [esp + 0x28a0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x28a4]
push eax
push 1
lea eax, [esp + 0x1c]
push str.AddrCSE1
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x28a0]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x28a4]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.AddrCAE1
push edi
call ebx
lea eax, [esp + 0x28a0]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x421302
lea eax, [esp + 0x28a0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x28a4]
push eax
push 1
lea eax, [esp + 0x1c]
push str.AddrCAE1
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x28a0]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x28a4]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.AddrCE2
push edi
call ebx
lea eax, [esp + 0x28a0]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x421372
lea eax, [esp + 0x28a0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x28a4]
push eax
push 1
lea eax, [esp + 0x1c]
push str.AddrCE2
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x28a0]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x28a4]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.AddrSE2
push edi
call ebx
lea eax, [esp + 0x28a0]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x4213e2
lea eax, [esp + 0x28a0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x28a4]
push eax
push 1
lea eax, [esp + 0x1c]
push str.AddrSE2
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x28a0]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x28a4]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.AddrCSE2
push edi
call ebx
lea eax, [esp + 0x28a0]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x421452
lea eax, [esp + 0x28a0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x28a4]
push eax
push 1
lea eax, [esp + 0x1c]
push str.AddrCSE2
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x28a0]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x28a4]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.AddrCAE2
push edi
call ebx
lea eax, [esp + 0x28a0]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x4214c2
lea eax, [esp + 0x28a0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x28a4]
push eax
push 1
lea eax, [esp + 0x1c]
push str.AddrCAE2
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
and word [esp + 0x810], 0
mov ecx, 0x823
xor eax, eax
lea edi, [esp + 0x812]
push dword [esp + 0x4934]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x814]
push 0x104
push eax
push esi
mov edi, str.option
push str.KeyF1
push edi
call ebx
lea eax, [esp + 0x810]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x421541
lea eax, [esp + 0x810]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x814]
push eax
push 1
lea eax, [esp + 0x1c]
push str.KeyF1
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x810]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x814]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.KeyF2
push edi
call ebx
lea eax, [esp + 0x810]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x4215b1
lea eax, [esp + 0x810]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x814]
push eax
push 1
lea eax, [esp + 0x1c]
push str.KeyF2
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x810]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x814]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.KeyF3
push edi
call ebx
lea eax, [esp + 0x810]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x421621
lea eax, [esp + 0x810]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x814]
push eax
push 1
lea eax, [esp + 0x1c]
push str.KeyF3
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x810]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x814]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.KeyF4
push edi
call ebx
lea eax, [esp + 0x810]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x421691
lea eax, [esp + 0x810]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x814]
push eax
push 1
lea eax, [esp + 0x1c]
push str.KeyF4
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x810]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x814]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.KeyF5
push edi
call ebx
lea eax, [esp + 0x810]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x421701
lea eax, [esp + 0x810]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x814]
push eax
push 1
lea eax, [esp + 0x1c]
push str.KeyF5
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x810]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x814]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.KeyF6
push edi
call ebx
lea eax, [esp + 0x810]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x421771
lea eax, [esp + 0x810]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x814]
push eax
push 1
lea eax, [esp + 0x1c]
push str.KeyF6
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x810]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x814]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.KeyF7
push edi
call ebx
lea eax, [esp + 0x810]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x4217e1
lea eax, [esp + 0x810]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x814]
push eax
push 1
lea eax, [esp + 0x1c]
push str.KeyF7
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x810]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x814]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.KeyF8
push edi
call ebx
lea eax, [esp + 0x810]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x421851
lea eax, [esp + 0x810]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x814]
push eax
push 1
lea eax, [esp + 0x1c]
push str.KeyF8
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x810]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x814]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.KeyF9
push edi
call ebx
lea eax, [esp + 0x810]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x4218c1
lea eax, [esp + 0x810]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x814]
push eax
push 1
lea eax, [esp + 0x1c]
push str.KeyF9
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x810]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x814]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.KeyF10
push edi
call ebx
lea eax, [esp + 0x810]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x421931
lea eax, [esp + 0x810]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x814]
push eax
push 1
lea eax, [esp + 0x1c]
push str.KeyF10
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x810]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x814]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.KeyF11
push edi
call ebx
lea eax, [esp + 0x810]
push eax
push esi
call ebp
pop ecx
test eax, eax
pop ecx
je 0x4219a1
lea eax, [esp + 0x810]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x814]
push eax
push 1
lea eax, [esp + 0x1c]
push str.KeyF11
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x810]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [esp + 0x814]
pop ecx
push dword [esp + 0x4934]
push 0x104
push eax
push esi
push str.KeyF12
push edi
call ebx
lea eax, [esp + 0x810]
push eax
push esi
call ebp
pop ecx
pop ecx
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x421a15
lea eax, [esp + 0x800]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [esp + 0x804]
push eax
push 1
lea eax, [esp + 0xc]
push str.KeyF12
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esp, 0x4920
ret 4