joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ba60
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14000b834
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b834
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000b834
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000b834
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b834
cmp dword [rcx + 0x84], 0xe
jbe 0x14000b834
cmp dword [rcx + 0xf8], esi
je 0x14000b834
mov ecx, r14d
call fcn.14000b97c
mov ecx, 2
call fcn.140010704
nop
cmp byte [0x140022b20], 0
jne 0x14000b8fe
mov r15d, 1
mov eax, r15d
xchg dword [0x140022b10], eax
test ebx, ebx
jne 0x14000b8a7
mov rdi, qword [0x140021080]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140022b18]
cmp rcx, rax
je 0x14000b89e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140007d8c]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140022b60]
jmp 0x14000b8b3
cmp ebx, r15d
jne 0x14000b8b9
lea rcx, [0x140022b78]
call fcn.14000bfa8
nop
test ebx, ebx
jne 0x14000b8d0
lea rdx, [0x1400172c8]
lea rcx, [0x1400172a8]
call fcn.14000b6f4
lea rdx, [0x1400172d8]
lea rcx, [0x1400172d0]
call fcn.14000b6f4
movzx eax, byte [0x140022b20]
test esi, esi
cmove eax, r15d
mov byte [0x140022b20], al
jmp 0x14000b8fe
mov ecx, 2
call fcn.140010758
test esi, esi
jne 0x14000b915
mov ecx, r14d
call fcn.14000b930
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000b7c4
Function at 0x140001777
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], 0
mov rax, r8
shr rax, 0x20
jne 0x1400017e6
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
call qword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x1400017ac
mov edx, dword [rsp + 0x34]
xor eax, eax
jmp 0x1400017e1
call qword [sym.imp.kernel32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
mov eax, 0x535f4f4b
cmovne eax, ecx
xor edx, edx
cmp eax, 0x535f4f4b
cmovne edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x38
ret
lea rax, [0x14001b6d8]
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x14001b620]
lea r8, [rsp + 0x33]
mov edx, 0x2b
call fcn.140019080
int3

Function at 0x140006c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140006cf0
cmp r10, r11
jb 0x140006d67
cmp r10, rdx
ja 0x140006d79
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140006cf2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140006cd0
jmp 0x140006d54
ja 0x140006cfa
mov r11, r10
cmp rax, r8
jne 0x140006c9e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140006d30
mov rdi, r8
sub ecx, edx
jns 0x140006d4b
jmp 0x140006d56
cmp r8, rsi
je 0x140006d88
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140006d56
xor al, 1
cmp rdi, rsi
jne 0x140006d10
jmp 0x140006d56
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140019110
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140018e90
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140019120
int3
Function at 0x14000b150
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000b175
cmp rax, rcx
je 0x14000b17b
cmp rdx, 4
jae 0x14000b182
xor eax, eax
xor r8d, r8d
jmp 0x14000b220
pop rbp
jmp fcn.140004540
xor eax, eax
jmp 0x14000b237
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14001b3c0]
movdqa xmm3, xmmword [0x14001b3d0]
pxor xmm1, xmm1
nop word cs:[rax + 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 0x14000b1b0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000b237
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000b220
pop rbp
ret
Function at 0x140012ab0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movzx r9d, byte [rdx + 0x38]
movzx eax, byte [rdx + 0x3a]
test al, al
setne r8b
cmp r9b, 1
ja 0x140012b36
test al, al
jne 0x140012b0f
movzx esi, byte [rdx + 0x10]
lea eax, [rsi - 5]
cmp al, 1
ja 0x140012b0f
invalid
mov r10, qword [rdx]
xor r8d, r8d
xor eax, eax
Function at 0x140013f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, r9
mov rdi, r8
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
add rsi, r8
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x30], 0x81
mov byte [rbp - 0x24], 0x81
mov r14b, 0x81
lea r9, [0x140020240]
jmp 0x140013fcf

Function at 0x140018694
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [0x1404e6668]
nop
cmp word [0x140000000], 0x5a4d
je 0x14002634d
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x140000000]
jmp 0x1400263db
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x140026371
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x1400263db
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x1400263b8
cmp ecx, 0x20b
je 0x140026390
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x1400263db
cmp dword [rax + 0x84], 0xe
ja 0x1400263a4
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x1400263db
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x1400263db
cmp dword [rax + 0x74], 0xe
ja 0x1400263c9
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x1400263db
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [0x1404e62e0]
mov qword [0x1404eb020], 0xffffffffffffffff
mov qword [0x1404eb040], 0xffffffffffffffff
mov rcx, qword [0x1404e62e8]
mov eax, dword [0x1404e9670]
mov dword [rcx], eax
mov rcx, qword [0x1404e62f0]
mov eax, dword [0x1404e9674]
mov dword [rcx], eax
call fcn.1400265f0
cmp dword [0x1404eb060], 0
jne 0x140026435
lea rcx, [0x140026600]
call qword [0x1404e62f8]
lea rdx, [0x140087fc8]
lea rcx, [0x140087fc0]
call fcn.140026603
mov r11d, dword [0x1404e9678]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x1404e967c]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [0x1404e6308]
lea rdx, [0x140087fb8]
lea rcx, [0x140087fb0]
call fcn.140026603
mov r11, qword [0x1404e6310]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x1400264d6
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x1400264c6
cmp al, 0x22
je 0x1400264c6
jmp 0x1400264b0
cmp byte [r8], 0x22
jne 0x1400264e6
inc r8
mov qword [rsp + 0x30], r8
jmp 0x1400264e6
cmp byte [r8], 0x20
jbe 0x1400264e6
inc r8
mov qword [rsp + 0x30], r8
jmp 0x1400264d6
movzx eax, byte [r8]
test al, al
je 0x1400264fc
cmp al, 0x20
ja 0x1400264fc
inc r8
mov qword [rsp + 0x30], r8
jmp 0x1400264e6
test byte [rsp + 0x8c], 1
je 0x140026511
movzx r9d, word [rsp + 0x90]
jmp 0x140026517
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.140024aba
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x140026533
mov ecx, eax
call qword [0x1404e6318]
call qword [0x1404e6320]
jmp 0x140026557
mov eax, edi
jmp 0x140026560
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x140036388
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r9d, edx
mov r10, rcx
test rcx, rcx
jne 0x1400363a2
mov eax, r8d
jmp 0x140036410
not r8d
lea rdi, [0x140080420]
cmp r9d, 8
jb 0x1400363e6
mov r11, r9
shr r11, 3
mov ebx, 8
movzx ecx, byte [r10]
mov eax, r8d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rdi + rdx*4]
xor r8d, eax
dec rbx
jne 0x1400363be
add r9d, 0xfffffff8
dec r11
jne 0x1400363b9
test r9d, r9d
je 0x14003640a
movzx ecx, byte [r10]
mov eax, r8d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rdi + rdx*4]
xor r8d, eax
dec r9d
jne 0x1400363eb
not r8d
movsxd rax, r8d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x1400494a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, edx
mov r10, rcx
mov r8d, 0x80000000
test rcx, rcx
je 0x14004950f
mov qword [rsp], rbx
lea rbx, [0x140083cf0]
test r10b, 1
je 0x140049503
mov ecx, r11d
mov eax, r8d
mov edx, 0x80000000
and ecx, 0x1f
xor r8d, r8d
mov r9d, dword [rbx + rcx*4]
nop dword [rax + rax]
test r9d, edx
je 0x1400494f0
lea ecx, [rdx - 1]
xor r8d, eax
test r9d, ecx
je 0x140049503
shr edx, 1
test al, 1
je 0x1400494ff
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400494e0
shr eax, 1
jmp 0x1400494e0
inc r11d
sar r10, 1
jne 0x1400494c0
mov rbx, qword [rsp]
mov eax, r8d
add rsp, 8
ret
Function at 0x1400712e8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
mov r10d, dword [rsp + 0x68]
movsxd rsi, dword [rcx + 0x160]
mov ebx, r8d
mov r12, rdx
mov r11, rcx
test r10d, r10d
je 0x1400713af
mov eax, dword [rsp + 0x50]
mov ecx, ebx
mov ebp, ebx
shl eax, 2
imul ecx, dword [rsp + 0x58]
movsxd r13, eax
mov eax, esi
imul eax, r9d
mov r9d, dword [rsp + 0x48]
neg ebp
movsxd rdi, eax
mov qword [rsp + 0x28], rdi
mov eax, dword [r11 + 0x158]
movsxd r8, ecx
add r8, r13
add r8, r12
imul eax, r9d
movsxd rdx, eax
add rdx, qword [r11 + 0x150]
add rdx, rdi
cmp dword [rsp + 0x60], 0
jle 0x140071394
mov edi, dword [rsp + 0x60]
mov al, byte [r8 + 2]
xor byte [rdx + 2], al
mov al, byte [r8 + 1]
xor byte [rdx + 1], al
mov al, byte [r8]
lea r8, [r8 + 4]
xor byte [rdx], al
add rdx, rsi
dec rdi
jne 0x140071370
mov rdi, qword [rsp + 0x28]
dec r10d
inc r9d
cmp dword [r11 + 0x174], 0
jne 0x1400713a8
add ecx, ebp
jmp 0x1400713aa
add ecx, ebx
test r10d, r10d
jne 0x140071344
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140072150
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
mov r11d, dword [rsp + 0x68]
movsxd rsi, dword [rcx + 0x160]
mov edi, r8d
mov r12, rdx
mov rbx, rcx
test r11d, r11d
je 0x140072219
mov eax, dword [rsp + 0x50]
mov ecx, r8d
mov ebp, r8d
lea r10d, [rax + rax*2]
mov eax, esi
imul ecx, dword [rsp + 0x58]
movsxd r13, r10d
imul eax, r9d
mov r9d, dword [rsp + 0x48]
movsxd r10, eax
mov qword [rsp + 0x28], r10
neg ebp
mov eax, dword [rbx + 0x158]
movsxd r8, ecx
add r8, r13
add r8, r12
imul eax, r9d
movsxd rdx, eax
add rdx, qword [rbx + 0x150]
add rdx, r10
cmp dword [rsp + 0x60], 0
jle 0x1400721ff
mov r10d, dword [rsp + 0x60]
mov al, byte [r8 + 2]
xor byte [rdx + 2], al
mov al, byte [r8 + 1]
xor byte [rdx + 1], al
mov al, byte [r8]
lea r8, [r8 + 3]
xor byte [rdx], al
add rdx, rsi
dec r10
jne 0x1400721db
mov r10, qword [rsp + 0x28]
dec r11d
inc r9d
cmp dword [rbx + 0x174], 0
jne 0x140072212
add ecx, ebp
jmp 0x140072214
add ecx, edi
test r11d, r11d
jne 0x1400721af
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140001cec
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rbx, qword [rdx]
mov rsi, rcx
lea rcx, [rbp + 0x30]
mov r14d, r8d
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x30]
lea rdx, [rbp + 0x30]
mov dword [rdi + 0x290], eax
mov rcx, rbx
mov eax, dword [rbp + 0x34]
mov dword [rdi + 0x294], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rbp + 0x30]
mov ecx, dword [rbp + 0x34]
cmp eax, dword [rdi + 0x298]
jne 0x140001de7
cmp ecx, dword [rdi + 0x29c]
jne 0x140001de7
mov ecx, dword [rsi + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [rsi + 0x1c]
mov ebx, 0x8000
movzx r15d, ax
mov r12d, 0
and r15w, bx
setne r12b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx r13d, ax
mov eax, 0
and r13w, bx
mov ebx, eax
setne bl
cmp r12d, dword [rdi + 0x2a0]
jne 0x14004a33d
test r14d, r14d
je 0x140001db3
mov dword [rdi + 0x2a0], r12d
cmp ebx, dword [rdi + 0x2a4]
jne 0x14004a3c4
test r14d, r14d
je 0x140001dca
mov dword [rdi + 0x2a4], ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rdi + 0x298], eax
mov dword [rdi + 0x29c], ecx
cmp r14d, 1
jl 0x140001d5f
jmp 0x14004a320
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov rcx, rsi
mov r8, rdi
mov edx, 0xfffffff5
call fcn.1400a900c
nop
jmp 0x140001d5f
cmp r14d, 1
jl 0x140001da7
cmp byte [rdi + 0x2e0], al
je 0x140001da7
mov eax, dword [rbp + 0x34]
mov r8, rdi
mov r9d, dword [rbp + 0x30]
mov rcx, rsi
mov dword [rsp + 0x20], eax
test r15w, r15w
je 0x14004a371
mov edx, 0xfffffff9
jmp 0x14004a3b2
mov edx, 0xfffffff8
call fcn.1400a900c
xor eax, eax
cmp byte [rdi + 0x2a8], al
je 0x14004a3b9
mov rcx, qword [rdi]
lea edx, [rax - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r9d, dword [rbp + 0x30]
mov r8, rdi
bt eax, 0x18
mov rcx, rsi
mov eax, dword [rbp + 0x34]
mov edx, 0xfffffffa
mov dword [rsp + 0x20], eax
jb 0x14004a3b2
mov edx, 0xfffffff4
call fcn.1400a900c
xor eax, eax
mov byte [rdi + 0x2a8], al
jmp 0x140001da7
cmp r14d, 1
jl 0x140001dbf
mov eax, dword [rbp + 0x34]
mov r8, rdi
mov r9d, dword [rbp + 0x30]
mov rcx, rsi
mov dword [rsp + 0x20], eax
mov edx, 0xfffffff7
test r13w, r13w
jne 0x14004a3ef
mov edx, 0xfffffff6
call fcn.1400a900c
nop
jmp 0x140001dbf
Function at 0x1400037b0
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1ff70]
mov eax, 0x20070
call fcn.140048f90
sub rsp, rax
lea rcx, [rsp + 0x50]
mov rsi, rdx
call fcn.140009640
xor bl, bl
lea rdx, [rsp + 0x70]
mov ecx, 0x7fff
mov byte [rbp + 0x1ffa0], bl
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r8, [rbp + 0x1ffb0]
mov rdx, rsi
call fcn.1400057a0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14004b872
mov eax, dword [0x1400f04c0]
test eax, eax
je 0x14004b894
mov r15d, 1
lea rcx, [0x1400f2230]
cmp eax, r15d
je 0x14004b8a0
lea rax, [rbp + 0x1ffa0]
lea r8, [0x1400f04c0]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400f04e8]
call fcn.140003f04
test al, al
je 0x14004b8c4
mov al, byte [0x1400f2230]
lea r9, [rbp + 0x1ffb8]
mov rcx, qword [0x1400f04e8]
lea r8, [rbp + 0xff70]
mov dil, byte [0x1400f2231]
mov edx, 0x7fff
mov byte [0x1400f04c4], al
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rdx, qword [rbp + 0x1ffb8]
lea rcx, [0x1400f04a0]
call fcn.140007cf4
mov bl, byte [rbp + 0x1ffa0]
mov r8d, dword [0x1400f04c0]
lea rdx, [0x1400f04e8]
call fcn.140003f9c
test eax, eax
jne 0x14004b8d0
cmp dil, r15b
je 0x14004b8f3
call fcn.140003b84
call fcn.140003cbc
cmp byte [0x1400f04c4], 0
jne 0x1400038ef
lea rcx, [0x1400f0e60]
call fcn.140006258
mov edx, r15d
lea rcx, [0x1400f0510]
call fcn.1400125f0
cmp byte [0x1400f04c4], 0
jne 0x140003913
lea rcx, [0x1400f0e60]
call fcn.140005d88
lea rcx, [0x1400f2230]
call fcn.1400039e4
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x50]
call fcn.14000a07c
add rsp, 0x20070
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r9d, reloc.WSOCK32.dll_recv
lea r8, [0x1400dc23c]
lea rdx, str.This_is_a_third_party_compiled_AutoIt_script.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x14000392a
or dword [0x1400f03b0], 0xffffffff
jmp 0x14000391f
mov r8, qword [0x1400f04c8]
or r9d, 0xffffffff
mov edx, r15d
call fcn.14000e278
mov al, byte [0x1400f03b8]
mov byte [0x1400f2232], al
jmp 0x1400038ac
mov dword [0x1400f03b0], r15d
jmp 0x14000391f
lea rcx, [0x1400f2230]
call fcn.1400039e4
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x1400f03b0], r15d
jmp 0x14000392a
call fcn.14006d540
test al, al
jne 0x1400038d0
cmp byte [rbp + 0x1ffb0], al
jne 0x1400038d0
lea rcx, [rsp + 0x50]
call fcn.140005680
lea rdx, [0x1400d8704]
lea rcx, [rsp + 0x30]
call fcn.14000ec00
lea rcx, [rsp + 0x30]
test bl, bl
je 0x14004b95b
lea rdx, [0x1400dc270]
call fcn.1400071f8
lea rdx, [0x1400f04e8]
lea rcx, [rsp + 0x30]
call fcn.140007c24
lea rdx, [0x1400dc270]
lea rcx, [rsp + 0x30]
jmp 0x14004b95e
mov rdx, rsi
call fcn.1400071f8
mov rbx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [rsp + 0x50]
lea rdx, str.runas
mov rcx, rax
mov dword [rsp + 0x28], r15d
lea rax, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.14000a07c
nop
jmp 0x140003913
Function at 0x140003cbc
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
sub rsp, 0x68
and qword [r11 - 0x10], 0
lea rdx, str.AutoIt_v3
mov rax, qword [0x1400f03a8]
mov r9d, 0xcf0000
mov qword [r11 - 0x18], rax
mov r8, rdx
and qword [r11 - 0x20], 0
mov eax, 0x80000000
and qword [r11 - 0x28], 0
xor ecx, ecx
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
and qword [rsp + 0x58], 0
lea rdx, str.edit
mov rcx, qword [0x1400f03a8]
mov r9d, 0x50b008c4
mov qword [rsp + 0x50], rcx
xor r8d, r8d
mov qword [rsp + 0x48], 1
xor ecx, ecx
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov qword [0x1400f0400], rax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x1400f0400]
xor edx, edx
mov qword [0x1400f03f8], rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400f0400]
xor edx, edx
add rsp, 0x68
jmp qword [sym.imp.USER32.dll_ShowWindow]

Function at 0x140004568
Capabilities:
Hash data using djb2

Disassembly:
mov eax, dword [rdx + 8]
mov r8d, 0x1505
mov r10, qword [rdx]
add eax, eax
xor edx, edx
movsxd r9, eax
test eax, eax
jle 0x140004593
movzx ecx, byte [rdx + r10]
inc rdx
imul r8d, r8d, 0x21
add r8d, ecx
cmp rdx, r9
jl 0x14000457f
mov eax, r8d
ret
Function at 0x1400067d8
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x30], 0
mov r10, r9
cmp byte [rcx + 0x20], 0
mov r11, r8
mov rbx, rdx
jne 0x14004ca6c
mov r9, qword [rsp + 0x50]
mov r8, r10
mov rdx, r11
mov rcx, rbx
call fcn.140034c5c
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rcx + 0x18]
lea r9, [rsp + 0x30]
imul r10d, r11d
mov rax, qword [rcx]
mov r8d, r10d
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rax, qword [rsp + 0x30]
jmp 0x14000680a

Function at 0x140006f60
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov esi, r9d
mov rbp, r8
test r8, r8
je 0x140007020
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x140007020
lea rax, [r11 - 0x18]
mov word [rdi], bx
lea r9d, [rbx + 1]
mov qword [r11 - 0x28], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007020
mov rcx, qword [rsp + 0x30]
lea eax, [rsi + rsi]
mov dword [rsp + 0x60], eax
xor r9d, r9d
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006ff5
mov eax, dword [rsp + 0x60]
shr eax, 1
mov ecx, eax
mov dword [rsp + 0x60], eax
cmp eax, esi
jae 0x140007017
mov eax, ecx
mov word [rdi + rcx*2], bx
mov bl, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea eax, [rsi - 1]
mov word [rdi + rax*2], bx
jmp 0x140006ff3
xor al, al
jmp 0x140007002
Function at 0x14000a290
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x10], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x14000a339
xor edi, edi
test rsi, rsi
je 0x14000a2e2
mov eax, dword [rbx + 0x14]
cmp eax, dword [rbx + 0x10]
je 0x14000a2fe
mov rcx, qword [rbx + 8]
movsxd rdx, eax
movzx edx, byte [rdx + rcx]
mov byte [rdi + rbp], dl
inc rdi
inc dword [rbx + 0x14]
mov eax, dword [rbx + 0x14]
cmp rdi, rsi
jb 0x14000a2c1
add qword [rbx + 0x18], rdi
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x40]
mov rcx, qword [rbx]
mov r8d, 0x10000
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000a2e2
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000a2e2
mov dword [rbx + 0x10], eax
xor eax, eax
mov dword [rbx + 0x14], 0
jmp 0x14000a2c6
mov qword [rcx + 0x10], 0
lea r8, [rsp + 0x40]
mov rcx, qword [rcx]
mov r9d, 1
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x18], rax
jmp 0x14000a2b7