Function at 0x23a1a340
Capabilities:
Check if file exists
Copy file
Delete registry value
Persist via run registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x23bcf603
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x23c7a190]
push ebx
push ebp
mov dword [esp + 0xc], eax
mov al, byte [eax + 0x84]
push esi
push edi
mov esi, ecx
test al, al
je 0x23a1a385
cmp dword [esi + 0x30], 2
je 0x23a1a385
mov eax, dword [esi]
mov edx, dword [eax + 4]
xor ebp, ebp
mov dword [esi + 0x24], ebp
call edx
jmp 0x23a1a395
push str.Restore_point_creation_disabled
call dword [0x23c41f2c]
add esp, 4
xor ebp, ebp
mov ecx, esi
call fcn.23a129c0
mov ecx, esi
mov byte [esp + 0x13], al
call fcn.23a19b30
mov ecx, esi
call fcn.23a18dd0
mov edi, 7
xor eax, eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], ax
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
mov dword [esp + 0x98], ebp
call fcn.23a13fe0
mov eax, dword [esp + 0x58]
mov ebx, 8
cmp dword [esp + 0x6c], ebx
jae 0x23a1a3e8
lea eax, [esp + 0x58]
push esi
push eax
lea ecx, [esi + 0x108]
call fcn.23a11d10
cmp dword [esp + 0x6c], ebx
jb 0x23a1a408
mov edx, dword [esp + 0x58]
push edx
call fcn.23a2ed1b
add esp, 4
xor eax, eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], ax
lea ecx, [esp + 0x70]
push ecx
push str.installer
mov ecx, esi
mov dword [esp + 0x9c], 1
call fcn.23a138c0
xor edx, edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], dx
mov eax, dword [esp + 0x74]
mov byte [esp + 0x94], 2
cmp dword [esp + 0x88], ebx
jae 0x23a1a461
lea eax, [esp + 0x74]
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x18], ebx
jb 0x23a1a46f
mov edi, dword [edi + 4]
jmp 0x23a1a472
add edi, 4
push ebp
push str.Setup.xml
push eax
lea ecx, [esp + 0x60]
call fcn.23a034b0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [esp + 0x6c], ebx
jb 0x23a1a49d
mov eax, dword [esp + 0x58]
push eax
call fcn.23a2ed1b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], cx
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x88], ebx
jb 0x23a1a4d1
mov edx, dword [esp + 0x74]
push edx
call fcn.23a2ed1b
add esp, 4
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
add ebx, 0x4c
mov dword [esi + 0x24], 2
mov eax, dword [ebx]
cmp dword [eax - 0xc], ebp
lea eax, [edi + 0x24]
je 0x23a1a4ef
mov eax, ebx
lea ecx, [esi + 0x28]
push eax
call fcn.23a11600
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], cx
mov eax, dword [esi + 0x2c]
push str.svchost.exe
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x9c], 3
call fcn.23a034b0
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x23a1a540
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x23a1a68c
push 0xe
push str.__servicestart
lea ecx, [esp + 0x24]
call fcn.23a028a0
cmp dword [esi + 0x30], 2
jne 0x23a1a575
mov dword [esp + 0x18], str.asam
mov ebp, 0x23c40f6c
jmp 0x23a1a58c
mov edx, dword [edi + 0x50]
lea eax, [edi + 0x50]
cmp dword [edx - 0xc], ebp
jne 0x23a1a583
lea eax, [edi + 0x24]
mov eax, dword [eax]
mov ebp, dword [edi + 0x54]
mov dword [esp + 0x18], eax
cmp byte [esp + 0x13], 0
je 0x23a1a64b
mov ecx, dword [ebx]
mov edi, dword [ecx - 0xc]
test edi, edi
jne 0x23a1a5a9
mov eax, dword [esp + 0x14]
add eax, 0x24
jmp 0x23a1a5ab
mov eax, ebx
cmp dword [esi + 0xb4], 8
mov ecx, dword [eax]
jb 0x23a1a5be
mov eax, dword [esi + 0xa0]
jmp 0x23a1a5c4
lea eax, [esi + 0xa0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x23a1a5ea
test dx, dx
je 0x23a1a5e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x23a1a5ea
add eax, 4
add ecx, 4
test dx, dx
jne 0x23a1a5c4
xor eax, eax
jmp 0x23a1a5ef
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x23a1a62b
cmp dword [esp + 0x34], 8
mov ecx, dword [esp + 0x20]
jae 0x23a1a602
lea ecx, [esp + 0x20]
test edi, edi
jne 0x23a1a60f
mov eax, dword [esp + 0x14]
add eax, 0x24
jmp 0x23a1a611
mov eax, ebx
mov eax, dword [eax]
push 1
push 0
push 0
push str.RPCSS
push ecx
push ebp
push eax
call fcn.23a0caf0
add esp, 0x1c
jmp 0x23a1a68a
cmp dword [esi + 0xb4], 8
jb 0x23a1a63c
mov eax, dword [esi + 0xa0]
jmp 0x23a1a642
lea eax, [esi + 0xa0]
push eax
call fcn.23a0cce0
add esp, 4
cmp dword [esp + 0x34], 8
mov ecx, dword [esp + 0x20]
jae 0x23a1a65a
lea ecx, [esp + 0x20]
mov edx, dword [ebx]
cmp dword [edx - 0xc], 0
jne 0x23a1a66b
mov eax, dword [esp + 0x14]
add eax, 0x24
jmp 0x23a1a66d
mov eax, ebx
mov eax, dword [eax]
push 1
push 0
push 0
push str.RPCSS
push ecx
mov ecx, dword [esp + 0x2c]
push ebp
push ecx
push eax
call fcn.23a0c950
add esp, 0x20
xor ebp, ebp
mov dword [esp + 0x14], ebp
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push ebp
push 0x20006
push ebp
push ebp
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x23a1a6d1
cmp dword [esi + 0x30], 2
jne 0x23a1a79c
mov ecx, dword [esp + 0x14]
push str.actSessionUI32.exe
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, 8
lea ebx, [edi - 1]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x94], 3
cmp eax, ebp
je 0x23a1a703
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebp
je 0x23a1a703
push eax
push str.RegCloseKey___failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
mov ecx, esi
call fcn.23a150e0
xor ecx, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], cx
mov edx, dword [esi + 0x2c]
push str.SetupSetup.log
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x9c], 7
call fcn.23a034b0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x23a1a741
lea eax, [esp + 0x3c]
push eax
mov eax, dword [0x23c7a194]
push eax
call dword [0x23c41f30]
add esp, 8
cmp dword [esp + 0x50], edi
jb 0x23a1a764
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.23a2ed1b
add esp, 4
xor edx, edx
cmp dword [esp + 0x34], edi
pop edi
pop esi
mov dword [esp + 0x44], ebp
pop ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x30], dx
pop ebx
jb 0x23a1a78a
mov eax, dword [esp + 0x10]
push eax
call fcn.23a2ed1b
add esp, 4
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
add esp, 0x88
ret
mov ebx, 7
xor edx, edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], dx
mov eax, dword [esi + 0x2c]
push str.actSessionUI32.exe
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x9c], 5
call fcn.23a034b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x23a1a7f1
mov eax, dword [esp + 0x14]
push str.actSessionUI32.exe
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea edi, [ebx + 1]
jmp 0x23a1a857
xor ecx, ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], cx
mov eax, dword [esp + 0x74]
mov edi, 8
mov byte [esp + 0x94], 6
cmp dword [esp + 0x88], edi
jae 0x23a1a81e
lea eax, [esp + 0x74]
push eax
lea edx, [esp + 0x58]
push 0x23be3d78
push edx
call fcn.23a01220
mov eax, dword [esp + 0x64]
add esp, 0xc
cmp dword [esp + 0x6c], edi
jae 0x23a1a83f
lea eax, [esp + 0x58]
push eax
push str.actSessionUI32.exe
lea ecx, [esp + 0x1c]
call fcn.23a0f5e0
lea ecx, [esp + 0x54]
call fcn.23a022f0
cmp dword [esp + 0x88], edi
jb 0x23a1a6d9
mov eax, dword [esp + 0x74]
push eax
call fcn.23a2ed1b
add esp, 4
jmp 0x23a1a6d9