Function at 0x44fb80
Capabilities:
Acquire debug privileges
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4f7040]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0044f880
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44fc19
mov dword [ebp - 0x18], 1
mov edx, 0xc
imul eax, edx, 0
mov dword [ebp + eax - 0xc], 2
mov ecx, 0xc
imul edx, ecx, 0
lea eax, [ebp + edx - 0x14]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x44fc0f
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x44fc46
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
mov eax, 0xfffffffe
jmp 0x44fde6
mov edx, dword [ebp - 0x40]
push edx
call fcn.0044f760
add esp, 4
movzx eax, al
test eax, eax
jne 0x44fc6d
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffffd
jmp 0x44fde6
mov ecx, 0x536950
call fcn.0043c2d0
push eax
call fcn.004a3db0
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0
jne 0x44fca3
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffff9
jmp 0x44fde6
mov ecx, 0x536950
call fcn.0043c2d0
push eax
mov ecx, 0x536950
call fcn.0043c2e0
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004a69b0
add esp, 0xc
push 0
push 1
push 1
push 1
push 1
push 1
push 4
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
call fcn.0044ef90
add esp, 0x1c
movzx edx, al
test edx, edx
jne 0x44fd06
mov ecx, 0x536950
call fcn.00442d30
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffff8
jmp 0x44fde6
mov ecx, 0x536950
call fcn.00442d30
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x5369b4], 1
push 0
lea edx, [ebp - 0x38]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREValveSteamUserslatest_user_t
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x44fde4
mov eax, dword [0x536990]
mov dword [ebp - 8], eax
push 0x536960
lea ecx, [ebp - 0x30]
call fcn.004297f0
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push 0x4edda0
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x30]
call fcn.00429670
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x44]
mov dl, byte [ecx]
mov byte [ebp - 0x39], dl
add dword [ebp - 0x44], 1
cmp byte [ebp - 0x39], 0
jne 0x44fd96
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
add ecx, 1
push ecx
lea edx, [ebp - 0x30]
push edx
push 1
push 0
push 0x4edda4
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x30]
call fcn.00429760
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a3760
mov esp, ebp
pop ebp
ret