Function at 0x180047b04
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create directory
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
xor r12d, r12d
mov rdi, rcx
cmp qword [rcx + 0x58], r12
ja 0x180047b3b
cmp qword [rcx + 0x98], r12
jbe 0x18004802d
lea rcx, [0x18010ef10]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180047b5b
xor edx, edx
lea rcx, [0x18010ef10]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rdi + 0x148]
lea rdx, [0x1800c4760]
call qword [sym.imp.msvcrt.dll__wfopen]
mov r14, rax
test rax, rax
je 0x18004802d
cmp qword [rdi + 0x58], r12
jbe 0x180047d98
mov dword [rbp - 0x6d], 0x17
xor eax, eax
mov byte [rbp - 0x64], al
mov rdx, r12
mov byte [rbp - 0x69], 0x44
mov byte [rbp - 0x68], 0x43
mov byte [rbp - 0x67], 0x56
mov byte [rbp - 0x66], 0x43
mov byte [rbp - 0x65], 0x44
mov al, byte [rbp - 0x69]
mov dword [rbp - 0x79], 0x12
mov eax, dword [rbp - 0x79]
xor al, 0x5b
mov byte [rbp - 0x75], al
mov eax, dword [rbp - 0x79]
inc al
xor al, 0x25
mov byte [rbp - 0x74], al
mov eax, dword [rbp - 0x79]
add al, 2
xor al, 0x73
mov byte [rbp - 0x73], al
mov eax, dword [rbp - 0x79]
add al, 3
xor al, 0x5d
mov byte [rbp - 0x72], al
mov eax, dword [rbp - 0x79]
add al, 4
xor al, 0xa
mov byte [rbp - 0x71], al
xor eax, eax
mov byte [rbp - 0x70], al
mov al, byte [rbp - 0x75]
mov al, byte [rbp + rdx - 0x75]
mov ecx, dword [rbp - 0x79]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x75], cl
inc rdx
cmp rdx, 5
jb 0x180047bea
mov byte [rbp - 0x70], r12b
mov rdx, r12
mov al, byte [rbp + rdx - 0x69]
mov ecx, dword [rbp - 0x6d]
xor cl, al
mov byte [rbp + rdx - 0x69], cl
inc rdx
cmp rdx, 5
jb 0x180047c09
lea r8, [rbp - 0x69]
mov byte [rbp - 0x64], r12b
lea rdx, [rbp - 0x75]
mov rcx, r14
call fcn.180016ab0
mov r15, qword [rdi + 0x50]
mov rbx, qword [r15]
cmp rbx, r15
je 0x180047d8b
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
xorps xmm0, xmm0
mov qword [rbp - 9], r12
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 1], r12
jb 0x180047c61
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 0x19]
call fcn.18000a394
movss xmm0, dword [rbx + 0x30]
mov rdx, r12
movss dword [rbp + 7], xmm0
mov dword [rsp + 0x30], 0x50
mov eax, dword [rsp + 0x30]
xor al, 0x22
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
inc al
xor al, 0x25
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, 0x73
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x22
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x20
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x30]
add al, 5
xor al, 0x3d
mov byte [rbp - 0x80], al
mov eax, dword [rsp + 0x30]
add al, 6
xor al, 0x20
mov byte [rbp - 0x7f], al
mov eax, dword [rsp + 0x30]
add al, 7
xor al, 0x25
mov byte [rbp - 0x7e], al
mov eax, dword [rsp + 0x30]
add al, 8
xor al, 0x66
mov byte [rbp - 0x7d], al
mov eax, dword [rsp + 0x30]
add al, 9
xor al, 0xa
mov byte [rbp - 0x7c], al
xor eax, eax
mov byte [rbp - 0x7b], al
mov al, byte [rsp + 0x34]
mov al, byte [rsp + rdx + 0x34]
mov ecx, dword [rsp + 0x30]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x34], cl
inc rdx
cmp rdx, 0xa
jb 0x180047cfd
movss xmm3, dword [rbp + 7]
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
lea rdx, [rsp + 0x34]
cvtps2pd xmm3, xmm3
cmovae r8, qword [rbp - 0x19]
mov rcx, r14
mov byte [rbp - 0x7b], r12b
movq r9, xmm3
call fcn.180016ab0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x180047d7d
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180047d78
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004804f
call fcn.18009087c
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r15
jmp 0x180047c3d
mov rdx, r14
mov ecx, 0xa
call fcn.18009dd80
cmp qword [rdi + 0x98], r12
jbe 0x180048024
mov dword [rbp - 0x2d], 0x7e
xor eax, eax
mov byte [rbp - 0x29], 0x3f
mov rdx, r12
mov byte [rbp - 0x28], 0x3d
mov byte [rbp - 0x27], 0x36
mov byte [rbp - 0x26], 0x37
mov byte [rbp - 0x25], 0x3b
mov byte [rbp - 0x24], 0x28
mov byte [rbp - 0x23], 0x3b
mov byte [rbp - 0x22], 0x33
mov byte [rbp - 0x21], 0x3b
mov byte [rbp - 0x20], 0x30
mov byte [rbp - 0x1f], 0x2a
mov byte [rbp - 0x1e], 0x2d
mov byte [rbp - 0x1d], al
mov al, byte [rbp - 0x29]
mov al, byte [rbp + rdx - 0x29]
mov ecx, dword [rbp - 0x2d]
xor cl, al
mov byte [rbp + rdx - 0x29], cl
inc rdx
cmp rdx, 0xc
jb 0x180047de7
mov byte [rbp - 0x1d], r12b
mov rcx, r12
mov byte [rbp + 0x6f], 0x64
mov byte [rbp + 0x70], 0x2e
mov byte [rbp + 0x71], 0x7c
mov byte [rbp + 0x72], 0x66
mov byte [rbp + 0x73], 0x13
mov byte [rbp + 0x74], r12b
mov al, byte [rbp + 0x6f]
mov al, byte [rbp + rcx + 0x6f]
sub al, 9
mov byte [rbp + rcx + 0x6f], al
inc rcx
cmp rcx, 5
jb 0x180047e1f
lea r8, [rbp - 0x29]
mov rcx, r14
lea rdx, [rbp + 0x6f]
call fcn.180016ab0
mov rdi, qword [rdi + 0x90]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x180048017
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 0x1f], r12
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x27], r12
jb 0x180047e73
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp + 0xf]
call fcn.18000a394
mov rax, qword [rbx + 0x30]
mov qword [rbp + 0x2f], rax
test al, al
je 0x180047ebf
mov byte [rbp + 0x67], 0x81
mov rcx, r12
mov byte [rbp + 0x68], 0x7f
mov byte [rbp + 0x69], 0x82
mov byte [rbp + 0x6a], WSACleanup
mov byte [rbp + 0x6b], r12b
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rcx + 0x67]
sub al, 0xd
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 4
jb 0x180047ea6
lea r9, [rbp + 0x67]
jmp 0x180047f03
mov dword [rbp - 0x61], 0x20
xor eax, eax
mov byte [rbp - 0x5d], 0x46
mov rdx, r12
mov byte [rbp - 0x5c], 0x41
mov byte [rbp - 0x5b], 0x4c
mov byte [rbp - 0x5a], 0x53
mov byte [rbp - 0x59], 0x45
mov byte [rbp - 0x58], al
mov al, byte [rbp - 0x5d]
mov al, byte [rbp + rdx - 0x5d]
mov ecx, dword [rbp - 0x61]
xor cl, al
mov byte [rbp + rdx - 0x5d], cl
inc rdx
cmp rdx, 5
jb 0x180047ee5
mov byte [rbp - 0x58], r12b
lea r9, [rbp - 0x5d]
mov dword [rbp - 0x55], 0x4a
xor eax, eax
mov byte [rbp - 0x51], 0x68
mov rdx, r12
mov byte [rbp - 0x50], WSASetLastError
mov byte [rbp - 0x4f], 0x39
mov byte [rbp - 0x4e], 0x68
mov byte [rbp - 0x4d], 0x6a
mov byte [rbp - 0x4c], 0x77
mov byte [rbp - 0x4b], 0x6a
mov byte [rbp - 0x4a], 0x31
mov byte [rbp - 0x49], 0x3f
mov byte [rbp - 0x48], 0x24
mov byte [rbp - 0x47], 0x26
mov byte [rbp - 0x46], 0x25
mov byte [rbp - 0x45], 0x29
mov byte [rbp - 0x44], 0x21
mov byte [rbp - 0x43], 0x2f
mov byte [rbp - 0x42], 0x2e
mov byte [rbp - 0x41], 0x6a
mov byte [rbp - 0x40], 0x77
mov byte [rbp - 0x3f], 0x6a
mov byte [rbp - 0x3e], WSASetLastError
mov byte [rbp - 0x3d], 0x39
mov byte [rbp - 0x3c], 0x66
mov byte [rbp - 0x3b], 0x6a
mov byte [rbp - 0x3a], 0x3e
mov byte [rbp - 0x39], 0x23
mov byte [rbp - 0x38], 0x27
mov byte [rbp - 0x37], 0x2f
mov byte [rbp - 0x36], 0x6a
mov byte [rbp - 0x35], 0x77
mov byte [rbp - 0x34], 0x6a
mov byte [rbp - 0x33], WSASetLastError
mov byte [rbp - 0x32], 0x2e
mov byte [rbp - 0x31], 0x37
mov byte [rbp - 0x30], 0x40
mov byte [rbp - 0x2f], al
mov al, byte [rbp - 0x51]
mov al, byte [rbp + rdx - 0x51]
mov ecx, dword [rbp - 0x55]
xor cl, al
mov byte [rbp + rdx - 0x51], cl
inc rdx
cmp rdx, 0x22
jb 0x180047f9d
cmp qword [rbp + 0x27], 0x10
lea r8, [rbp + 0xf]
mov eax, dword [rbp + 0x33]
lea rdx, [rbp - 0x51]
cmovae r8, qword [rbp + 0xf]
mov rcx, r14
mov byte [rbp - 0x2f], r12b
mov dword [rsp + 0x20], eax
call fcn.180016ab0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x18004800f
mov rcx, qword [rbp + 0xf]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004800a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180048049
call fcn.18009087c
mov rbx, qword [rbx]
jmp 0x180047e4c
mov rdx, r14
mov ecx, 0xa
call fcn.18009dd80
mov rcx, r14
call qword [sym.imp.msvcrt.dll_fclose]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.180094aa0
int3
call fcn.180094aa0
int3