Function at 0x18005089c
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 0x1800508d3
cmp qword [rcx + 0x98], r12
jbe 0x180050cf5
lea rcx, [0x1801b7f40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800508f3
xor edx, edx
lea rcx, [0x1801b7f40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsi + 0x148]
lea rdx, [0x1800cd0b0]
call qword [sym.imp.msvcrt.dll__wfopen]
mov r15, rax
test rax, rax
je 0x180050cf5
cmp qword [rsi + 0x58], r12
jbe 0x180050a90
mov byte [rbp + 0x67], 0x5b
mov rcx, r12
mov byte [rbp + 0x68], 0x5c
mov byte [rbp + 0x69], 0x49
mov byte [rbp + 0x6a], 0x5c
mov byte [rbp + 0x6b], 0x5b
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 0x180050956
mov rcx, r12
mov al, byte [rbp + rcx + 0x67]
sub al, 8
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 5
jb 0x18005096c
lea r8, [rbp + 0x67]
mov rcx, r15
lea rdx, [rbp + 0x6f]
call fcn.18001be20
mov rdi, qword [rsi + 0x50]
mov rbx, qword [rdi]
jmp 0x180050a7a
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 0x1800509b9
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 0x19]
call fcn.18000f220
movss xmm0, dword [rbx + 0x30]
mov rcx, r12
movss dword [rbp + 7], xmm0
mov byte [rbp - 0x29], 0x25
mov byte [rbp - 0x28], 0x28
mov byte [rbp - 0x27], 0x76
mov byte [rbp - 0x26], 0x25
mov byte [rbp - 0x25], 0x23
mov byte [rbp - 0x24], 0x40
mov byte [rbp - 0x23], 0x23
mov byte [rbp - 0x22], 0x28
mov byte [rbp - 0x21], 0x69
mov byte [rbp - 0x20], 0xd
mov byte [rbp - 0x1f], r12b
mov al, byte [rbp - 0x29]
mov al, byte [rbp + rcx - 0x29]
sub al, 3
mov byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 0xa
jb 0x180050a02
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.18001be20
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x180050a77
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050a72
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050d11
call fcn.180095310
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x18005099b
mov rdx, r15
mov ecx, 0xa
call fcn.1800a2a30
cmp qword [rsi + 0x98], r12
jbe 0x180050cec
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 0x180050ad7
mov byte [rbp + 0x67], 0x66
mov rcx, r12
mov byte [rbp + 0x68], 0x30
mov byte [rbp + 0x69], 0x7e
mov byte [rbp + 0x6a], 0x68
mov byte [rbp + 0x6b], 0x15
mov byte [rbp + 0x6c], r12b
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rcx + 0x67]
sub al, 0xb
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 5
jb 0x180050b08
lea r8, [rbp - 0x29]
mov rcx, r15
lea rdx, [rbp + 0x67]
call fcn.18001be20
mov rdi, qword [rsi + 0x90]
mov rbx, qword [rdi]
jmp 0x180050cd6
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 0x180050b58
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp + 0xf]
call fcn.18000f220
mov rax, qword [rbx + 0x30]
mov rcx, r12
mov qword [rbp + 0x2f], rax
test al, al
je 0x180050ba4
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 0x180050b8b
lea r9, [rbp + 0x67]
jmp 0x180050bd6
mov byte [rbp + 0x6f], 0x68
mov byte [rbp + 0x70], 0x63
mov byte [rbp + 0x71], WSASetLastError
mov byte [rbp + 0x72], 0x75
mov byte [rbp + 0x73], 0x67
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 0x180050bbf
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 0x180050c68
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.18001be20
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x180050cd3
mov rcx, qword [rbp + 0xf]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050cce
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050d17
call fcn.180095310
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180050b3a
mov rdx, r15
mov ecx, 0xa
call fcn.1800a2a30
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.180099730
int3
call fcn.180099730
int3