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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
xor r12d, r12d
mov rdi, rcx
cmp qword [rcx + 0x58], r12
ja 0x180050cd0
cmp qword [rcx + 0x98], r12
jbe 0x180051108
lea rcx, [0x1801b7eb0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180050cf0
xor edx, edx
lea rcx, [0x1801b7eb0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rdi + 0x148]
lea rdx, [0x1800cd0a4]
call qword [sym.imp.msvcrt.dll__wfopen]
mov r14, rax
test rax, rax
je 0x180051108
cmp qword [rdi + 0x58], r12
jbe 0x180050e94
mov byte [rbp + 0x6f], 0x56
mov rcx, r12
mov byte [rbp + 0x70], 0x57
mov byte [rbp + 0x71], 0x44
mov byte [rbp + 0x72], 0x57
mov byte [rbp + 0x73], 0x56
mov byte [rbp + 0x74], r12b
mov al, byte [rbp + 0x6f]
mov byte [rbp + 0x77], 0x63
mov byte [rbp + 0x78], 0x2d
mov byte [rbp + 0x79], 0x7b
mov byte [rbp + 0x7a], 0x65
mov byte [rbp + 0x7b], 0x12
mov byte [rbp + 0x7c], r12b
mov al, byte [rbp + 0x77]
mov al, byte [rbp + rcx + 0x77]
sub al, 8
mov byte [rbp + rcx + 0x77], al
inc rcx
cmp rcx, 5
jb 0x180050d53
mov rcx, r12
mov al, byte [rbp + rcx + 0x6f]
sub al, 3
mov byte [rbp + rcx + 0x6f], al
inc rcx
cmp rcx, 5
jb 0x180050d69
lea r8, [rbp + 0x6f]
mov rcx, r14
lea rdx, [rbp + 0x77]
call fcn.18001c020
mov r15, qword [rdi + 0x50]
mov rbx, qword [r15]
cmp rbx, r15
je 0x180050e87
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
xorps xmm0, xmm0
mov qword [rbp - 0x21], r12
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x19], r12
jbe 0x180050dba
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 0x31]
call fcn.18000f608
movss xmm0, dword [rbx + 0x30]
mov rcx, r12
movss dword [rbp - 0x11], xmm0
mov byte [rbp - 0x73], 0x23
mov byte [rbp - 0x72], 0x26
mov byte [rbp - 0x71], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x70], 0x23
mov byte [rbp - 0x6f], 0x21
mov byte [rbp - 0x6e], 0x3e
mov byte [rbp - 0x6d], 0x21
mov byte [rbp - 0x6c], 0x26
mov byte [rbp - 0x6b], 0x67
mov byte [rbp - 0x6a], 0xb
mov byte [rbp - 0x69], r12b
mov al, byte [rbp - 0x73]
mov al, byte [rbp + rcx - 0x73]
dec al
mov byte [rbp + rcx - 0x73], al
inc rcx
cmp rcx, 0xa
jb 0x180050e03
movss xmm3, dword [rbp - 0x11]
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
lea rdx, [rbp - 0x73]
cvtps2pd xmm3, xmm3
cmova r8, qword [rbp - 0x31]
mov rcx, r14
movq r9, xmm3
call fcn.18001c020
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x180050e78
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050e73
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005111a
call fcn.18009529c
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r15
jne 0x180050d9c
mov rdx, r14
mov ecx, 0xa
call fcn.1800a28a0
cmp qword [rdi + 0x98], r12
jbe 0x1800510ff
mov byte [rbp - 0x68], 0x4c
mov rcx, r12
mov byte [rbp - 0x67], 0x4e
mov byte [rbp - 0x66], 0x53
mov byte [rbp - 0x65], 0x54
mov byte [rbp - 0x64], 0x50
mov byte [rbp - 0x63], 0x61
mov byte [rbp - 0x62], 0x50
mov byte [rbp - 0x61], 0x58
mov byte [rbp - 0x60], 0x50
mov byte [rbp - 0x5f], 0x59
mov byte [rbp - 0x5e], 0x5f
mov byte [rbp - 0x5d], 0x5e
mov byte [rbp - 0x5c], r12b
mov al, byte [rbp - 0x68]
mov al, byte [rbp + rcx - 0x68]
sub al, 0xb
mov byte [rbp + rcx - 0x68], al
inc rcx
cmp rcx, 0xc
jb 0x180050edb
mov byte [rbp + 0x7f], 0x5f
mov rcx, r12
mov byte [rbp + 0x80], 0x29
mov byte [rbp + 0x81], 0x77
mov byte [rbp + 0x82], 0x61
mov byte [rbp + 0x83], 0xe
mov byte [rbp + 0x84], r12b
mov al, byte [rbp + 0x7f]
mov al, byte [rbp + rcx + 0x7f]
sub al, 4
mov byte [rbp + rcx + 0x7f], al
inc rcx
cmp rcx, 5
jb 0x180050f1b
lea r8, [rbp - 0x68]
mov rcx, r14
lea rdx, [rbp + 0x7f]
call fcn.18001c020
mov rdi, qword [rdi + 0x90]
mov rbx, qword [rdi]
jmp 0x1800510e9
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 7], r12
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 0xf], r12
jbe 0x180050f6b
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 9]
call fcn.18000f608
mov rax, qword [rbx + 0x30]
mov rcx, r12
mov qword [rbp + 0x17], rax
test al, al
je 0x180050fb7
mov byte [rbp + 0x67], 0x78
mov byte [rbp + 0x68], 0x76
mov byte [rbp + 0x69], 0x79
mov byte [rbp + 0x6a], 0x69
mov byte [rbp + 0x6b], r12b
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rcx + 0x67]
sub al, 4
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 4
jb 0x180050f9e
lea r9, [rbp + 0x67]
jmp 0x180050fe9
mov byte [rbp - 0x79], WSASetLastError
mov byte [rbp - 0x78], 0x69
mov byte [rbp - 0x77], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x76], 0x7b
mov byte [rbp - 0x75], WSASetLastError
mov byte [rbp - 0x74], r12b
mov al, byte [rbp - 0x79]
mov al, byte [rbp + rcx - 0x79]
sub al, 8
mov byte [rbp + rcx - 0x79], al
inc rcx
cmp rcx, 5
jb 0x180050fd2
lea r9, [rbp - 0x79]
mov byte [rbp - 0x5b], 0x2f
mov rcx, r12
mov byte [rbp - 0x5a], 0x32
mov byte [rbp - 0x59], 0x80
mov byte [rbp - 0x58], 0x2f
mov byte [rbp - 0x57], 0x2d
mov byte [rbp - 0x56], 0x4a
mov byte [rbp - 0x55], 0x2d
mov byte [rbp - 0x54], 0x88
mov byte [rbp - 0x53], 0x82
mov byte [rbp - 0x52], 0x7b
mov byte [rbp - 0x51], 0x79
mov byte [rbp - 0x50], 0x7c
mov byte [rbp - 0x4f], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp - 0x4e], 0x78
mov byte [rbp - 0x4d], WSACleanup
mov byte [rbp - 0x4c], WSACleanup
mov byte [rbp - 0x4b], 0x2d
mov byte [rbp - 0x4a], 0x4a
mov byte [rbp - 0x49], 0x2d
mov byte [rbp - 0x48], 0x32
mov byte [rbp - 0x47], 0x80
mov byte [rbp - 0x46], 0x39
mov byte [rbp - 0x45], 0x2d
mov byte [rbp - 0x44], 0x81
mov byte [rbp - 0x43], 0x76
mov byte [rbp - 0x42], 0x7a
mov byte [rbp - 0x41], WSACleanup
mov byte [rbp - 0x40], 0x2d
mov byte [rbp - 0x3f], 0x4a
mov byte [rbp - 0x3e], 0x2d
mov byte [rbp - 0x3d], 0x32
mov byte [rbp - 0x3c], WSACleanup
mov byte [rbp - 0x3b], 0x8a
mov byte [rbp - 0x3a], 0x17
mov byte [rbp - 0x39], r12b
mov al, byte [rbp - 0x5b]
mov al, byte [rbp + rcx - 0x5b]
sub al, 0xd
mov byte [rbp + rcx - 0x5b], al
inc rcx
cmp rcx, 0x22
jb 0x18005107b
cmp qword [rbp + 0xf], 0xf
lea r8, [rbp - 9]
mov eax, dword [rbp + 0x1b]
lea rdx, [rbp - 0x5b]
cmova r8, qword [rbp - 9]
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.18001c020
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x1800510e6
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800510e1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180051120
call fcn.18009529c
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180050f4d
mov rdx, r14
mov ecx, 0xa
call fcn.1800a28a0
mov rcx, r14
call qword [sym.imp.msvcrt.dll_fclose]
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800995a0
int3
call fcn.1800995a0
int3