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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e9c
call fcn.00432650
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 0x4221a3
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 0x465380
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 [0x43c4ec]
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 0x422045
test ebx, ebx
jne 0x421c34
xor eax, eax
jmp 0x421c37
push ebx
call edi
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00404cc7
push 0
push 0x43c588
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 [0x43c4ec]
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 0x421e8e
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 + 0x53b8]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1536]
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 0x422035
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 + 0x1530], al
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0x1532], cx
mov ecx, 0x46537c
mov eax, ecx
test eax, eax
je 0x421d2d
push ecx
call edi
mov ecx, 0x46537c
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.00404cc7
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
mov al, byte [esi + 0x1530]
push eax
call fcn.0042222c
lea eax, [ebp - 0xac]
test eax, eax
je 0x421d5f
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, 0x465374
mov eax, ecx
test eax, eax
je 0x421d82
push ecx
call edi
mov ecx, 0x465374
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.00404d06
movzx eax, word [esi + 0x1532]
push eax
lea eax, [ebp - 0x20]
push 0x4645a4
push eax
call fcn.00409d55
mov eax, dword [ebp - 0x20]
add esp, 0xc
lea ecx, [ebp + 8]
push eax
push dword [eax - 8]
call fcn.00404d06
mov ecx, 0x465370
mov eax, ecx
test eax, eax
je 0x421dc7
push ecx
call edi
mov ecx, 0x465370
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.00404d06
mov eax, dword [esi + 0x53b8]
push dword [ebp + 8]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1586]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
mov dword [ebp - 4], 0x441438
pop ecx
mov eax, dword [esi + 0x53b8]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1586]
push eax
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x421e6d
add dword [ebp - 4], 0xa0
cmp dword [ebp - 4], 0x441578
jl 0x421df7
and dword [ebp - 0xc], 0
mov dword [ebp - 4], 0x441528
mov eax, dword [esi + 0x53b8]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1536]
push eax
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x421e9a
add dword [ebp - 4], 0xa0
inc dword [ebp - 0xc]
cmp dword [ebp - 4], 0x442ba8
jle 0x421e35
jmp 0x421e8e
mov eax, dword [esi + 0x53b8]
push 0x467104
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1586]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
push ebx
call edi
lea ebx, [ebx + eax*2 + 2]
jmp 0x42201f
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 + 0x53b8]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1586]
push eax
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x421ef1
add dword [ebp - 4], 0xa0
inc dword [ebp - 0xc]
cmp dword [ebp - 4], 0x442bf8
jle 0x421eb9
jmp 0x421f0d
mov eax, dword [ebp - 0xc]
push 0x465368
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 + 0x53b8]
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1536]
push eax
lea eax, [ebp - 0xe9c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x3cc]
push 0x467104
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x421f98
lea eax, [ebp - 0x3cc]
push 0x46537c
push eax
mov ecx, esi
call fcn.004221ad
cmp eax, 2
mov dword [ebp - 0x10], eax
jg 0x421f98
lea eax, [ebp - 0x3cc]
test eax, eax
je 0x421f88
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 0x421fdd
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
mov eax, dword [esi + 0x53b8]
push 1
lea eax, [eax + eax*4]
shl eax, 5
lea eax, [eax + esi + 0x1536]
push eax
lea eax, [ebp - 0xe9c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
inc dword [esi + 0x53b8]
push ebx
call edi
and word [esi + 0x1532], 0
and byte [esi + 0x1530], 0
lea ebx, [ebx + eax*2 + 2]
lea eax, [ebp - 0x3cc]
push 0x467104
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 0x421c22
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 0x422080
lea eax, [edi + edi*4]
shl eax, 5
lea eax, [eax + 0x441528]
lea ecx, [eax - 0xa0]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x422080
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 0x42216e
lea esi, [edi + edi*4]
shl esi, 5
add esi, 0x441528
jmp 0x4220a6
mov edi, dword [ebp - 8]
cmp dword [ebp - 0x10], 2
jg 0x42216e
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 0x42216b
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 0x4220a3
mov edi, dword [ebp - 8]
inc edi
cmp edi, 0x24
mov dword [ebp - 8], edi
jl 0x42204a
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