Function at 0x1800076d0
Capabilities:
Create directory

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x278
mov rax, qword [0x180042020]
xor rax, rsp
mov qword [rsp + 0x268], rax
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x238]
call fcn.180001e30
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0xf8], rax
lea rdx, str._CymArgs_
mov rcx, qword [rsp + 0xf0]
call fcn.180001e30
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x238]
mov rcx, qword [rsp + 0xf8]
call fcn.180009570
mov rcx, qword [rsp + 0x100]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.180006f40
mov dword [rsp + 0x34], 0
jmp 0x18000778f
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0xc0]
call fcn.1800091e0
mov rcx, qword [rsp + 0x108]
cmp rcx, rax
jae 0x180007ad6
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x110], rax
mov eax, dword [rsp + 0x34]
mov edx, eax
lea rcx, [rsp + 0xc0]
call fcn.1800091b0
mov rdx, rax
mov rcx, qword [rsp + 0x110]
call fcn.180009570
mov r8b, 0x3a
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800070f0
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d40
inc eax
cdqe
mov rcx, rax
call fcn.180011040
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x70], rax
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d40
inc eax
cdqe
mov rcx, rax
call fcn.180011040
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x34]
mov edx, eax
lea rcx, [rsp + 0xc0]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d40
mov qword [rsp + 0x130], rax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d40
mov qword [rsp + 0x128], rax
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d40
mov rcx, qword [rsp + 0x128]
lea rax, [rcx + rax + 2]
mov rcx, qword [rsp + 0x130]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
inc eax
cdqe
mov rcx, rax
call fcn.180011040
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x60], rax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d40
inc rax
mov qword [rsp + 0x140], rax
mov rdi, qword [rsp + 0x70]
xor eax, eax
mov rcx, qword [rsp + 0x140]
rep stosb byte [rdi], al
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d40
inc rax
mov qword [rsp + 0x148], rax
mov rdi, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x148]
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x38]
inc eax
cdqe
mov qword [rsp + 0x150], rax
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rcx, qword [rsp + 0x150]
rep stosb byte [rdi], al
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d40
mov qword [rsp + 0x158], rax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d50
mov rdi, qword [rsp + 0x70]
mov rsi, rax
mov rax, qword [rsp + 0x158]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d40
mov qword [rsp + 0x160], rax
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d50
mov rdi, qword [rsp + 0x68]
mov rsi, rax
mov rax, qword [rsp + 0x160]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x38]
mov qword [rsp + 0x170], rax
mov ecx, dword [rsp + 0x34]
mov edx, ecx
lea rcx, [rsp + 0xc0]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d50
mov qword [rsp + 0x168], rax
mov ecx, dword [rsp + 0x34]
mov edx, ecx
lea rcx, [rsp + 0xc0]
call fcn.1800091b0
mov rcx, rax
call fcn.180001d40
movsxd rcx, dword [rsp + 0x38]
sub rax, rcx
mov rcx, qword [rsp + 0x168]
add rcx, rax
mov rax, rcx
mov rdi, qword [rsp + 0x60]
mov rsi, rax
mov rax, qword [rsp + 0x170]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x218]
call fcn.18000ab90
mov rcx, qword [rsp + 0x290]
add rcx, 0x48
mov rdx, rax
call fcn.180009390
lea rcx, [rsp + 0x78]
call fcn.180001b30
jmp 0x180007785
lea rcx, [rsp + 0xc0]
call fcn.180001b30
lea rcx, [rsp + 0x238]
call fcn.180001da0
nop
jmp 0x180007afd
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x1b0]
lea rdx, str.scenario_id
mov rcx, qword [rsp + 0x290]
call fcn.180007e70
movzx eax, al
test eax, eax
je 0x180007c11
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xec]
lea r8, [rsp + 0xd8]
lea rdx, str.attack_id
mov rcx, qword [rsp + 0x290]
call fcn.180007e70
movzx eax, al
test eax, eax
je 0x180007c11
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xdc]
lea r8, [rsp + 0xe0]
lea rdx, str.programdata_path
mov rcx, qword [rsp + 0x290]
call fcn.180007e70
movzx eax, al
test eax, eax
je 0x180007c11
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xe4]
lea r8, [rsp + 0xe8]
lea rdx, str.edr_attacks_path
mov rcx, qword [rsp + 0x290]
call fcn.180007e70
movzx eax, al
test eax, eax
jne 0x180007c18
xor al, al
jmp 0x180007e54
mov rcx, qword [rsp + 0x90]
call fcn.18001cb94
mov rcx, qword [rsp + 0x290]
mov qword [rcx + 0x20], rax
mov rcx, qword [rsp + 0x98]
call fcn.18001cb94
mov rcx, qword [rsp + 0x290]
mov qword [rcx + 0x28], rax
mov rcx, qword [rsp + 0xa0]
call fcn.18001cb94
mov rcx, qword [rsp + 0x290]
mov qword [rcx + 0x30], rax
mov rcx, qword [rsp + 0xa8]
call fcn.18001cb94
mov rcx, qword [rsp + 0x290]
mov qword [rcx + 0x38], rax
jmp 0x180007c88
xor edx, edx
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x180007d6d
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x40]
cmp byte [rax + rcx], 0
jne 0x180007cc1
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0xb0], rax
mov eax, 2
mul qword [rsp + 0xb0]
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180011040
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x290]
mov rdx, qword [rax + 0x38]
mov rcx, qword [rsp + 0x50]
call fcn.18001ca50
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x290]
call fcn.180006e30
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x188], rax
mov edx, 2
mov rcx, qword [rsp + 0x188]
call fcn.1800109e0
xor edx, edx
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x180007e52
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x180007da6
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0xb8], rax
mov eax, 2
mul qword [rsp + 0xb8]
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180011040
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x290]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.18001ca50
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x290]
call fcn.180006e30
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1a0], rax
mov edx, 2
mov rcx, qword [rsp + 0x1a0]
call fcn.1800109e0
mov al, 1
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.1800109c0
add rsp, 0x278
pop rdi
pop rsi
ret