Function at 0x180050164
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 0x180050194
cmp qword [rcx + 0x98], r12
jbe 0x1800505cc
lea rcx, [0x1801b5e90]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800501b4
xor edx, edx
lea rcx, [0x1801b5e90]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rdi + 0x148]
lea rdx, [0x1800cbfa8]
call qword [sym.imp.msvcrt.dll__wfopen]
mov r14, rax
test rax, rax
je 0x1800505cc
cmp qword [rdi + 0x58], r12
jbe 0x180050358
mov byte [rbp + 0x6f], 0x57
mov rcx, r12
mov byte [rbp + 0x70], 0x58
mov byte [rbp + 0x71], 0x45
mov byte [rbp + 0x72], 0x58
mov byte [rbp + 0x73], 0x57
mov byte [rbp + 0x74], r12b
mov al, byte [rbp + 0x6f]
mov byte [rbp + 0x77], 0x68
mov byte [rbp + 0x78], 0x32
mov byte [rbp + 0x79], 0x80
mov byte [rbp + 0x7a], 0x6a
mov byte [rbp + 0x7b], 0x17
mov byte [rbp + 0x7c], r12b
mov al, byte [rbp + 0x77]
mov al, byte [rbp + rcx + 0x77]
sub al, 0xd
mov byte [rbp + rcx + 0x77], al
inc rcx
cmp rcx, 5
jb 0x180050217
mov rcx, r12
mov al, byte [rbp + rcx + 0x6f]
sub al, 4
mov byte [rbp + rcx + 0x6f], al
inc rcx
cmp rcx, 5
jb 0x18005022d
lea r8, [rbp + 0x6f]
mov rcx, r14
lea rdx, [rbp + 0x77]
call fcn.18001b964
mov r15, qword [rdi + 0x50]
mov rbx, qword [r15]
cmp rbx, r15
je 0x18005034b
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 0x18005027e
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 0x31]
call fcn.18000f0e8
movss xmm0, dword [rbx + 0x30]
mov rcx, r12
movss dword [rbp - 0x11], xmm0
mov byte [rbp - 0x73], 0x2c
mov byte [rbp - 0x72], 0x2f
mov byte [rbp - 0x71], 0x7d
mov byte [rbp - 0x70], 0x2c
mov byte [rbp - 0x6f], 0x2a
mov byte [rbp - 0x6e], 0x47
mov byte [rbp - 0x6d], 0x2a
mov byte [rbp - 0x6c], 0x2f
mov byte [rbp - 0x6b], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp - 0x6a], 0x14
mov byte [rbp - 0x69], r12b
mov al, byte [rbp - 0x73]
mov al, byte [rbp + rcx - 0x73]
sub al, 0xa
mov byte [rbp + rcx - 0x73], al
inc rcx
cmp rcx, 0xa
jb 0x1800502c7
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.18001b964
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x18005033c
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050337
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800505de
call fcn.180093e8c
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r15
jne 0x180050260
mov rdx, r14
mov ecx, 0xa
call fcn.1800a14a0
cmp qword [rdi + 0x98], r12
jbe 0x1800505c3
mov byte [rbp - 0x68], 0x4a
mov rcx, r12
mov byte [rbp - 0x67], 0x4c
mov byte [rbp - 0x66], 0x51
mov byte [rbp - 0x65], 0x52
mov byte [rbp - 0x64], 0x4e
mov byte [rbp - 0x63], 0x5f
mov byte [rbp - 0x62], 0x4e
mov byte [rbp - 0x61], 0x56
mov byte [rbp - 0x60], 0x4e
mov byte [rbp - 0x5f], 0x57
mov byte [rbp - 0x5e], 0x5d
mov byte [rbp - 0x5d], 0x5c
mov byte [rbp - 0x5c], r12b
mov al, byte [rbp - 0x68]
mov al, byte [rbp + rcx - 0x68]
sub al, 9
mov byte [rbp + rcx - 0x68], al
inc rcx
cmp rcx, 0xc
jb 0x18005039f
mov byte [rbp + 0x7f], 0x61
mov rcx, r12
mov byte [rbp + 0x80], 0x2b
mov byte [rbp + 0x81], 0x79
mov byte [rbp + 0x82], 0x63
mov byte [rbp + 0x83], 0x10
mov byte [rbp + 0x84], r12b
mov al, byte [rbp + 0x7f]
mov al, byte [rbp + rcx + 0x7f]
sub al, 6
mov byte [rbp + rcx + 0x7f], al
inc rcx
cmp rcx, 5
jb 0x1800503df
lea r8, [rbp - 0x68]
mov rcx, r14
lea rdx, [rbp + 0x7f]
call fcn.18001b964
mov rdi, qword [rdi + 0x90]
mov rbx, qword [rdi]
jmp 0x1800505ad
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 0x18005042f
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 9]
call fcn.18000f0e8
mov rax, qword [rbx + 0x30]
mov rcx, r12
mov qword [rbp + 0x17], rax
test al, al
je 0x18005047b
mov byte [rbp + 0x67], 0x80
mov byte [rbp + 0x68], 0x7e
mov byte [rbp + 0x69], 0x81
mov byte [rbp + 0x6a], WSACleanup
mov byte [rbp + 0x6b], r12b
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rcx + 0x67]
sub al, 0xc
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 4
jb 0x180050462
lea r9, [rbp + 0x67]
jmp 0x1800504ad
mov byte [rbp - 0x79], 0x6b
mov byte [rbp - 0x78], 0x66
mov byte [rbp - 0x77], WSACleanup
mov byte [rbp - 0x76], 0x78
mov byte [rbp - 0x75], 0x6a
mov byte [rbp - 0x74], r12b
mov al, byte [rbp - 0x79]
mov al, byte [rbp + rcx - 0x79]
sub al, 5
mov byte [rbp + rcx - 0x79], al
inc rcx
cmp rcx, 5
jb 0x180050496
lea r9, [rbp - 0x79]
mov byte [rbp - 0x5b], 0x26
mov rcx, r12
mov byte [rbp - 0x5a], 0x29
mov byte [rbp - 0x59], 0x77
mov byte [rbp - 0x58], 0x26
mov byte [rbp - 0x57], 0x24
mov byte [rbp - 0x56], 0x41
mov byte [rbp - 0x55], 0x24
mov byte [rbp - 0x54], 0x7f
mov byte [rbp - 0x53], 0x79
mov byte [rbp - 0x52], WSACleanup
mov byte [rbp - 0x51], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp - 0x50], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x4f], 0x67
mov byte [rbp - 0x4e], WSASetLastError
mov byte [rbp - 0x4d], 0x69
mov byte [rbp - 0x4c], 0x68
mov byte [rbp - 0x4b], 0x24
mov byte [rbp - 0x4a], 0x41
mov byte [rbp - 0x49], 0x24
mov byte [rbp - 0x48], 0x29
mov byte [rbp - 0x47], 0x77
mov byte [rbp - 0x46], 0x30
mov byte [rbp - 0x45], 0x24
mov byte [rbp - 0x44], 0x78
mov byte [rbp - 0x43], WSASetLastError
mov byte [rbp - 0x42], WSACleanup
mov byte [rbp - 0x41], 0x69
mov byte [rbp - 0x40], 0x24
mov byte [rbp - 0x3f], 0x41
mov byte [rbp - 0x3e], 0x24
mov byte [rbp - 0x3d], 0x29
mov byte [rbp - 0x3c], 0x68
mov byte [rbp - 0x3b], 0x81
mov byte [rbp - 0x3a], 0xe
mov byte [rbp - 0x39], r12b
mov al, byte [rbp - 0x5b]
mov al, byte [rbp + rcx - 0x5b]
sub al, 4
mov byte [rbp + rcx - 0x5b], al
inc rcx
cmp rcx, 0x22
jb 0x18005053f
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.18001b964
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x1800505aa
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800505a5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800505e4
call fcn.180093e8c
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180050411
mov rdx, r14
mov ecx, 0xa
call fcn.1800a14a0
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.1800981a0
int3
call fcn.1800981a0
int3