Function at 0x45bdd0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb4bb
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x84c]
push ecx
xor edi, edi
push eax
mov dword [ebp - 0x848], esi
mov dword [ebp - 0x84c], edi
call dword [sym.imp.ole32.dll_StringFromCLSID]
push 0x206
lea eax, [ebp - 0x21a]
xor edx, edx
push edi
push eax
mov word [ebp - 0x21c], dx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x84c]
lea edx, [ebp - 0x21c]
add esp, 0xc
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x45be50
push 0x206
lea edx, [ebp - 0x62a]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x62c], cx
call sub.MSVCR100.dll_memset
push 0x206
lea ecx, [ebp - 0x832]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x834], ax
call sub.MSVCR100.dll_memset
push 0x104
lea edx, [ebp - 0x62c]
push esi
push edx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
lea eax, [ebp - 0x62c]
add esp, 0x24
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, di
jne 0x45beb4
mov ecx, dword [str.CLSID]
mov edx, dword [0x4db7d8]
mov dword [eax], ecx
mov ecx, dword [0x4db7dc]
mov dword [eax + 4], edx
mov dx, word [0x4db7e0]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea edx, [ebp - 0x834]
mov eax, esi
sub edx, esi
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x45bef0
lea eax, [ebp - 0x834]
add eax, 0xfffffffe
jmp 0x45bf10
mov cx, word [eax + 2]
add eax, 2
cmp cx, di
jne 0x45bf10
mov ecx, dword [0x4db7c4]
mov edx, dword [0x4db7c8]
mov dword [eax], ecx
mov ecx, dword [0x4db7cc]
mov dword [eax + 4], edx
mov edx, dword [0x4db7d0]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x840], edi
mov dword [ebp - 0x83c], edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
cmp dword [ebp + 0x14], edi
je 0x45bfd6
call fcn.0043b2e0
lea ecx, [ebp - 0x848]
push ecx
lea edx, [ebp - 0x838]
push edx
push edi
push 0x20006
push edi
push edi
push edi
push str.SOFTWAREMicrosoftSharedXMLProgIds
push eax
mov dword [ebp - 0x838], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x45c297
mov esi, dword [ebp - 0x838]
push str.Excel.Sheet
push 0x4c79ac
push 0x4c79ac
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x844], esi
mov dword [ebp - 0x840], edi
call fcn.00419460
cmp esi, edi
je 0x45c297
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], edi
jmp 0x45c2ab
push edi
xor esi, esi
xor ebx, ebx
call fcn.0043b220
add esp, 4
push 0x2001f
lea ecx, [ebp - 0x62c]
push ecx
push eax
lea ecx, [ebp - 0x844]
call fcn.00412570
test eax, eax
jne 0x45c127
push 0x206
lea eax, [ebp - 0x422]
xor edx, edx
push edi
push eax
mov word [ebp - 0x424], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x838]
push ecx
lea edx, [ebp - 0x424]
push edx
push 0x4c79ac
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x838], 0x104
call fcn.00434210
test eax, eax
jne 0x45c10a
lea ecx, [ebp - 0x21c]
lea eax, [ebp - 0x424]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45c086
cmp dx, di
je 0x45c082
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45c086
add eax, 4
add ecx, 4
cmp dx, di
jne 0x45c060
xor eax, eax
jmp 0x45c08b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x45c10a
push 0x206
lea ecx, [ebp - 0x21a]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x21c], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x838]
push edx
lea eax, [ebp - 0x21c]
push eax
push str..ksobak
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x838], 0x104
call fcn.00434210
test eax, eax
jne 0x45c105
push edi
lea ecx, [ebp - 0x21c]
push ecx
push 0x4c79ac
lea ecx, [ebp - 0x844]
call fcn.00419460
mov edx, dword [ebp - 0x844]
push str..ksobak
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x45c10a
mov esi, 1
mov eax, dword [ebp - 0x844]
cmp eax, edi
je 0x45c121
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x840], edi
push edi
call fcn.0043b220
add esp, 4
push 0x2001f
lea ecx, [ebp - 0x834]
push ecx
push eax
lea ecx, [ebp - 0x844]
call fcn.00412570
test eax, eax
jne 0x45c26e
push 0x206
lea eax, [ebp - 0x422]
xor edx, edx
push edi
push eax
mov word [ebp - 0x424], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x838]
push ecx
lea edx, [ebp - 0x424]
push edx
push 0x4c79ac
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x838], 0x104
call fcn.00434210
test eax, eax
jne 0x45c251
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x424]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45c1cd
cmp dx, di
je 0x45c1c9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45c1cd
add eax, 4
add ecx, 4
cmp dx, di
jne 0x45c1a7
xor eax, eax
jmp 0x45c1d2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x45c251
push 0x206
lea ecx, [ebp - 0x21a]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x21c], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x838]
push edx
lea eax, [ebp - 0x21c]
push eax
push str..ksobak
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x838], 0x104
call fcn.00434210
test eax, eax
jne 0x45c24c
push edi
lea ecx, [ebp - 0x21c]
push ecx
push 0x4c79ac
lea ecx, [ebp - 0x844]
call fcn.00419460
mov edx, dword [ebp - 0x844]
push str..ksobak
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x45c251
mov ebx, 1
mov eax, dword [ebp - 0x844]
cmp eax, edi
je 0x45c268
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x840], edi
cmp esi, edi
je 0x45c297
cmp ebx, edi
je 0x45c297
push edi
call fcn.0043b220
mov dword [ebp - 0x844], eax
mov eax, dword [ebp - 0x848]
add esp, 4
push eax
lea ecx, [ebp - 0x844]
call fcn.004194e0
mov dword [ebp - 4], edi
jmp 0x45c2ab
push 1
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x840], edi
mov dword [ebp - 0x83c], edi
call fcn.0043b220
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret 0x10