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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59059b
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5ea110]
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 [0x5f1ec4], 0
jne 0x45dd9c
push 8
call fcn.0050e66a
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.004799e0
mov dword [ebp - 4], 0xffffffff
mov dword [0x5f1ec4], esi
call fcn.004c2540
cmp dword [0x5f1824], 0x800
je 0x45ddd6
call fcn.004c2540
cmp dword [0x5f1824], 0x4000
jne 0x45ddcc
call fcn.004c2540
cmp dword [0x5f171c], 0
jne 0x45ddd6
mov eax, 0x80004005
jmp 0x45e01f
push str.Utils_
lea eax, [edi + 0x124]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00463430
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.0043e300
mov byte [ebp - 4], 3
call fcn.004c2540
cmp dword [0x5f171c], 0
mov ecx, str.ExtensionProtect_x86.sys
mov eax, str.ExtensionProtect_x64.sys
cmove eax, ecx
lea ecx, [ebp - 0x5c]
push eax
call fcn.0043d4b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cmovae eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00463430
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x45de93
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x45de76
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0043eb50
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.0043e9d0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x45deac
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.0043eb50
push str.ExtensionProtect.sys
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00463430
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x45def9
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45dedc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0043eb50
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.0043e9d0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x45df12
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.0043eb50
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.0045dc90
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 0x45df9a
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 0x45dfb6
call fcn.0045db10
cmp dword [ebp + 8], 0
mov esi, eax
je 0x45dfb6
call fcn.0045e140
push ecx
call fcn.004792b0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x45dfcb
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.0043eb50
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 0x45dff4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0043eb50
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 0x45e01d
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0043eb50
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.0050ed39
mov esp, ebp
pop ebp
ret 4