Function at 0x4f0c90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x604418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], esi
mov dword [esi + 4], edi
mov dword [esi + 8], 0x11
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0xa
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x28]
push eax
push ecx
push edi
push 0xf003f
push edi
push 0x6ce7c8
push edi
push str.SoftwareDownloadManagerPasswords
mov dword [ebp - 4], edi
push reloc.WS2_32.dll_accept
mov dword [esi], method.CCommandLineInfo.virtual_0
mov byte [ebp - 4], 1
mov byte [esi + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4f0f74
push edi
push edi
mov ecx, dword [ebp - 0x28]
push edi
push edi
push edi
lea edx, [ebp - 0x4c]
push edi
lea eax, [ebp - 0x48]
push edx
push eax
push edi
push edi
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x4f0f74
cmp dword [ebp - 0x48], edi
je 0x4f0f74
mov eax, dword [0x6ca27c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c], edi
xor eax, eax
cmp eax, edi
jne 0x4f0f1e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x150]
push 0x104
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, edi
mov dword [ebp - 0x34], eax
jne 0x4f0f0f
push str.SoftwareDownloadManagerPasswords_
lea ecx, [ebp - 0x18]
call fcn.005e1315
lea edx, [ebp - 0x150]
lea ecx, [ebp - 0x18]
push edx
call fcn.005e148e
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x14]
push eax
push 0x69ffbc
push ecx
call fcn.005d9fbb
add esp, 0xc
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x24]
push edx
push eax
push edi
push 0xf003f
push edi
push 0x6ce7c8
push edi
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4f0f0f
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x150]
push edx
push eax
push edi
push edi
push 0x6a8588
push ecx
mov dword [ebp - 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4f0f0f
lea edx, [ebp - 0x150]
lea ecx, [ebp - 0x20]
push edx
call fcn.005e1315
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x150]
push eax
push str.EncPassword
push 0x6b3cb4
push 0x104
push ecx
call fcn.00592330
add esp, 0x14
cmp eax, edi
jne 0x4f0e4d
push 0x6ce7c8
jmp 0x4f0e54
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x1c]
call fcn.005e1315
mov eax, dword [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004f3950
test al, al
je 0x4f0e6f
mov byte [esi + 0x20], 1
mov eax, dword [ebp - 0x14]
push eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
call fcn.005da06c
xor edx, edx
div dword [esi + 8]
mov eax, dword [esi + 4]
cmp eax, edi
mov ebx, edx
je 0x4f0eb1
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x4f0eaf
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edi + 8]
push ecx
push eax
call fcn.005c62fc
add esp, 8
test eax, eax
je 0x4f0eab
mov edi, dword [edi]
jmp 0x4f0e8f
test edi, edi
jne 0x4f0ee9
xor edi, edi
cmp dword [esi + 4], edi
jne 0x4f0ec3
mov edx, dword [esi + 8]
push 1
push edx
mov ecx, esi
call fcn.00523780
mov ecx, esi
call fcn.004f3cf0
mov edi, eax
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [edi + 8]
mov dword [edi + 4], ebx
call fcn.005e1315
mov ecx, dword [esi + 4]
mov edx, dword [ecx + ebx*4]
mov dword [edi], edx
mov eax, dword [esi + 4]
mov dword [eax + ebx*4], edi
lea ecx, [ebp - 0x20]
add edi, 0xc
push ecx
mov ecx, edi
call fcn.005e12c5
lea edx, [ebp - 0x1c]
lea ecx, [edi + 4]
push edx
call fcn.005e12c5
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
jmp 0x4f0d59
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.005e118c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005e118c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.005e118c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.005e118c
mov eax, esi
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 - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret