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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x5e10a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [0x5799c8]
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 [0x5799d8]
push 0x2e
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x32]
push 0
push eax
movups xmmword [ebp - 0x44], xmm0
call fcn.0043fcd0
push 0xc8
lea eax, [ebp - 0x1d4]
push 0
push eax
call fcn.0043fcd0
push 0xc8
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.0043fcd0
push 0x190
lea eax, [ebp - 0x364]
push 0
push eax
call fcn.0043fcd0
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 0x40ee50
lea edi, [ebp - 0x1d4]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x40ee70
mov eax, dword [0x5d7ba8]
mov esi, ebx
mov dword [edi], eax
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x40ee85
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 0x40eea0
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 0x40eec0
lea edi, [ebp - 0x10c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40eee1
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 0x40ef00
lea edi, [ebp - 0x364]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40ef21
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.WS2_32.dll_bind
call esi
lea eax, [ebp - 0x10c]
push eax
push reloc.WS2_32.dll_bind
call esi
cmp dword [ebp + 0x1c], 0
je 0x40f033
mov esi, dword [ebp - 0x368]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ef70
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.WS2_32.dll_bind
call esi
mov edi, dword [ebp - 0x36c]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40efb0
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.WS2_32.dll_bind
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 0x40eff0
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.WS2_32.dll_bind
call esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x364]
push eax
push reloc.WS2_32.dll_bind
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004273c3
mov esp, ebp
pop ebp
ret 0x18