Function at 0x4468f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9160
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
lea eax, [esi + 0x8c]
push str.____________________Entrance____________________
lea ecx, [ebp - 0x24]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], str.SaveMRUDir
call fcn.00471a00
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
mov edx, dword [0x51856c]
mov eax, dword [edx + 0xc]
mov ecx, 0x51856c
mov dword [ebp - 0x38], vtable.DRegistry.0
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push 1
push reloc.gdiplus.dll_Ordinal_1
mov eax, str.SoftwareGreenTree_ApplicationsYTD
lea edi, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0046a3b0
cmp eax, ebx
jne 0x4469e0
mov edx, dword [ebp - 0x1c]
push str.SoftwareGreenTree_ApplicationsYTD
push str.Failed_to_Open_HKEY_CURRENT_USER___s_
lea ecx, [ebp - 0x24]
push ecx
push edx
call fcn.00471980
add esp, 0x10
mov ecx, edi
call fcn.0046a360
push str.______________________Exit______________________
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
push eax
push ecx
call fcn.00471a00
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x78c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x146
push edx
call edi
cmp eax, dword [esi + 0x72c]
jle 0x446a21
mov eax, dword [esi + 0x78c]
push ebx
push ebx
push 0x146
push eax
call edi
mov ecx, dword [esi + 0x78c]
push ebx
dec eax
push eax
push 0x144
push ecx
call edi
jmp 0x4469e0
mov ebx, 1
mov edx, dword [esi + 0x78c]
push 0
push 0
add esi, 0x78c
push 0x146
push edx
call edi
cmp ebx, eax
jge 0x446b11
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
push ebx
push str.MruDir
push str._s_d
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0040e4a0
add esp, 0xc
push esi
lea edi, [ebp - 0x1c]
call fcn.0044bc50
mov edi, dword [ebp - 0x1c]
cmp dword [edi - 0xc], 0
je 0x446abf
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x446adf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x446b02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp + 8]
inc ebx
jmp 0x446a26
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x446b23
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4469af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4469af