Function at 0x1400afcbc
Capabilities:
Create directory
Get common file path

Disassembly:
mov r11, rsp
push r12
push r14
push r15
sub rsp, 0x8b0
mov qword [r11 - 0x838], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], 0x78
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x30]
lea rdx, str._Monitor::WatchmanGuard::InstallHiddenScript_
lea rcx, [r11 - 0x738]
call fcn.14003fda0
nop
mov qword [rdi + 0x10], r14
cmp qword [rdi + 0x18], 8
jb 0x1400afd36
mov rax, qword [rdi]
jmp 0x1400afd39
mov rax, rdi
mov word [rax], r14w
lea rax, vtable.SpeedBit::Utils::StackBufferEx_1024_.0
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x678], r14
mov qword [rsp + 0x680], r14
lea rcx, [rsp + 0x270]
call fcn.1400af710
test eax, eax
jne 0x1400afd94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, str.Monitor::WatchmanGuard::GetHiddenScript
mov qword [rsp + 0x58], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x50]
call fcn.14012ccc0
lea rax, [rsp + 0x690]
mov qword [rsp + 0x20], rax
mov r15d, 1
mov r9d, r15d
xor r8d, r8d
lea edx, [r15 + 0x22]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x1400afde2
mov dword [rsp + 0x60], 0x57
lea rax, str.SHGetFolderPathW_CommonAppData_
mov qword [rsp + 0x68], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x60]
call fcn.14012ccc0
mov rcx, qword [0x1402de630]
mov esi, 0x7d0
test rcx, rcx
je 0x1400aff25
mov rax, qword [rcx]
mov edx, esi
call qword [rax + 0x10]
test eax, eax
je 0x1400aff25
mov r8d, r15d
mov edx, 2
lea rcx, [rsp + 0xa0]
call fcn.140040070
nop
call fcn.14010ab78
mov rcx, qword [rsp + 0xa0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0xa0]
add rcx, rdx
mov r8, rax
lea rdx, [rsp + 0x38]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400afe69
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400afe69
mov r8, qword [rax]
mov edx, r15d
mov rcx, rax
call qword [r8]
nop
lea rdx, str._Monitor::WatchmanGuard::InstallHiddenScript_
lea rcx, [rsp + 0xa0]
call fcn.140043d80
lea rdx, str.Common_App_path:
mov rcx, rax
call fcn.140043d80
lea rdx, [rsp + 0x690]
mov rcx, rax
call fcn.140043d80
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0xa0]
call fcn.14003ffc0
nop
lea r8, [rsp + 0x208]
cmp qword [rsp + 0x220], 8
cmovae r8, qword [rsp + 0x208]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x218]
mov edx, esi
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, r15b
lea rcx, [rsp + 0x208]
call fcn.140006e40
nop
lea rcx, [rsp + 0x128]
call fcn.14003fff0
nop
lea rbx, vtable.std::ios_base.0
mov qword [rsp + 0x128], rbx
lea rcx, [rsp + 0x128]
call fcn.14010acb0
nop
jmp 0x1400aff2c
lea rbx, vtable.std::ios_base.0
mov r12d, 7
mov qword [rsp + 0x260], r12
mov qword [rsp + 0x258], r14
mov word [rsp + 0x248], r14w
cmp word [rsp + 0x690], r14w
jne 0x1400aff5b
mov r8, r14
jmp 0x1400aff71
lea rax, [rsp + 0x690]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400aff67
lea rdx, [rsp + 0x690]
lea rcx, [rsp + 0x248]
call fcn.140007090
nop
mov r8, r15
lea rdx, [0x14025f110]
lea rcx, [rsp + 0x248]
call fcn.140009880
mov r8d, ntohs
lea rdx, str.SearchModule
lea rcx, [rsp + 0x248]
call fcn.140009880
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x1400b00fc
mov rax, qword [rcx]
mov edx, esi
call qword [rax + 0x10]
test eax, eax
je 0x1400b00fc
mov r8d, r15d
mov edx, 2
lea rcx, [rsp + 0xa0]
call fcn.140040070
nop
call fcn.14010ab78
mov rcx, qword [rsp + 0xa0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0xa0]
add rcx, rdx
mov r8, rax
lea rdx, [rsp + 0x38]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400b003a
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400b003a
mov r8, qword [rax]
mov edx, r15d
mov rcx, rax
call qword [r8]
nop
lea rdx, str._Monitor::WatchmanGuard::InstallHiddenScript_
lea rcx, [rsp + 0xa0]
call fcn.140043d80
lea rdx, str.SearchModule
mov rcx, rax
call fcn.140043d80
lea rdx, str._directory:
mov rcx, rax
call fcn.140043d80
lea rdx, [rsp + 0x248]
mov rcx, rax
call fcn.140044070
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0xa0]
call fcn.14003ffc0
nop
lea r8, [rsp + 0x208]
cmp qword [rsp + 0x220], 8
cmovae r8, qword [rsp + 0x208]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x218]
mov edx, esi
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, r15b
lea rcx, [rsp + 0x208]
call fcn.140006e40
nop
lea rcx, [rsp + 0x128]
call fcn.14003fff0
nop
mov qword [rsp + 0x128], rbx
lea rcx, [rsp + 0x128]
call fcn.14010acb0
nop
lea rcx, [rsp + 0x248]
cmp qword [rsp + 0x260], 8
cmovae rcx, qword [rsp + 0x248]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400b0156
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400b0156
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, str.CreateDirectory
mov qword [rsp + 0x78], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x70]
call fcn.14012ccc0
mov qword [rsp + 0x240], r12
mov qword [rsp + 0x238], r14
mov word [rsp + 0x228], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x228]
call fcn.140007890
nop
mov r8, r15
lea rdx, [0x14025f110]
lea rcx, [rsp + 0x228]
call fcn.140009880
mov r8, r12
lea rdx, str.smhe.js
lea rcx, [rsp + 0x228]
call fcn.140009880
lea rcx, [rsp + 0x1a8]
call fcn.1400ce060
mov rbx, rax
lea rcx, [rsp + 0x270]
mov rdx, qword [rsp + 0x270]
call qword [rdx + 0x38]
mov rsi, rax
lea rcx, [rsp + 0x270]
mov rdx, qword [rsp + 0x270]
call qword [rdx + 0x10]
lea rdx, [rsp + 0x228]
cmp qword [rsp + 0x240], 8
cmovae rdx, qword [rsp + 0x228]
mov qword [rsp + 0x20], rsi
mov r9, rax
xor r8d, r8d
mov rcx, rbx
call fcn.1400ceb00
test eax, eax
sete bl
lea rcx, [rsp + 0x1a8]
call fcn.140008080
test bl, bl
je 0x1400b0267
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x80], eax
lea rax, str.Utils::FileSystem::WriteContentW
mov qword [rsp + 0x88], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x80]
call fcn.14012ccc0
nop
lea rax, [rsp + 0x228]
cmp rdi, rax
je 0x1400b02b4
lea rdx, [rsp + 0x228]
mov rcx, rdi
call fcn.14007c9d4
mov rcx, qword [rdi + 0x10]
mov rax, qword [rsp + 0x238]
mov qword [rdi + 0x10], rax
mov qword [rsp + 0x238], rcx
mov rcx, qword [rdi + 0x18]
mov rax, qword [rsp + 0x240]
mov qword [rdi + 0x18], rax
mov qword [rsp + 0x240], rcx
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x30], r15d
xor r8d, r8d
mov dl, r15b
lea rcx, [rsp + 0x228]
call fcn.140006e40
nop
xor r8d, r8d
mov dl, r15b
lea rcx, [rsp + 0x248]
call fcn.140006e40
nop
lea rax, vtable.SpeedBit::Utils::StackBufferEx_1024_.0
mov qword [rsp + 0x270], rax
lea rax, [rsp + 0x278]
mov rcx, qword [rsp + 0x678]
cmp rcx, rax
je 0x1400b0316
test rcx, rcx
je 0x1400b0316
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov ebx, dword [rsp + 0x30]
lea rcx, [rsp + 0x190]
call fcn.14003fbb0
nop
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.14012a1e0
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret