Function at 0x180048dd4
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create directory
Encode data using xor
Parse pe header

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, 0xf0
xor r12d, r12d
mov rdi, rcx
cmp qword [rcx + 0x58], r12
ja 0x180048e0b
cmp qword [rcx + 0x98], r12
jbe 0x1800492b6
lea rcx, [0x18010ee00]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180048e2b
xor edx, edx
lea rcx, [0x18010ee00]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rdi + 0x148]
lea rdx, [0x1800c66b0]
call qword [sym.imp.msvcrt.dll__wfopen]
mov r14, rax
test rax, rax
je 0x1800492b6
cmp qword [rdi + 0x58], r12
jbe 0x180049018
mov dword [rbp - 0x55], 9
xor eax, eax
mov byte [rbp - 0x4c], al
mov rdx, r12
mov byte [rbp - 0x51], 0x5a
mov byte [rbp - 0x50], 0x5d
mov byte [rbp - 0x4f], 0x48
mov byte [rbp - 0x4e], 0x5d
mov byte [rbp - 0x4d], 0x5a
mov al, byte [rbp - 0x51]
mov dword [rsp + 0x30], 0x21
mov eax, dword [rsp + 0x30]
xor al, 0x5b
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
inc al
xor al, 0x25
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, 0x73
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x5d
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0xa
mov byte [rsp + 0x38], al
xor eax, eax
mov byte [rbp - 0x80], al
mov al, byte [rsp + 0x34]
mov al, byte [rsp + rdx + 0x34]
mov ecx, dword [rsp + 0x30]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x34], cl
inc rdx
cmp rdx, 5
jb 0x180048ec6
mov byte [rbp - 0x80], r12b
mov rdx, r12
mov al, byte [rbp + rdx - 0x51]
mov ecx, dword [rbp - 0x55]
xor cl, al
mov byte [rbp + rdx - 0x51], cl
inc rdx
cmp rdx, 5
jb 0x180048ee6
lea r8, [rbp - 0x51]
mov byte [rbp - 0x4c], r12b
lea rdx, [rsp + 0x34]
mov rcx, r14
call fcn.180016b18
mov r15, qword [rdi + 0x50]
mov rbx, qword [r15]
cmp rbx, r15
je 0x18004900b
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
xorps xmm0, xmm0
mov qword [rbp - 0x11], r12
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 9], r12
jb 0x180048f3f
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 0x21]
call fcn.18000a4ec
movss xmm0, dword [rbx + 0x30]
mov rcx, r12
movss dword [rbp - 1], xmm0
mov byte [rbp - 0x7d], 0x23
mov byte [rbp - 0x7c], 0x26
mov byte [rbp - 0x7b], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x7a], 0x23
mov byte [rbp - 0x79], 0x21
mov byte [rbp - 0x78], 0x3e
mov byte [rbp - 0x77], 0x21
mov byte [rbp - 0x76], 0x26
mov byte [rbp - 0x75], 0x67
mov byte [rbp - 0x74], 0xb
mov byte [rbp - 0x73], r12b
mov al, byte [rbp - 0x7d]
mov al, byte [rbp + rcx - 0x7d]
dec al
mov byte [rbp + rcx - 0x7d], al
inc rcx
cmp rcx, 0xa
jb 0x180048f88
movss xmm3, dword [rbp - 1]
lea r8, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
lea rdx, [rbp - 0x7d]
cvtps2pd xmm3, xmm3
cmovae r8, qword [rbp - 0x21]
mov rcx, r14
movq r9, xmm3
call fcn.180016b18
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x180048ffd
mov rcx, qword [rbp - 0x21]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180048ff8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800492d8
call fcn.180090a0c
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r15
jmp 0x180048f1b
mov rdx, r14
mov ecx, 0xa
call fcn.18009dbb0
cmp qword [rdi + 0x98], r12
jbe 0x1800492ad
mov byte [rbp - 0x65], 0x49
mov rcx, r12
mov byte [rbp - 0x64], 0x4b
mov byte [rbp - 0x63], 0x50
mov byte [rbp - 0x62], 0x51
mov byte [rbp - 0x61], 0x4d
mov byte [rbp - 0x60], 0x5e
mov byte [rbp - 0x5f], 0x4d
mov byte [rbp - 0x5e], 0x55
mov byte [rbp - 0x5d], 0x4d
mov byte [rbp - 0x5c], 0x56
mov byte [rbp - 0x5b], 0x5c
mov byte [rbp - 0x5a], 0x5b
mov byte [rbp - 0x59], r12b
mov al, byte [rbp - 0x65]
mov al, byte [rbp + rcx - 0x65]
sub al, 8
mov byte [rbp + rcx - 0x65], al
inc rcx
cmp rcx, 0xc
jb 0x18004905f
mov byte [rbp + 0x67], 0x61
mov rcx, r12
mov byte [rbp + 0x68], 0x2b
mov byte [rbp + 0x69], 0x79
mov byte [rbp + 0x6a], 0x63
mov byte [rbp + 0x6b], 0x10
mov byte [rbp + 0x6c], r12b
mov al, byte [rbp + 0x67]
mov al, byte [rbp + rcx + 0x67]
sub al, 6
mov byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 5
jb 0x180049090
lea r8, [rbp - 0x65]
mov rcx, r14
lea rdx, [rbp + 0x67]
call fcn.180016b18
mov rdi, qword [rdi + 0x90]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1800492a0
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 0x17], r12
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x1f], r12
jb 0x1800490e4
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x20]
lea rcx, [rbp + 7]
call fcn.18000a4ec
mov rax, qword [rbx + 0x30]
mov qword [rbp + 0x27], rax
test al, al
je 0x180049157
mov dword [rbp - 0x71], reloc.WS2_32.dll_WSAStartup
mov rdx, r12
mov eax, dword [rbp - 0x71]
xor al, 0x74
mov byte [rbp - 0x6d], al
mov eax, dword [rbp - 0x71]
inc al
xor al, 0x72
mov byte [rbp - 0x6c], al
mov eax, dword [rbp - 0x71]
add al, 2
xor al, 0x75
mov byte [rbp - 0x6b], al
mov eax, dword [rbp - 0x71]
add al, 3
xor al, 0x65
mov byte [rbp - 0x6a], al
xor eax, eax
mov byte [rbp - 0x69], al
mov al, byte [rbp - 0x6d]
mov al, byte [rbp + rdx - 0x6d]
mov ecx, dword [rbp - 0x71]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x6d], cl
inc rdx
cmp rdx, 4
jb 0x180049135
mov byte [rbp - 0x69], r12b
lea r9, [rbp - 0x6d]
jmp 0x18004918c
mov byte [rbp + 0x6f], 0x6a
mov rcx, r12
mov byte [rbp + 0x70], 0x65
mov byte [rbp + 0x71], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp + 0x72], 0x77
mov byte [rbp + 0x73], 0x69
mov byte [rbp + 0x74], r12b
mov al, byte [rbp + 0x6f]
mov al, byte [rbp + rcx + 0x6f]
sub al, 4
mov byte [rbp + rcx + 0x6f], al
inc rcx
cmp rcx, 5
jb 0x180049175
lea r9, [rbp + 0x6f]
mov dword [rbp - 0x49], 0x29
xor eax, eax
mov byte [rbp - 0x45], 0xb
mov rdx, r12
mov byte [rbp - 0x44], 0xc
mov byte [rbp - 0x43], 0x5a
mov byte [rbp - 0x42], 0xb
mov byte [rbp - 0x41], 9
mov byte [rbp - 0x40], 0x14
mov byte [rbp - 0x3f], 9
mov byte [rbp - 0x3e], 0x52
mov byte [rbp - 0x3d], 0x5c
mov byte [rbp - 0x3c], 0x47
mov byte [rbp - 0x3b], 0x45
mov byte [rbp - 0x3a], 0x46
mov byte [rbp - 0x39], 0x4a
mov byte [rbp - 0x38], 0x42
mov byte [rbp - 0x37], 0x4c
mov byte [rbp - 0x36], 0x4d
mov byte [rbp - 0x35], 9
mov byte [rbp - 0x34], 0x14
mov byte [rbp - 0x33], 9
mov byte [rbp - 0x32], 0xc
mov byte [rbp - 0x31], 0x5a
mov byte [rbp - 0x30], 5
mov byte [rbp - 0x2f], 9
mov byte [rbp - 0x2e], 0x5d
mov byte [rbp - 0x2d], 0x40
mov byte [rbp - 0x2c], 0x44
mov byte [rbp - 0x2b], 0x4c
mov byte [rbp - 0x2a], 9
mov byte [rbp - 0x29], 0x14
mov byte [rbp - 0x28], 9
mov byte [rbp - 0x27], 0xc
mov byte [rbp - 0x26], 0x4d
mov byte [rbp - 0x25], 0x54
mov byte [rbp - 0x24], 0x23
mov byte [rbp - 0x23], al
mov al, byte [rbp - 0x45]
mov al, byte [rbp + rdx - 0x45]
mov ecx, dword [rbp - 0x49]
xor cl, al
mov byte [rbp + rdx - 0x45], cl
inc rdx
cmp rdx, 0x22
jb 0x180049226
cmp qword [rbp + 0x1f], 0x10
lea r8, [rbp + 7]
mov eax, dword [rbp + 0x2b]
lea rdx, [rbp - 0x45]
cmovae r8, qword [rbp + 7]
mov rcx, r14
mov byte [rbp - 0x23], r12b
mov dword [rsp + 0x20], eax
call fcn.180016b18
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x180049298
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049293
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800492d2
call fcn.180090a0c
mov rbx, qword [rbx]
jmp 0x1800490bd
mov rdx, r14
mov ecx, 0xa
call fcn.18009dbb0
mov rcx, r14
call qword [sym.imp.msvcrt.dll_fclose]
lea r11, [rsp + 0xf0]
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.1800948a0
int3
call fcn.1800948a0
int3