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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1801a7040]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rcx
lea rcx, [0x1801d0d00]
call fcn.180055880
test al, al
je 0x180059cca
movabs rax, 0x38f2d3802c057ef4
movabs rdi, 0xcce9c8237d015ba6
mov qword [rsp + 0x30], rax
movabs rsi, 0x3886d3f42c607e87
mov rax, qword [rsp + 0x30]
movabs r14, 0x2254ea8ddf8d494c
mov qword [rbp + 0x120], rax
movabs r15, 0x69b14a9226940a51
movabs rax, 0x2227eaeadfe34925
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x128], rax
movabs rax, 0x69b14a9226940a0d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x130], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x138], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x140], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x148], rax
movdqa xmm1, xmmword [rbp + 0x140]
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x150], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
cmp word [0x1801d0d00], 0
movdqa xmm0, xmmword [rbp + 0x130]
xorps xmm1, xmmword [rbp + 0x120]
mov qword [rbp + 0x158], rax
lea rax, [0x1801d0d00]
xorps xmm0, xmmword [rbp + 0x150]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmmword [rbp + 0x120], xmm1
je 0x180059950
add rax, 2
cmp word [rax], 0
jne 0x180059946
movq rcx, xmm1
test cx, cx
je 0x180059980
lea rdx, [rbp + 0x120]
sub rdx, rax
nop dword [rax]
nop dword [rax + rax]
mov word [rax], cx
add rax, 2
movzx ecx, word [rax + rdx]
test cx, cx
jne 0x180059970
xor r13d, r13d
lea rcx, [0x1801d0d00]
xor edx, edx
mov word [rax], r13w
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180059cf7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180059cf7
mov dl, 3
call fcn.18008d420
movabs rax, 0x4ca6b79140091fe1
movabs rcx, 0x89e41011ee2196b8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0x47208be8adee6923
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
movabs rax, 0x1cd623f448fb6971
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
movabs rax, 0xec9aa64c14753ad4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0x2b622344ca1bcf
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
movabs rax, 0x287519dcbda3d269
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x28], rax
movabs rax, 0x648c161021ca2be6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
movabs rax, 0xa2b4b83d083041f8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
movabs rax, 0x2ee80a616ccd0961
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
movabs rax, 0x4849de1aeb25855
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 8], rax
movabs rax, 0xbea7e637b402a1a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
movabs rax, 0x5590d42f9b13464a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
movabs rax, 0xa12023f82cd28dda
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 + 0x18], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x20], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0x7244164021b872ab
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
movabs rax, 0x5d147ab9df83fe10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movabs rax, 0xbac737e4eea4e95
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
lea rdx, [rbp - 0x50]
movabs rax, 0xcb94dd4f675d618a
mov r8d, edx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0x478c6f0c1ea87d0f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0x61f6f4858ed72c34
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x68], rax
movabs rax, 0x2b991b0a092f5e79
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x70], rax
movabs rax, 0x2df5f45bbc7d292e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x78], rax
movabs rax, 0xa12023f82ca6feb3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x80], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x50]
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp - 0x40]
xorps xmm0, xmmword [rbp + 0x30]
movdqa xmm1, xmmword [rbp - 0x30]
xorps xmm1, xmmword [rbp + 0x40]
movdqa xmm2, xmmword [rbp - 0x50]
xorps xmm2, xmmword [rbp + 0x20]
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]
xorps xmm1, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmm1, xmmword [rbp + 0x10]
mov qword [rbp + 0x88], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp + 0x80]
movdqa xmmword [rbp], xmm0
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmmword [rbp - 0x50], xmm2
test al, al
je 0x180059cae
inc rcx
mov r8, rcx
cmp byte [rcx], r13b
jne 0x180059ca3
mov rcx, qword [0x1801ceca8]
sub r8d, edx
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], r13
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor al, al
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1800f39f0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
movabs rax, 0x60c77fe5147990ef
mov qword [rsp + 0x2a8], r12
mov qword [rbp - 0x50], rax
lea rdx, [rsp + 0x40]
movabs rax, 0xbaaedcff023465cb
mov qword [rbp - 0x40], 4
mov qword [rbp - 0x48], rax
movabs rcx, 0x2d45705400b911e0
movabs rax, 0xa3a79a6c3023d22e
mov qword [rbp - 0x38], 0x10
mov qword [rbp - 0x30], rax
movabs rax, 0x2b9fff192bd4c83e
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], 0x14
call fcn.18005a730
movabs rax, 0x347e4e7067538409
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x50], rax
lea rdx, [rsp + 0x50]
movabs rax, 0xb3a78539b1d3ade
mov qword [rbp - 0x38], 4
mov qword [rbp - 0x30], rax
movabs r15, 0xcd2fd49bc6b014bd
lea rax, [rbp - 0x50]
mov qword [rbp - 0x48], r15
mov qword [rsp + 0x50], rax
movabs r14, 0xa00a62a942b20165
lea rax, [rbp + 0x10]
mov qword [rbp - 0x28], r14
movabs rsi, 0x4c992570c692c3d5
mov qword [rsp + 0x58], rax
movabs rdi, 0x889f8b4975721ba3
mov qword [rbp - 0x20], 4
movabs rcx, 0xf5fed3478eaca554
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov qword [rbp], 4
mov qword [rbp + 8], r13
call fcn.18005a730
movabs rax, 0x889f8b4975721ba3
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x88], rax
lea rdx, [rsp + 0x60]
lea rax, [rbp + 0x20]
mov qword [rbp + 0x68], rdi
mov qword [rsp + 0x60], rax
movabs r12, 0x651373fb0724d9ee
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x20], r12
movabs r13, 0x7d985b747f5b7f27
mov qword [rsp + 0x68], rax
movabs rdi, 0x475983f77bbe9181
mov qword [rbp + 0x28], r15
movabs rcx, 0x86bbe13ae4189ac0
mov qword [rbp + 0x30], 1
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], 4
mov qword [rbp + 0x58], 4
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x70], 4
mov qword [rbp + 0x78], 8
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x90], 4
mov qword [rbp + 0x98], 0xc
call fcn.18005a730
movabs rax, 0xd37f4d820606d133
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 1
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], 4
mov qword [rbp + 0x58], 4
mov qword [rbp + 0x60], rax
lea rdx, [rsp + 0x70]
movabs rax, 0x889f8b4975721ba3
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x88], rax
movabs rcx, 0xe7d21d4cab389ee8
mov qword [rbp + 0xa8], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x78], rax
mov qword [rbp + 0x70], 4
mov qword [rbp + 0x78], 8
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x90], 4
mov qword [rbp + 0x98], 0xc
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xb0], 4
mov qword [rbp + 0xb8], 0x10
call fcn.18005a730
movabs rcx, 0x889f8b4975721ba3
mov qword [rbp + 0x28], r15
movabs rax, 0xcd2fd49bc6b014bd
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0x48], rax
lea rdx, [rbp - 0x80]
mov qword [rbp + 0x68], rax
movabs r15, 0xbb6893c6a37c5ac5
movabs rax, 0xa00a62a942b20165
mov qword [rbp + 0xa8], rcx
mov qword [rbp + 0x88], rax
movabs r14, 0x78da431489bbb8e
movabs rax, 0x475983f77bbe9181
mov qword [rbp + 0xc8], rcx
mov qword [rbp + 0x100], rax
movabs rsi, 0xb73af3b56510b295
lea rax, [rbp + 0x20]
mov qword [rbp + 0xe8], rcx
mov qword [rbp - 0x80], rax
movabs rdi, 0xefcde99d626e3d71
lea rax, [rbp + 0x120]
mov qword [rbp + 0x108], rcx
movabs rcx, 0xbda1aabb6a52704
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x30], 1
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x50], 1
mov qword [rbp + 0x58], 1
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x70], 1
mov qword [rbp + 0x78], 2
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x90], 4
mov qword [rbp + 0x98], 4
mov qword [rbp + 0xb0], 4
mov qword [rbp + 0xb8], 8
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xd0], 4
mov qword [rbp + 0xd8], 0xc
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xf0], 4
mov qword [rbp + 0xf8], 0x10
mov qword [rbp + 0x110], 4
mov qword [rbp + 0x118], 0x14
call fcn.18005a730
movabs rax, 0xcd2fd49bc6b014bd
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], rax
movabs rax, 0xa00a62a942b20165
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], 8
lea rdx, [rbp - 0x70]
movabs rcx, 0xe316f3f7b47cd50f
call fcn.18005a730
movabs rcx, 0x889f8b4975721ba3
mov qword [rbp + 0x20], r12
movabs rax, 0xcd2fd49bc6b014bd
mov qword [rbp + 0xa8], rcx
mov qword [rbp + 0x28], rax
lea rdx, [rbp - 0x60]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x68], rax
movabs rax, 0xa00a62a942b20165
mov qword [rbp + 0x88], rax
movabs rax, 0x4c992570c692c3d5
mov qword [rbp + 0xa0], rax
movabs rax, 0x475983f77bbe9181
mov qword [rbp + 0x100], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x120]
mov qword [rbp + 0xc8], rcx
mov qword [rbp + 0xe8], rcx
mov qword [rbp + 0x108], rcx
movabs rcx, 0x645051f9a9d5800d
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x30], 1
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x50], 1
mov qword [rbp + 0x58], 1
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x70], 1
mov qword [rbp + 0x78], 2
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x90], 4
mov qword [rbp + 0x98], 4
mov qword [rbp + 0xb0], 4
mov qword [rbp + 0xb8], 8
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xd0], 4
mov qword [rbp + 0xd8], 0xc
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xf0], 4
mov qword [rbp + 0xf8], 0x10
mov qword [rbp + 0x110], 4
mov qword [rbp + 0x118], 0x14
call fcn.18005a730
mov rcx, rbx
call fcn.18005a860
mov r12, qword [rsp + 0x2a8]
test al, al
je 0x180059cca
call fcn.18005a300
mov al, 1
jmp 0x180059ccc