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

Disassembly:
mov eax, 0x4920
call fcn.00432650
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, 0x467104
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 0x421290
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 0x421300
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 0x421370
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 0x4213e0
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 0x421450
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 0x4214c0
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 0x421530
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 0x4215a0
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 0x42161f
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 0x42168f
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 0x4216ff
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 0x42176f
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 0x4217df
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 0x42184f
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 0x4218bf
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 0x42192f
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 0x42199f
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 0x421a0f
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 0x421a7f
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 0x421af3
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