Function at 0x499ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fafab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push esi
mov esi, ecx
mov eax, 0x46
push edi
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x460], eax
mov dword [esi + 0x464], eax
mov eax, 0xc8
mov dword [ebp - 0x10], esp
mov dword [esi + 0x468], eax
mov dword [esi + 0x46c], eax
lea eax, [ebp - 0x24]
lea ebx, [esi + 0x45c]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6cc7b8
push 0
push str.SoftwareDownloadManagerGetAllDlgLS
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], ebx
mov dword [ebx], 0x78
mov dword [esi + 0x470], 0x64
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x499fab
lea ecx, [ebp - 0x234]
call fcn.0049c640
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.0049c760
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0
call fcn.0049c750
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
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
push str.FileName
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x499fd8
mov edx, dword [ebp - 0x18]
mov dword [ebx], edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.FileType
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x49a003
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x460], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push str.Size
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x49a02e
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x464], ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push 0x6a173c
push ecx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x49a059
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x468], edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.SaveTo
push edx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x49a084
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x46c], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push str.Description
push eax
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x49a0af
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x470], ecx
mov dl, 1
xor eax, eax
mov ecx, ebx
cmp eax, 6
jge 0x49a0c7
cmp dword [ecx], 0
je 0x49a0c1
xor dl, dl
inc eax
add ecx, 4
jmp 0x49a0b5
test dl, dl
je 0x49a0ff
mov eax, 0x46
mov dword [ebx], 0x78
mov dword [esi + 0x460], eax
mov dword [esi + 0x464], eax
mov eax, 0xc8
mov dword [esi + 0x470], 0x64
mov dword [esi + 0x468], eax
mov dword [esi + 0x46c], eax
jmp 0x49a10a
cmp dword [ebx], 5
jge 0x49a10a
mov dword [ebx], 0x78
push 0
mov ebx, 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x49a138
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
push 0x5a
push esi
mov ebx, eax
call edi
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp ebx, 0x60
je 0x499f94
mov esi, dword [ebp - 0x20]
xor edi, edi
cmp edi, 6
jge 0x499f94
mov eax, dword [esi]
push 0x60
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi], eax
inc edi
add esi, 4
jmp 0x49a146