Function at 0x1400023dc
Capabilities:
Encode data using xor
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov rax, qword [0x140078180]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
mov qword [rbp - 0x38], rcx
mov edx, 0x100
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, 0x5c
xor edx, edx
call fcn.1400012c0
mov word [rsp + 0x20], ax
mov ecx, 0x53
lea edx, [rcx - 0x52]
call fcn.1400012c0
mov word [rsp + 0x22], ax
mov ecx, reloc.WS2_32.dll_WSAGetLastError
lea edx, [rcx - 0x6d]
call fcn.1400012c0
mov word [rsp + 0x24], ax
mov ecx, 0x66
lea edx, [rcx - 0x63]
call fcn.1400012c0
mov word [rsp + 0x26], ax
mov ecx, reloc.WS2_32.dll_WSACleanup
lea edx, [rcx - 0x70]
call fcn.1400012c0
mov word [rsp + 0x28], ax
mov ecx, 0x77
lea edx, [rcx - 0x72]
call fcn.1400012c0
mov word [rsp + 0x2a], ax
mov ecx, 0x61
lea edx, [rcx - 0x5b]
call fcn.1400012c0
mov word [rsp + 0x2c], ax
mov ebx, WSACleanup
mov ecx, ebx
lea edx, [rbx - 0x6b]
call fcn.1400012c0
mov word [rsp + 0x2e], ax
lea ecx, [rbx - 0xd]
lea edx, [rbx - 0x6a]
call fcn.1400012c0
mov word [rsp + 0x30], ax
lea ecx, [rbx - 0x2e]
lea edx, [rbx - 0x69]
call fcn.1400012c0
mov word [rsp + 0x32], ax
lea esi, [rbx - 9]
mov ecx, esi
lea edx, [rbx - 0x68]
call fcn.1400012c0
mov word [rsp + 0x34], ax
lea ecx, [rbx + 1]
lea edx, [rbx - 0x67]
call fcn.1400012c0
mov word [rsp + 0x36], ax
lea ecx, [rbx + 2]
lea edx, [rbx - 0x66]
call fcn.1400012c0
mov word [rsp + 0x38], ax
mov ecx, ebx
lea edx, [rbx - 0x65]
call fcn.1400012c0
mov word [rsp + 0x3a], ax
mov ecx, esi
lea edx, [rbx - 0x64]
call fcn.1400012c0
mov word [rsp + 0x3c], ax
lea ecx, [rbx - 0x10]
lea edx, [rbx - 0x63]
call fcn.1400012c0
mov word [rsp + 0x3e], ax
lea ecx, [rbx + 3]
lea edx, [rbx - 0x62]
call fcn.1400012c0
mov word [rsp + 0x40], ax
lea ecx, [rbx + 2]
lea edx, [rbx - 0x61]
call fcn.1400012c0
mov word [rsp + 0x42], ax
mov ecx, esi
lea edx, [rbx - 0x60]
call fcn.1400012c0
mov word [rsp + 0x44], ax
lea esi, [rbx - 3]
mov ecx, esi
lea edx, [rbx - 0x5f]
call fcn.1400012c0
mov word [rsp + 0x46], ax
lea ebx, [rsi - 1]
mov ecx, ebx
lea edx, [rsi - 0x5b]
call fcn.1400012c0
mov word [rsp + 0x48], ax
lea ecx, [rsi - 0x13]
lea edx, [rsi - 0x5a]
call fcn.1400012c0
mov word [rsp + 0x4a], ax
lea ecx, [rsi - 0x2b]
lea edx, [rsi - 0x59]
call fcn.1400012c0
mov word [rsp + 0x4c], ax
mov ecx, esi
lea edx, [rsi - 0x58]
call fcn.1400012c0
mov word [rsp + 0x4e], ax
lea ecx, [rsi + 8]
lea edx, [rsi - 0x57]
call fcn.1400012c0
mov word [rsp + 0x50], ax
mov ecx, ebx
lea edx, [rsi - 0x56]
call fcn.1400012c0
mov word [rsp + 0x52], ax
lea ecx, [rsi - 3]
lea edx, [rsi - 0x55]
call fcn.1400012c0
mov word [rsp + 0x54], ax
mov ecx, esi
lea edx, [rsi - 0x54]
call fcn.1400012c0
mov word [rsp + 0x56], ax
lea ecx, [rsi - 0xe]
lea edx, [rsi - 0x53]
call fcn.1400012c0
mov word [rsp + 0x58], ax
lea ecx, [rsi - 0xb]
lea edx, [rsi - 0x52]
call fcn.1400012c0
mov word [rsp + 0x5a], ax
lea ecx, [rsi - 0x13]
lea edx, [rsi - 0x51]
call fcn.1400012c0
mov word [rsp + 0x5c], ax
xor ecx, ecx
lea edx, [rsi - 0x50]
call fcn.1400012c0
mov word [rsp + 0x5e], ax
lea edx, [rsi - 0x4f]
movzx ecx, word [str.runas]
call fcn.1400012c0
mov word [rsp + 0x60], ax
lea edx, [rsi - 0x4e]
movzx ecx, word [0x1400652b2]
call fcn.1400012c0
mov word [rsp + 0x62], ax
lea edx, [rsi - 0x4d]
movzx ecx, word [0x1400652b4]
call fcn.1400012c0
mov word [rsp + 0x64], ax
lea edx, [rsi - 0x4c]
movzx ecx, word [0x1400652b6]
call fcn.1400012c0
mov word [rsp + 0x66], ax
lea edx, [rsi - 0x4b]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.1400012c0
mov word [rsp + 0x68], ax
lea edx, [rsi - 0x4a]
movzx ecx, word [0x1400652ba]
call fcn.1400012c0
mov word [rsp + 0x6a], ax
lea edx, [rsi - 0x49]
movzx ecx, word [0x1400652bc]
call fcn.1400012c0
mov word [rsp + 0x6c], ax
lea edx, [rsi - 0x48]
movzx ecx, word [0x1400652be]
call fcn.1400012c0
mov word [rsp + 0x6e], ax
lea edx, [rsi - 0x47]
movzx ecx, word [0x1400652c0]
call fcn.1400012c0
mov word [rsp + 0x70], ax
lea edx, [rsi - 0x46]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.1400012c0
mov word [rsp + 0x72], ax
lea edx, [rsi - 0x45]
movzx ecx, word [0x1400652c4]
call fcn.1400012c0
mov word [rsp + 0x74], ax
lea edx, [rsi - 0x44]
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.1400012c0
mov word [rsp + 0x76], ax
lea edx, [rsi - 0x43]
movzx ecx, word [0x1400652c8]
call fcn.1400012c0
mov word [rsp + 0x78], ax
lea edx, [rsi - 0x42]
movzx ecx, word [0x1400652ca]
call fcn.1400012c0
mov word [rsp + 0x7a], ax
lea edx, [rsi - 0x41]
movzx ecx, word [0x1400652cc]
call fcn.1400012c0
mov word [rsp + 0x7c], ax
lea edx, [rsi - 0x40]
movzx ecx, word [0x1400652ce]
call fcn.1400012c0
mov word [rsp + 0x7e], ax
lea edx, [rsi - 0x3f]
movzx ecx, word [str..exe]
call fcn.1400012c0
mov word [rbp - 0x80], ax
lea edx, [rsi - 0x3e]
movzx ecx, word [0x1400652d2]
call fcn.1400012c0
mov word [rbp - 0x7e], ax
lea edx, [rsi - 0x3d]
movzx ecx, word [0x1400652d4]
call fcn.1400012c0
mov word [rbp - 0x7c], ax
lea edx, [rsi - 0x3c]
movzx ecx, word [0x1400652d6]
call fcn.1400012c0
mov word [rbp - 0x7a], ax
lea edx, [rsi - 0x3b]
movzx ecx, word [0x1400652d8]
call fcn.1400012c0
mov word [rbp - 0x78], ax
lea edx, [rsi - 0x3a]
movzx ecx, word [0x1400652da]
call fcn.1400012c0
mov word [rbp - 0x76], ax
lea edx, [rsi - 0x39]
movzx ecx, word [0x1400652dc]
call fcn.1400012c0
mov word [rbp - 0x74], ax
lea edx, [rsi - 0x38]
movzx ecx, word [0x1400652de]
call fcn.1400012c0
mov word [rbp - 0x72], ax
lea edx, [rsi - 0x37]
movzx ecx, word [str._map]
call fcn.1400012c0
mov word [rbp - 0x70], ax
lea edx, [rsi - 0x36]
movzx ecx, word [0x1400652e2]
call fcn.1400012c0
mov word [rbp - 0x6e], ax
lea edx, [rsi - 0x35]
movzx ecx, word [0x1400652e4]
call fcn.1400012c0
mov word [rbp - 0x6c], ax
lea edx, [rsi - 0x34]
movzx ecx, word [0x1400652e6]
call fcn.1400012c0
mov word [rbp - 0x6a], ax
lea edx, [rsi - 0x33]
movzx ecx, word [0x1400652e8]
call fcn.1400012c0
mov word [rbp - 0x68], ax
lea edx, [rsi - 0x32]
movzx ecx, word [0x1400652ea]
call fcn.1400012c0
mov word [rbp - 0x66], ax
lea edx, [rsi - 0x31]
movzx ecx, word [0x1400652ec]
call fcn.1400012c0
mov word [rbp - 0x64], ax
xor eax, eax
mov word [rbp - 0x62], ax
xor esi, esi
mov edx, esi
movsxd rcx, edx
mov eax, 0x133
add eax, edx
xor word [rsp + rcx*2 + 0x20], ax
inc edx
cmp edx, 0x3f
jb 0x140002898
mov word [rbp - 0x62], si
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
lea rax, [rbp - 0x30]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], si
jne 0x1400028cc
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x58]
call fcn.140009570
nop
lea rax, [rsp + 0x20]
inc rbx
cmp word [rax + rbx*2], si
jne 0x1400028e9
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x58]
call fcn.140008b68
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rcx, [rbp - 0x58]
call fcn.140008d4c
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140057660
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret