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

Disassembly:
push 0xffffffffffffffff
push 0x589737
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x38], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x11
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0xa
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push 0x63e040
push ebx
push str.SoftwareDownloadManagerPasswords
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x170], ebx
mov dword [esi], method.CCommandLineInfo.virtual_0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ebx
push ebx
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push ebx
lea edx, [esp + 0x50]
push ebx
lea eax, [esp + 0x48]
push edx
push eax
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x4b394d
cmp dword [esp + 0x30], ebx
je 0x4b394d
mov eax, dword [0x639ad4]
push ebp
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x154], 3
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x48]
push 0x104
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x34], edi
jne 0x4b38d2
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x14]
call fcn.0056a289
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.0056a476
lea eax, [esp + 0x48]
lea ecx, [esp + 0x1c]
push eax
call fcn.0056a289
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x28]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x63e040
push ebx
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4b38d2
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x48]
push ecx
push edx
push ebx
push ebx
push str.User
push eax
mov dword [esp + 0x54], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b38d2
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x24]
call fcn.0056a289
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x48]
push edx
push str.EncPassword
push str.Password
push 0x104
push eax
call fcn.00523280
add esp, 0x14
test eax, eax
je 0x4b38d2
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x28]
call fcn.0056a289
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x34], eax
mov ebx, eax
call fcn.00562f7c
xor edx, edx
div dword [esi + 8]
mov eax, dword [esi + 4]
test eax, eax
mov ebp, edx
je 0x4b386a
mov edi, dword [eax + ebp*4]
test edi, edi
je 0x4b386a
mov eax, dword [edi + 8]
push ebx
push eax
call fcn.0054f4a2
add esp, 8
test eax, eax
je 0x4b3866
mov edi, dword [edi]
test edi, edi
jne 0x4b384d
jmp 0x4b386a
test edi, edi
jne 0x4b38a5
mov eax, dword [esi + 4]
test eax, eax
jne 0x4b387e
mov edx, dword [esi + 8]
push 1
push edx
mov ecx, esi
call fcn.004e1bb0
mov ecx, esi
call fcn.004b5340
mov edi, eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [edi + 8]
mov dword [edi + 4], ebp
call fcn.0056a289
mov ecx, dword [esi + 4]
mov edx, dword [ecx + ebp*4]
mov dword [edi], edx
mov eax, dword [esi + 4]
mov dword [eax + ebp*4], edi
lea ecx, [esp + 0x20]
add edi, 0xc
push ecx
mov ecx, edi
call fcn.0056a239
lea edx, [esp + 0x24]
lea ecx, [edi + 4]
push edx
call fcn.0056a239
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x34]
xor ebx, ebx
mov ecx, dword [esp + 0x14]
inc ecx
cmp edi, ebx
mov dword [esp + 0x14], ecx
je 0x4b3736
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 2
call fcn.0056a100
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 1
call fcn.0056a100
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 4
call fcn.0056a100
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], 0
call fcn.0056a100
pop edi
mov eax, esi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
add esp, 0x148
ret
mov ecx, dword [esp + 0x144]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret