Function at 0x1800505f0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create directory

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, 0x90
xor r12d, r12d
mov rsi, rcx
cmp qword [rcx + 0x58], r12
ja 0x180050627
cmp qword [rcx + 0x98], r12
jbe 0x180050a49
lea rcx, [0x1801a0fd0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180050647
xor edx, edx
lea rcx, [0x1801a0fd0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsi + 0x148]
lea rdx, [0x1800c50a4]
call qword [sym.imp.msvcrt.dll__wfopen]
mov r15, rax
test rax, rax
je 0x180050a49
cmp qword [rsi + 0x58], r12
jbe 0x1800507e4
mov byte [rbp + 0x67], 0x55
mov rcx, r12
mov byte [rbp + 0x68], 0x56
mov byte [rbp + 0x69], 0x43
mov byte [rbp + 0x6a], 0x56
mov byte [rbp + 0x6b], 0x55
mov byte [rbp + 0x6c], r12b
mov al, byte [rbp + 0x67]
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 0x1800506aa
mov rcx, r12
mov al, byte [rbp + rcx + 0x67]
sub al, 2
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 5
jb 0x1800506c0
lea r8, [rbp + 0x67]
mov rcx, r15
lea rdx, [rbp + 0x6f]
call fcn.18001bd78
mov rdi, qword [rsi + 0x50]
mov rbx, qword [rdi]
jmp 0x1800507ce
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
xorps xmm0, xmm0
mov qword [rbp - 9], r12
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 1], r12
jbe 0x18005070d
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 0x19]
call fcn.18000f1d8
movss xmm0, dword [rbx + 0x30]
mov rcx, r12
movss dword [rbp + 7], xmm0
mov byte [rbp - 0x29], 0x27
mov byte [rbp - 0x28], 0x2a
mov byte [rbp - 0x27], 0x78
mov byte [rbp - 0x26], 0x27
mov byte [rbp - 0x25], 0x25
mov byte [rbp - 0x24], 0x42
mov byte [rbp - 0x23], 0x25
mov byte [rbp - 0x22], 0x2a
mov byte [rbp - 0x21], 0x6b
mov byte [rbp - 0x20], 0xf
mov byte [rbp - 0x1f], r12b
mov al, byte [rbp - 0x29]
mov al, byte [rbp + rcx - 0x29]
sub al, 5
mov byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 0xa
jb 0x180050756
movss xmm3, dword [rbp + 7]
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
lea rdx, [rbp - 0x29]
cvtps2pd xmm3, xmm3
cmova r8, qword [rbp - 0x19]
mov rcx, r15
movq r9, xmm3
call fcn.18001bd78
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x1800507cb
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800507c6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050a65
call fcn.18008dae0
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1800506ef
mov rdx, r15
mov ecx, 0xa
call fcn.18009b200
cmp qword [rsi + 0x98], r12
jbe 0x180050a40
mov byte [rbp - 0x29], 0x46
mov rcx, r12
mov byte [rbp - 0x28], 0x48
mov byte [rbp - 0x27], 0x4d
mov byte [rbp - 0x26], 0x4e
mov byte [rbp - 0x25], 0x4a
mov byte [rbp - 0x24], 0x5b
mov byte [rbp - 0x23], 0x4a
mov byte [rbp - 0x22], 0x52
mov byte [rbp - 0x21], 0x4a
mov byte [rbp - 0x20], 0x53
mov byte [rbp - 0x1f], 0x59
mov byte [rbp - 0x1e], 0x58
mov byte [rbp - 0x1d], r12b
mov al, byte [rbp - 0x29]
mov al, byte [rbp + rcx - 0x29]
sub al, 5
mov byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 0xc
jb 0x18005082b
mov byte [rbp + 0x67], 0x67
mov rcx, r12
mov byte [rbp + 0x68], 0x31
mov byte [rbp + 0x69], 0x7f
mov byte [rbp + 0x6a], 0x69
mov byte [rbp + 0x6b], 0x16
mov byte [rbp + 0x6c], r12b
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rcx + 0x67]
sub al, 0xc
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 5
jb 0x18005085c
lea r8, [rbp - 0x29]
mov rcx, r15
lea rdx, [rbp + 0x67]
call fcn.18001bd78
mov rdi, qword [rsi + 0x90]
mov rbx, qword [rdi]
jmp 0x180050a2a
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 0x1f], r12
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x27], r12
jbe 0x1800508ac
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp + 0xf]
call fcn.18000f1d8
mov rax, qword [rbx + 0x30]
mov rcx, r12
mov qword [rbp + 0x2f], rax
test al, al
je 0x1800508f8
mov byte [rbp + 0x67], 0x79
mov byte [rbp + 0x68], 0x77
mov byte [rbp + 0x69], 0x7a
mov byte [rbp + 0x6a], 0x6a
mov byte [rbp + 0x6b], r12b
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rcx + 0x67]
sub al, 5
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 4
jb 0x1800508df
lea r9, [rbp + 0x67]
jmp 0x18005092a
mov byte [rbp + 0x6f], WSACleanup
mov byte [rbp + 0x70], WSASetLastError
mov byte [rbp + 0x71], 0x78
mov byte [rbp + 0x72], 0x7f
mov byte [rbp + 0x73], WSACleanup
mov byte [rbp + 0x74], r12b
mov al, byte [rbp + 0x6f]
mov al, byte [rbp + rcx + 0x6f]
sub al, 0xc
mov byte [rbp + rcx + 0x6f], al
inc rcx
cmp rcx, 5
jb 0x180050913
lea r9, [rbp + 0x6f]
mov byte [rbp - 0x19], 0x28
mov rcx, r12
mov byte [rbp - 0x18], 0x2b
mov byte [rbp - 0x17], 0x79
mov byte [rbp - 0x16], 0x28
mov byte [rbp - 0x15], 0x26
mov byte [rbp - 0x14], 0x43
mov byte [rbp - 0x13], 0x26
mov byte [rbp - 0x12], 0x81
mov byte [rbp - 0x11], 0x7b
mov byte [rbp - 0x10], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0xf], WSACleanup
mov byte [rbp - 0xe], 0x75
mov byte [rbp - 0xd], 0x69
mov byte [rbp - 0xc], WSACleanup
mov byte [rbp - 0xb], 0x6b
mov byte [rbp - 0xa], 0x6a
mov byte [rbp - 9], 0x26
mov byte [rbp - 8], 0x43
mov byte [rbp - 7], 0x26
mov byte [rbp - 6], 0x2b
mov byte [rbp - 5], 0x79
mov byte [rbp - 4], 0x32
mov byte [rbp - 3], 0x26
mov byte [rbp - 2], 0x7a
mov byte [rbp - 1], WSASetLastError
mov byte [rbp], reloc.WS2_32.dll_WSAStartup
mov byte [rbp + 1], 0x6b
mov byte [rbp + 2], 0x26
mov byte [rbp + 3], 0x43
mov byte [rbp + 4], 0x26
mov byte [rbp + 5], 0x2b
mov byte [rbp + 6], 0x6a
mov byte [rbp + 7], 0x83
mov byte [rbp + 8], 0x10
mov byte [rbp + 9], r12b
mov al, byte [rbp - 0x19]
mov al, byte [rbp + rcx - 0x19]
sub al, 6
mov byte [rbp + rcx - 0x19], al
inc rcx
cmp rcx, 0x22
jb 0x1800509bc
cmp qword [rbp + 0x27], 0xf
lea r8, [rbp + 0xf]
mov eax, dword [rbp + 0x33]
lea rdx, [rbp - 0x19]
cmova r8, qword [rbp + 0xf]
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.18001bd78
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x180050a27
mov rcx, qword [rbp + 0xf]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050a22
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050a6b
call fcn.18008dae0
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x18005088e
mov rdx, r15
mov ecx, 0xa
call fcn.18009b200
mov rcx, r15
call qword [sym.imp.msvcrt.dll_fclose]
lea r11, [rsp + 0x90]
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.180091f00
int3
call fcn.180091f00
int3