Function at 0x180050c10
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 - 0x150]
sub rsp, 0x250
mov rax, qword [0x180176040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rbx, rcx
lea rcx, [0x1801784f0]
call fcn.18004cd20
test al, al
je 0x1800510e7
movabs rax, 0xfc2dc0f74c7f4b66
movabs rdi, 0xaecc6310b9028e98
mov qword [rsp + 0x30], rax
movabs r14, 0xfc59c0834c1a4b15
mov rax, qword [rsp + 0x30]
movabs r15, 0xb28adc82b856c7ae
mov qword [rbp + 0x100], rax
movabs r12, 0xf4ac1a7935ec55f7
movabs rax, 0xb2f9dce5b838c7c7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x108], rax
movabs rax, 0xf4ac1a7935ec55ab
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x110], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x118], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x120], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x128], rax
movdqa xmm1, xmmword [rbp + 0x120]
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x130], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
cmp word [0x1801784f0], 0
movdqa xmm0, xmmword [rbp + 0x110]
xorps xmm1, xmmword [rbp + 0x100]
mov qword [rbp + 0x138], rax
lea rax, [0x1801784f0]
xorps xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmmword [rbp + 0x100], xmm1
je 0x180050d70
add rax, 2
cmp word [rax], 0
jne 0x180050d66
movq rcx, xmm1
test cx, cx
je 0x180050da0
lea rdx, [rbp + 0x100]
sub rdx, rax
nop dword [rax]
nop dword [rax + rax]
mov word [rax], cx
add rax, 2
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x180050d90
xor esi, esi
lea rcx, [0x1801784f0]
xor edx, edx
mov word [rax], si
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180051114
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180051114
mov dl, 3
call fcn.180071f90
movabs rax, 0x8879a4e620732a73
movabs rcx, 0xe887f29ebe1d473a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0xd7febde7ca35e7c1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0x81cb731f5b8336d7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0x8ebf0d7fd076efea
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0x2ba6b1841d058bbd
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0x21831fb3eac44acb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
movabs rax, 0x8c047ad327c8b368
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
movabs rax, 0x7453b846b5136d8e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0x98ba3a64d317ed3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
movabs rax, 0xae169eae4b6a9eb7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x28], rax
movabs rax, 0x37737b6812d2875c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
movabs rax, 0xb55f72acf00e76a4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
movabs rax, 0x4de102f1b4e7b48
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rbp - 8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x18], rax
movabs rax, 0x59c9c5e77877e2d9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x20], rax
movabs rax, 0x54e27cd688e466b2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
movabs rax, 0xe3241fbd48e8d61b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
lea rdx, [rbp - 0x70]
movabs rax, 0x1d73dd34da7e4dfc
mov r8d, edx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0x60efc6cb3f540abd
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
movabs rax, 0xcb64f7ca6b0fead6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movabs rax, 0x17001e0160bdf33f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0xcd3a52d8d76019c0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0x4de102f1b3a0821
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x70]
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp - 0x60]
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmm1, xmmword [rbp - 0x50]
xorps xmm1, xmmword [rbp + 0x20]
movdqa xmm2, xmmword [rbp]
xorps xmm2, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm0, xmmword [rbp - 0x40]
xorps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm1, xmmword [rbp - 0x30]
xorps xmm1, xmmword [rbp + 0x40]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm1, xmmword [rbp - 0x10]
mov qword [rbp + 0x68], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmmword [rbp - 0x70], xmm2
test al, al
je 0x1800510cb
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], sil
jne 0x1800510c0
mov rcx, qword [0x180176ed8]
sub r8d, edx
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor al, al
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1800d6ea0
lea r11, [rsp + 0x250]
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 + 0x288], r13
mov qword [rbp - 0x70], rax
lea rdx, [rsp + 0x40]
movabs rax, 0xbaaedcff023465cb
mov qword [rbp - 0x60], 4
mov qword [rbp - 0x68], rax
movabs rcx, 0x2d45705400b911e0
movabs rax, 0xa3a79a6c3023d22e
mov qword [rbp - 0x58], 0x10
mov qword [rbp - 0x50], rax
movabs rax, 0x2b9fff192bd4c83e
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x40], 4
mov qword [rbp - 0x38], 0x14
call fcn.180051950
movabs rax, 0x347e4e7067538409
mov qword [rbp - 0x60], 1
mov qword [rbp - 0x70], rax
lea rdx, [rsp + 0x50]
movabs rax, 0xb3a78539b1d3ade
mov qword [rbp - 0x58], 4
mov qword [rbp - 0x50], rax
movabs r13, 0xcd2fd49bc6b014bd
lea rax, [rbp - 0x70]
mov qword [rbp - 0x68], r13
mov qword [rsp + 0x50], rax
movabs r12, 0xa00a62a942b20165
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], r12
movabs r15, 0x4c992570c692c3d5
mov qword [rsp + 0x58], rax
movabs r14, 0x889f8b4975721ba3
mov qword [rbp - 0x40], 4
movabs rcx, 0xf5fed3478eaca554
mov qword [rbp - 0x38], 8
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], rsi
call fcn.180051950
movabs rax, 0x889f8b4975721ba3
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x68], rax
lea rdx, [rsp + 0x60]
lea rax, [rbp]
mov qword [rbp + 0x48], r14
mov qword [rsp + 0x60], rax
movabs rdi, 0x651373fb0724d9ee
lea rax, [rbp + 0x80]
mov qword [rbp], rdi
movabs rsi, 0x7d985b747f5b7f27
mov qword [rsp + 0x68], rax
movabs r14, 0x475983f77bbe9181
mov qword [rbp + 8], r13
movabs rcx, 0x86bbe13ae4189ac0
mov qword [rbp + 0x10], 1
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], 4
mov qword [rbp + 0x38], 4
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x50], 4
mov qword [rbp + 0x58], 8
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x70], 4
mov qword [rbp + 0x78], 0xc
call fcn.180051950
movabs rax, 0xd37f4d820606d133
mov qword [rbp], rdi
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 1
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], 4
mov qword [rbp + 0x38], 4
mov qword [rbp + 0x40], rax
lea rdx, [rsp + 0x70]
movabs rax, 0x889f8b4975721ba3
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x68], rax
movabs rcx, 0xe7d21d4cab389ee8
mov qword [rbp + 0x88], rax
lea rax, [rbp]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x78], rax
mov qword [rbp + 0x50], 4
mov qword [rbp + 0x58], 8
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x70], 4
mov qword [rbp + 0x78], 0xc
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x90], 4
mov qword [rbp + 0x98], 0x10
call fcn.180051950
movabs rcx, 0x889f8b4975721ba3
mov qword [rbp], rdi
movabs rax, 0xbb6893c6a37c5ac5
mov qword [rbp + 0x88], rcx
mov qword [rbp + 0x20], rax
lea rdx, [rbp - 0x80]
movabs rax, 0x78da431489bbb8e
mov qword [rbp + 0xa8], rcx
mov qword [rbp + 0x40], rax
movabs rax, 0xb73af3b56510b295
mov qword [rbp + 0xa0], rax
movabs rax, 0xefcde99d626e3d71
mov qword [rbp + 0xc0], rax
lea rax, [rbp]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x100]
mov qword [rbp + 0xc8], rcx
mov qword [rbp + 0xe8], rcx
movabs rcx, 0xbda1aabb6a52704
mov qword [rbp - 0x78], rax
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 1
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], 1
mov qword [rbp + 0x38], 1
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], 1
mov qword [rbp + 0x58], 2
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 4
mov qword [rbp + 0x78], 4
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x90], 4
mov qword [rbp + 0x98], 8
mov qword [rbp + 0xb0], 4
mov qword [rbp + 0xb8], 0xc
mov qword [rbp + 0xd0], 4
mov qword [rbp + 0xd8], 0x10
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xf0], 4
mov qword [rbp + 0xf8], 0x14
call fcn.180051950
mov rcx, rbx
call fcn.180051a80
mov r13, qword [rsp + 0x288]
test al, al
je 0x1800510e7
call fcn.180051520
mov al, 1
jmp 0x1800510e9