Function at 0x41b220
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0xa4], edi
call fcn.0043cc70
push 0x7e
xor ebx, ebx
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x82]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x84], ax
call sub.MSVCR100.dll_memset
push edi
lea edx, [ebp - 0x84]
push str.SoftwareKingsoftOffice_sAddinsWL
push edx
call dword [sym.imp.MSVCR100.dll__swprintf]
add esp, 0x18
push 2
lea eax, [ebp - 0x84]
push eax
push esi
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
call fcn.00412570
test eax, eax
je 0x41b38e
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x88], ebx
cmp edi, ebx
je 0x41b31a
cmp dword [edi], ebx
je 0x41b30e
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
jne 0x41b2da
lea eax, [ebx + 1]
jmp 0x41b33c
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41b313
mov ecx, dword [edi]
push ebx
push ecx
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x88]
push ecx
push ebx
push 2
push ebx
push ebx
push ebx
lea edx, [ebp - 0x84]
push edx
push esi
call eax
jmp 0x41b33c
cmp dword [edi + 4], ebx
jne 0x41b31a
mov eax, 1
jmp 0x41b33c
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x88]
push ecx
push ebx
push 2
push ebx
push ebx
push ebx
lea edx, [ebp - 0x84]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x41b363
mov ecx, dword [ebp - 0x98]
xor eax, eax
cmp ecx, ebx
je 0x41b353
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x98], ecx
cmp eax, ebx
je 0x41b38e
mov eax, dword [ebp - 0x98]
mov esi, 0x80004005
cmp eax, ebx
je 0x41b379
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 0x8c]
mov ebx, dword [edx]
mov eax, edx
cmp dword [eax + 4], ebx
je 0x41b442
mov eax, dword [ebx]
test eax, eax
je 0x41b3b3
cmp eax, dword [ebp - 0xa0]
jne 0x41b430
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebx + 4]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b3e6
test dx, dx
je 0x41b3e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b3e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41b3c0
xor eax, eax
jmp 0x41b3eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41b430
cmp dword [ebp + 0x10], eax
je 0x41b41f
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
test esi, esi
je 0x41b430
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x98]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x41b430
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x98]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x8c]
add ebx, 0x10
cmp dword [edx + 4], ebx
jne 0x41b3a1
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x41b453
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004b12f6
mov esp, ebp
pop ebp
ret 0xc