Function at 0x42d2a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b68eb
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x428], ebx
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x434], 0x80004005
mov word [ebp - 0x218], ax
call sub.MSVCR100.dll_memset
push 0x206
lea eax, [ebp - 0x41e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x420], dx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 8]
add esp, 0x18
sub eax, ebx
je 0x42d3b9
dec eax
je 0x42d37c
dec eax
jne 0x42d3f7
lea ecx, [ecx]
movzx ecx, word [eax + str.PowerPoint.Application]
mov word [ebp + eax - 0x218], cx
add eax, 2
cmp cx, bx
jne 0x42d340
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + str.44720441_94BF_4940_926D_4F38FECF2A47]
mov word [ebp + eax - 0x420], cx
add eax, 2
cmp cx, bx
jne 0x42d360
jmp 0x42d3f7
xor eax, eax
mov edi, edi
movzx ecx, word [eax + str.Word.Application]
mov word [ebp + eax - 0x218], cx
add eax, 2
cmp cx, bx
jne 0x42d380
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + str.000209FF_0000_4b30_A977_D214852036FE]
mov word [ebp + eax - 0x420], cx
add eax, 2
cmp cx, bx
jne 0x42d3a0
jmp 0x42d3f7
xor eax, eax
jmp 0x42d3c0
movzx ecx, word [eax + str.Excel.Application]
mov word [ebp + eax - 0x218], cx
add eax, 2
cmp cx, bx
jne 0x42d3c0
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + str.45540001_5750_5300_4B49_4E47534F4654]
mov word [ebp + eax - 0x420], cx
add eax, 2
cmp cx, bx
jne 0x42d3e0
push 0x2001f
lea ecx, [ebp - 0x218]
push ecx
push ebx
call fcn.0043b220
add esp, 4
push eax
lea ecx, [ebp - 0x430]
call fcn.00412570
test eax, eax
jne 0x42d437
mov eax, dword [ebp - 0x430]
cmp eax, ebx
je 0x42d42d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
jmp 0x42d565
push ebx
call fcn.0043b220
mov edi, dword [ebp - 0x428]
add esp, 4
mov esi, eax
mov dword [ebp - 0x424], ebx
cmp edi, ebx
je 0x42d4af
cmp dword [edi], ebx
je 0x42d4a3
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
jne 0x42d46c
mov eax, 1
jmp 0x42d4d4
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42d4a8
mov edx, dword [edi]
push ebx
push edx
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x424]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x218]
push ecx
push esi
call eax
jmp 0x42d4d4
cmp dword [edi + 4], ebx
jne 0x42d4af
mov eax, 1
jmp 0x42d4d4
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x424]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x218]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x42d552
mov ecx, dword [ebp - 0x430]
xor eax, eax
cmp ecx, ebx
je 0x42d4ed
push ecx
call edi
mov esi, dword [ebp - 0x424]
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], ebx
cmp eax, ebx
jne 0x42d558
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push 0x4d0330
push esi
lea ecx, [ebp - 0x430]
call fcn.004174b0
test eax, eax
jne 0x42d552
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [ebp - 0x430]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x420]
push ecx
push 1
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x434], ebx
jmp 0x42d558
mov esi, dword [ebp - 0x430]
cmp esi, ebx
je 0x42d55f
push esi
call edi
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret