Function at 0x180050624
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 0x180050654
cmp qword [rcx + 0x98], r12
jbe 0x180050a8c
lea rcx, [0x1801b5eb0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180050674
xor edx, edx
lea rcx, [0x1801b5eb0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rdi + 0x148]
lea rdx, [0x1800cc014]
call qword [sym.imp.msvcrt.dll__wfopen]
mov r14, rax
test rax, rax
je 0x180050a8c
cmp qword [rdi + 0x58], r12
jbe 0x180050818
mov byte [rbp + 0x6f], 0x5a
mov rcx, r12
mov byte [rbp + 0x70], 0x5b
mov byte [rbp + 0x71], 0x48
mov byte [rbp + 0x72], 0x5b
mov byte [rbp + 0x73], 0x5a
mov byte [rbp + 0x74], r12b
mov al, byte [rbp + 0x6f]
mov byte [rbp + 0x77], 0x5c
mov byte [rbp + 0x78], 0x26
mov byte [rbp + 0x79], reloc.WS2_32.dll_WSACleanup
mov byte [rbp + 0x7a], 0x5e
mov byte [rbp + 0x7b], 0xb
mov byte [rbp + 0x7c], r12b
mov al, byte [rbp + 0x77]
mov al, byte [rbp + rcx + 0x77]
dec al
mov byte [rbp + rcx + 0x77], al
inc rcx
cmp rcx, 5
jb 0x1800506d7
mov rcx, r12
mov al, byte [rbp + rcx + 0x6f]
sub al, 7
mov byte [rbp + rcx + 0x6f], al
inc rcx
cmp rcx, 5
jb 0x1800506ed
lea r8, [rbp + 0x6f]
mov rcx, r14
lea rdx, [rbp + 0x77]
call fcn.18001b9cc
mov r15, qword [rdi + 0x50]
mov rbx, qword [r15]
cmp rbx, r15
je 0x18005080b
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 0x18005073e
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 0x31]
call fcn.18000f384
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 0x180050787
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.18001b9cc
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x1800507fc
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800507f7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050a9e
call fcn.1800947c4
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r15
jne 0x180050720
mov rdx, r14
mov ecx, 0xa
call fcn.1800a1dd0
cmp qword [rdi + 0x98], r12
jbe 0x180050a83
mov byte [rbp - 0x68], 0x43
mov rcx, r12
mov byte [rbp - 0x67], 0x45
mov byte [rbp - 0x66], 0x4a
mov byte [rbp - 0x65], 0x4b
mov byte [rbp - 0x64], 0x47
mov byte [rbp - 0x63], 0x58
mov byte [rbp - 0x62], 0x47
mov byte [rbp - 0x61], 0x4f
mov byte [rbp - 0x60], 0x47
mov byte [rbp - 0x5f], 0x50
mov byte [rbp - 0x5e], 0x56
mov byte [rbp - 0x5d], 0x55
mov byte [rbp - 0x5c], r12b
mov al, byte [rbp - 0x68]
mov al, byte [rbp + rcx - 0x68]
sub al, 2
mov byte [rbp + rcx - 0x68], al
inc rcx
cmp rcx, 0xc
jb 0x18005085f
mov byte [rbp + 0x7f], 0x5c
mov rcx, r12
mov byte [rbp + 0x80], 0x26
mov byte [rbp + 0x81], reloc.WS2_32.dll_WSACleanup
mov byte [rbp + 0x82], 0x5e
mov byte [rbp + 0x83], 0xb
mov byte [rbp + 0x84], r12b
mov al, byte [rbp + 0x7f]
mov al, byte [rbp + rcx + 0x7f]
dec al
mov byte [rbp + rcx + 0x7f], al
inc rcx
cmp rcx, 5
jb 0x18005089f
lea r8, [rbp - 0x68]
mov rcx, r14
lea rdx, [rbp + 0x7f]
call fcn.18001b9cc
mov rdi, qword [rdi + 0x90]
mov rbx, qword [rdi]
jmp 0x180050a6d
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 0x1800508ef
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 9]
call fcn.18000f384
mov rax, qword [rbx + 0x30]
mov rcx, r12
mov qword [rbp + 0x17], rax
test al, al
je 0x18005093b
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 0x180050922
lea r9, [rbp + 0x67]
jmp 0x18005096d
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 0x180050956
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 0x1800509ff
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.18001b9cc
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x180050a6a
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050a65
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050aa4
call fcn.1800947c4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1800508d1
mov rdx, r14
mov ecx, 0xa
call fcn.1800a1dd0
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.180098ad0
int3
call fcn.180098ad0
int3