Function at 0x180050af4
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 0x180050b2b
cmp qword [rcx + 0x98], r12
jbe 0x180050f4d
lea rcx, [0x1801a1fd0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180050b4b
xor edx, edx
lea rcx, [0x1801a1fd0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsi + 0x148]
lea rdx, [0x1800c61a4]
call qword [sym.imp.msvcrt.dll__wfopen]
mov r15, rax
test rax, rax
je 0x180050f4d
cmp qword [rsi + 0x58], r12
jbe 0x180050ce8
mov byte [rbp + 0x67], 0x57
mov rcx, r12
mov byte [rbp + 0x68], 0x58
mov byte [rbp + 0x69], 0x45
mov byte [rbp + 0x6a], 0x58
mov byte [rbp + 0x6b], 0x57
mov byte [rbp + 0x6c], r12b
mov al, byte [rbp + 0x67]
mov byte [rbp + 0x6f], 0x5d
mov byte [rbp + 0x70], 0x27
mov byte [rbp + 0x71], 0x75
mov byte [rbp + 0x72], 0x5f
mov byte [rbp + 0x73], 0xc
mov byte [rbp + 0x74], r12b
mov al, byte [rbp + 0x6f]
mov al, byte [rbp + rcx + 0x6f]
sub al, 2
mov byte [rbp + rcx + 0x6f], al
inc rcx
cmp rcx, 5
jb 0x180050bae
mov rcx, r12
mov al, byte [rbp + rcx + 0x67]
sub al, 4
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 5
jb 0x180050bc4
lea r8, [rbp + 0x67]
mov rcx, r15
lea rdx, [rbp + 0x6f]
call fcn.18001c160
mov rdi, qword [rsi + 0x50]
mov rbx, qword [rdi]
jmp 0x180050cd2
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 0x180050c11
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 0x19]
call fcn.18000f2ac
movss xmm0, dword [rbx + 0x30]
mov rcx, r12
movss dword [rbp + 7], xmm0
mov byte [rbp - 0x29], 0x29
mov byte [rbp - 0x28], 0x2c
mov byte [rbp - 0x27], 0x7a
mov byte [rbp - 0x26], 0x29
mov byte [rbp - 0x25], 0x27
mov byte [rbp - 0x24], 0x44
mov byte [rbp - 0x23], 0x27
mov byte [rbp - 0x22], 0x2c
mov byte [rbp - 0x21], WSASetLastError
mov byte [rbp - 0x20], 0x11
mov byte [rbp - 0x1f], r12b
mov al, byte [rbp - 0x29]
mov al, byte [rbp + rcx - 0x29]
sub al, 7
mov byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 0xa
jb 0x180050c5a
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.18001c160
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x180050ccf
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050cca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050f69
call fcn.18008e004
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180050bf3
mov rdx, r15
mov ecx, 0xa
call fcn.18009b720
cmp qword [rsi + 0x98], r12
jbe 0x180050f44
mov byte [rbp - 0x29], 0x45
mov rcx, r12
mov byte [rbp - 0x28], 0x47
mov byte [rbp - 0x27], 0x4c
mov byte [rbp - 0x26], 0x4d
mov byte [rbp - 0x25], 0x49
mov byte [rbp - 0x24], 0x5a
mov byte [rbp - 0x23], 0x49
mov byte [rbp - 0x22], 0x51
mov byte [rbp - 0x21], 0x49
mov byte [rbp - 0x20], 0x52
mov byte [rbp - 0x1f], 0x58
mov byte [rbp - 0x1e], 0x57
mov byte [rbp - 0x1d], 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, 0xc
jb 0x180050d2f
mov byte [rbp + 0x67], 0x62
mov rcx, r12
mov byte [rbp + 0x68], 0x2c
mov byte [rbp + 0x69], 0x7a
mov byte [rbp + 0x6a], 0x64
mov byte [rbp + 0x6b], 0x11
mov byte [rbp + 0x6c], 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, 5
jb 0x180050d60
lea r8, [rbp - 0x29]
mov rcx, r15
lea rdx, [rbp + 0x67]
call fcn.18001c160
mov rdi, qword [rsi + 0x90]
mov rbx, qword [rdi]
jmp 0x180050f2e
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 0x180050db0
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp + 0xf]
call fcn.18000f2ac
mov rax, qword [rbx + 0x30]
mov rcx, r12
mov qword [rbp + 0x2f], rax
test al, al
je 0x180050dfc
mov byte [rbp + 0x67], 0x7e
mov byte [rbp + 0x68], 0x7c
mov byte [rbp + 0x69], 0x7f
mov byte [rbp + 0x6a], WSASetLastError
mov byte [rbp + 0x6b], r12b
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rcx + 0x67]
sub al, 0xa
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 4
jb 0x180050de3
lea r9, [rbp + 0x67]
jmp 0x180050e2e
mov byte [rbp + 0x6f], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp + 0x70], 0x6b
mov byte [rbp + 0x71], 0x76
mov byte [rbp + 0x72], 0x7d
mov byte [rbp + 0x73], WSASetLastError
mov byte [rbp + 0x74], r12b
mov al, byte [rbp + 0x6f]
mov al, byte [rbp + rcx + 0x6f]
sub al, 0xa
mov byte [rbp + rcx + 0x6f], al
inc rcx
cmp rcx, 5
jb 0x180050e17
lea r9, [rbp + 0x6f]
mov byte [rbp - 0x19], 0x2b
mov rcx, r12
mov byte [rbp - 0x18], 0x2e
mov byte [rbp - 0x17], 0x7c
mov byte [rbp - 0x16], 0x2b
mov byte [rbp - 0x15], 0x29
mov byte [rbp - 0x14], 0x46
mov byte [rbp - 0x13], 0x29
mov byte [rbp - 0x12], 0x84
mov byte [rbp - 0x11], 0x7e
mov byte [rbp - 0x10], 0x77
mov byte [rbp - 0xf], 0x75
mov byte [rbp - 0xe], 0x78
mov byte [rbp - 0xd], 0x6c
mov byte [rbp - 0xc], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0xb], WSASetLastError
mov byte [rbp - 0xa], WSASetLastError
mov byte [rbp - 9], 0x29
mov byte [rbp - 8], 0x46
mov byte [rbp - 7], 0x29
mov byte [rbp - 6], 0x2e
mov byte [rbp - 5], 0x7c
mov byte [rbp - 4], 0x35
mov byte [rbp - 3], 0x29
mov byte [rbp - 2], 0x7d
mov byte [rbp - 1], WSACleanup
mov byte [rbp], 0x76
mov byte [rbp + 1], WSASetLastError
mov byte [rbp + 2], 0x29
mov byte [rbp + 3], 0x46
mov byte [rbp + 4], 0x29
mov byte [rbp + 5], 0x2e
mov byte [rbp + 6], WSASetLastError
mov byte [rbp + 7], 0x86
mov byte [rbp + 8], 0x13
mov byte [rbp + 9], r12b
mov al, byte [rbp - 0x19]
mov al, byte [rbp + rcx - 0x19]
sub al, 9
mov byte [rbp + rcx - 0x19], al
inc rcx
cmp rcx, 0x22
jb 0x180050ec0
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.18001c160
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x180050f2b
mov rcx, qword [rbp + 0xf]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050f26
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050f6f
call fcn.18008e004
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180050d92
mov rdx, r15
mov ecx, 0xa
call fcn.18009b720
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.180092420
int3
call fcn.180092420
int3