Function at 0x180050ea0
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 0x180050ed7
cmp qword [rcx + 0x98], r12
jbe 0x1800512f9
lea rcx, [0x1801b9ff0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180050ef7
xor edx, edx
lea rcx, [0x1801b9ff0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsi + 0x148]
lea rdx, [0x1800ce148]
call qword [sym.imp.msvcrt.dll__wfopen]
mov r15, rax
test rax, rax
je 0x1800512f9
cmp qword [rsi + 0x58], r12
jbe 0x180051094
mov byte [rbp + 0x67], 0x5c
mov rcx, r12
mov byte [rbp + 0x68], 0x5d
mov byte [rbp + 0x69], 0x4a
mov byte [rbp + 0x6a], 0x5d
mov byte [rbp + 0x6b], 0x5c
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 0x180050f5a
mov rcx, r12
mov al, byte [rbp + rcx + 0x67]
sub al, 9
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 5
jb 0x180050f70
lea r8, [rbp + 0x67]
mov rcx, r15
lea rdx, [rbp + 0x6f]
call fcn.18001c184
mov rdi, qword [rsi + 0x50]
mov rbx, qword [rdi]
jmp 0x18005107e
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 0x180050fbd
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 0x19]
call fcn.18000f2d0
movss xmm0, dword [rbx + 0x30]
mov rcx, r12
movss dword [rbp + 7], xmm0
mov byte [rbp - 0x29], 0x26
mov byte [rbp - 0x28], 0x29
mov byte [rbp - 0x27], 0x77
mov byte [rbp - 0x26], 0x26
mov byte [rbp - 0x25], 0x24
mov byte [rbp - 0x24], 0x41
mov byte [rbp - 0x23], 0x24
mov byte [rbp - 0x22], 0x29
mov byte [rbp - 0x21], 0x6a
mov byte [rbp - 0x20], 0xe
mov byte [rbp - 0x1f], r12b
mov al, byte [rbp - 0x29]
mov al, byte [rbp + rcx - 0x29]
sub al, 4
mov byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 0xa
jb 0x180051006
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.18001c184
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x18005107b
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051076
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180051315
call fcn.180095ea4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180050f9f
mov rdx, r15
mov ecx, 0xa
call fcn.1800a35c0
cmp qword [rsi + 0x98], r12
jbe 0x1800512f0
mov byte [rbp - 0x29], 0x4e
mov rcx, r12
mov byte [rbp - 0x28], 0x50
mov byte [rbp - 0x27], 0x55
mov byte [rbp - 0x26], 0x56
mov byte [rbp - 0x25], 0x52
mov byte [rbp - 0x24], 0x63
mov byte [rbp - 0x23], 0x52
mov byte [rbp - 0x22], 0x5a
mov byte [rbp - 0x21], 0x52
mov byte [rbp - 0x20], 0x5b
mov byte [rbp - 0x1f], 0x61
mov byte [rbp - 0x1e], 0x60
mov byte [rbp - 0x1d], r12b
mov al, byte [rbp - 0x29]
mov al, byte [rbp + rcx - 0x29]
sub al, 0xd
mov byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 0xc
jb 0x1800510db
mov byte [rbp + 0x67], 0x63
mov rcx, r12
mov byte [rbp + 0x68], 0x2d
mov byte [rbp + 0x69], 0x7b
mov byte [rbp + 0x6a], 0x65
mov byte [rbp + 0x6b], 0x12
mov byte [rbp + 0x6c], r12b
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rcx + 0x67]
sub al, 8
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 5
jb 0x18005110c
lea r8, [rbp - 0x29]
mov rcx, r15
lea rdx, [rbp + 0x67]
call fcn.18001c184
mov rdi, qword [rsi + 0x90]
mov rbx, qword [rdi]
jmp 0x1800512da
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 0x18005115c
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp + 0xf]
call fcn.18000f2d0
mov rax, qword [rbx + 0x30]
mov rcx, r12
mov qword [rbp + 0x2f], rax
test al, al
je 0x1800511a8
mov byte [rbp + 0x67], 0x7b
mov byte [rbp + 0x68], 0x79
mov byte [rbp + 0x69], 0x7c
mov byte [rbp + 0x6a], 0x6c
mov byte [rbp + 0x6b], r12b
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rcx + 0x67]
sub al, 7
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 4
jb 0x18005118f
lea r9, [rbp + 0x67]
jmp 0x1800511da
mov byte [rbp + WSASetLastError], 0x6f
mov byte [rbp + 0x70], 0x6a
mov byte [rbp + 0x71], 0x75
mov byte [rbp + 0x72], 0x7c
mov byte [rbp + 0x73], WSASetLastError
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 0x1800511c3
lea r9, [rbp + 0x6f]
mov byte [rbp - 0x19], 0x23
mov rcx, r12
mov byte [rbp - 0x18], 0x26
mov byte [rbp - 0x17], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x16], 0x23
mov byte [rbp - 0x15], 0x21
mov byte [rbp - 0x14], 0x3e
mov byte [rbp - 0x13], 0x21
mov byte [rbp - 0x12], 0x7c
mov byte [rbp - 0x11], 0x76
mov byte [rbp - 0x10], WSASetLastError
mov byte [rbp - 0xf], WSASetLastError
mov byte [rbp - 0xe], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp - 0xd], 0x64
mov byte [rbp - 0xc], 0x6c
mov byte [rbp - 0xb], 0x66
mov byte [rbp - 0xa], 0x65
mov byte [rbp - 9], 0x21
mov byte [rbp - 8], 0x3e
mov byte [rbp - 7], 0x21
mov byte [rbp - 6], 0x26
mov byte [rbp - 5], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 4], 0x2d
mov byte [rbp - 3], 0x21
mov byte [rbp - 2], 0x75
mov byte [rbp - 1], 0x6a
mov byte [rbp], WSASetLastError
mov byte [rbp + 1], 0x66
mov byte [rbp + 2], 0x21
mov byte [rbp + 3], 0x3e
mov byte [rbp + 4], 0x21
mov byte [rbp + 5], 0x26
mov byte [rbp + 6], 0x65
mov byte [rbp + 7], 0x7e
mov byte [rbp + 8], 0xb
mov byte [rbp + 9], r12b
mov al, byte [rbp - 0x19]
mov al, byte [rbp + rcx - 0x19]
dec al
mov byte [rbp + rcx - 0x19], al
inc rcx
cmp rcx, 0x22
jb 0x18005126c
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.18001c184
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x1800512d7
mov rcx, qword [rbp + 0xf]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800512d2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005131b
call fcn.180095ea4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x18005113e
mov rdx, r15
mov ecx, 0xa
call fcn.1800a35c0
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.18009a2c0
int3
call fcn.18009a2c0
int3