Function at 0x44b790
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x50ecbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc1c
push ebx
push ebp
push esi
push edi
call fcn.0044c4c0
push str.SoftwareClasses_
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004dd1bf
test esi, esi
mov dword [esp + 0xc34], 0
je 0x44b819
mov eax, dword [esp + 0xc3c]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.004dd3e6
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push reloc.WSOCK32.dll_accept
call ebx
lea ecx, [esp + 0x28]
call fcn.004dd151
jmp 0x44b842
mov eax, dword [esp + 0xc3c]
lea edx, [esp + 0x10]
push 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push closesocket
call ebx
lea ecx, [esp + 0x42c]
push 0x400
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebp, eax
lea edi, [esp + 0x42c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + ebp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0xc40]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x82c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x42c]
push ecx
push str._s_0
push edx
call fcn.004c28ad
mov edx, dword [esp + 0xc48]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push eax
push eax
mov eax, dword [esp + 0x24]
push eax
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.DefaultIcon
push edx
call ebx
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 2]
lea ecx, [esp + 0x82c]
push eax
push ecx
push 1
push 0
push 0
push edx
call esi
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.shell
push edx
call ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x5524e4
push ecx
call ebx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
push 0
push edx
push 0
push 0x20006
push 0
push 0
push 0
push str.command
push eax
call ebx
mov edi, dword [esp + 0xc40]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebp
push ecx
lea ecx, [esp + 0x30]
push ecx
push 1
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x24]
push eax
call esi
mov ecx, dword [esp + 0x20]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [esp + 0x18]
mov dword [esp + 0xc34], 0xffffffff
call fcn.004dd151
mov ecx, dword [esp + 0xc2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc28
ret 8