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

Disassembly:
mov eax, 0x4920
call fcn.00431de0
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, 0x465a24
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 0x4211d4
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 0x421244
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 0x4212b4
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 0x421324
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 0x421394
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 0x421404
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 0x421474
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 0x4214e4
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 0x421563
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 0x4215d3
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 0x421643
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 0x4216b3
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 0x421723
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 0x421793
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 0x421803
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 0x421873
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 0x4218e3
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 0x421953
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 0x4219c3
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 0x421a37
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