Function at 0x4247a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab46c
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4d5210]
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
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
call fcn.00459150
add esp, 0xc
mov dword [ebp - 0x21c], 7
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
push 1
push 0x4b2988
call fcn.00407a30
push 0x24
push str.0CFC363D_9627_42DF_A410_7F12A9E96431
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00409fa0
push 1
push 0x4b29dc
lea ecx, [ebp - 0x230]
call fcn.00409fa0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x27c]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42497d
push 0x10
xor eax, eax
mov dword [ebp - 0x234], 7
push str.ElephantPDFAccer
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00407a30
push 6
push str._Class
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00409fa0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x248]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x424916
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424930
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x4c94e4
push dword [ebp - 0x27c]
call edi
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x42497d
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00407b30
mov eax, dword [ebp - 0x27c]
test eax, eax
je 0x424c6d
push 0
lea ecx, [ebp - 0x280]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.InprocServer32
push eax
call esi
test eax, eax
jne 0x424abd
cmp dword [0x4d6a60], eax
jne 0x4249be
call fcn.0040bbf0
mov ecx, dword [0x4d6a60]
call fcn.0043a004
push eax
lea ecx, [ebp - 0x260]
call fcn.004078d0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x260]
call fcn.0040a0d0
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x260]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x424a06
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424a20
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x4c94e4
push dword [ebp - 0x280]
call edi
movups xmm0, xmmword [str.Apartment]
mov eax, dword [0x4b2880]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x208], eax
lea edx, [ecx + 2]
movups xmmword [ebp - 0x218], xmm0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424a70
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push str.ThreadingModel
push dword [ebp - 0x280]
call edi
mov eax, dword [ebp - 0x24c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x424abd
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00407b30
push 0
lea eax, [ebp - 0x28c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.Programmable
push dword [ebp - 0x27c]
call esi
test eax, eax
jne 0x424c6d
push eax
lea eax, [ebp - 0x288]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.TypeLib
push dword [ebp - 0x27c]
call esi
test eax, eax
jne 0x424bb6
push 0x4b2988
lea ecx, [ebp - 0x278]
call fcn.004078d0
push str.1FC869A7_C724_494E_916A_EB2EFB0A9680
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.00409b80
push 0x4b29dc
lea ecx, [ebp - 0x278]
call fcn.00409b80
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x278]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x424b60
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424b80
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x4c94e4
push dword [ebp - 0x288]
call edi
lea ecx, [ebp - 0x278]
call fcn.00407890
push 0
lea eax, [ebp - 0x284]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.Version
push dword [ebp - 0x27c]
call esi
test eax, eax
jne 0x424c2b
mov eax, dword [0x4b2b50]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], eax
lea edx, [ecx + 2]
mov eax, dword [0x4b2b54]
mov dword [ebp - 0x214], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424c00
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x4c94e4
push dword [ebp - 0x284]
call edi
mov eax, dword [ebp - 0x284]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x424c3e
push eax
call esi
mov eax, dword [ebp - 0x288]
test eax, eax
je 0x424c4b
push eax
call esi
mov eax, dword [ebp - 0x28c]
test eax, eax
je 0x424c58
push eax
call esi
mov eax, dword [ebp - 0x280]
test eax, eax
je 0x424c65
push eax
call esi
push dword [ebp - 0x27c]
call esi
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x424c8b
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407b30
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.00434840
mov esp, ebp
pop ebp
ret 4