Function at 0x45d430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55aafb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
mov esi, ecx
mov eax, 0x46
push edi
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x440], eax
mov dword [esi + 0x444], eax
mov eax, 0xc8
mov dword [ebp - 0x10], esp
mov dword [esi + 0x448], eax
mov dword [esi + 0x44c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x5c6ff0
push 0
push str.SoftwareDownloadManagerGetAllDlgLS
push reloc.WSOCK32.dll_accept
mov dword [esi + 0x43c], 0x78
mov dword [esi + 0x450], 0x64
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x45d506
lea ecx, [ebp - 0x128]
call fcn.0045eaa0
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.0045eb80
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0
call fcn.0045eb70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
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
mov ebx, 4
push str.FileName
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x45d538
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x43c], 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], ebx
call edi
test eax, eax
jne 0x45d55f
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x440], 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], ebx
call edi
test eax, eax
jne 0x45d586
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x444], ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push 0x5a65c8
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x45d5ad
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x448], 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], ebx
call edi
test eax, eax
jne 0x45d5d4
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x44c], 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], ebx
call edi
test eax, eax
jne 0x45d5fb
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x450], ecx
mov cl, 1
xor eax, eax
cmp eax, 6
jge 0x45d614
mov edx, dword [esi + eax*4 + 0x43c]
test edx, edx
je 0x45d611
xor cl, cl
inc eax
jmp 0x45d5ff
test cl, cl
je 0x45d65f
mov eax, 0x46
mov dword [esi + 0x43c], 0x78
mov dword [esi + 0x440], eax
mov dword [esi + 0x444], eax
mov eax, 0xc8
mov dword [esi + 0x450], 0x64
mov dword [esi + 0x448], eax
mov dword [esi + 0x44c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x43c], 5
jge 0x45d672
mov dword [esi + 0x43c], 0x78
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret