Function at 0x41c9e3
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x41de1f
call fcn.0041d980
sub esp, 0x258
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push esi
push 0x423928
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41caf9
push 0x103
mov byte [ebp - 0x164], al
lea eax, [ebp - 0x163]
push esi
push eax
call fcn.00407710
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x164]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x2c], 0x104
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x14], esi
je 0x41caf0
xor ebx, ebx
cmp dword [ebp - 0x14], esi
jbe 0x41caf0
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x264]
push eax
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, esi
jne 0x41caea
push 4
call fcn.00405aa7
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
cmp eax, esi
je 0x41cad3
lea edi, [ebp - 0x264]
call fcn.00401828
jmp 0x41cad5
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x44]
call fcn.00401ce9
xor esi, esi
inc ebx
cmp ebx, dword [ebp - 0x14]
jb 0x41ca8c
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x44]
cmp edi, esi
mov dword [ebp - 0x28], esi
jle 0x41cd80
mov ebx, 0x42e010
mov eax, dword [0x4285cc]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
mov edi, 0x428668
sub eax, edi
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x423958
push str._s_s
lea eax, [ebp - 0x24]
call fcn.00401d36
mov ecx, dword [ebp - 0x24]
add esp, 0xc
lea eax, [ecx - 0x10]
sub eax, edi
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41cd65
mov eax, dword [0x4285cc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, 0x1ff
push eax
mov byte [ebp - 4], 6
push esi
xor edi, edi
push ebx
inc edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], eax
call fcn.00407710
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push ebx
push str.GameID
push dword [ebp - 0x14]
call fcn.00401c3b
test eax, eax
jne 0x41cbc3
mov eax, dword [0x42e010]
mov dword [ebp - 0x48], eax
jmp 0x41cbc5
xor edi, edi
push dword [ebp - 0x18]
push esi
push ebx
call fcn.00407710
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push ebx
push str.DownloadID
push dword [ebp - 0x14]
call fcn.00401c3b
test eax, eax
jne 0x41cbf2
mov eax, dword [0x42e010]
mov dword [ebp - 0x4c], eax
jmp 0x41cbf4
xor edi, edi
push dword [ebp - 0x18]
push esi
push ebx
call fcn.00407710
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push ebx
push str.GameName
push dword [ebp - 0x14]
call fcn.00401c3b
test eax, eax
jne 0x41cc23
lea eax, [ebp - 0x20]
call fcn.00401313
xor esi, esi
jmp 0x41cc25
xor edi, edi
push dword [ebp - 0x18]
push esi
push ebx
call fcn.00407710
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x4239b0
push dword [ebp - 0x14]
call fcn.00401c3b
test eax, eax
jne 0x41cc54
lea eax, [ebp - 0x38]
call fcn.00401313
xor esi, esi
jmp 0x41cc56
xor edi, edi
push dword [ebp - 0x18]
push esi
push ebx
call fcn.00407710
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push ebx
push str.FileName
push dword [ebp - 0x14]
call fcn.00401c3b
test eax, eax
jne 0x41cc83
lea eax, [ebp - 0x34]
call fcn.00401313
xor esi, esi
push dword [ebp - 0x18]
push esi
push ebx
call fcn.00407710
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push ebx
push str.LastModified
push dword [ebp - 0x14]
call fcn.00401c3b
test eax, eax
jne 0x41ccb0
lea eax, [ebp - 0x30]
call fcn.00401313
xor esi, esi
push dword [ebp - 0x18]
push esi
push ebx
call fcn.00407710
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push ebx
push str.Flags
push dword [ebp - 0x14]
call fcn.00401c3b
test eax, eax
jne 0x41ccdb
mov eax, dword [0x42e010]
mov dword [ebp - 0x2c], eax
cmp edi, esi
je 0x41cd3c
push ecx
lea ecx, [ebp - 0x30]
mov esi, esp
mov dword [ebp - 0x5c], esp
call fcn.00401054
mov byte [ebp - 4], 7
push dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
mov esi, esp
mov dword [ebp - 0x2c], esp
call fcn.00401054
push ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
mov esi, esp
mov dword [ebp - 0x58], esp
call fcn.00401054
push ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20]
mov esi, esp
mov dword [ebp - 0x50], esp
call fcn.00401054
push dword [ebp - 0x4c]
mov edi, 0x429b88
push dword [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.0041c879
xor esi, esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x30]
call fcn.0040107f
lea eax, [ebp - 0x34]
call fcn.0040107f
lea eax, [ebp - 0x38]
call fcn.0040107f
lea eax, [ebp - 0x20]
call fcn.0040107f
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.0040107f
mov edi, dword [ebp - 0x44]
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], edi
jl 0x41cb0c
xor ebx, ebx
cmp edi, esi
jle 0x41cdd6
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareFenomen_GamesGame_Downloader1.1List
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41cdd1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
sub eax, 0x428668
neg eax
sbb eax, eax
and eax, ecx
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
cmp ebx, edi
jl 0x41cd86
xor ebx, ebx
cmp edi, esi
jle 0x41cdfa
mov eax, dword [ebp - 0x3c]
mov edi, dword [eax + ebx*4]
cmp edi, esi
je 0x41cdf4
mov eax, edi
call fcn.0040107f
push edi
call fcn.00405317
pop ecx
inc ebx
cmp ebx, dword [ebp - 0x44]
jl 0x41cddc
cmp dword [ebp - 0x3c], esi
je 0x41ce08
push dword [ebp - 0x3c]
call fcn.00404fa2
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret