Function at 0x18006a270
Capabilities:
Create directory
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x180141040]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rbx, rcx
lea rcx, [0x180141b70]
call fcn.180050760
test al, al
je 0x18006a72e
movabs rax, 0x9a60b87273c55030
movabs rdi, 0x73efd1b1808ddeb2
mov qword [rsp + 0x30], rax
movabs rsi, 0x9a14b80673a05043
mov rax, qword [rsp + 0x30]
movabs r15, 0xa6f65830f4bb6f0
mov qword [rbp + 0xb0], rax
movabs r12, 0xc47e02d4d828489d
movabs rax, 0xa1c65e40f25b699
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb8], rax
movabs rax, 0xc47e02d4d82848c1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xc0], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xc8], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
cmp word [0x180141b70], 0
vmovdqu xmm0, xmmword [rbp + 0xb0]
vpxor xmm2, xmm0, xmmword [rsp + 0x40]
vmovdqu xmm0, xmmword [rbp + 0xc0]
mov qword [rsp + 0x58], rax
lea rax, [0x180141b70]
vpxor xmm1, xmm0, xmmword [rsp + 0x50]
vmovdqu xmmword [rbp + 0xc0], xmm1
vmovdqu xmmword [rbp + 0xb0], xmm2
je 0x18006a3ca
nop dword [rax]
add rax, 2
cmp word [rax], 0
jne 0x18006a3c0
vmovq rcx, xmm2
test cx, cx
je 0x18006a3f0
lea rdx, [rbp + 0xb0]
sub rdx, rax
nop
mov word [rax], cx
add rax, 2
movzx ecx, word [rax + rdx]
test cx, cx
jne 0x18006a3e0
xor r14d, r14d
lea rcx, [0x180141b70]
xor edx, edx
mov word [rax], r14w
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18006a75b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x18006a75b
mov dl, 3
call fcn.180072d40
movabs rax, 0xee34dc631fc93125
movabs rcx, 0xcf00ff5f875404fc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x6f1b04e67d28969f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0xb1196bb2b6472bbd
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0x539cbfdee9f9bfc0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs rax, 0x31c91a199671ecb3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
movabs rax, 0x8d9950a2084d48ad
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rax, 0x5206e126dd15f842
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0x1d7d211786881b94
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x22c12a133f653405
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x45e4b4bf37b1aa19
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x4f7a7325785cd186
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0xb40d303d214a729e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0x1a213f1221227c76
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0x43a66e7af30385d7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
movabs rax, 0xf8f833c76a6d64d4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x28], rax
movabs rax, 0x3d268448b2359d31
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
lea rdx, [rsp + 0x40]
movabs rax, 0x745d4465e9e53be6
mov r8d, edx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
movabs rax, 0x4ba54f7e4d00406b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
movabs rax, 0x2096dddb17d4de78
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 8], rax
movabs rax, 0x6f09164c0a33a5e5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
movabs rax, 0xcc68104906241dfa
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
movabs rax, 0x1a213f1221560f1f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x30]
vmovdqu xmm0, xmmword [rsp + 0x40]
vpxor xmm3, xmm0, xmmword [rbp - 0x50]
vmovups ymm2, ymmword [rsp + 0x70]
vpxor ymm2, ymm2, ymmword [rbp - 0x20]
vmovups ymm1, ymmword [rsp + 0x50]
vpxor ymm1, ymm1, ymmword [rbp - 0x40]
vmovups ymmword [rsp + 0x70], ymm2
vmovdqu xmm2, xmmword [rbp - 0x70]
vpxor xmm0, xmm2, xmmword [rbp]
mov qword [rbp + 0x18], rax
vmovups ymmword [rsp + 0x50], ymm1
vmovdqu xmm1, xmmword [rbp - 0x60]
vpxor xmm2, xmm1, xmmword [rbp + 0x10]
vmovq rax, xmm3
vmovdqu xmmword [rbp - 0x60], xmm2
vmovdqu xmmword [rsp + 0x40], xmm3
vmovdqu xmmword [rbp - 0x70], xmm0
test al, al
je 0x18006a70e
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x18006a703
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], r14
xor r9d, r9d
vzeroupper
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor al, al
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1800d7380
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
movabs rax, 0x60c77fe5147990ef
mov qword [rsp + 0x218], r13
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x30]
movabs rax, 0xbaaedcff023465cb
mov qword [rsp + 0x50], 4
mov qword [rsp + 0x48], rax
movabs rcx, 0x2d45705400b911e0
movabs rax, 0xa3a79a6c3023d22e
mov qword [rsp + 0x58], 0x10
mov qword [rsp + 0x60], rax
movabs rax, 0x2b9fff192bd4c83e
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
vmovups xmm0, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x70], 4
mov qword [rsp + 0x78], 0x14
call fcn.18006afe0
movabs rax, 0x347e4e7067538409
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x30]
movabs rax, 0xb3a78539b1d3ade
mov qword [rsp + 0x58], 4
mov qword [rsp + 0x60], rax
movabs r13, 0xcd2fd49bc6b014bd
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x30], rax
movabs rdi, 0xa00a62a942b20165
lea rax, [rbp - 0x60]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x38], rax
movabs r12, 0x4c992570c692c3d5
vmovups xmm0, xmmword [rsp + 0x30]
movabs r15, 0x889f8b4975721ba3
mov qword [rsp + 0x70], 4
movabs rcx, 0xf5fed3478eaca554
mov qword [rsp + 0x78], 8
vmovdqa xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 4
mov qword [rbp - 0x68], r14
call fcn.18006afe0
movabs rax, 0x889f8b4975721ba3
mov qword [rbp - 0x38], r14
mov qword [rbp + 0x18], rax
lea rdx, [rsp + 0x30]
lea rax, [rbp - 0x50]
mov qword [rbp - 8], r15
mov qword [rsp + 0x30], rax
movabs rsi, 0x651373fb0724d9ee
lea rax, [rbp + 0x30]
mov qword [rbp - 0x50], rsi
mov qword [rsp + 0x38], rax
movabs r14, 0x7d985b747f5b7f27
vmovups xmm0, xmmword [rsp + 0x30]
movabs r15, 0x475983f77bbe9181
mov qword [rbp - 0x48], r13
movabs rcx, 0x86bbe13ae4189ac0
mov qword [rbp - 0x40], 1
vmovdqa xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], 4
mov qword [rbp - 0x10], r12
mov qword [rbp], 4
mov qword [rbp + 8], 8
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x20], 4
mov qword [rbp + 0x28], 0xc
call fcn.18006afe0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], 1
movabs rax, 0xa00a62a942b20165
mov qword [rbp - 0x28], rdi
mov qword [rbp - 8], rax
lea rdx, [rsp + 0x30]
movabs rax, 0x889f8b4975721ba3
mov qword [rbp - 0x38], 0
mov qword [rbp + 0x18], rax
movabs rdi, 0xd37f4d820606d133
mov qword [rbp + 0x38], rax
movabs rcx, 0xe7d21d4cab389ee8
lea rax, [rbp - 0x50]
mov qword [rbp - 0x30], r14
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x38], rax
vmovups xmm0, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], 4
mov qword [rbp - 0x10], rdi
mov qword [rbp], 4
mov qword [rbp + 8], 8
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x20], 4
mov qword [rbp + 0x28], 0xc
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x40], 4
mov qword [rbp + 0x48], 0x10
call fcn.18006afe0
movabs rcx, 0x889f8b4975721ba3
mov qword [rbp - 0x50], rsi
movabs rax, 0xbb6893c6a37c5ac5
mov qword [rbp + 0x38], rcx
mov qword [rbp - 0x30], rax
lea rdx, [rsp + 0x30]
movabs rax, 0xa00a62a942b20165
mov qword [rbp + 0x58], rcx
mov qword [rbp - 8], rax
mov qword [rbp + 0x18], rax
movabs rax, 0xb73af3b56510b295
mov qword [rbp + 0x50], rax
movabs rax, 0xefcde99d626e3d71
mov qword [rbp + 0x70], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x38], rax
vmovups xmm0, xmmword [rsp + 0x30]
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x98], rcx
movabs rcx, 0xbda1aabb6a52704
vmovdqa xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], 1
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x10], r14
mov qword [rbp], 4
mov qword [rbp + 8], 4
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x20], 4
mov qword [rbp + 0x28], 8
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x40], 4
mov qword [rbp + 0x48], 0xc
mov qword [rbp + 0x60], 4
mov qword [rbp + 0x68], 0x10
mov qword [rbp + 0x80], 4
mov qword [rbp + 0x88], 0x14
mov qword [rbp + 0x90], r15
mov qword [rbp + 0xa0], 4
mov qword [rbp + 0xa8], 0x18
call fcn.18006afe0
mov rcx, rbx
call fcn.18006b120
mov r13, qword [rsp + 0x218]
test al, al
je 0x18006a72e
call fcn.18006ab90
mov al, 1
jmp 0x18006a730