Function at 0x4469a9
Capabilities:
Delete registry key
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa28
push ebx
push esi
push edi
mov ebx, SysReAllocStringLen
push 0x40f018
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
call fcn.00446173
cmp ax, 4
je 0x446a8d
cmp ax, 5
je 0x446a8d
cmp ax, 6
je 0x446a8d
lea eax, [ebp - 4]
mov esi, 0x104
push eax
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push esi
lea eax, [ebp - 0xa28]
push 0x40efe0
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
or edx, 0xffffffff
lea edi, [ebp - 0x124]
mov ecx, edx
xor eax, eax
add esp, 0xc
lea ebx, [ebp - 0xa28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [ebp - 0xa28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40efb4
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0xa28]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
jmp 0x446c3e
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.00446666
test eax, eax
pop ecx
je 0x446c26
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 8]
call fcn.00446254
push 0x104
lea eax, [ebp - 0xa28]
push 0x40efe0
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
lea edi, [ebp - 0x228]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0xa28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xa28]
mov ecx, edx
push eax
and ecx, 3
lea eax, [ebp - 0x124]
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
call fcn.00446315
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
call fcn.004463a8
add esp, 0x38
test eax, eax
je 0x446bec
lea eax, [ebp - 0x20]
push 0
push eax
lea eax, [ebp - 0xa28]
push eax
push ebx
call fcn.00446559
mov edi, 0x40efac
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0xa28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
mov ecx, edx
push eax
lea eax, [ebp - 0xa28]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.00446559
mov edi, 0x40ef84
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0xa28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
mov ecx, edx
push eax
lea eax, [ebp - 0xa28]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.00446559
add esp, 0x30
lea eax, [ebp - 0xa28]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
xor esi, esi
cmp dword [ebp - 0xc], esi
je 0x446c04
push dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 4], esi
je 0x446c26
push 0
lea eax, [ebp - 0x124]
push dword [ebp - 4]
push eax
push ebx
call fcn.00446559
push dword [ebp - 4]
call fcn.0045da7b
add esp, 0x14
cmp dword [ebp - 8], 0
je 0x446c3e
push dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
leave
ret