Function at 0x180050df0
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 0x180050e27
cmp qword [rcx + 0x98], r12
jbe 0x180051249
lea rcx, [0x1801b8fe0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180050e47
xor edx, edx
lea rcx, [0x1801b8fe0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsi + 0x148]
lea rdx, [0x1800cd1a4]
call qword [sym.imp.msvcrt.dll__wfopen]
mov r15, rax
test rax, rax
je 0x180051249
cmp qword [rsi + 0x58], r12
jbe 0x180050fe4
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 0x180050eaa
mov rcx, r12
mov al, byte [rbp + rcx + 0x67]
sub al, 4
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 5
jb 0x180050ec0
lea r8, [rbp + 0x67]
mov rcx, r15
lea rdx, [rbp + 0x6f]
call fcn.18001c120
mov rdi, qword [rsi + 0x50]
mov rbx, qword [rdi]
jmp 0x180050fce
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 0x180050f0d
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 0x19]
call fcn.18000f26c
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 0x180050f56
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.18001c120
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x180050fcb
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050fc6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180051265
call fcn.180095c98
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180050eef
mov rdx, r15
mov ecx, 0xa
call fcn.1800a33b0
cmp qword [rsi + 0x98], r12
jbe 0x180051240
mov byte [rbp - 0x29], 0x42
mov rcx, r12
mov byte [rbp - 0x28], 0x44
mov byte [rbp - 0x27], 0x49
mov byte [rbp - 0x26], 0x4a
mov byte [rbp - 0x25], 0x46
mov byte [rbp - 0x24], 0x57
mov byte [rbp - 0x23], 0x46
mov byte [rbp - 0x22], 0x4e
mov byte [rbp - 0x21], 0x46
mov byte [rbp - 0x20], 0x4f
mov byte [rbp - 0x1f], 0x55
mov byte [rbp - 0x1e], 0x54
mov byte [rbp - 0x1d], r12b
mov al, byte [rbp - 0x29]
mov al, byte [rbp + rcx - 0x29]
dec al
mov byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 0xc
jb 0x18005102b
mov byte [rbp + 0x67], 0x64
mov rcx, r12
mov byte [rbp + 0x68], 0x2e
mov byte [rbp + 0x69], 0x7c
mov byte [rbp + 0x6a], 0x66
mov byte [rbp + 0x6b], 0x13
mov byte [rbp + 0x6c], r12b
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rcx + 0x67]
sub al, 9
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 5
jb 0x18005105c
lea r8, [rbp - 0x29]
mov rcx, r15
lea rdx, [rbp + 0x67]
call fcn.18001c120
mov rdi, qword [rsi + 0x90]
mov rbx, qword [rdi]
jmp 0x18005122a
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 0x1800510ac
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp + 0xf]
call fcn.18000f26c
mov rax, qword [rbx + 0x30]
mov rcx, r12
mov qword [rbp + 0x2f], rax
test al, al
je 0x1800510f8
mov byte [rbp + 0x67], 0x76
mov byte [rbp + 0x68], reloc.WS2_32.dll_WSACleanup
mov byte [rbp + 0x69], 0x77
mov byte [rbp + 0x6a], 0x67
mov byte [rbp + 0x6b], r12b
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rcx + 0x67]
sub al, 2
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 4
jb 0x1800510df
lea r9, [rbp + 0x67]
jmp 0x18005112a
mov byte [rbp + 0x6f], 0x6c
mov byte [rbp + 0x70], 0x67
mov byte [rbp + 0x71], WSACleanup
mov byte [rbp + 0x72], 0x79
mov byte [rbp + 0x73], 0x6b
mov byte [rbp + 0x74], r12b
mov al, byte [rbp + 0x6f]
mov al, byte [rbp + rcx + 0x6f]
sub al, 6
mov byte [rbp + rcx + 0x6f], al
inc rcx
cmp rcx, 5
jb 0x180051113
lea r9, [rbp + 0x6f]
mov byte [rbp - 0x19], 0x2a
mov rcx, r12
mov byte [rbp - 0x18], 0x2d
mov byte [rbp - 0x17], 0x7b
mov byte [rbp - 0x16], 0x2a
mov byte [rbp - 0x15], 0x28
mov byte [rbp - 0x14], 0x45
mov byte [rbp - 0x13], 0x28
mov byte [rbp - 0x12], 0x83
mov byte [rbp - 0x11], 0x7d
mov byte [rbp - 0x10], 0x76
mov byte [rbp - 0xf], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0xe], 0x77
mov byte [rbp - 0xd], 0x6b
mov byte [rbp - 0xc], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0xb], WSASetLastError
mov byte [rbp - 0xa], 0x6c
mov byte [rbp - 9], 0x28
mov byte [rbp - 8], 0x45
mov byte [rbp - 7], 0x28
mov byte [rbp - 6], 0x2d
mov byte [rbp - 5], 0x7b
mov byte [rbp - 4], 0x34
mov byte [rbp - 3], 0x28
mov byte [rbp - 2], 0x7c
mov byte [rbp - 1], WSACleanup
mov byte [rbp], 0x75
mov byte [rbp + 1], WSASetLastError
mov byte [rbp + 2], 0x28
mov byte [rbp + 3], 0x45
mov byte [rbp + 4], 0x28
mov byte [rbp + 5], 0x2d
mov byte [rbp + 6], 0x6c
mov byte [rbp + 7], 0x85
mov byte [rbp + 8], 0x12
mov byte [rbp + 9], r12b
mov al, byte [rbp - 0x19]
mov al, byte [rbp + rcx - 0x19]
sub al, 8
mov byte [rbp + rcx - 0x19], al
inc rcx
cmp rcx, 0x22
jb 0x1800511bc
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.18001c120
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x180051227
mov rcx, qword [rbp + 0xf]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051222
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005126b
call fcn.180095c98
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x18005108e
mov rdx, r15
mov ecx, 0xa
call fcn.1800a33b0
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.18009a0b0
int3
call fcn.18009a0b0
int3