joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013efa0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x14013f0c4
cmp r8d, 0xff
jne 0x14013f001
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x14013efeb
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x180fc0]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.14011b8b0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.14011b8b0
cmp r8d, 0xfb
jne 0x14013f013
lea r9, str.WILL
jmp 0x14013f051
cmp r8d, 0xfc
jne 0x14013f025
lea r9, str.WONT
jmp 0x14013f051
cmp r8d, 0xfd
jne 0x14013f037
lea r9, [0x1401819e4]
jmp 0x14013f051
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x14013f0ad
cmp r10d, 0x27
jg 0x14013f084
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x1815e0]
test r8, r8
jne 0x14013f094
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.14011b8b0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x14013f06b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.14011b8b0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.14011b8b0
add rsp, 0x38
ret

Function at 0x14013f410
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14013f46f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14011b730
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.14013efa0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14013f620
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14013f7c8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14013f685
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14013f685
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14013f685
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14013f6bc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14013f712
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14013f712
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14013f712
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14013f712
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14013f712
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14013f0d0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14013f774
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14011b730
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14013f4a0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14013f7c0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14011b730
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140140f30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1401c0080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140140fc5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140141026
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14011b730
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140154040
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1401410e1
sub ecx, 1
je 0x140141154
sub ecx, 1
je 0x140141090
cmp ecx, 1
je 0x140141073
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14019b52c]
call fcn.14011b730
jmp 0x140141154
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140140c60
test eax, eax
je 0x140141154
jmp 0x140140ffa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140141154
sub rax, rsi
cmp rax, rbp
jae 0x140141154
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14011b8b0
jmp 0x140141154
cmp r8d, 4
jle 0x140141154
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140141154
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14011b650
mov esi, eax
test eax, eax
je 0x140141133
mov edx, 5
mov rcx, rbx
call fcn.140141c20
mov eax, esi
jmp 0x140140ffa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14012a050
mov rcx, r14
call fcn.14012a330
test eax, eax
je 0x140140ff8
mov edx, 5
mov rcx, rbx
call fcn.140141c20
mov eax, Ordinal_46
jmp 0x140140ffa
Function at 0x140153ef0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140153f32
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140153f79
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140153fd2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140153f90
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140154013
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140184b1b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140184b1c]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140153fe0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1401550e8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14015535a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14015535f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1401553a8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1401553a8
dec r8
sub rdx, 1
jne 0x14015538e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140155af4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1401553c0
mov ebx, eax
test eax, eax
jne 0x140155b24
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140155b87
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140155b7e
test al, 0x10
je 0x140155b7e
bt eax, 0xa
jae 0x140155b77
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140155b98
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140155b73
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140155b73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140155b7e
and dword [rsp + 0x3c], 0
jmp 0x140155b83
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
in eax, dx
jb 0x14003f649
pop rdx
adc ch, byte [rdx - 0x7d]
invalid
pop rbx
xchg esi, eax
rdmsr
or ch, ah
cmpsb byte [rsi], byte [rdi]
invalid
sub eax, 0x1069decf
ror byte [rsi + 8], 0x94
sbb r12d, dword [r9 + 0x1c8a7636]
xchg ebp, eax
sbb al, byte [rdx - 0x56649296]
jne 0x14003f6a8
invalid
jae 0x14003f5d2
pushfq
loop 0x14003f681
fcom dword [rbx + 2]
xor esi, edi
out 0x6c, al
adc dword [rsi], eax
add eax, dword [rsi + 0x72]
stosd dword [rdi], eax
movabs byte [0xc93aa1cb481fcf8d], al
retfq
invalid
cmp cl, cl
test dword [rbx], eax
add edx, ebp
invalid
add edx, ebp
pop rsi
xor al, 0xf0
jno 0x14003f66a
sbb al, 0x25
add byte [rbx - 0xb20b8e5], bh
xor ah, ch
jo 0x14003f5fa
invalid
xchg edx, eax
invalid
fldln2
ffree st(0)
retf 0xeb66
jbe 0x14003f6ba
push rsp
push rbp
je 0x14003f63b
out 0xec, al
adc ecx, ebx
and al, 0xcc
test dword [rbx + 0x7d], edx
cli
in eax, dx
xchg esi, eax
lodsd eax, dword [rsi]
loop 0x14003f6a1
sub byte [rsi], cl
mov es, word [rsi + 0x32]
stosb byte [rdi], al
mov dl, 0xa5
invalid
invalid
ret
push rbx
stc
cmp byte [0x17ed9437d], bl
iretd
invalid
pushfq
mov esi, ss
sal dh, 0x8c
loop 0x14003f6ab
je 0x14003f715
add ebx, esi
and dword [rdi + rdx*2], edx
lodsd eax, dword [rsi]
xchg byte [rcx], ch
invalid
cmp dword [rdi + rcx*8 - 0x548a77e0], esi
mov byte [rbp - 0x55], dh
jae 0x14003f719
mov bh, 0xa2
xor bh, ah
mov edi, esi
invalid
Function at 0x14000f9dc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140131040]
xor rax, rsp
mov qword [rbp - 8], rax
mov qword [rbp - 0x18], rdx
mov rbx, rdx
mov rcx, qword [rcx]
add rcx, 0x18
call fcn.14001163c
lea rcx, [rax + 8]
call fcn.14001163c
test rax, rax
je 0x14000fa25
mov rdx, rax
mov rcx, rbx
call fcn.14000f85c
jmp 0x14000fa8c
mov cl, 0x22
mov dword [rbp - 0x18], 0x1d1d1d22
mov dword [rbp - 0x14], 0x434e417d
xor eax, eax
mov dword [rbp - 0x10], 0x434c5151
mov word [rbp - 0xc], 0x474f
mov byte [rbp - 0xa], 0
xor byte [rbp + rax - 0x17], cl
inc rax
cmp rax, 0xd
jae 0x14000fa5a
mov cl, byte [rbp - 0x18]
jmp 0x14000fa48
xorps xmm0, xmm0
mov byte [rbp - 0xa], 0
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
lea rax, [rbp - 0x17]
and qword [rbx + 0x18], 0
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000fa76
lea rdx, [rbp - 0x17]
mov rcx, rbx
call fcn.140004c70
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400e8180
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret

Function at 0x1400117c4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400e81a0
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400122dc]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14001181e
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14002e9e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x88
mov rax, qword [0x140131040]
xor rax, rsp
mov qword [rbp + 7], rax
mov qword [rbp - 0x49], r9
mov r15, r8
mov r13, rdx
mov r14, rcx
xor esi, esi
mov dword [rbp - 0x51], esi
mov qword [rbp - 0x41], rdx
mov rbx, rdx
lea rax, [r8 - 1]
mov qword [rbp - 0x51], rax
mov r12, rax
sar r12, 1
cmp rdx, r12
jge 0x14002eaad
lea rdi, [rbx + rbx]
lea rbx, [rdi + 2]
shl rbx, 5
add rbx, r14
lea rdx, [rbx - 0x20]
lea rcx, [rbp - 0x19]
call fcn.140003b80
or esi, 1
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140003b80
or esi, 2
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x39]
call fcn.14002dbc8
movzx ebx, al
lea rcx, [rbp - 0x39]
call fcn.140003b1c
nop
lea rcx, [rbp - 0x19]
call fcn.140003b1c
xor rbx, 1
inc rbx
add rbx, rdi
mov rdx, rbx
shl rdx, 5
add rdx, r14
shl r13, 5
lea rcx, [r14 + r13]
call fcn.14000b34c
mov r13, rbx
cmp rbx, r12
jl 0x14002ea33
mov rdi, rbx
cmp rbx, r12
jne 0x14002ead7
test r15b, 1
jne 0x14002ead7
shl r15, 5
lea rdx, [r14 - 0x20]
add rdx, r15
shl rbx, 5
lea rcx, [r14 + rbx]
call fcn.14000b34c
mov rdi, qword [rbp - 0x51]
lea rbx, [rdi - 1]
mov r12, qword [rbp - 0x49]
mov r13, qword [rbp - 0x41]
sar rbx, 1
cmp r13, rdi
jge 0x14002eb32
mov rdx, r12
lea rcx, [rbp - 0x39]
call fcn.140003b80
or esi, 0x10
or esi, 4
mov dword [rbp - 0x51], esi
mov rdx, rbx
shl rdx, 5
add rdx, r14
lea rcx, [rbp - 0x19]
call fcn.140003b80
or esi, 0x20
or esi, 8
mov dword [rbp - 0x51], esi
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x19]
call fcn.14002dbc8
test al, al
je 0x14002eb32
mov r15b, 1
jmp 0x14002eb35
xor r15b, r15b
test sil, 8
je 0x14002eb48
and esi, 0xfffffff7
lea rcx, [rbp - 0x19]
call fcn.140003b1c
nop
test sil, 4
je 0x14002eb5a
and esi, 0xfffffffb
lea rcx, [rbp - 0x39]
call fcn.140003b1c
shl rdi, 5
lea rcx, [rdi + r14]
test r15b, r15b
je 0x14002eb81
mov rdx, rbx
shl rdx, 5
add rdx, r14
call fcn.14000b34c
mov rdi, rbx
dec rbx
jmp 0x14002eae3
mov rdx, r12
call fcn.14000b34c
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400e8180
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14003085c
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1400308b6
mov r11b, 0x23
lea rbx, [0x14010d650]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x1400308a0
cmp rdx, 2
jb 0x1400308a0
cmp byte [r10], r11b
jne 0x1400308a0
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x14003087e
jmp 0x1400308f7
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x1400308f7
mov r11b, 0x23
lea rbx, [0x14010d650]
cmp dl, r11b
jne 0x1400308db
cmp byte [r10], r11b
jne 0x1400308db
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x1400308c9
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x14007f620
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea r12, [r8 - 1]
mov qword [rsp + 0x50], rdx
sar r12, 1
mov r14, r9
mov r13, r8
mov rsi, rdx
mov rbp, rcx
mov r15, rdx
cmp rdx, r12
jge 0x14007f6bf
lea rbx, [r15 + r15]
lea rax, [rbx + 2]
imul rdx, rax, 0x38
lea rcx, [rsp + 0x70]
add rdx, rbp
lea r8, [rdx - 0x38]
call fcn.140073870
movzx r8d, al
lea r15, [rbx + 1]
xor r8, 1
add r15, r8
imul rdi, r15, 0x38
imul rbx, rsi, 0x38
add rdi, rbp
mov eax, dword [rdi]
lea rdx, [rdi + 8]
add rbx, rbp
lea rcx, [rbx + 8]
mov dword [rbx], eax
call fcn.1400110e0
mov rax, qword [rdi + 0x28]
mov rsi, r15
mov qword [rbx + 0x28], rax
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x30], rax
cmp r15, r12
jl 0x14007f65c
cmp r15, r12
jne 0x14007f701
test r13b, 1
jne 0x14007f701
imul rdi, r13, 0x38
imul rbx, rsi, 0x38
mov eax, dword [rdi + rbp - 0x38]
lea rdx, [rbp - 0x30]
add rdx, rdi
add rbx, rbp
lea rcx, [rbx + 8]
mov dword [rbx], eax
call fcn.1400110e0
mov rax, qword [rdi + rbp - 0x10]
lea rsi, [r13 - 1]
mov qword [rbx + 0x28], rax
mov rax, qword [rdi + rbp - 8]
mov qword [rbx + 0x30], rax
mov r12, qword [rsp + 0x50]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
cmp r12, rsi
jge 0x14007f768
lea rdi, [rsi - 1]
mov r8, r14
sar rdi, 1
lea rcx, [rsp + 0x70]
imul r15, rdi, 0x38
add r15, rbp
mov rdx, r15
call fcn.140073870
test al, al
je 0x14007f768
mov eax, dword [r15]
lea rdx, [r15 + 8]
imul rbx, rsi, 0x38
add rbx, rbp
lea rcx, [rbx + 8]
mov dword [rbx], eax
call fcn.1400110e0
mov rax, qword [r15 + 0x28]
mov rsi, rdi
mov qword [rbx + 0x28], rax
mov rax, qword [r15 + 0x30]
mov qword [rbx + 0x30], rax
cmp r12, rdi
jl 0x14007f715
mov eax, dword [r14]
lea rdx, [r14 + 8]
imul rbx, rsi, 0x38
add rbx, rbp
lea rcx, [rbx + 8]
mov dword [rbx], eax
call fcn.1400110e0
mov rax, qword [r14 + 0x28]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x28], rax
mov rax, qword [r14 + 0x30]
mov qword [rbx + 0x30], rax
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x4030c0
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
sub rsp, 0x148
mov rax, qword [0x004232f8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rsi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x20]
mov edx, 0x104
mov qword [r11 - 8], rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor eax, eax
lea rdi, [rsp + 0x20]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x0041b544]
mov rcx, 0xffffffffffffffff
mov word [rdi - 1], ax
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
xor ecx, ecx
nop
nop
movzx eax, byte [rbx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x403130
lea rdx, [0x0041b540]
lea rcx, [rsp + 0x20]
call fcn.004095d0
mov rdi, qword [rsp + 0x140]
mov rbx, qword [rsp + 0x160]
mov qword [rsi + 0x220], rax
mov rsi, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.004095f0
add rsp, 0x148
ret

Function at 0x4031a0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
sub rsp, 0x68
lea rax, [rsp + 0x50]
lea rdx, str.SoftwareSynapticsTempResults
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor eax, eax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20206
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4032a7
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x78]
lea rdx, str.InstallResult
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [rsp + 0x80], 0
je 0x403262
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x80]
lea rdx, str.InstallError
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [rsp + 0x88], 0xffffffff
je 0x40329c
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x88]
lea rdx, str.InstallStage
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x68
ret

Function at 0x4036f0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x40], rbx
mov rbx, rdx
mov edx, 0x104
mov rcx, rbx
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor eax, eax
mov rdi, rbx
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str.inf_]
mov dword [rdi - 1], eax
movzx eax, word [0x0041b664]
mov word [rdi + 3], ax
mov rdi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
ret