Function at 0x140007f20
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, 0x2c8
mov rax, qword [0x140077020]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdx, qword [rsp + 0x2e8]
lea rcx, [rsp + 0x280]
call fcn.1400021f0
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0x200]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x220]
mov qword [rsp + 0x100], rax
lea rdx, str._CymArgs_
mov rcx, qword [rsp + 0xf0]
call fcn.1400021f0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x100]
call fcn.140009e50
mov qword [rsp + 0x110], rax
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0xc0]
call fcn.140007710
mov qword [rsp + 0x1f8], rax
mov dword [rsp + 0x38], 0
jmp 0x140008009
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0xc0]
call fcn.140009ac0
mov ecx, dword [rsp + 0x38]
cmp rcx, rax
jae 0x14000839e
lea rax, [rsp + 0x240]
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x38]
mov edx, eax
lea rcx, [rsp + 0xc0]
call fcn.140009a90
mov rdx, rax
mov rcx, qword [rsp + 0x118]
call fcn.140009e50
mov qword [rsp + 0x120], rax
mov r8b, 0x3a
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x78]
call fcn.1400078e0
mov qword [rsp + 0x1e8], rax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140009a90
mov rcx, rax
call fcn.140002080
inc eax
cdqe
mov rcx, rax
call fcn.14001f190
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x70], rax
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.140009a90
mov rcx, rax
call fcn.140002080
inc eax
cdqe
mov rcx, rax
call fcn.14001f190
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x68], rax
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.140009a90
mov rcx, rax
call fcn.140002080
mov qword [rsp + 0x148], rax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140009a90
mov rcx, rax
call fcn.140002080
mov rcx, qword [rsp + 0x148]
lea rax, [rax + rcx + 2]
mov qword [rsp + 0x150], rax
mov ecx, dword [rsp + 0x38]
mov edx, ecx
lea rcx, [rsp + 0xc0]
call fcn.140009a90
mov rcx, rax
call fcn.140002080
mov rcx, qword [rsp + 0x150]
sub rax, rcx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
inc eax
cdqe
mov rcx, rax
call fcn.14001f190
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x60], rax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140009a90
mov rcx, rax
call fcn.140002080
inc rax
mov qword [rsp + 0x168], rax
mov rdi, qword [rsp + 0x70]
xor eax, eax
mov rcx, qword [rsp + 0x168]
rep stosb byte [rdi], al
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.140009a90
mov rcx, rax
call fcn.140002080
inc rax
mov qword [rsp + 0x170], rax
mov rdi, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x170]
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x3c]
inc eax
cdqe
mov qword [rsp + 0x178], rax
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rcx, qword [rsp + 0x178]
rep stosb byte [rdi], al
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140009a90
mov rcx, rax
call fcn.140002080
mov qword [rsp + 0x180], rax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140009a90
mov rcx, rax
call fcn.140002090
mov rdi, qword [rsp + 0x70]
mov rsi, rax
mov rax, qword [rsp + 0x180]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.140009a90
mov rcx, rax
call fcn.140002080
mov qword [rsp + 0x188], rax
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.140009a90
mov rcx, rax
call fcn.140002090
mov rdi, qword [rsp + 0x68]
mov rsi, rax
mov rax, qword [rsp + 0x188]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x3c]
mov qword [rsp + 0x1a0], rax
movsxd rcx, dword [rsp + 0x3c]
mov qword [rsp + 0x190], rcx
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0xc0]
call fcn.140009a90
mov rcx, rax
call fcn.140002080
mov rcx, qword [rsp + 0x190]
sub rax, rcx
mov qword [rsp + 0x198], rax
mov ecx, dword [rsp + 0x38]
mov edx, ecx
lea rcx, [rsp + 0xc0]
call fcn.140009a90
mov rcx, rax
call fcn.140002090
mov rcx, qword [rsp + 0x198]
add rax, rcx
mov rdi, qword [rsp + 0x60]
mov rsi, rax
mov rax, qword [rsp + 0x1a0]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x260]
call fcn.14000b4b0
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x2e0]
add rax, 0x48
mov rdx, qword [rsp + 0x1a8]
mov rcx, rax
call fcn.140009c70
nop
lea rcx, [rsp + 0x78]
call fcn.140001e00
jmp 0x140007fff
lea rcx, [rsp + 0xc0]
call fcn.140001e00
nop
lea rcx, [rsp + 0x280]
call fcn.1400020e0
nop
jmp 0x1400083c6
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 + 0xec]
lea r8, [rsp + 0x1e0]
lea rdx, str.scenario_id
mov rcx, qword [rsp + 0x2e0]
call fcn.140008750
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1400084f2
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1e4]
lea r8, [rsp + 0xd8]
lea rdx, str.attack_id
mov rcx, qword [rsp + 0x2e0]
call fcn.140008750
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x1400084f2
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 + 0x2e0]
call fcn.140008750
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x1400084f2
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 + 0x2e0]
call fcn.140008750
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x1400084f9
xor al, al
jmp 0x140008735
mov rcx, qword [rsp + 0x90]
call fcn.14003a7e0
mov rcx, qword [rsp + 0x2e0]
mov qword [rcx + 0x20], rax
mov rcx, qword [rsp + 0x98]
call fcn.14003a7e0
mov rcx, qword [rsp + 0x2e0]
mov qword [rcx + 0x28], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14003a7e0
mov rcx, qword [rsp + 0x2e0]
mov qword [rcx + 0x30], rax
mov rcx, qword [rsp + 0xa8]
call fcn.14003a7e0
mov rcx, qword [rsp + 0x2e0]
mov qword [rcx + 0x38], rax
jmp 0x140008569
xor edx, edx
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rax + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x14000864e
mov rax, qword [rsp + 0x2e0]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x40]
cmp byte [rax + rcx], 0
jne 0x1400085a2
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.14001f190
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x2e0]
mov rdx, qword [rax + 0x38]
mov rcx, qword [rsp + 0x50]
call fcn.14003a69c
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2e0]
call fcn.140007600
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1c0], rax
mov edx, 2
mov rcx, qword [rsp + 0x1c0]
call fcn.14001ec60
xor edx, edx
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x140008733
mov rax, qword [rsp + 0x2e0]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x140008687
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.14001f190
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x2e0]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.14003a69c
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x2e0]
call fcn.140007600
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1d8], rax
mov edx, 2
mov rcx, qword [rsp + 0x1d8]
call fcn.14001ec60
mov al, 1
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14001ec40
add rsp, 0x2c8
pop rdi
pop rsi
ret