Function at 0x49c6f0
Capabilities:
Access peb ldr_data
Get ntdll base address
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x560377
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 + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push 0x5c6ff0
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 + 0x40]
push edx
push eax
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x49c9ce
cmp dword [esp + 0x28], ebx
je 0x49c9ce
mov eax, dword [0x5c2a74]
push ebp
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 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 ebp, eax
cmp ebp, ebx
mov dword [esp + 0x34], ebp
jne 0x49c953
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x14]
call fcn.00542347
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.0054259a
lea eax, [esp + 0x48]
lea ecx, [esp + 0x20]
push eax
call fcn.00542347
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x1c]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x5c6ff0
push ebx
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x49c953
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x48]
push ecx
push edx
push ebx
push ebx
push str.User
push eax
mov dword [esp + 0x44], 0x104
call edi
test eax, eax
jne 0x49c953
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x28]
call fcn.00542347
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x48]
push edx
push eax
push ebx
push ebx
push str.Password
push ecx
mov dword [esp + 0x44], 0x104
call edi
test eax, eax
jne 0x49c953
lea edx, [esp + 0x48]
lea ecx, [esp + 0x28]
push edx
call fcn.00542347
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x40], eax
mov ebx, eax
call fcn.0053b08b
xor edx, edx
div dword [esi + 8]
mov eax, dword [esi + 4]
test eax, eax
mov ebp, edx
je 0x49c8eb
mov edi, dword [eax + ebp*4]
test edi, edi
je 0x49c8eb
mov eax, dword [edi + 8]
push ebx
push eax
call fcn.00526f6c
add esp, 8
test eax, eax
je 0x49c8e7
mov edi, dword [edi]
test edi, edi
jne 0x49c8ce
jmp 0x49c8eb
test edi, edi
jne 0x49c926
mov eax, dword [esi + 4]
test eax, eax
jne 0x49c8ff
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
call fcn.00445550
mov ecx, esi
call fcn.0049e3b0
mov ecx, dword [esp + 0x3c]
mov edi, eax
push ecx
lea ecx, [edi + 8]
mov dword [edi + 4], ebp
call fcn.00542347
mov edx, dword [esi + 4]
mov eax, dword [edx + ebp*4]
mov dword [edi], eax
mov ecx, dword [esi + 4]
mov dword [ecx + ebp*4], edi
add edi, 0xc
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.005422f7
lea eax, [esp + 0x28]
lea ecx, [edi + 4]
push eax
call fcn.005422f7
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x34]
xor ebx, ebx
mov ecx, dword [esp + 0x14]
inc ecx
cmp ebp, ebx
mov dword [esp + 0x14], ecx
je 0x49c7b6
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 2
call fcn.005421be
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], 1
call fcn.005421be
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 4
call fcn.005421be
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 0
call fcn.005421be
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