Function at 0x48e260
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580050
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edi, edi
push edi
lea ecx, [ebp + 8]
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push eax
push 0x80000001
mov dword [ebp - 4], edi
mov dword [ebp + 8], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
push str.string
push eax
call fcn.005347c1
add esp, 8
cmp eax, edi
jne 0x48e382
mov ebx, dword [ebp + 0x10]
cmp dword [ebp + 0x18], edi
je 0x48e348
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00439630
test eax, eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
je 0x48e32c
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48e322
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
cmp eax, edi
jmp 0x48e448
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48e348
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
test edi, edi
je 0x48e451
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48e360
mov ecx, dword [ebx]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push ecx
push edi
jmp 0x48e43d
mov eax, dword [esi]
push 0x5a5c1c
push eax
call fcn.005347c1
add esp, 8
test eax, eax
jne 0x48e3df
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0x18], edi
je 0x48e3bb
mov eax, dword [esi]
lea edx, [ebp - 0x10]
push edx
push eax
lea ecx, [ebp + 8]
call fcn.00438150
test eax, eax
je 0x48e3bb
mov eax, dword [ebp + 8]
cmp eax, edi
jmp 0x48e448
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov esi, dword [esi]
push eax
call fcn.005374b1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
add esp, 4
cmp eax, edi
je 0x48e451
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
jmp 0x48e43a
mov esi, dword [esi]
push str.qword
push esi
call fcn.005347c1
add esp, 8
test eax, eax
jne 0x48e443
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0x18], edi
je 0x48e415
mov eax, dword [esi]
lea edx, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp + 8]
call fcn.0048b6e0
test eax, eax
je 0x48e415
mov eax, dword [ebp + 8]
cmp eax, edi
jmp 0x48e448
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov esi, dword [esi]
push eax
call fcn.005374bc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x10], edx
cmp eax, edi
je 0x48e451
push 8
lea ecx, [ebp - 0x14]
push ecx
push 0xb
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 8]
test eax, eax
je 0x48e451
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret