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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x180195040]
xor rax, rsp
mov qword [rbp + 0xd0], rax
movabs rax, 0x3de14dd40350579c
movabs rbx, 0xd7e14f6740ca1b56
mov qword [rsp + 0x30], rax
movabs rsi, 0x3d954da0033557ef
mov rax, qword [rsp + 0x30]
movabs r14, 0xc35fa6211be4c2ac
mov qword [rbp + 0xb0], rax
movabs r15, 0xb1cca1f6a4657e31
movabs rax, 0xc32ca6461b8ac2c5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb8], rax
movabs rax, 0xb1cca1f6a4657e6d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xc0], rax
mov qword [rsp + 0x30], rbx
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], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
cmp word [0x180197570], 0
movdqa xmm1, xmmword [rbp + 0xb0]
movdqa xmm0, xmmword [rbp + 0xc0]
xorps xmm1, xmmword [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rax, [0x180197570]
xorps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmmword [rbp + 0xc0], xmm0
je 0x18005ee0a
nop dword [rax]
add rax, 2
cmp word [rax], 0
jne 0x18005ee00
movq rdx, xmm1
test dx, dx
je 0x18005ee31
lea r8, [rbp + 0xb0]
sub r8, rax
nop
mov word [rax], dx
add rax, 2
movzx edx, word [r8 + rax]
test dx, dx
jne 0x18005ee20
xor edi, edi
lea rcx, [0x180197570]
xor edx, edx
mov word [rax], di
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18005f18f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x18005f18f
mov dl, 3
call fcn.18008b850
movabs rax, 0x49b529c56f5c3689
movabs rcx, 0x2b4dbc8d4c3ccef8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0xa62bc7446987e2c3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0xc4abc890ca0a1d11
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0xf792210829be7a24
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs rax, 0xb8babb8749606f67
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
movabs rax, 0xa173d110ae338549
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rax, 0x72612ba43886d006
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0xead1278905673a28
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0xebe8fbd5121ea6d9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0xb00f211d5e39df95
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0xf45d1c07696f38ba
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0x418ae90b9e5e8f1a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0xdc4edbce3e0dd22
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], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0xcad5cfe42c120603
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
movabs rax, 0xd412b275cc13a930
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x28], rax
movabs rax, 0x1d414eca57a6b575
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
lea rdx, [rsp + 0x40]
movabs rax, 0x83f142fb6a0a1a5a
mov r8d, edx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
movabs rax, 0x828c9eb8607bd2b7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
movabs rax, 0xd57d48797e5cabf4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 8], rax
movabs rax, 0xd42e796e1b004cd9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
movabs rax, 0x39efc97fb930e07e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
movabs rax, 0xdc4edbce394ae4b
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 0x18005f16b
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], dil
jne 0x18005f160
sub r8d, edx
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor al, al
jmp 0x18005f58e
movabs rax, 0x60c77fe5147990ef
mov qword [rsp + 0x210], r12
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x30]
movabs rax, 0xbaaedcff023465cb
mov qword [rsp + 0x218], r13
mov qword [rsp + 0x48], rax
movabs rcx, 0x2d45705400b911e0
movabs rax, 0xa3a79a6c3023d22e
mov qword [rsp + 0x50], 4
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 + 0x58], 0x10
mov qword [rsp + 0x70], 4
mov qword [rsp + 0x78], 0x14
call fcn.18005f9f0
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 r12, 0xcd2fd49bc6b014bd
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x30], rax
movabs r15, 0xa00a62a942b20165
lea rax, [rbp - 0x60]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x38], rax
movabs r14, 0x4c992570c692c3d5
movaps xmm0, xmmword [rsp + 0x30]
movabs r13, 0x889f8b4975721ba3
movabs rcx, 0xf5fed3478eaca554
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x70], 4
mov qword [rsp + 0x78], 8
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 4
mov qword [rbp - 0x68], rdi
call fcn.18005f9f0
lea rax, [rbp - 0x50]
mov qword [rbp - 0x38], rdi
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rax, [rbp + 0x30]
mov qword [rbp - 0x48], r12
mov qword [rsp + 0x38], rax
movabs rbx, 0x651373fb0724d9ee
movaps xmm0, xmmword [rsp + 0x30]
movabs rdi, 0x7d985b747f5b7f27
movabs rsi, 0x475983f77bbe9181
movdqa xmmword [rsp + 0x30], xmm0
movabs rcx, 0x86bbe13ae4189ac0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], 4
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r13
mov qword [rbp], 4
mov qword [rbp + 8], 9
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x20], 4
mov qword [rbp + 0x28], 0xd
call fcn.18005f9f0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 1
movabs rax, 0xd37f4d820606d133
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x10], rax
lea rdx, [rsp + 0x30]
lea rax, [rbp - 0x50]
mov qword [rbp - 0x30], rdi
mov qword [rsp + 0x30], rax
movabs rcx, 0xe7d21d4cab389ee8
lea rax, [rbp + 0x50]
mov qword [rbp - 0x28], r15
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], 4
mov qword [rbp - 8], r15
mov qword [rbp], 4
mov qword [rbp + 8], 8
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x20], 4
mov qword [rbp + 0x28], 0xc
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x40], 4
mov qword [rbp + 0x48], 0x10
call fcn.18005f9f0
movabs rax, 0xbb6893c6a37c5ac5
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x30], rax
lea rdx, [rsp + 0x30]
movabs rax, 0x78da431489bbb8e
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x10], rax
movabs rcx, 0xbda1aabb6a52704
movabs rax, 0xb73af3b56510b295
mov qword [rbp - 0x40], 1
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]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 1
mov qword [rbp - 0x18], 1
mov qword [rbp - 8], r12
mov qword [rbp], 1
mov qword [rbp + 8], 2
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 4
mov qword [rbp + 0x28], 4
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x40], 4
mov qword [rbp + 0x48], 8
mov qword [rbp + 0x58], r13
mov qword [rbp + 0x60], 4
mov qword [rbp + 0x68], 0xc
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x80], 4
mov qword [rbp + 0x88], 0x10
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], 4
mov qword [rbp + 0xa8], 0x14
call fcn.18005f9f0
call fcn.18005f5c0
mov r13, qword [rsp + 0x218]
mov al, 1
mov r12, qword [rsp + 0x210]
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1800f1520
mov rbx, qword [rsp + 0x220]
add rsp, 0x1e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret