Function at 0x50ea20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x604f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6cc7b8
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x50ee04
mov ecx, dword [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
mov ebx, 4
push str.nLevels
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x50eaac
mov edx, dword [ebp - 0x18]
mov dword [esi + 0xb8], edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.nATSTFiles
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x50ead3
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xb0], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push str.nDwnlATSTFiles
push eax
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x50eafa
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x11c], ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push str.bDontShowCnfNameDlg
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x50eb26
mov eax, dword [ebp - 0x18]
test eax, eax
setne dl
mov byte [esi + 0x121], dl
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.bUseTL
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x50eb52
mov eax, dword [ebp - 0x18]
test eax, eax
setne al
mov byte [esi + 0x112], al
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push str.bUseIEC
push eax
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x50eb7e
mov eax, dword [ebp - 0x18]
test eax, eax
setne cl
mov byte [esi + 0x113], cl
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push str.bUseAdvWPP
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x50ebaa
mov eax, dword [ebp - 0x18]
test eax, eax
setne dl
mov byte [esi + 0x114], dl
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.bAutoAddFOnCl
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x50ebd6
mov eax, dword [ebp - 0x18]
test eax, eax
setne al
mov byte [esi + 0x120], al
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
push str.includeFilter
push edx
call edi
test eax, eax
jne 0x50ecd6
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0xc4]
push eax
call fcn.005df923
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push 0
push str.includeFilter
push edx
call edi
test eax, eax
jne 0x50ec74
xor ebx, ebx
cmp ebx, dword [esi + 0x12c]
jge 0x50ec6e
mov eax, dword [esi + 0x128]
mov ecx, dword [esi + 0xc4]
mov edi, ebx
push ecx
shl edi, 4
lea eax, [edi + eax + 4]
mov eax, dword [eax]
push eax
call fcn.005c46cc
add esp, 8
test eax, eax
jne 0x50ec65
mov ecx, dword [esi + 0x128]
add edi, ecx
lea ecx, [esi + 0xc0]
push edi
call fcn.005df68f
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x50ec9f
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
inc ebx
jmp 0x50ec1c
xor eax, eax
test eax, eax
jne 0x50ec9f
push 0x6a1bb8
lea ecx, [esi + 0xc0]
call fcn.005df6df
mov ecx, dword [0x6cd9f8]
lea eax, [esi + 0xc4]
push ecx
push 0x69dfbc
push eax
call fcn.005d838b
add esp, 0xc
mov eax, dword [esi + 0xc0]
push 0x6a1bb8
push eax
call fcn.005c46cc
add esp, 8
test eax, eax
je 0x50ecd6
mov eax, dword [esi + 0xc0]
push 0x69e3ac
push eax
call fcn.005c46cc
add esp, 8
test eax, eax
je 0x50ecd6
mov byte [esi + 0xe1], 1
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0
push str.excludeFilter
push eax
call edi
test eax, eax
jne 0x50edfa
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0xd4]
push edx
call fcn.005df923
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push 0
push str.excludeFilter
push edx
call edi
test eax, eax
jne 0x50ed68
xor ebx, ebx
cmp ebx, dword [esi + 0x140]
jge 0x50ed62
mov eax, dword [esi + 0x13c]
mov ecx, dword [esi + 0xd4]
mov edi, ebx
push ecx
shl edi, 4
lea eax, [edi + eax + 4]
mov eax, dword [eax]
push eax
call fcn.005c46cc
add esp, 8
test eax, eax
jne 0x50ed5f
mov ecx, dword [esi + 0x13c]
add edi, ecx
lea ecx, [esi + 0xd0]
push edi
call fcn.005df68f
jmp 0x50ed93
inc ebx
jmp 0x50ed1c
xor eax, eax
test eax, eax
jne 0x50ed93
push 0x6cc7b8
lea ecx, [esi + 0xd0]
call fcn.005df6df
mov ecx, dword [0x6cd9dc]
lea eax, [esi + 0xd4]
push ecx
push 0x69dfbc
push eax
call fcn.005d838b
add esp, 0xc
mov al, byte [esi + 0xe1]
test al, al
jne 0x50edfa
mov eax, dword [esi + 0xd0]
push 0x6a1bb8
push eax
call fcn.005c46cc
add esp, 8
test eax, eax
je 0x50edfa
mov eax, dword [esi + 0xd0]
push 0x69e3ac
push eax
call fcn.005c46cc
add esp, 8
test eax, eax
je 0x50edfa
mov edx, dword [esi + 0xd0]
mov eax, dword [edx - 8]
test eax, eax
jle 0x50edfa
mov eax, dword [0x6cd9dc]
mov ecx, dword [esi + 0xd4]
push eax
push ecx
call fcn.005c46cc
add esp, 8
test eax, eax
je 0x50edfa
mov byte [esi + 0xe0], 1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret