Function at 0x421a1e
Capabilities:
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e9c
call fcn.00432300
and dword [ebp - 0x1c4], 0
push ebx
push esi
push edi
mov esi, ecx
push 0x31
pop ecx
xor eax, eax
and word [ebp - 0x1e9c], ax
lea edi, [ebp - 0x1c0]
rep stosd dword es:[edi], eax
mov ebx, 0x3ff
lea edi, [ebp - 0x1e9a]
mov ecx, ebx
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x1e9c]
push 0x800
push eax
push str.Accel
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x4220c5
and word [ebp - 0xe9c], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xe9a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push 0x464368
lea eax, [ebp - 0xe9c]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
and word [ebp - 0xfc], 0
add esp, 0x10
xor eax, eax
lea edi, [ebp - 0xfa]
push 0x13
and byte [ebp - 0x5c], 0
pop ecx
and word [ebp - 0xac], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 9
xor eax, eax
pop ecx
lea edi, [ebp - 0x5b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x13
xor eax, eax
pop ecx
lea edi, [ebp - 0xaa]
rep stosd dword es:[edi], eax
and word [ebp - 0x3cc], 0
mov ecx, 0x81
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x3ca]
mov edx, dword [0x43b4ec]
and dword [ebp - 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x1e9c]
lea ebx, [ebp - 0x1e9c]
mov dword [ebp - 0x14], edx
mov dword [ebp + 8], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0x104
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
push eax
call edi
test eax, eax
je 0x421f67
test ebx, ebx
jne 0x421b56
xor eax, eax
jmp 0x421b59
push ebx
call edi
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00404cc7
push 0
push 0x43b588
lea ecx, [ebp - 0x14]
call fcn.00404a42
mov dword [ebp - 0xc], eax
push eax
lea eax, [ebp - 8]
lea ecx, [ebp - 0x14]
push eax
call fcn.004047b8
push dword [ebp - 8]
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov eax, dword [0x43b4ec]
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
cmp dword [eax - 8], ecx
jle 0x421db0
mov eax, dword [eax - 8]
sub eax, ecx
lea ecx, [ebp - 0x14]
dec eax
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404803
push dword [eax]
mov eax, dword [esi + 0x53b4]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1532]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00404beb
xor eax, eax
lea ecx, [ebp - 0xfc]
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ecx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x28
ja 0x421f57
xor eax, eax
lea ecx, [ebp - 0x5c]
push eax
push eax
push 0x28
push ecx
lea ecx, [ebp - 0xfc]
push 0x28
push ecx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov byte [esi + 0x152c], al
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0x152e], cx
mov ecx, 0x464364
mov eax, ecx
test eax, eax
je 0x421c4f
push ecx
call edi
mov ecx, 0x464364
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.00404cc7
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
mov al, byte [esi + 0x152c]
push eax
call fcn.0042214e
lea eax, [ebp - 0xac]
test eax, eax
je 0x421c81
lea eax, [ebp - 0xac]
push eax
call edi
lea ecx, [ebp - 0xac]
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.00404d06
mov ecx, 0x46435c
mov eax, ecx
test eax, eax
je 0x421ca4
push ecx
call edi
mov ecx, 0x46435c
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.00404d06
movzx eax, word [esi + 0x152e]
push eax
lea eax, [ebp - 0x20]
push 0x46358c
push eax
call fcn.00409be5
mov eax, dword [ebp - 0x20]
add esp, 0xc
lea ecx, [ebp + 8]
push eax
push dword [eax - 8]
call fcn.00404d06
mov ecx, 0x464358
mov eax, ecx
test eax, eax
je 0x421ce9
push ecx
call edi
mov ecx, 0x464358
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.00404d06
mov eax, dword [esi + 0x53b4]
push dword [ebp + 8]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1582]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
mov dword [ebp - 4], 0x440420
pop ecx
mov eax, dword [esi + 0x53b4]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1582]
push eax
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x421d8f
add dword [ebp - 4], 0xa0
cmp dword [ebp - 4], 0x440560
jl 0x421d19
and dword [ebp - 0xc], 0
mov dword [ebp - 4], 0x440510
mov eax, dword [esi + 0x53b4]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1532]
push eax
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x421dbc
add dword [ebp - 4], 0xa0
inc dword [ebp - 0xc]
cmp dword [ebp - 4], 0x441b90
jle 0x421d57
jmp 0x421db0
mov eax, dword [esi + 0x53b4]
push 0x466054
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1582]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
push ebx
call edi
lea ebx, [ebx + eax*2 + 2]
jmp 0x421f41
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], str._3113_
shl eax, 2
and dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp + eax - 0x69c], 1
mov eax, dword [esi + 0x53b4]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1582]
push eax
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x421e13
add dword [ebp - 4], 0xa0
inc dword [ebp - 0xc]
cmp dword [ebp - 4], 0x441be0
jle 0x421ddb
jmp 0x421e2f
mov eax, dword [ebp - 0xc]
push 0x464350
lea eax, [eax + eax*4]
shl eax, 5
add eax, str._3113_
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 0x53b4]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1532]
push eax
lea eax, [ebp - 0xe9c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x3cc]
push 0x466054
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x421eba
lea eax, [ebp - 0x3cc]
push 0x464364
push eax
mov ecx, esi
call fcn.004220cf
cmp eax, 2
mov dword [ebp - 0x10], eax
jg 0x421eba
lea eax, [ebp - 0x3cc]
test eax, eax
je 0x421eaa
lea eax, [ebp - 0x3cc]
push eax
call edi
lea ecx, [ebp - 0x3cc]
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.00404d06
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
inc eax
cmp eax, 3
mov dword [ebp + ecx - 0x1c4], eax
jg 0x421eff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
mov eax, dword [esi + 0x53b4]
push 1
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1532]
push eax
lea eax, [ebp - 0xe9c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
inc dword [esi + 0x53b4]
push ebx
call edi
and word [esi + 0x152e], 0
and byte [esi + 0x152c], 0
lea ebx, [ebx + eax*2 + 2]
lea eax, [ebp - 0x3cc]
push 0x466054
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
and dword [ebp - 0x10], 0
pop ecx
pop ecx
mov dword [ebp - 0x28], 0x104
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x18]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
push ebx
jmp 0x421b44
lea ecx, [ebp - 0x18]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
xor edi, edi
mov dword [ebp - 8], edi
and dword [ebp - 0x10], 0
test edi, edi
jle 0x421fa2
lea eax, [edi + edi*4]
shl eax, 5
lea eax, [eax + 0x440510]
lea ecx, [eax - 0xa0]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x421fa2
mov eax, dword [ebp + edi*4 - 0x1c8]
mov dword [ebp + edi*4 - 0x1c4], eax
cmp dword [ebp + edi*4 - 0x1c4], 3
lea ebx, [ebp + edi*4 - 0x1c4]
jge 0x422090
lea esi, [edi + edi*4]
shl esi, 5
add esi, 0x440510
jmp 0x421fc8
mov edi, dword [ebp - 8]
cmp dword [ebp - 0x10], 2
jg 0x422090
and word [ebp - 0x5d4], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x5d2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x104
push eax
lea eax, [ebp - 0x5d4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xe9c]
push esi
push eax
push SysReAllocString
mov dword [ebp - 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea edi, [esi + 0xa0]
lea eax, [edi - 0x50]
push eax
lea eax, [ebp - 0x5d4]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x5d4]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0xc
shl eax, 1
push eax
lea eax, [ebp - 0x5d4]
push eax
push 1
lea eax, [ebp - 0xe9c]
push esi
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
inc dword [ebx]
push edi
push esi
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x42208d
inc dword [ebp - 8]
mov eax, dword [ebx]
add ebx, 4
add esi, 0xa0
inc dword [ebp - 0x10]
cmp eax, 3
mov dword [ebx], eax
jl 0x421fc5
mov edi, dword [ebp - 8]
inc edi
cmp edi, 0x24
mov dword [ebp - 8], edi
jl 0x421f6c
lea ecx, [ebp - 0x30]
call fcn.00404beb
lea ecx, [ebp - 0x34]
call fcn.00404beb
lea ecx, [ebp - 0x20]
call fcn.00404beb
lea ecx, [ebp + 8]
call fcn.00404beb
lea ecx, [ebp - 0x14]
call fcn.00404beb
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4