Function at 0x1406bfb90
Capabilities:
Authenticate hmac
Encode data using xor
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rbx, rcx
xor edi, edi
mov edx, 0x100
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, 0x5c
xor edx, edx
call fcn.1406ba5a0
mov word [rsp + 0x20], ax
mov ecx, 0x53
mov edx, 1
call fcn.1406ba5a0
mov word [rsp + 0x22], ax
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov edx, 2
call fcn.1406ba5a0
mov word [rsp + 0x24], ax
mov ecx, 0x66
mov edx, 3
call fcn.1406ba5a0
mov word [rsp + 0x26], ax
mov ecx, reloc.WS2_32.dll_WSACleanup
mov edx, 4
call fcn.1406ba5a0
mov word [rsp + 0x28], ax
mov ecx, 0x77
mov edx, 5
call fcn.1406ba5a0
mov word [rsp + 0x2a], ax
mov ecx, 0x61
mov edx, 6
call fcn.1406ba5a0
mov word [rsp + 0x2c], ax
mov ecx, WSACleanup
mov edx, 7
call fcn.1406ba5a0
mov word [rsp + 0x2e], ax
mov ecx, 0x65
mov edx, 8
call fcn.1406ba5a0
mov word [rsp + 0x30], ax
mov ecx, 0x44
mov edx, 9
call fcn.1406ba5a0
mov word [rsp + 0x32], ax
mov ecx, 0x69
mov edx, 0xa
call fcn.1406ba5a0
mov word [rsp + 0x34], ax
mov ecx, reloc.WS2_32.dll_WSAStartup
mov edx, ntohl
call fcn.1406ba5a0
mov word [rsp + 0x36], ax
mov ecx, reloc.WS2_32.dll_WSACleanup
mov edx, ntohl
call fcn.1406ba5a0
mov word [rsp + 0x38], ax
mov ecx, WSACleanup
mov edx, reloc.WS2_32.dll_listen
call fcn.1406ba5a0
mov word [rsp + 0x3a], ax
mov ecx, 0x69
mov edx, reloc.WS2_32.dll_ntohl
call fcn.1406ba5a0
mov word [rsp + 0x3c], ax
mov ecx, 0x62
mov edx, reloc.WS2_32.dll_ntohs
call fcn.1406ba5a0
mov word [rsp + 0x3e], ax
mov ecx, 0x75
mov edx, reloc.WS2_32.dll_recv
call fcn.1406ba5a0
mov word [rsp + 0x40], ax
mov ecx, reloc.WS2_32.dll_WSACleanup
mov edx, reloc.WS2_32.dll_recvfrom
call fcn.1406ba5a0
mov word [rsp + 0x42], ax
mov ecx, 0x69
mov edx, reloc.WS2_32.dll_select
call fcn.1406ba5a0
mov word [rsp + 0x44], ax
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov edx, reloc.WS2_32.dll_send
call fcn.1406ba5a0
mov word [rsp + 0x46], ax
mov ecx, WSASetLastError
mov edx, reloc.WS2_32.dll_sendto
call fcn.1406ba5a0
mov word [rsp + 0x48], ax
mov ecx, 0x5c
mov edx, reloc.WS2_32.dll_setsockopt
call fcn.1406ba5a0
mov word [rsp + 0x4a], ax
mov ecx, 0x44
mov edx, reloc.WLDAP32.dll_Ordinal_22
call fcn.1406ba5a0
mov word [rsp + 0x4c], ax
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov edx, reloc.WS2_32.dll_socket
call fcn.1406ba5a0
mov word [rsp + 0x4e], ax
mov ecx, 0x77
mov edx, Ordinal_26
call fcn.1406ba5a0
mov word [rsp + 0x50], ax
mov ecx, WSASetLastError
mov edx, Ordinal_26
call fcn.1406ba5a0
mov word [rsp + 0x52], ax
mov ecx, WSASetLastError
mov edx, reloc.WLDAP32.dll_Ordinal_26
call fcn.1406ba5a0
mov word [rsp + 0x54], ax
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov edx, reloc.WLDAP32.dll_Ordinal_27
call fcn.1406ba5a0
mov word [rsp + 0x56], ax
mov ecx, 0x61
mov edx, Ordinal_30
call fcn.1406ba5a0
mov word [rsp + 0x58], ax
mov ecx, 0x64
mov edx, Ordinal_33
call fcn.1406ba5a0
mov word [rsp + 0x5a], ax
mov ecx, 0x5c
mov edx, reloc.WLDAP32.dll_Ordinal_30
call fcn.1406ba5a0
mov word [rsp + 0x5c], ax
xor ecx, ecx
mov edx, Ordinal_33
call fcn.1406ba5a0
mov word [rsp + 0x5e], ax
mov edx, reloc.WLDAP32.dll_Ordinal_32
movzx ecx, word [str.runas]
call fcn.1406ba5a0
mov word [rsp + 0x60], ax
mov edx, reloc.WLDAP32.dll_Ordinal_33
movzx ecx, word [0x14075f322]
call fcn.1406ba5a0
mov word [rsp + 0x62], ax
mov edx, Ordinal_35
movzx ecx, word [0x14075f324]
call fcn.1406ba5a0
mov word [rsp + 0x64], ax
mov edx, reloc.WLDAP32.dll_Ordinal_35
movzx ecx, word [0x14075f326]
call fcn.1406ba5a0
mov word [rsp + 0x66], ax
mov edx, 0x24
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.1406ba5a0
mov word [rsp + 0x68], ax
mov edx, Ordinal_41
movzx ecx, word [0x14075f32a]
call fcn.1406ba5a0
mov word [rsp + 0x6a], ax
mov edx, Ordinal_41
movzx ecx, word [0x14075f32c]
call fcn.1406ba5a0
mov word [rsp + 0x6c], ax
mov edx, Ordinal_41
movzx ecx, word [0x14075f32e]
call fcn.1406ba5a0
mov word [rsp + 0x6e], ax
mov edx, Ordinal_41
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_46]
call fcn.1406ba5a0
mov word [rsp + 0x70], ax
mov edx, reloc.WLDAP32.dll_Ordinal_41
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.1406ba5a0
mov word [rsp + 0x72], ax
mov edx, Ordinal_45
movzx ecx, word [0x14075f334]
call fcn.1406ba5a0
mov word [rsp + 0x74], ax
mov edx, Ordinal_45
movzx ecx, word [reloc.WS2_32.dll_WSAStartup]
call fcn.1406ba5a0
mov word [rsp + 0x76], ax
mov edx, Ordinal_45
movzx ecx, word [0x14075f338]
call fcn.1406ba5a0
mov word [rsp + 0x78], ax
mov edx, reloc.WLDAP32.dll_Ordinal_45
movzx ecx, word [0x14075f33a]
call fcn.1406ba5a0
mov word [rsp + 0x7a], ax
mov edx, reloc.WLDAP32.dll_Ordinal_46
movzx ecx, word [0x14075f33c]
call fcn.1406ba5a0
mov word [rsp + 0x7c], ax
mov edx, Ordinal_50
movzx ecx, word [0x14075f33e]
call fcn.1406ba5a0
mov word [rsp + 0x7e], ax
mov edx, Ordinal_50
movzx ecx, word [str..exe]
call fcn.1406ba5a0
mov word [rbp - 0x80], ax
mov edx, Ordinal_50
movzx ecx, word [0x14075f342]
call fcn.1406ba5a0
mov word [rbp - 0x7e], ax
mov edx, reloc.WLDAP32.dll_Ordinal_50
movzx ecx, word [0x14075f344]
call fcn.1406ba5a0
mov word [rbp - 0x7c], ax
mov edx, 0x33
movzx ecx, word [0x14075f346]
call fcn.1406ba5a0
mov word [rbp - 0x7a], ax
mov edx, 0x34
movzx ecx, word [0x14075f348]
call fcn.1406ba5a0
mov word [rbp - 0x78], ax
mov edx, gethostname
movzx ecx, word [0x14075f34a]
call fcn.1406ba5a0
mov word [rbp - 0x76], ax
mov edx, gethostname
movzx ecx, word [0x14075f34c]
call fcn.1406ba5a0
mov word [rbp - 0x74], ax
mov edx, gethostname
movzx ecx, word [0x14075f34e]
call fcn.1406ba5a0
mov word [rbp - 0x72], ax
mov edx, Ordinal_60
movzx ecx, word [str._map]
call fcn.1406ba5a0
mov word [rbp - 0x70], ax
mov edx, reloc.WS2_32.dll_gethostname
movzx ecx, word [0x14075f352]
call fcn.1406ba5a0
mov word [rbp - 0x6e], ax
mov edx, Ordinal_60
movzx ecx, word [0x14075f354]
call fcn.1406ba5a0
mov word [rbp - 0x6c], ax
mov edx, Ordinal_60
movzx ecx, word [reloc.WS2_32.dll_WSASetLastError]
call fcn.1406ba5a0
mov word [rbp - 0x6a], ax
mov edx, reloc.WLDAP32.dll_Ordinal_60
movzx ecx, word [reloc.WLDAP32.dll_Ordinal_32]
call fcn.1406ba5a0
mov word [rbp - 0x68], ax
mov edx, 0x3d
movzx ecx, word [0x14075f35a]
call fcn.1406ba5a0
mov word [rbp - 0x66], ax
mov edx, 0x3e
movzx ecx, word [0x14075f35c]
call fcn.1406ba5a0
mov word [rbp - 0x64], ax
xor eax, eax
mov word [rbp - 0x62], ax
movdqa xmm4, xmmword [0x14075fc70]
movdqa xmm5, xmmword [0x14075fd00]
nop dword [rax]
movsxd rdx, eax
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm5
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x20]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x20], xmm3
lea ecx, [rax + 4]
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm5
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x28]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x28], xmm3
lea ecx, [rax + 8]
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm5
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x30]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x30], xmm3
lea ecx, [rax + 0xc]
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm5
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x38]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x38], xmm3
add eax, 0x10
cmp eax, 0x30
jb 0x1406c00f0
cmp eax, 0x3f
jae 0x1406c01fa
mov r8d, 0x133
nop
movsxd rcx, eax
lea rdx, [rsp + 0x20]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
xor word [rdx], cx
inc eax
cmp eax, 0x3f
jb 0x1406c01e0
mov word [rbp - 0x62], di
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x1406c0220
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x58]
call fcn.1406d4670
nop
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x58]
mov rcx, rbx
call fcn.1406d39a0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x1406c028d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1406c0288
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1406c0288
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140741b18
mov rax, rbx
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret