Function at 0x5042f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50580d
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x556008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x668], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0042c0b0
add esp, 0xc
push str.PuddingZip
lea edx, [ebp - 0x218]
push edx
call fcn.0042e937
add esp, 8
push 0x550ad0
lea eax, [ebp - 0x218]
push eax
call fcn.00431bf6
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x650]
call fcn.00429135
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x650]
call fcn.0042917e
test eax, eax
jne 0x5043b7
mov dword [ebp - 0x654], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.00429164
mov eax, dword [ebp - 0x654]
jmp 0x5045ab
push 0x550af4
push 0
call fcn.00419410
mov ecx, eax
call fcn.00503990
xor edx, edx
mov word [ebp - 0x628], dx
push 0x206
push 0
lea eax, [ebp - 0x626]
push eax
call fcn.0042c0b0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call fcn.0042c0b0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x628]
push ecx
push str.__s__RunStart
lea edx, [ebp - 0x420]
push edx
call fcn.004195f0
add esp, 0xc
lea eax, [ebp - 0x648]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x504480
mov dword [ebp - 0x658], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.00429164
mov eax, dword [ebp - 0x658]
jmp 0x5045ab
lea ecx, [ebp - 0x644]
push ecx
push 0xf003f
push 0
push 0x550b94
mov edx, dword [ebp - 0x648]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5044d4
push 0
lea eax, [ebp - 0x644]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x550b9c
mov ecx, dword [ebp - 0x648]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x504589
push 0x550ba0
lea ecx, [ebp - 0x640]
call fcn.0041a040
mov byte [ebp - 4], 1
push str.Moniter
lea ecx, [ebp - 0x640]
call fcn.00419fb0
lea edx, [ebp - 0x420]
push edx
call fcn.00431c27
add esp, 4
lea eax, [eax + eax + 2]
mov dword [ebp - 0x65c], eax
mov ecx, dword [ebp - 0x65c]
push ecx
lea edx, [ebp - 0x420]
push edx
push 1
push 0
lea ecx, [ebp - 0x640]
call fcn.00419330
push eax
mov eax, dword [ebp - 0x644]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x644]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x648]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x660], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x640]
call fcn.00419ff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.00429164
mov eax, dword [ebp - 0x660]
jmp 0x5045ab
mov dword [ebp - 0x664], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.00429164
mov eax, dword [ebp - 0x664]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ea4f
mov esp, ebp
pop ebp
ret