joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14012e6a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x14012e8aa
mov r8, qword [rdi + 8]
nop dword [rax]
nop word [rax + rax]
lea ecx, [r8 + 0xff]
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x14012e764
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x14012e720
mov ecx, dword [r10]
jmp 0x14012e847
cmp ecx, 0x4e0
jb 0x14012e847
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14012e780
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14012e7d0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x14012e700
mov r8, qword [rdi + 8]
or esi, eax
lea ecx, [r8 + 0xff]
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x14012e6f0
xor edx, edx
mov eax, ebp
div r15d
mov ecx, eax
mov r8d, edx
xor edx, edx
mov eax, esi
div r15d
cmp eax, ecx
jb 0x14012e8ca
cmp r8d, r14d
jne 0x14012e6d0
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret
Function at 0x140145dd0
Capabilities:
Get geographical location
Terminate process

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], SafeArrayLock
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x20], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x140145e6e
cmp rax, 0xffffffffffffffff
je 0x140145e6e
mov ecx, SafeArrayLock
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400f91f0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400c3960
lea rcx, [rsp + 0x40]
call fcn.1400c2b80
lea rdx, [rsp + 0x20]
lea rcx, [0x140355910]
call fcn.1400fcc30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140146050
Capabilities:
Get geographical location
Identify system language via api
Terminate process

Disassembly:
push rbx
sub rsp, 0x2d0
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x60], SafeArrayLock
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x48], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x14014616a
cmp rax, 0xffffffffffffffff
je 0x14014616a
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov r9d, 0x208
lea r8, [rsp + 0xb0]
mov edx, 0x5c
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140146101
lea rdx, str.en_us
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.1400c1a70
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x28]
call fcn.1400c19b0
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.1401b68c0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400c3960
lea rcx, [rsp + 0x88]
call fcn.1400c2b80
lea rdx, [rsp + 0x48]
lea rcx, [0x140355910]
call fcn.1400fcc30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140146180
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], SafeArrayLock
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x20], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x140146219
cmp rax, 0xffffffffffffffff
je 0x140146219
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400f2fc0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400c3960
lea rcx, [rsp + 0x40]
call fcn.1400c2b80
lea rdx, [rsp + 0x20]
lea rcx, [0x140355910]
call fcn.1400fcc30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140146230
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401c0850
sub rsp, rax
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140164400
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayLock
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x14014632e
cmp rax, 0xffffffffffffffff
je 0x14014632e
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.1401654c0
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400c1a70
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400c19b0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401b68c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400c3960
lea rcx, [rsp + 0x90]
call fcn.1400c2b80
lea rdx, [rsp + 0x50]
lea rcx, [0x140355910]
call fcn.1400fcc30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140146340
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401c0850
sub rsp, rax
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140164400
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayLock
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x14014643e
cmp rax, 0xffffffffffffffff
je 0x14014643e
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140165400
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400c1a70
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400c19b0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401b68c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400c3960
lea rcx, [rsp + 0x90]
call fcn.1400c2b80
lea rdx, [rsp + 0x50]
lea rcx, [0x140355910]
call fcn.1400fcc30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140146450
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401c0850
sub rsp, rax
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140164400
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayLock
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x14014654e
cmp rax, 0xffffffffffffffff
je 0x14014654e
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140165480
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400c1a70
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400c19b0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401b68c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400c3960
lea rcx, [rsp + 0x90]
call fcn.1400c2b80
lea rdx, [rsp + 0x50]
lea rcx, [0x140355910]
call fcn.1400fcc30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140146560
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401c0850
sub rsp, rax
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140164400
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayLock
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x14014665e
cmp rax, 0xffffffffffffffff
je 0x14014665e
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140165670
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400c1a70
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400c19b0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401b68c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400c3960
lea rcx, [rsp + 0x90]
call fcn.1400c2b80
lea rdx, [rsp + 0x50]
lea rcx, [0x140355910]
call fcn.1400fcc30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140146670
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401c0850
sub rsp, rax
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140164400
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayLock
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x14014676e
cmp rax, 0xffffffffffffffff
je 0x14014676e
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140165540
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400c1a70
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400c19b0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401b68c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400c3960
lea rcx, [rsp + 0x90]
call fcn.1400c2b80
lea rdx, [rsp + 0x50]
lea rcx, [0x140355910]
call fcn.1400fcc30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140146780
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401c0850
sub rsp, rax
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140164400
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayLock
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x14014687e
cmp rax, 0xffffffffffffffff
je 0x14014687e
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140165580
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400c1a70
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400c19b0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401b68c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400c3960
lea rcx, [rsp + 0x90]
call fcn.1400c2b80
lea rdx, [rsp + 0x50]
lea rcx, [0x140355910]
call fcn.1400fcc30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140146890
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401c0850
sub rsp, rax
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140164400
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayLock
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x14014698e
cmp rax, 0xffffffffffffffff
je 0x14014698e
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140165500
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400c1a70
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400c19b0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401b68c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400c3960
lea rcx, [rsp + 0x90]
call fcn.1400c2b80
lea rdx, [rsp + 0x50]
lea rcx, [0x140355910]
call fcn.1400fcc30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1401469a0
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401c0850
sub rsp, rax
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140164400
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayLock
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x140146a9e
cmp rax, 0xffffffffffffffff
je 0x140146a9e
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.1401656b0
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400c1a70
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400c19b0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401b68c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400c3960
lea rcx, [rsp + 0x90]
call fcn.1400c2b80
lea rdx, [rsp + 0x50]
lea rcx, [0x140355910]
call fcn.1400fcc30
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1401474c0
Capabilities:
Create service

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x4a8
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov r15, qword [rsp + 0x500]
mov ebp, r8d
mov r12, qword [rsp + 0x508]
mov rdi, rdx
mov rsi, rcx
lea rdx, [rsp + 0x70]
mov r8d, 0x104
xor ecx, ecx
mov r14, r9
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14014752f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetModuleFileName_failed_w_err_0x_08lx_n
call fcn.140101530
jmp 0x14014761b
lea r8, [rsp + 0x70]
mov qword [rsp + 0x4a0], rbx
lea rdx, str.__s_
lea rcx, [rsp + 0x280]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 3]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x140147580
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.140101530
jmp 0x140147613
mov qword [rsp + 0x60], r12
xor eax, eax
mov qword [rsp + 0x58], r15
mov r9d, 4
mov qword [rsp + 0x50], r14
mov r8, rdi
mov qword [rsp + 0x48], rax
mov rdx, rsi
mov qword [rsp + 0x40], rax
mov rcx, rbx
lea rax, [rsp + 0x280]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], SafeArrayLock
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rdi, rax
test rax, rax
jne 0x1401475f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateService_failed_w_err_0x_08lx_n
call fcn.140101530
mov rcx, rbx
jmp 0x14014760d
mov rdx, rsi
lea rcx, str._s_is_installed._n
call fcn.140101530
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1401c0070
add rsp, 0x4a8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140147640
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov rdi, rcx
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rsp + 0x38], eax
xor ecx, ecx
lea r8d, [rax + 1]
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x14014769e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.140101530
jmp 0x1401477ba
mov r8d, 0x10024
mov qword [rsp + 0x68], rbx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x1401476d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService_failed_w_err_0x_08lx_n
call fcn.140101530
mov rcx, rsi
jmp 0x1401477af
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140147771
mov rdx, rdi
lea rcx, str.Stopping__s.
call fcn.140101530
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140147752
mov eax, dword [rsp + 0x24]
cmp eax, 3
jne 0x140147756
lea rcx, [0x14027000c]
call fcn.140101530
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140147720
mov eax, dword [rsp + 0x24]
lea rcx, str._n_s_is_stopped._n
mov rdx, rdi
cmp eax, 1
je 0x14014776c
lea rcx, str._n_s_failed_to_stop._n
call fcn.140101530
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140147794
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.DeleteService_failed_w_err_0x_08lx_n
call fcn.140101530
jmp 0x1401477a3
mov rdx, rdi
lea rcx, str._s_is_removed._n
call fcn.140101530
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401c0070
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140162c40
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x60
movzx edi, dx
mov rsi, rcx
mov edx, 0x2710
lea rcx, [0x140354c80]
call fcn.140198b70
test al, al
je 0x140162ceb
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
lea r14, str.ASUSSystemAnalysis
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140162cde
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rsi
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov word [rsp + 0x28], r9w
mov qword [rsp + 0x20], rdx
xor r9d, r9d
movzx edx, di
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea rcx, [0x140354c80]
call fcn.140198cc0
nop
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop r14
ret
Function at 0x14016c060
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [r8 + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
xor esi, esi
cmp rdx, r8
jae 0x14016c0c0
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], SafeArrayLock
mov byte [rbx], sil
jmp 0x14016c1f0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], SafeArrayLock
mov byte [rsp + 0x28], sil
test rdx, rdx
jne 0x14016c0e8
mov qword [rsp + 0x38], rdx
mov byte [rsp + rdx + 0x28], dl
jmp 0x14016c0f8
lfence
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.1400cf3d0
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
lea r8, [r14 + rdi]
lea r9, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp r14, 3
jl 0x14016c18a
nop word [rax + rax]
movzx ecx, byte [rdi]
shr rcx, 2
movzx ecx, byte [rcx + r9]
mov byte [rax], cl
movzx edx, byte [rdi]
and edx, 3
shl rdx, 4
movzx ecx, byte [rdi + 1]
shr rcx, 4
or rdx, rcx
movzx ecx, byte [rdx + r9]
mov byte [rax + 1], cl
movzx edx, byte [rdi + 1]
and edx, 0xf
shl rdx, 2
movzx ecx, byte [rdi + 2]
shr rcx, 6
or rdx, rcx
movzx ecx, byte [rdx + r9]
mov byte [rax + 2], cl
movzx ecx, byte [rdi + 2]
and ecx, 0x3f
movzx ecx, byte [rcx + r9]
mov byte [rax + 3], cl
add rax, 4
add rdi, 3
sub r14, 3
cmp r14, 3
jge 0x14016c120
sub r8, rdi
je 0x14016c1df
movzx ecx, byte [rdi]
shr rcx, 2
movzx ecx, byte [rcx + r9]
mov byte [rax], cl
movzx edx, byte [rdi]
and edx, 3
shl rdx, 4
cmp r8, 1
jne 0x14016c1b9
movzx ecx, byte [rdx + r9]
mov byte [rax + 1], cl
mov cl, 0x3d
jmp 0x14016c1d8
movzx ecx, byte [rdi + 1]
shr rcx, 4
or rcx, rdx
movzx ecx, byte [rcx + r9]
mov byte [rax + 1], cl
movzx ecx, byte [rdi + 1]
and ecx, 0xf
movzx ecx, byte [r9 + rcx*4]
mov byte [rax + 2], cl
mov byte [rax + 3], 0x3d
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401c0070
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret