Function at 0x1400acc00
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e88]
mov eax, 0x1f88
call fcn.140247340
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov r15, rcx
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0xe40]
call fcn.140249b10
mov dword [rbp + 0x1ed0], 0x410
mov rax, qword [r15 + 0x28]
lea rcx, [rbp + 0x1ed0]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0xe40]
mov qword [rsp + 0x28], rcx
xor esi, esi
mov qword [rsp + 0x20], rsi
lea r9, str.Shell
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
mov rdx, 0xffffffff80000002
lea rcx, [r15 + 0x28]
call qword [rax + 0x98]
test eax, eax
jne 0x1400acd05
lea rdx, str.NAIL.EXE
lea rcx, [rbp + 0xe40]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x1400acd05
lea rcx, [rbp + 0xe40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveArgsA]
lea rcx, [rbp + 0xe40]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], sil
jne 0x1400accc6
mov dword [rsp + 0x30], eax
lea rax, [rbp + 0xe40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9, str.Shell
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
mov rdx, 0xffffffff80000002
lea rcx, [r15 + 0x28]
call fcn.140079210
lea r9, str.taskman
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
mov rdx, 0xffffffff80000002
mov rcx, r15
call fcn.1400ac7c0
mov r10, qword [r15 + 0x28]
mov eax, dword [r15 + 0x14e4]
or eax, 0x20019
lea rcx, [rbp + 0x1ee8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionWinLogonNotify
mov rdx, 0xffffffff80000002
lea rcx, [r15 + 0x28]
call qword [r10 + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x1400ad4d1
mov r13d, esi
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x1250]
call fcn.140249b10
cmp dword [r15 + 0x127c], esi
jne 0x1400ad4bf
lea r14, vtable.CSABString.0
nop
mov rax, qword [r15 + 0x28]
mov dword [rsp + 0x20], 0x410
lea r9, [rbp + 0x1250]
mov r8d, r13d
mov rdx, qword [rbp + 0x1ee8]
lea rcx, [r15 + 0x28]
call qword [rax + 0x30]
test eax, eax
jne 0x1400ad4bf
mov edx, 0xffffffff
mov rcx, qword [r15 + 0x1290]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r10, qword [r15 + 0x28]
mov eax, dword [r15 + 0x14e4]
or eax, 0x20019
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [rbp + 0x1250]
mov rdx, qword [rbp + 0x1ee8]
lea rcx, [r15 + 0x28]
call qword [r10 + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x1400ad4ae
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x1660]
call fcn.140249b10
mov dword [rbp + 0x1ed8], 0x410
mov rax, qword [r15 + 0x28]
lea rcx, [rbp + 0x1ed8]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x1660]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [0x14029af30]
mov rdx, qword [rsp + 0x40]
lea rcx, [r15 + 0x28]
call qword [rax + 0x60]
test eax, eax
jne 0x1400ad49e
lea rcx, [rsp + 0x70]
call fcn.1400270b0
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400ace87
call fcn.140247060
mov qword [rbp - 0x58], rsi
lea rcx, [rbp + 0x1660]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400ace95
mov dword [rbp - 0x50], eax
lea ecx, [rax + 1]
call fcn.140247068
mov qword [rbp - 0x58], rax
test rax, rax
je 0x1400acec8
mov r8d, dword [rbp - 0x50]
inc r8d
lea rdx, [rbp + 0x1660]
mov rcx, rax
call fcn.1402496a0
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1400aceda
call fcn.140247060
mov qword [rbp + 0x28], rsi
mov dword [rbp + 0x30], 0x3c
mov ecx, 0x3d
call fcn.140247068
mov qword [rbp + 0x28], rax
test rax, rax
je 0x1400acf0a
mov r8d, dword [rbp + 0x30]
inc r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWinLogonNotify
mov rcx, rax
call fcn.1402496a0
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x58], 1
mov ecx, 2
call fcn.140247068
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400acf38
movzx ecx, word [0x140287e84]
mov word [rax], cx
mov dword [rsp + 0x5c], 1
mov rdi, qword [rbp + 0x28]
mov ecx, dword [rbp + 0x30]
add ecx, 2
call fcn.140247068
mov rbx, rax
test rdi, rdi
je 0x1400acf7d
mov rdx, rdi
mov r8, rax
sub r8, rdi
movzx eax, byte [rdx]
mov byte [r8 + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400acf60
mov rcx, rdi
call fcn.140247060
mov qword [rbp + 0x28], rbx
jmp 0x1400acf81
mov qword [rbp + 0x28], rax
test rbx, rbx
je 0x1400acfac
mov ecx, dword [rbp + 0x30]
movzx eax, word [rsi]
mov word [rcx + rbx], ax
mov rcx, qword [rbp + 0x28]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400acfa0
mov dword [rbp + 0x30], eax
test rsi, rsi
je 0x1400acfb9
mov rcx, rsi
call fcn.140247060
mov qword [rsp + 0x48], r14
lea rax, [rbp + 0x1250]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400acfd0
mov dword [rsp + 0x58], ebx
lea eax, [rbx + 1]
mov r14d, eax
mov ecx, eax
call fcn.140247068
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400ad009
mov r8d, r14d
lea rdx, [rbp + 0x1250]
mov rcx, rax
call fcn.1402496a0
mov dword [rsp + 0x5c], 1
mov rdi, qword [rbp + 0x28]
mov ecx, dword [rbp + 0x30]
inc ecx
add ecx, ebx
call fcn.140247068
mov rbx, rax
test rdi, rdi
je 0x1400ad05d
mov rdx, rdi
mov r8, rax
sub r8, rdi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [r8 + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400ad040
mov rcx, rdi
call fcn.140247060
mov qword [rbp + 0x28], rbx
jmp 0x1400ad061
mov qword [rbp + 0x28], rax
test rbx, rbx
je 0x1400ad08e
mov ecx, dword [rbp + 0x30]
add rcx, rbx
mov r8, r14
mov rdx, rsi
call fcn.1402496a0
mov rcx, qword [rbp + 0x28]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400ad082
mov dword [rbp + 0x30], eax
test rsi, rsi
je 0x1400ad09b
mov rcx, rsi
call fcn.140247060
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x1400ad0b1
call fcn.140247060
xor esi, esi
mov qword [rbp + 0x58], rsi
jmp 0x1400ad0b3
xor esi, esi
mov dword [rbp + 0x60], SafeArrayUnaccessData
mov ecx, reloc.WSOCK32.dll_send
call fcn.140247068
mov qword [rbp + 0x58], rax
test rax, rax
je 0x1400ad0e3
mov r8d, dword [rbp + 0x60]
inc r8d
lea rdx, str.HKEY_LOCAL_MACHINE
mov rcx, rax
call fcn.1402496a0
mov dword [rbp - 0x10], 1
mov eax, dword [r15 + 0x14e8]
mov dword [rbp + 0xcc], eax
mov rcx, qword [r15 + 0x12d8]
test rcx, rcx
je 0x1400ad119
mov rax, qword [rcx]
mov r9d, 2
lea r8, [rsp + 0x70]
mov edx, 0x405
call qword [rax + 0x28]
mov rdi, qword [rbp - 0x58]
mov rax, qword [r15 + 8]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0x80
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rsi
mov r9d, 1
mov r8d, 0x80000000
mov rdx, rdi
lea rcx, [r15 + 8]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp rax, 0xffffffffffffffff
je 0x1400ad168
mov r8, qword [r15 + 8]
mov rdx, rax
lea rcx, [r15 + 8]
call qword [r8 + reloc.OLEAUT32.dll_SafeArrayGetElement]
jmp 0x1400ad1a6
xor edx, edx
mov r8d, 0x140
lea rcx, [rbp + 0x5c0]
call fcn.140249b10
mov rax, qword [r15 + 8]
lea r8, [rbp + 0x5c0]
mov rdx, rdi
lea rcx, [r15 + 8]
call qword [rax + 0x20]
cmp rax, 0xffffffffffffffff
je 0x1400ad1bf
mov r8, qword [r15 + 8]
mov rdx, rax
lea rcx, [r15 + 8]
call qword [r8 + PathResolve]
xor r9d, r9d
lea r8, [rsp + 0x70]
mov rdx, qword [rbp - 0x58]
mov rcx, r15
call fcn.1400876f0
jmp 0x1400ad2b7
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x1a70]
call fcn.140249b10
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1a70]
mov qword [rsp + 0x20], rax
mov r9d, 0x410
xor r8d, r8d
mov rdx, qword [rbp - 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
je 0x1400ad26e
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400ad214
call fcn.140247060
mov qword [rbp - 0x58], rsi
lea rcx, [rbp + 0x1a70]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400ad222
mov dword [rbp - 0x50], eax
lea ecx, [rax + 1]
call fcn.140247068
mov qword [rbp - 0x58], rax
test rax, rax
je 0x1400ad259
mov r8d, dword [rbp - 0x50]
inc r8d
lea rdx, [rbp + 0x1a70]
mov rcx, rax
call fcn.1402496a0
mov rax, qword [rbp - 0x58]
xor r9d, r9d
lea r8, [rsp + 0x70]
mov rdx, rax
mov rcx, r15
call fcn.1400876f0
jmp 0x1400ad2b7
mov dword [rbp], 1
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400ad287
call fcn.140247060
mov qword [rbp + 0x10], rsi
mov dword [rbp + 0x18], 4
mov ecx, 5
call fcn.140247068
mov qword [rbp + 0x10], rax
test rax, rax
je 0x1400ad2b7
mov r8d, dword [rbp + 0x18]
inc r8d
lea rdx, [0x14028b498]
mov rcx, rax
call fcn.1402496a0
cmp dword [rbp], 0
jne 0x1400ad317
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.1400868e0
test eax, eax
jne 0x1400ad317
mov dword [rbp], 1
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400ad2e7
call fcn.140247060
mov qword [rbp + 0x10], rsi
mov dword [rbp + 0x18], 4
mov ecx, 5
call fcn.140247068
mov qword [rbp + 0x10], rax
test rax, rax
je 0x1400ad317
mov r8d, dword [rbp + 0x18]
inc r8d
lea rdx, [0x14028b498]
mov rcx, rax
call fcn.1402496a0
mov rdi, rsi
inc dword [r15 + 0x12a0]
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x1400ad339
call fcn.140247060
mov qword [rbp + 0xb8], rsi
mov dword [rbp + 0xc0], 0xa
mov ecx, VariantTimeToDosDateTime
call fcn.140247068
mov qword [rbp + 0xb8], rax
test rax, rax
je 0x1400ad372
mov r8d, dword [rbp + 0xc0]
inc r8d
lea rdx, str._WINLOGON_
mov rcx, rax
call fcn.1402496a0
mov qword [rbp + 0x1ee0], rsi
mov ebx, esi
lea r9, [r15 + 0x13e0]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 1
mov eax, dword [r15 + 0x12c4]
mov dword [rsp + 0x20], eax
lea r8, [rbp + 0x1ee0]
lea rdx, [rsp + 0x70]
mov rcx, qword [r15 + 0x12c8]
call fcn.140017e00
test eax, eax
je 0x1400ad419
mov ebx, 1
mov rdi, qword [rbp + 0x1ee0]
test rdi, rdi
je 0x1400ad419
lea rcx, [rbp + 0x5c0]
call fcn.1400279f0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x5d0]
call fcn.1400284d0
mov rdx, qword [rbp + 0x1ee0]
lea rcx, [rbp + 0xc18]
call fcn.14000db90
mov dword [rbp + 0x650], esi
mov qword [rbp + 0x658], rsi
lea rcx, [rbp + 0x5c0]
call fcn.1400283f0
test ebx, ebx
je 0x1400ad48d
lea rcx, [rbp + 0x5c0]
call fcn.1400279f0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x5d0]
call fcn.1400284d0
mov dword [rbp + 0x650], esi
mov qword [rbp + 0x658], rsi
mov rdx, rdi
lea rcx, [rbp + 0xc18]
call fcn.14000db90
lea r8, [rbp + 0x5c0]
mov edx, 0x405
mov rcx, r15
call fcn.14007e430
lea r8, [rbp + 0x5c0]
mov edx, 0x400
mov rcx, r15
call fcn.14007e430
nop
lea rcx, [rbp + 0x5c0]
call fcn.1400283f0
nop
lea rcx, [rsp + 0x70]
call fcn.140027e10
lea r14, vtable.CSABString.0
mov rax, qword [r15 + 0x28]
mov rdx, qword [rsp + 0x40]
lea rcx, [r15 + 0x28]
call qword [rax + 0x28]
inc r13d
cmp dword [r15 + 0x127c], 0
je 0x1400acd90
mov rax, qword [r15 + 0x28]
mov rdx, qword [rbp + 0x1ee8]
lea rcx, [r15 + 0x28]
call qword [rax + 0x28]
add rsp, 0x1f88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret