Function at 0x449be0
Capabilities:
Persist via lsa registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
mov ecx, dword [str.SYSTEMCurrentControlSetControlLsa]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x449dcf
mov dword [ebp - 0x14], 0x410
mov edx, dword [ebp - 0x14]
push edx
call fcn.0042df29
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 0x45c260
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xea
jne 0x449c9e
mov ecx, dword [ebp - 0x14]
shl ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042dfec
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 0x45c290
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
jmp 0x449c54
cmp dword [ebp - 0xc], 0
jne 0x449db3
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0042df29
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0042a350
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0
je 0x449d78
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
test edx, edx
je 0x449d78
push str.mssecmgr.ocx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042b8f5
add esp, 8
test eax, eax
je 0x449d46
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0042a3cf
add esp, 4
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0042a6b1
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0042a3cf
add esp, 4
mov edx, dword [ebp - 0x24]
lea eax, [edx + eax*2]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 2
mov dword [ebp - 0x24], ecx
jmp 0x449d4d
mov dword [ebp - 0x28], 1
push 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00403c60
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x449d6d
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
jmp 0x449cdc
cmp dword [ebp - 0x28], 0
je 0x449da7
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 7
push 0
push str.Authentication_Packages
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x449da7
mov edx, dword [ebp - 0x30]
mov dword [edx + 8], 1
mov eax, dword [ebp - 0x20]
push eax
call fcn.0042acb1
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x449dc5
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042acb1
add esp, 4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret