Function at 0x180056730
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 [0x18017b040]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rbx, rcx
lea rcx, [0x18017d510]
call fcn.180053390
test al, al
je 0x180056c08
movabs rax, 0x26ef45d7e8a62726
movabs rdi, 0x1edf16f0e9ca39a8
mov qword [rsp + 0x30], rax
movabs r14, 0x269b45a3e8c32755
mov rax, qword [rsp + 0x30]
movabs r15, 0xf94f3fb2099d9a46
mov qword [rbp + 0xb0], rax
movabs r12, 0xdeb9bec1fb4b42a7
movabs rax, 0xf93c3fd509f39a2f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb8], rax
movabs rax, 0xdeb9bec1fb4b42fb
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], r14
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 [0x18017d510], 0
movdqa xmm1, xmmword [rbp + 0xb0]
movdqa xmm0, xmmword [rbp + 0xc0]
xorps xmm1, xmmword [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rax, [0x18017d510]
xorps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmmword [rbp + 0xc0], xmm0
je 0x18005688a
nop word [rax + rax]
add rax, 2
cmp word [rax], 0
jne 0x180056880
movq rcx, xmm1
test cx, cx
je 0x1800568b0
lea rdx, [rbp + 0xb0]
sub rdx, rax
nop
mov word [rax], cx
add rax, 2
movzx ecx, word [rax + rdx]
test cx, cx
jne 0x1800568a0
xor esi, esi
lea rcx, [0x18017d510]
xor edx, edx
mov word [rax], si
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180056c35
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180056c35
mov dl, 3
call fcn.180076b10
movabs rax, 0x52bb21c684aa4633
movabs rcx, 0x2b01d9260d561f52
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x9c3b5ed77bfeba29
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0xabded7a795242187
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0x3eac789f80be58da
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs rax, 0x6018669c5c98c94d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
movabs rax, 0xe9bac4ab305efb53
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rax, 0x930106036091b7c8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0xa9efafaed5d4587e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x171b7db6cf27fe73
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x81da304e8019ca0f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0xe86e01f064555c8c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0x29b6173cfc3ca414
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0x1db303d7b8280a98
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], r14
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, 0x127712ff39eaa029
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
movabs rax, 0x9cdba7ce527ed72a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x28], rax
movabs rax, 0xfc21636d0fb1d2bb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
lea rdx, [rsp + 0x40]
movabs rax, 0xc0cfcadcbab9780c
mov r8d, edx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
movabs rax, 0x7e7f18dbbd428a1d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
movabs rax, 0xe4a8592aa07cbe6e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 8], rax
movabs rax, 0xc81d6499163a28ef
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
movabs rax, 0x51d33748db52cb70
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
movabs rax, 0x1db303d7b85c79f1
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]
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmm1, xmmword [rsp + 0x60]
xorps xmm1, xmmword [rbp - 0x30]
movdqa xmm2, xmmword [rsp + 0x40]
xorps xmm2, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm1, xmmword [rbp - 0x80]
xorps xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [rbp - 0x70]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm1, xmmword [rbp - 0x60]
mov qword [rbp + 0x18], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmmword [rsp + 0x40], xmm2
test al, al
je 0x180056beb
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], sil
jne 0x180056be0
mov rcx, qword [0x18017bed8]
sub r8d, edx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor al, al
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1800dbb40
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
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x70], 4
mov qword [rsp + 0x78], 0x14
call fcn.1800574b0
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 r12, 0xa00a62a942b20165
lea rax, [rbp - 0x60]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x38], rax
movabs r15, 0x4c992570c692c3d5
movaps xmm0, xmmword [rsp + 0x30]
movabs r14, 0x889f8b4975721ba3
movabs rcx, 0xf5fed3478eaca554
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x70], 4
mov qword [rsp + 0x78], 8
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], 4
mov qword [rbp - 0x68], rsi
call fcn.1800574b0
movabs rax, 0x889f8b4975721ba3
mov qword [rbp - 0x38], rsi
mov qword [rbp + 0x18], rax
lea rdx, [rsp + 0x30]
lea rax, [rbp - 0x50]
mov qword [rbp - 8], r14
mov qword [rsp + 0x30], rax
movabs rdi, 0x651373fb0724d9ee
lea rax, [rbp + 0x30]
mov qword [rbp - 0x50], rdi
mov qword [rsp + 0x38], rax
movabs rsi, 0x7d985b747f5b7f27
movaps xmm0, xmmword [rsp + 0x30]
movabs r14, 0x475983f77bbe9181
movabs rcx, 0x86bbe13ae4189ac0
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], 4
mov qword [rbp - 0x10], r15
mov qword [rbp], 4
mov qword [rbp + 8], 8
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x20], 4
mov qword [rbp + 0x28], 0xc
call fcn.1800574b0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], 1
movabs rax, 0xd37f4d820606d133
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x10], rax
lea rdx, [rsp + 0x30]
movabs rax, 0x889f8b4975721ba3
mov qword [rbp - 0x30], rsi
mov qword [rbp + 0x18], rax
movabs rcx, 0xe7d21d4cab389ee8
mov qword [rbp + 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], 4
mov qword [rbp - 8], 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
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x40], 4
mov qword [rbp + 0x48], 0x10
call fcn.1800574b0
movabs rcx, 0x889f8b4975721ba3
mov qword [rbp - 0x50], rdi
movabs rax, 0xbb6893c6a37c5ac5
mov qword [rbp + 0x38], rcx
mov qword [rbp - 0x30], rax
lea rdx, [rsp + 0x30]
movabs rax, 0x78da431489bbb8e
mov qword [rbp + 0x58], rcx
mov qword [rbp - 0x10], 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
movaps xmm0, xmmword [rsp + 0x30]
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x98], rcx
movabs rcx, 0xbda1aabb6a52704
movdqa 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 - 8], r13
mov qword [rbp], 1
mov qword [rbp + 8], 2
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], 4
mov qword [rbp + 0x28], 4
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x40], 4
mov qword [rbp + 0x48], 8
mov qword [rbp + 0x60], 4
mov qword [rbp + 0x68], 0xc
mov qword [rbp + 0x80], 4
mov qword [rbp + 0x88], 0x10
mov qword [rbp + 0x90], r14
mov qword [rbp + 0xa0], 4
mov qword [rbp + 0xa8], 0x14
call fcn.1800574b0
mov rcx, rbx
call fcn.1800575e0
mov r13, qword [rsp + 0x218]
test al, al
je 0x180056c08
call fcn.180057060
mov al, 1
jmp 0x180056c0a