Function at 0x4d1577
Capabilities:
Set registry value

Disassembly:
push 0x390
mov eax, 0x5540bb
call fcn.00514880
push 0x56
pop ecx
mov esi, str.lxVUaoOLe2bTeHVpjTRgRDLPFcnnB7neE4dg947lCyKTlVbXAF2VCE520p74gklJJYmb2copTVyshLHIbByj3pXqHU2JQTkle2vItkarRIBSdX0wCNOgpesxgigMymfByJaevs5MeC7W4QCXrb8UEW1mUQeec4i8dNUeI1uQDEmO7CJPBQi4rBBhCmX7CPVrxNHsEX4BgaXAF1AFogKa9H983kcFU9Z49M9bzuoRBgY1SNJp6BVhFd9A7YgBpXGKadUTj7R0iznHUCsrz500Oa0fVs3ppAX6bLuCkob9rWX645gBf8IwE8ZxShE3dw4eJkSdix3A15iAQWhRwBKjOruCb
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x16c]
mov ebx, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
push 0x7a
pop ecx
mov dword [ebp - 0x384], eax
mov eax, dword [ebp + 0x10]
movsw word es:[edi], word [esi]
mov esi, str.UngFJLIhcWx6sfQpVytoBqK0MN9viW3WrtM9BkDFIDCPhBm6QhDP6J607odyqkUviiYn5wr8RwKxms0B312zzGmBzkV8KY4FIo5SUF4foZWGCgWGlr9UmYjBYS84NaIQk14tLDrpYZb46b65TxHzcIQiUE7vbvSk9r4pGEZ9eqjeO2RY2gleMMZKuApco1vx97LYAqPWC9ZwZRUQhoeSZmroi5YXaKFKBVQXCFEcZzYw0Q9TqjEoOJZoFZju9iqE4yKmHIqK4WiIswBjWFiWoXI0xCTy5VlVk6l2nywuM4iOm2LCAbLwk6ikmulR70LdcoUfNkNNKb3f8sX05pGPZqAI65ZAEZH3tZWn2miyc5SdXNKm55Y7t21vdbUuU6uycpaKsjvKDuVe2m24BepUxIzceFJYa0wpgAxmtxPuWuVpd5DzOE7XsWamy2MRL8i69PV2TKylPH7gJ8dn8NB46rbb9Xn5YGb4Sqh2IABwp
mov dword [ebp - 0x388], eax
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x358]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x390], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38c], eax
xor eax, eax
movsw word es:[edi], word [esi]
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x394], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x370]
lea eax, [ebp - 0x16c]
push eax
call fcn.004057d0
lea eax, [ebp - 0x370]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x39c]
call fcn.00407f90
push 0
push 1
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 0
call fcn.00479e2e
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x370]
call fcn.004057d0
lea eax, [ebp - 0x370]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x39c]
call fcn.00407f90
push 0
push 1
lea ecx, [ebp - 0x370]
call fcn.00479e2e
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x374]
push eax
xor ecx, ecx
mov edi, 0xf013f
push edi
push ecx
push ebx
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x374], ecx
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x37c], ecx
mov dword [ebp - 0x380], ecx
call esi
test eax, eax
jne 0x4d176a
lea eax, [ebp - 0x378]
xor ebx, ebx
push eax
push edi
push ebx
push str.SoftWare
push dword [ebp - 0x374]
call esi
test eax, eax
je 0x4d16c5
push dword [ebp - 0x374]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4d176a
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x37c]
push ebx
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp - 0x384]
push dword [ebp - 0x378]
call esi
test eax, eax
je 0x4d16f2
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4d175a
push ebx
lea eax, [ebp - 0x380]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp - 0x388]
push dword [ebp - 0x37c]
call esi
test eax, eax
je 0x4d1719
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4d1752
mov esi, dword [ebp - 0x38c]
push esi
call fcn.005017a9
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
push dword [ebp - 0x390]
push dword [ebp - 0x380]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x380]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x37c]
call esi
push dword [ebp - 0x378]
call esi
push dword [ebp - 0x374]
call esi
lea ecx, [ebp - 0x39c]
call fcn.00479e80
call fcn.0051483b
ret