Function at 0x42f680
Capabilities:
Copy file
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfaeb
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4f5108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x4fafe8], 0
jne 0x42f6ec
push 8
call fcn.00479672
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 1
mov ecx, esi
mov dword [esi], vtable.CPDFExDriver.0
mov dword [esi + 4], 0
call fcn.00440ac0
mov dword [ebp - 4], 0xffffffff
mov dword [0x4fafe8], esi
call fcn.0045c140
cmp dword [0x4faa68], 0x800
je 0x42f726
call fcn.0045c140
cmp dword [0x4faa68], 0x4000
jne 0x42f71c
call fcn.0045c140
cmp dword [0x4faa64], 0
jne 0x42f726
mov eax, 0x80004005
jmp 0x42f972
push str.Utils_
lea edx, [edi + 0x124]
lea ecx, [ebp - 0x44]
call fcn.00432d20
add esp, 4
xor eax, eax
mov dword [ebp - 4], 2
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x14], 7
push eax
mov dword [ebp - 0x18], 0
call fcn.004245b0
mov byte [ebp - 4], 3
call fcn.0045c140
cmp dword [0x4faa64], 0
mov ecx, str.ExtensionProtect_x86.sys
mov eax, str.ExtensionProtect_x64.sys
cmove eax, ecx
lea ecx, [ebp - 0x5c]
push eax
call fcn.004241c0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x78]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.00432d20
add esp, 4
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x42f7e5
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x42f7c8
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00424a10
xor eax, eax
mov dword [ebp - 0x30], 7
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.004249a0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x42f7fe
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00424a10
push str.ExtensionProtect.sys
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x78]
call fcn.00432d20
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x42f84c
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42f82f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00424a10
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004249a0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x42f865
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00424a10
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
sub esp, 0xc
push eax
push ecx
call fcn.0042f5e0
add esp, 0x14
mov dword [ebp - 0x60], 0
mov esi, eax
lea eax, [ebp - 0x60]
push eax
push 0xf003f
push 0
push str.SYSTEMControlSet001ServicesExtensionProtect
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42f8ed
push 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 2
push eax
push 4
push 0
push str.Start
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x42f909
call fcn.0042f470
cmp dword [ebp + 8], 0
mov esi, eax
je 0x42f909
call fcn.0042fa30
push ecx
call fcn.00440580
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x42f91e
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00424a10
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], 0
cmp eax, 8
jb 0x42f947
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00424a10
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x42f970
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00424a10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00479b70
mov esp, ebp
pop ebp
ret 4