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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [rcx + 8]
mov rdi, r8
mov r14, rdx
mov r15, rcx
cmp rax, qword [rcx]
jne 0x140037a2a
mov eax, 2
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
movdqa xmm0, xmmword [0x140067d90]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x140], r12
xor r12d, r12d
mov word [rbp - 0x71], r12w
movdqu xmmword [rbp - 0x61], xmm0
nop
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140037a50
lea rcx, [rbp - 0x71]
call fcn.14002a200
lea r8, str..meta
lea rdx, [rbp - 0x71]
lea rcx, [rbp + 7]
call fcn.14001ac50
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x140037ab7
mov rcx, qword [rbp - 0x71]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037ab2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037df0
call fcn.14003f61c
mov rdx, r14
lea rcx, [rbp - 0x71]
call fcn.14001d120
cmp qword [rax + 0x18], 8
jb 0x140037acd
mov rax, qword [rax]
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x140037b1b
mov rcx, qword [rbp - 0x71]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037b16
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037df6
call fcn.14003f61c
mov qword [rsp + 0x30], r12
mov esi, 2
mov dword [rsp + 0x28], 0x80000080
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov edx, 0x40000000
mov qword [rsp + 0x138], rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x140037b78
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140037ba5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 6
jmp 0x140037d93
mov rdx, qword [r15]
lea r9, [rbp + 0x67]
mov r8, qword [r15 + 8]
mov rcx, rbx
sub r8, rdx
mov dword [rbp + 0x67], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140037baf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 6
jmp 0x140037d93
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], r12
xor edx, edx
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x40]
mov qword [rbp - 0x79], r12
call fcn.14002eed0
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14001f7a0
test al, al
je 0x140037d17
mov r14, qword [rsp + 0x48]
lea r8, [rsp + 0x40]
sub r14, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
lea rbx, [r14 + 3]
and rbx, 0xfffffffffffffffc
lea rdx, [rbx + 0x20]
call fcn.14002eed0
mov rax, qword [rsp + 0x40]
lea r8, [rbp + 0x27]
movups xmm0, xmmword [0x140067e70]
movups xmmword [rax + rbx], xmm0
movups xmm1, xmmword [0x140067e80]
movups xmmword [rax + rbx + 0x10], xmm1
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
sub rdx, rcx
call fcn.1400117c0
test al, al
je 0x140037d17
lea r8, [rsp + 0x40]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.14002eed0
cmp qword [rbp + 0x1f], 8
lea rcx, [rbp + 7]
movups xmm0, xmmword [rbp + 0x27]
cmovae rcx, qword [rbp + 7]
lea r8, [rbp - 0x2d]
xor eax, eax
mov qword [rbp - 0x49], rax
sub r8, rdi
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov byte [rbp - 9], al
mov eax, 0x202
mov word [rbp - 0x41], ax
mov dword [rbp - 0x49], 0x4d524355
mov dword [rbp - 0x45], 0x41
movups xmmword [rbp - 0x3d], xmm0
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rdi + r8], al
lea rdi, [rdi + 1]
test al, al
jne 0x140037cc0
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0x80000080
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x140037d4f
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140037d12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 6
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140037d93
mov rdx, qword [rbp - 0x79]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140037d81
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037dfc
jmp 0x140037d81
lea r9, [rbp + 0x67]
mov dword [rbp + 0x67], r12d
mov r8d, 0x41
mov qword [rsp + 0x20], r12
lea rdx, [rbp - 0x49]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140037d09
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, r12d
jmp 0x140037d17
call fcn.14003f61c
xorps xmm0, xmm0
mov qword [rbp - 0x79], r12
movdqu xmmword [rsp + 0x40], xmm0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140037dcf
mov rcx, qword [rbp + 7]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037dca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037e02
call fcn.14003f61c
mov rbx, qword [rsp + 0x138]
mov eax, esi
mov r12, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14004a3a0
int3
call fcn.14004a3a0
int3
call fcn.14004a3a0
int3
call fcn.14004a3a0
int3