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

Disassembly:
push 0xffffffffffffffff
push 0x5a4626
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x6336a0]
xor eax, esp
mov dword [esp + 0x434], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x44c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x45c]
call fcn.00555692
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4577be
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x454], ebx
call fcn.00456e20
test eax, eax
jne 0x4577eb
call fcn.00456d80
test eax, eax
je 0x457990
call fcn.00555692
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x457805
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x454], 1
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
call fcn.00456ec0
test eax, eax
je 0x457956
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x40]
push edx
call fcn.00456fa0
push 0x35
push str.SoftwareMicrosoftProtected_Storage_System_Provider_
lea ecx, [esp + 0x1c]
call fcn.00402270
lea eax, [esp + 0x40]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x457860
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call fcn.004044f0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.00402330
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0x24]
mov ecx, edi
call fcn.00457080
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.00457120
test eax, eax
je 0x45791f
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x30]
push eax
push ecx
push closesocket
mov ecx, ebp
call fcn.00457300
push str.Data
lea ecx, [esp + 0x18]
call fcn.004043a0
mov eax, dword [esp + 0x14]
push ebx
lea edx, [esp + 0x30]
push edx
push eax
push closesocket
mov ecx, ebp
call fcn.00457300
push str.e161255a_37c3_11d2_bcaa_00c04fd929db
lea ecx, [esp + 0x18]
call fcn.004043a0
mov esi, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x30]
push ecx
push esi
push closesocket
mov ecx, ebp
call fcn.00457300
push esi
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x457936
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x457956
push ebx
push esi
push edi
push closesocket
mov ecx, ebp
call fcn.00457300
push esi
call fcn.0055517b
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x45796d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [edi - 0x10]
mov byte [esp + 0x454], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457990
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x244]
push edx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x35
push str.SoftwareMicrosoftProtected_Storage_System_Provider_
lea ecx, [esp + 0x1c]
call fcn.00402270
lea eax, [esp + 0x240]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4579c5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x244]
push eax
lea ecx, [esp + 0x1c]
call fcn.004044f0
push 0x2a
push str.Datae161255a_37c3_11d2_bcaa_00c04fd929db
lea ecx, [esp + 0x1c]
call fcn.004044f0
mov esi, dword [esp + 0x14]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea eax, [esi - 0x10]
mov dword [esp + 0x454], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457a2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.00577139
add esp, 0x444
ret 4