joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180006560
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
movdqa xmm0, xmm1
movdqa xmm2, xmm1
movdqa xmmword [rdx], xmm1
pslldq xmm0, 4
pxor xmm2, xmm0
pslldq xmm0, 4
pxor xmm2, xmm0
pslldq xmm0, 4
pxor xmm2, xmm0
aeskeygenassist xmm0, xmm1, 1
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm0, xmm2
movdqa xmm3, xmm2
movdqa xmmword [rdx + 0x10], xmm2
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
aeskeygenassist xmm0, xmm2, 2
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm0, xmm3
movdqa xmm2, xmm3
movdqa xmmword [rdx + 0x20], xmm3
pslldq xmm0, 4
pxor xmm2, xmm0
pslldq xmm0, 4
pxor xmm2, xmm0
pslldq xmm0, 4
pxor xmm2, xmm0
aeskeygenassist xmm0, xmm3, 4
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm0, xmm2
movdqa xmm3, xmm2
movdqa xmmword [rdx + 0x30], xmm2
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
aeskeygenassist xmm0, xmm2, 8
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm0, xmm3
movdqa xmm2, xmm3
movdqa xmmword [rdx + 0x40], xmm3
pslldq xmm0, 4
pxor xmm2, xmm0
pslldq xmm0, 4
pxor xmm2, xmm0
pslldq xmm0, 4
pxor xmm2, xmm0
aeskeygenassist xmm0, xmm3, 0x10
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm0, xmm2
movdqa xmm3, xmm2
movdqa xmmword [rdx + 0x50], xmm2
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
aeskeygenassist xmm0, xmm2, 0x20
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm0, xmm3
movdqa xmm2, xmm3
movdqa xmmword [rdx + 0x60], xmm3
pslldq xmm0, 4
pxor xmm2, xmm0
pslldq xmm0, 4
pxor xmm2, xmm0
pslldq xmm0, 4
pxor xmm2, xmm0
aeskeygenassist xmm0, xmm3, 0x40
lea rax, [rdx + 0x90]
add rdx, 0xb0
mov ecx, 9
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm0, xmm2
movdqa xmm3, xmm2
movdqa xmmword [rdx - 0x40], xmm2
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
aeskeygenassist xmm0, xmm2, 0x80
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm0, xmm3
movdqa xmm4, xmm3
movdqa xmmword [rdx - 0x30], xmm3
pslldq xmm0, 4
pxor xmm4, xmm0
pslldq xmm0, 4
pxor xmm4, xmm0
pslldq xmm0, 4
pxor xmm4, xmm0
aeskeygenassist xmm0, xmm3, 0x1b
pshufd xmm1, xmm0, 0xff
pxor xmm4, xmm1
movdqa xmm0, xmm4
movdqa xmm2, xmm4
movdqa xmmword [rax], xmm4
pslldq xmm0, 4
pxor xmm2, xmm0
pslldq xmm0, 4
pxor xmm2, xmm0
pslldq xmm0, 4
pxor xmm2, xmm0
aeskeygenassist xmm0, xmm4, 0x36
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmmword [rdx - 0x10], xmm2
aesimc xmm0, xmmword [rax]
dec rcx
add rdx, 0x10
sub rax, 0x10
movdqa xmmword [rdx - 0x10], xmm0
test rcx, rcx
jg 0x1800067a0
repz ret
Function at 0x18000a190
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0xb0
mov rax, qword [0x1801270d0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword gs:[0x60]
mov r13d, edx
mov rsi, rcx
mov rbp, qword [rax + 0x18]
mov rdi, qword [rbp + 0x20]
add rbp, 0x20
test rcx, rcx
je 0x18000a262
lea r9, [rsp + 0x30]
mov r8, rcx
sub r9, rcx
nop dword [rax]
movzx eax, byte [r8]
inc r8
mov byte [r9 + r8 - 1], al
test al, al
jne 0x18000a1f0
lea r8, [rsp + 0x30]
movzx eax, byte [r8]
inc r8
test al, al
jne 0x18000a205
lea rax, [rsp + 0x30]
sub r8d, eax
dec r8d
cmp r8d, 1
jle 0x18000a248
movsxd rax, r8d
test r8d, r8d
js 0x18000a248
lea r9, [rsp + rax + 0x30]
nop
movsx edx, byte [r9]
lea eax, [r8 + r8]
dec r9
dec r8d
movsxd rcx, eax
mov word [rsp + rcx + 0x30], dx
jns 0x18000a230
lea r12, [rsp + 0x30]
mov rbx, rsi
movzx eax, byte [rbx]
inc rbx
test al, al
jne 0x18000a250
sub rbx, rsi
dec rbx
jmp 0x18000a26c
mov r12, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
cmp rdi, rbp
je 0x18000a3d2
cmp word [rdi + 0x38], 0
je 0x18000a3c6
mov rcx, qword [rdi + 0x40]
mov edx, 0x5c
call fcn.18000bbbc
mov r11, rax
test rax, rax
je 0x18000a29c
add r11, 2
jmp 0x18000a2a0
mov r11, qword [rdi + 0x40]
test rsi, rsi
je 0x18000a329
mov r8, rbx
mov r9, r11
mov r10, r12
test rbx, rbx
je 0x18000a312
nop word [rax + rax]
movzx ecx, word [r10]
xor eax, eax
dec r8
cmp ecx, 0x41
setge al
cmp eax, 0x5a
jg 0x18000a2d7
add ecx, 0x20
movzx edx, word [r9]
xor eax, eax
add r10, 2
cmp edx, 0x41
setge al
cmp eax, 0x5a
jg 0x18000a2ef
add edx, 0x20
add r9, 2
cmp cx, dx
jne 0x18000a304
test cx, cx
je 0x18000a312
test r8, r8
jne 0x18000a2c0
jmp 0x18000a312
movzx eax, dx
movzx ecx, cx
cmp ecx, eax
jne 0x18000a3c6
movzx eax, word [r11 + rbx*2]
test ax, ax
je 0x18000a401
cmp ax, 0x2e
jmp 0x18000a3c4
mov rcx, r11
nop dword [rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x18000a330
sub rcx, r11
mov rdx, r11
mov r9d, r13d
sar rcx, 1
lea rbx, [rcx + rcx - 2]
mov r8d, ebx
test ebx, ebx
je 0x18000a382
nop word [rax + rax]
movzx ecx, byte [rdx]
dec r8d
inc rdx
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x18000a373
add cl, 0x20
movzx eax, cl
sub r9d, eax
ror r9d, 3
test r8d, r8d
jne 0x18000a360
test r9d, r9d
je 0x18000a401
cmp rbx, 0xa
jbe 0x18000a3c6
lea edx, [rbx - 8]
mov r8d, r13d
test edx, edx
je 0x18000a3c1
nop word [rax + rax]
movzx ecx, byte [r11]
dec edx
inc r11
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x18000a3b3
add cl, 0x20
movzx eax, cl
sub r8d, eax
ror r8d, 3
test edx, edx
jne 0x18000a3a0
test r8d, r8d
je 0x18000a401
mov rdi, qword [rdi]
cmp rdi, rbp
jne 0x18000a275
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800e7b90
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
mov rax, qword [rdi + 0x20]
jmp 0x18000a3d4
Function at 0x18000b380
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov byte [0x18012e6b9], 1
cmp byte [0x18012e6b8], 0
je 0x18000b3a2
call fcn.180033a80
mov rax, qword [0x18012e720]
test rax, rax
jne 0x18000b3cb
mov ecx, 0xf60
call fcn.18005f544
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18000b3cb
mov rcx, rax
call fcn.180055d70
nop
mov r8, rax
xor edx, edx
lea rcx, [0x180042120]
call fcn.180032ed4
mov ecx, 0x54a4a00e
call fcn.1800061a0
or ecx, 0xffffffff
add rsp, 0x38
jmp rax
Function at 0x18000b3f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r12
push r13
lea rbp, [rsp - 0x12e0]
mov eax, 0x13e0
call fcn.1800ec780
sub rsp, rax
mov rax, qword [0x1801270d0]
xor rax, rsp
mov qword [rbp + 0x12d0], rax
mov r12, rdx
xor r13d, r13d
call fcn.18001c220
mov rbx, rax
test rax, rax
je 0x18000b64f
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.18000c250
test eax, eax
jne 0x18000b63c
lea rcx, [rbp - 0x5f]
xor edx, edx
mov r8d, 0x103
mov qword [rsp + 0x1408], rsi
mov byte [rbp - 0x60], r13b
mov qword [rsp + 0x1410], rdi
call fcn.1800e96b0
lea rcx, [rbp + 0x1c1]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x1c0], r13b
call fcn.1800e96b0
lea rcx, [rbp + 0xb1]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0xb0], r13b
call fcn.1800e96b0
mov esi, r13d
cmp dword [rsp + 0x40], r13d
jbe 0x18000b626
nop word [rax + rax]
mov dword [rsp + 0x38], 0x104
lea rax, [rbp + 0xb0]
lea r8, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1c0]
lea rdx, [rsp + 0x50]
mov r9d, 0x104
mov rcx, rbx
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rax
call fcn.180010cf0
test eax, eax
jne 0x18000b62c
lea rdx, [rbp + 0xb0]
mov rcx, r12
sub rdx, r12
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rdx + rcx - 1], al
test al, al
jne 0x18000b520
mov ecx, 0x54a7a0ac
call fcn.180051c90
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xb0]
call rax
cmp dword [rbp - 0x7c], 0x10
je 0x18000b5fa
lea rcx, [rbp - 0x60]
mov edx, 0x2f
call fcn.180041518
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x60]
mov r11, rax
xor eax, eax
repne scasb al, byte [rdi]
not rcx
lea rax, [rbp + rcx - 0x62]
cmp r11, rax
je 0x18000b5fa
lea rdx, [0x18010a378]
lea rcx, [rbp + 0xb0]
call fcn.180020130
mov rdi, rax
test rax, rax
je 0x18000b62c
mov rcx, rbx
call fcn.18002f050
test eax, eax
jne 0x18000b62c
nop dword [rax]
lea rdx, [rbp + 0x2d0]
mov r8d, 0x1000
mov rcx, rbx
call fcn.180026160
test eax, eax
js 0x18000b673
jle 0x18000b5e8
lea rcx, [rbp + 0x2d0]
movsxd r8, eax
mov r9, rdi
mov edx, 1
call fcn.180010bcc
jmp 0x18000b5b0
mov rcx, rdi
call fcn.18003fad0
mov rcx, rbx
call fcn.18003fb40
jmp 0x18000b612
mov ecx, 0x54ada093
call fcn.180051c90
lea rdx, [rbp + 0xb0]
xor r8d, r8d
xor ecx, ecx
call rax
mov rcx, rbx
call fcn.180048180
inc esi
cmp esi, dword [rsp + 0x40]
jb 0x18000b4c0
mov r13d, 1
mov rsi, qword [rsp + 0x1408]
mov rdi, qword [rsp + 0x1410]
mov rcx, rbx
call fcn.18003fb40
mov rcx, rbx
call fcn.1800599a0
mov eax, r13d
mov rcx, qword [rbp + 0x12d0]
xor rcx, rsp
call fcn.1800e7b90
mov rbx, qword [rsp + 0x1418]
add rsp, 0x13e0
pop r13
pop r12
pop rbp
ret
mov rcx, rdi
call fcn.18003fad0
jmp 0x18000b62c
Function at 0x18000c680
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x88], 0
mov rdi, rcx
je 0x18000c69b
xor al, al
add rsp, 0x20
pop rdi
ret
xor edx, edx
lea r8, [0x18010a70c]
xor r9d, r9d
lea ecx, [rdx + 1]
mov qword [rsp + 0x40], rsi
call fcn.180060f80
mov rsi, rax
test rax, rax
jne 0x18000c6c7
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x54a4a04a
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
call fcn.1800061a0
call rax
cmp eax, 0xb7
mov rax, qword [0x18012e6a0]
sete bpl
test rax, rax
je 0x18000c707
mov ecx, dword [rax + 0x38]
mov rax, qword [rax + 0x30]
inc ecx
cmp dword [rax + 4], ecx
jne 0x18000c707
mov eax, 1
jmp 0x18000c709
xor eax, eax
neg eax
mov ecx, 0x54a4a0f1
sbb ebx, ebx
and ebx, 0x57e40
call fcn.1800061a0
mov edx, ebx
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x30]
cmp eax, 0x102
jne 0x18000c756
test bpl, bpl
je 0x18000c744
mov ecx, 0x54a4a07b
call fcn.1800061a0
mov rcx, rsi
call rax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
xor al, al
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x18012e530]
mov qword [rdi + 0x88], rsi
movzx edx, word [rax + 0x39c]
test dx, dx
je 0x18000c778
mov rcx, rdi
call fcn.180011930
lea rcx, [0x180052b70]
mov r8, rdi
xor edx, edx
mov qword [rdi + 0x18], 1
call fcn.180032ed4
mov ecx, 0xc8
mov qword [rdi + 0x20], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x54a4a0e6
call fcn.1800061a0
mov rcx, rsi
call rax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x18000cf10
Capabilities:
Create thread

Disassembly:
push rbp
lea rbp, [rsp - 0xe40]
sub rsp, 0xf40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xf50], rbx
mov rax, qword [0x1801270d0]
xor rax, rsp
mov qword [rbp + 0xe30], rax
cmp dword [0x180142ac4], 0
jne 0x18000d0c6
mov dword [0x180142ac4], 1
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
mov byte [rsp + 0x38], bl
mov qword [rsp + 0x40], rbx
lea rax, [0x180111cb8]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0xc20]
call fcn.180049140
nop
mov dword [rsp + 0x64], ebx
mov ecx, 0x54aba0d8
call fcn.180051c90
mov qword [rbp + 0xdb0], rax
mov ecx, 0x54a8a0f2
call fcn.180051c90
mov qword [rbp + 0xdb8], rax
mov ecx, 0x54aba038
call fcn.180051c90
mov qword [rbp + 0xdc0], rax
mov ecx, 0x54aba027
call fcn.180051c90
mov qword [rbp + 0xdc8], rax
mov ecx, 0x54aba0d6
call fcn.180051c90
mov qword [rbp + 0xdd0], rax
mov ecx, 0x54a4a038
call fcn.1800061a0
mov qword [rbp + 0xdd8], rax
mov ecx, 0x54a8a0f7
call fcn.180051c90
mov qword [rbp + 0xde0], rax
mov ecx, 0x54a8a0fb
call fcn.180051c90
mov qword [rbp + 0xde8], rax
mov ecx, 0x54a8a0f5
call fcn.180051c90
mov qword [rbp + 0xdf0], rax
mov ecx, 0x54a8a0fa
call fcn.180051c90
mov qword [rbp + 0xdf8], rax
mov dword [rbp + 0xe10], 0x10
mov dword [rsp + 0x60], 0xcc0020
mov qword [rsp + 0x68], 1
mov qword [rbp + 0xd58], rbx
mov word [rbp + 0xe01], bx
mov word [rbp + 0xe04], bx
mov qword [rbp + 0xe08], rbx
mov qword [rsp + 0x48], 1
lea r8, [rsp + 0x30]
xor edx, edx
lea rcx, [0x180052b70]
call fcn.180032ed4
mov qword [rsp + 0x50], rax
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov ecx, 0x54a4a00e
call fcn.1800061a0
mov ecx, 0xc8
call rax
mov ecx, 0x54a4a074
call fcn.1800061a0
call rax
call fcn.1800238d0
nop
lea rcx, [rsp + 0x30]
call fcn.1800f5360
mov rcx, qword [rbp + 0xe30]
xor rcx, rsp
call fcn.1800e7b90
mov rbx, qword [rsp + 0xf50]
add rsp, 0xf40
pop rbp
ret

Function at 0x18000f9f0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x248
mov rax, qword [0x1801270d0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edi, edi
mov ecx, 0x54a4a069
mov ebp, r9d
mov r13d, r8d
mov r12, rdx
mov esi, edi
call fcn.1800061a0
lea rdx, [rsp + 0x20]
mov r8d, 0x103
mov rcx, rbx
call rax
lea rax, [rsp + 0x20]
mov rcx, rbx
sub rcx, rax
lea r11, [rsp + 0x20]
nop dword [rax]
movzx eax, word [r11]
add r11, 2
mov word [rcx + r11 - 2], ax
test ax, ax
jne 0x18000fa50
mov ecx, 0x54a7a054
call fcn.180051c90
lea rcx, [rsp + 0x20]
call rax
mov ecx, 0x54a7a057
call fcn.180051c90
lea rcx, [rsp + 0x20]
call rax
test eax, eax
jne 0x18000fa9f
mov ecx, 0x54ada004
call fcn.180051c90
lea rdx, [rsp + 0x20]
xor r8d, r8d
xor ecx, ecx
call rax
lea rax, [0x18010a0b0]
lea rdx, [0x18010a0b8]
test ebp, ebp
cmovne rdx, rax
mov rcx, rbx
call fcn.18003acac
mov rbx, rax
test rax, rax
je 0x18000fae2
mov rdx, r13
mov r9, rax
mov r8d, 1
mov rcx, r12
call fcn.180010bcc
mov rcx, rbx
mov rsi, rax
call fcn.18003fad0
cmp esi, 1
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800e7b90
add rsp, 0x248
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180016dc0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xe0
mov rdi, rdx
xor edx, edx
mov ebx, r8d
mov rsi, rcx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call fcn.1800e96b0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor eax, eax
mov rdx, rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
je 0x180016e57
mov ecx, 0x54a4a07b
call fcn.1800061a0
mov rcx, qword [rsp + 0x58]
call rax
mov ecx, 0x54a4a07b
call fcn.1800061a0
mov rcx, qword [rsp + 0x50]
call rax
mov eax, ebx
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x180017880
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov byte [rcx + 0x201c], 0
cmp qword [rcx + 0x2020], rdi
jne 0x1800178d9
mov qword [rcx + 0x18], rdi
mov r8, rcx
lea rcx, [0x180052b70]
xor edx, edx
call fcn.180032ed4
mov ecx, 0xc8
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11, qword [rbx + 0x20]
mov ecx, 0x3e8
mov qword [rbx + 0x2020], r11
call qword [rbx + 0x2130]
cmp qword [rbx + 0x2020], rdi
mov rbx, qword [rsp + 0x30]
setne dil
mov eax, edi
add rsp, 0x20
pop rdi
ret
Function at 0x180018570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801270d0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r13, rcx
mov qword [rsp + 0x48], rcx
mov r15d, 1
mov dword [rsp + 0x28], r15d
cmp qword [0x18012e670], 0
jne 0x1800185c8
call fcn.180004630
movsxd rax, dword [r13 + 0x3c]
cmp dword [rax + r13 + 0x94], 0
jbe 0x18001874c
mov esi, dword [rax + r13 + 0x90]
add rsi, r13
movabs r14, 0x8000000000000000
mov qword [rsp + 0x40], rsi
mov edx, 0x14
mov rcx, rsi
call qword [0x18012e670]
test eax, eax
jne 0x18001874c
mov eax, dword [rsi + 0xc]
test eax, eax
je 0x18001874c
mov ecx, eax
mov rax, qword [rax + r13]
mov qword [rsp + 0x58], rax
mov rax, qword [rcx + r13 + 8]
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + r13 + 0x10]
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + r13 + 0x18]
mov qword [rsp + 0x70], rax
mov rax, qword [rcx + r13 + 0x20]
mov qword [rsp + 0x78], rax
mov rax, qword [rcx + r13 + 0x28]
mov qword [rsp + 0x80], rax
movzx eax, word [rcx + r13 + 0x30]
mov word [rsp + 0x88], ax
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.18000a190
mov r12, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18001869c
lea rcx, [rsp + 0x58]
call qword [0x18012e678]
mov r12, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18001869c
xor eax, eax
jmp 0x18001874f
mov eax, dword [rsi]
test eax, eax
je 0x1800186af
lea rdi, [r13 + rax]
mov ebx, dword [rsi + 0x10]
add rbx, r13
jmp 0x1800186b8
mov edi, dword [rsi + 0x10]
add rdi, r13
mov rbx, rdi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rbx
mov rax, qword [rdi]
test rax, rax
je 0x18001873e
test r14, rax
je 0x1800186e6
movzx edx, ax
lea r8, [0x18002b070]
mov rcx, r12
call fcn.1800524d0
mov qword [rbx], rax
jmp 0x180018727
lea rdx, [rax + r13 + 2]
lea r8, [0x18002b070]
mov rcx, r12
call fcn.1800524d0
mov qword [rbx], rax
jmp 0x180018727
cmp qword [rbx], 0
je 0x180018695
add rdi, 8
add rbx, 8
jmp 0x1800186b8
test r15d, r15d
je 0x18001874c
add rsi, 0x14
jmp 0x1800185f0
mov eax, r15d
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1800e7b90
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18001ebe8
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 [0x1801270d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18004e418
xor ebx, ebx
cmp qword [0x18012dd98], rbx
mov rdi, rax
jne 0x18001ecfb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18001edd2
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001edd2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18012dd98], 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 [0x18012dda0], 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 [0x18012dda8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x18012ddb8], rax
test rax, rax
je 0x18001ecf2
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 [0x18012ddb0], rax
jmp 0x18001ed02
mov rax, qword [0x18012ddb0]
jmp 0x18001ed09
mov rax, qword [0x18012ddb0]
mov r11, qword [0x18012ddb8]
cmp rax, rdi
je 0x18001ed70
cmp r11, rdi
je 0x18001ed70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x18012ddb8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18001ed70
test rax, rax
je 0x18001ed70
call rsi
test rax, rax
je 0x18001ed6a
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 0x18001ed6a
test byte [rsp + 0x40], 1
jne 0x18001ed70
bts ebp, 0x15
jmp 0x18001edb0
mov rcx, qword [0x18012dda0]
cmp rcx, rdi
je 0x18001edb0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001edb0
call rax
mov rbx, rax
test rax, rax
je 0x18001edb0
mov rcx, qword [0x18012dda8]
cmp rcx, rdi
je 0x18001edb0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001edb0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18012dd98]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001edd2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18001edd4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800e7b90
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18002008b
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18012cda0]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rax, qword [0x18012ce98]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180020069
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, [0x18012cda0]
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.ntdll.dll_RtlVirtualUnwind
jmp 0x18002008b
mov rax, qword [rsp + 0x88]
mov qword [0x18012ce98], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18012ce38], rax
mov rax, qword [0x18012ce98]
mov qword [0x18012cd10], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18012ce20], rax
mov dword [0x18012cd00], 0xc0000409
mov dword [0x18012cd04], 1
mov rax, qword [0x1801270d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1801270d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18012cd98], eax
mov ecx, 1
call fcn.180055c48
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800fb7b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18012cd98], 0
jne 0x180020112
mov ecx, 1
call fcn.180055c48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
cmp rcx, qword [0x1801270d0]
jne 0x1800e7baa
rol rcx, 0x10
test cx, 0xffff
jne 0x1800e7ba6
repz ret
ror rcx, 0x10
jmp 0x18001ffe4
Function at 0x18002b4a0
Capabilities:
Decrypt data using aes via x86 extensions
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
cmp dword [rcx + 0x3c], 0
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
je 0x18002b5a5
test r9d, r9d
jne 0x18002b5ae
xor edx, edx
cmp dword [r8], edx
jbe 0x18002b557
nop dword [rax + rax]
mov rax, qword [rbp + 0x58]
movsxd rcx, edx
add edx, 0x10
movdqu xmm0, xmmword [rcx + rdi]
pxor xmm0, xmmword [rax + 0xa0]
aesdec xmm0, xmmword [rax + 0xb0]
aesdec xmm0, xmmword [rax + 0xc0]
aesdec xmm0, xmmword [rax + 0xd0]
aesdec xmm0, xmmword [rax + 0xe0]
aesdec xmm0, xmmword [rax + 0xf0]
aesdec xmm0, xmmword [rax + 0x100]
aesdec xmm0, xmmword [rax + 0x110]
aesdec xmm0, xmmword [rax + 0x120]
aesdec xmm0, xmmword [rax + 0x130]
aesdeclast xmm0, xmmword [rax]
movdqu xmmword [rcx + rdi], xmm0
cmp edx, dword [r8]
jb 0x18002b4e0
mov r9d, dword [r8]
test r9b, 0xf
jne 0x18002b594
movzx r8d, byte [r9 + rdi - 1]
cmp r8b, 0x10
ja 0x18002b59e
mov ecx, 2
movzx edx, r8b
cmp edx, ecx
jl 0x18002b58e
lea rax, [r9 + rdi - 2]
nop
cmp byte [rax], r8b
jne 0x18002b59e
inc ecx
dec rax
cmp ecx, edx
jle 0x18002b580
sub r9d, edx
mov dword [rbx], r9d
mov eax, 1
jmp 0x18002b66c
xor eax, eax
jmp 0x18002b66c
test r9d, r9d
je 0x18002b64b
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x18002b5be
mov rcx, qword [0x18012e778]
test r9d, r9d
je 0x18002b64f
cmp dword [r8], 0x200
jbe 0x18002b64f
lea rax, [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x50], 0x200
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8d, [r9 + 1]
xor edx, edx
call qword [0x18012e788]
mov esi, eax
test eax, eax
je 0x18002b66a
mov eax, dword [rbx]
lea r8, [rsp + 0x30]
lea rdx, [rdi + 0x200]
sub eax, 0x200
mov r9d, 1
mov rcx, rbp
mov dword [rsp + 0x30], eax
call fcn.18002b4a0
mov esi, eax
test eax, eax
je 0x18002b66a
mov ecx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x30]
lea rdx, [rdi + 0x200]
add rcx, rdi
call fcn.1800e7bc0
mov ecx, dword [rsp + 0x30]
add ecx, dword [rsp + 0x50]
mov dword [rbx], ecx
jmp 0x18002b66a
mov rcx, qword [rcx + 8]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
lea r8d, [r9 + 1]
xor edx, edx
call qword [0x18012e788]
mov esi, eax
mov eax, esi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret