Function at 0x425bc0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x5da2b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [str.SOFTWARE]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x370], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x368], eax
mov ax, word [0x573d18]
push 0x2e
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x32]
push 0
push eax
movups xmmword [ebp - 0x44], xmm0
call fcn.004bf1c0
push 0xc8
lea eax, [ebp - 0x1d4]
push 0
push eax
call fcn.004bf1c0
push 0xc8
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.004bf1c0
push 0x190
lea eax, [ebp - 0x364]
push 0
push eax
call fcn.004bf1c0
add esp, 0x30
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
movzx eax, word [ebp + ecx - 0x44]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x1d6], ax
test ax, ax
jne 0x425c60
lea edi, [ebp - 0x1d4]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x425c80
mov eax, dword [0x57190c]
mov esi, ebx
mov dword [edi], eax
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x425c95
lea edi, [ebp - 0x1d4]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x425cb0
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x1d4]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x10e], ax
test ax, ax
jne 0x425cd0
lea edi, [ebp - 0x10c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x425cf1
mov ecx, 7
mov esi, str.Capabilities
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
nop dword [eax + eax]
movzx eax, word [ebp + ecx - 0x10c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x366], ax
test ax, ax
jne 0x425d10
lea edi, [ebp - 0x364]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x425d31
lea eax, [ebp - 0x364]
mov ecx, 9
mov esi, str.FileAssociations
push eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [ebp - 0x10c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [ebp - 0x1d4]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebp + 0x1c], 0
je 0x425e53
mov esi, dword [ebp - 0x368]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425d92
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x10c]
push 1
push str.ApplicationDescription
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov edi, dword [ebp - 0x36c]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425dd0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push str.ApplicationIcon
lea eax, [ebp - 0x10c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov edi, dword [ebp - 0x370]
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425e10
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push str.ApplicationName
lea eax, [ebp - 0x10c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x364]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00437c42
mov esp, ebp
pop ebp
ret 0x18