joyce8/EMBER2024-capa huggingface dataset:
Function at 0x72acc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x72af3c
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rcx
xor edx, edx
xor esi, esi
xor edi, edi
xor r8d, r8d
jmp 0x72acf4
lea rdx, [r12 + 1]
mov rcx, r13
cmp rbx, rdx
jle 0x72aef8
mov qword [rsp + 0x20], rdx
mov byte [rsp + 0x1f], r8b
mov byte [rsp + 0x1e], dil
mov qword [rsp + 0x28], rsi
movzx r9d, byte [rax + rdx]
test r8b, r8b
je 0x72ade0
nop
cmp r9b, 0x3e
jne 0x72add0
mov r9, qword [0x00a91e48]
mov r10, rdx
sub rdx, r9
lea r11, [rdx + 1]
nop dword [rax + rax]
test r11, r11
jl 0x72adc5
lea r12, [r10 + 1]
cmp r12, r11
jb 0x72af30
mov r12, r10
sub r10, rdx
mov r13, rcx
sub rcx, rdx
lea r15, [rcx - 1]
neg r15
sar r15, 0x3f
and r15, r11
lea r11, [rax + r15]
cmp r9, r10
je 0x72ad7d
xor ecx, ecx
jmp 0x72adb5
mov rbx, qword [0x00a91e40]
mov rax, r11
mov rcx, r10
call fcn.006177e0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x28]
movzx edi, byte [rsp + 0x1e]
movzx r8d, byte [rsp + 0x1f]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x50]
mov ecx, eax
mov rax, qword [rsp + 0x40]
test cl, cl
je 0x72acec
xor r8d, r8d
jmp 0x72acec
mov r12, r10
mov r13, rcx
jmp 0x72acec
mov r12, rdx
mov r13, rcx
jmp 0x72acec
test dil, dil
je 0x72adf7
cmp dil, r9b
jne 0x72adec
xor edi, edi
mov r12, rdx
mov r13, rcx
jmp 0x72acec
cmp r9b, 0x27
je 0x72ae06
nop dword [rax]
cmp r9b, 0x22
jne 0x72ae14
mov r12, rdx
mov r13, rcx
mov edi, r9d
jmp 0x72acec
cmp r9b, 0x3c
jne 0x72aec7
mov r9, qword [0x00a91e28]
lea r10, [rdx + r9]
cmp rbx, r10
jle 0x72aeb9
cmp rcx, r10
jb 0x72af25
nop dword [rax + rax]
cmp rdx, r10
ja 0x72af17
mov rbx, qword [0x00a91e20]
mov rsi, rdx
sub rdx, rcx
sar rdx, 0x3f
and rdx, rsi
add rdx, rax
mov rax, rdx
mov rcx, r9
call fcn.006177e0
test al, al
je 0x72ae95
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x48]
movzx edi, byte [rsp + 0x1e]
mov rsi, qword [rsp + 0x28]
mov r8d, 1
jmp 0x72aebc
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x28]
movzx edi, byte [rsp + 0x1e]
movzx r8d, byte [rsp + 0x1f]
inc rsi
mov r12, rdx
mov r13, rcx
jmp 0x72acec
cmp r9b, 0x3e
jne 0x72aee5
test rsi, rsi
je 0x72aef0
dec rsi
mov r12, rdx
mov r13, rcx
nop dword [rax + rax]
jmp 0x72acec
mov r12, rdx
mov r13, rcx
jmp 0x72acec
xor eax, eax
add rsp, 0x30
pop rbp
ret
test rsi, rsi
jne 0x72af0b
nop dword [rax]
test dil, dil
jne 0x72af0b
xor r8d, 1
jmp 0x72af0e
xor r8d, r8d
mov eax, r8d
add rsp, 0x30
pop rbp
ret
mov rax, rdx
mov rcx, r10
nop dword [rax]
call fcn.00677be0
mov rdx, rcx
mov rcx, r10
call fcn.00677ba0
mov rax, r11
mov rcx, r12
call fcn.00677be0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.006758a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop
jmp fcn.0072acc0
Function at 0x140014e2c
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [r11 + 0x18], 0
lea rax, [r11 + 0x18]
mov r9d, 0x2001f
mov qword [r11 - 0x18], rax
xor r8d, r8d
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x140014e68
lea ebx, [rax - 1]
jmp 0x140014eb5
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140014eb5
mov rcx, qword [rsp + 0x50]
call fcn.140014c20
mov ebx, eax
test eax, eax
js 0x140014eb5
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x50], 0
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140014ec5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140014f8c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcImpersonateClient]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140015004
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r9, rdi
xor r8d, r8d
mov rcx, rax
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x140014fe5
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
call qword [sym.imp.RPCRT4.dll_RpcRevertToSelf]
test eax, eax
je 0x140015004
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400157e0
Capabilities:
Access peb ldr_data

Disassembly:
push rcx
push r11
push r13
sub rcx, rcx
add rcx, 0x60
mov r11, qword gs:[rcx]
push r10
mov rcx, r11
add rcx, 0x10
mov r10, qword [rcx]
add r11, 0x18

Function at 0x14001e47c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001e29c
Function at 0x140001b74
Capabilities:
Parse pe header

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

Function at 0x140008160
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007f5c
Function at 0x14000d610
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000d640
xor eax, eax
jmp 0x14000d703
mov rbp, rbx
cmp word [rax], si
je 0x14000d665
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d64c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d648
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000d530
movsxd r14, eax
test eax, eax
jne 0x14000d6a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d639
mov rcx, r14
call fcn.140009dec
mov rdi, rax
test rax, rax
jne 0x14000d6bc
xor ecx, ecx
call fcn.1400093e8
jmp 0x14000d698
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000d530
test eax, eax
jne 0x14000d6ed
mov rcx, rdi
call fcn.1400093e8
jmp 0x14000d6f7
xor ecx, ecx
call fcn.1400093e8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000ed44
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400233e0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14000ed9b
cmp word [rdx], r13w
jne 0x14000ed9b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14000eda0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14000eec5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14000eee6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14000edd9
mov rdx, r9
mov word [rbx], cx
jmp 0x14000ee00
cmp r9, r8
jae 0x14000ee10
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14000edba
jmp 0x14000eec5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000eeba
cmp dword [rsp + 0x80], esi
je 0x14000eeba
lea r8, [0x1400233e0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14000ee92
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14000ee62
mov word [rbx], r13w
jmp 0x14000eec2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14000ee6f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14000eec2
cmp word [rsp + 0x70], r13w
jne 0x14000ee9f
cmp rbx, r14
je 0x14000ee5c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140013a4c
cmp word [rsp + 0x70], r13w
je 0x14000eec5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400233e0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14000eebf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14000eec5
Function at 0x14001248c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400124a2
mov al, 1
jmp 0x140012502
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400124b3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140012500
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000df30
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140012500
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140012500
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140012500
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140012502
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140013540
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000c600
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400135ca
cmp byte [rbp - 0x21], r15b
je 0x1400135c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140013600
call fcn.140009638
test eax, eax
jne 0x1400135ec
cmp byte [rbp - 0x21], r15b
je 0x1400135e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140013600
cmp byte [rbp - 0x21], r15b
je 0x1400135fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000bbe0
test eax, eax
jne 0x1400136a0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000c600
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001363f
cmp byte [rbp - 0x21], r15b
je 0x140013674
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140013674
call fcn.140009638
test eax, eax
jne 0x140013660
cmp byte [rbp - 0x21], r15b
je 0x140013659
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140013674
cmp byte [rbp - 0x21], r15b
je 0x140013671
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000bbe0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400136a0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400136a3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400136b1
mov rcx, rdi
call fcn.1400093e8
cmp byte [rbp + 0x3f], r15b
je 0x1400136c0
mov rcx, qword [rbp + 0x27]
call fcn.1400093e8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140015c70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140015c98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140015c98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001c3c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rbx, qword [rdx]
mov rsi, rcx
lea rcx, [rbp + 0x20]
mov r14d, r8d
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x20]
lea rdx, [rbp + 0x20]
mov rcx, rbx
mov dword [rdi + 0x290], eax
mov eax, dword [rbp + 0x24]
mov dword [rdi + 0x294], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rbp + 0x20]
mov ecx, dword [rbp + 0x24]
cmp eax, dword [rdi + 0x298]
jne 0x140001d0c
cmp ecx, dword [rdi + 0x29c]
jne 0x140001d0c
mov ecx, dword [rsi + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [rsi + 0x1c]
movzx r15d, ax
shr r15d, 0xf
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
cmp r15d, dword [rdi + 0x2a0]
jne 0x1400948cf
test r14d, r14d
je 0x140001cdc
mov dword [rdi + 0x2a0], r15d
cmp ebx, dword [rdi + 0x2a4]
jne 0x140094956
test r14d, r14d
je 0x140001cf3
mov dword [rdi + 0x2a4], ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
mov dword [rdi + 0x298], eax
mov dword [rdi + 0x29c], ecx
cmp r14d, 1
jl 0x140001ca3
jmp 0x1400948b2
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8, rdi
mov rcx, rsi
mov edx, 0xfffffff5
call fcn.140079224
nop
jmp 0x140001ca3
cmp r14d, 1
jl 0x140001cd0
cmp byte [rdi + 0x2e0], 0
je 0x140001cd0
mov eax, dword [rbp + 0x24]
mov r9d, dword [rbp + 0x20]
mov r8, rdi
mov rcx, rsi
mov dword [rsp + 0x20], eax
test r15d, r15d
je 0x140094903
mov edx, 0xfffffff9
jmp 0x140094945
mov edx, 0xfffffff8
call fcn.140079224
cmp byte [rdi + 0x2a8], 0
je 0x14009494a
mov rcx, qword [rdi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r9d, dword [rbp + 0x20]
mov r8, rdi
bt eax, 0x18
mov eax, dword [rbp + 0x24]
mov rcx, rsi
mov dword [rsp + 0x20], eax
mov edx, 0xfffffffa
jb 0x140094945
mov edx, 0xfffffff4
call fcn.140079224
mov byte [rdi + 0x2a8], 0
jmp 0x140001cd0
cmp r14d, 1
jl 0x140001ce8
mov eax, dword [rbp + 0x24]
mov r9d, dword [rbp + 0x20]
mov r8, rdi
mov rcx, rsi
mov edx, 0xfffffff7
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x14009497f
mov edx, 0xfffffff6
call fcn.140079224
nop
jmp 0x140001ce8
Function at 0x1400044d8
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
sub rsp, 0x68
and qword [r11 - 0x10], 0
mov rax, qword [0x1400dae68]
lea rdx, [0x1400b0980]
mov qword [r11 - 0x18], rax
and qword [r11 - 0x20], 0
and qword [r11 - 0x28], 0
mov eax, 0x80000000
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], eax
mov r9d, 0xcf0000
mov r8, rdx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
and qword [rsp + 0x58], 0
mov rcx, qword [0x1400dae68]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], 1
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
lea rdx, str.edit
mov r9d, 0x50b008c4
xor r8d, r8d
xor ecx, ecx
mov qword [0x1400daec0], rax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x1400daec0]
xor edx, edx
mov qword [0x1400daeb8], rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400daec0]
xor edx, edx
add rsp, 0x68
jmp qword [sym.imp.USER32.dll_ShowWindow]

Function at 0x140005580
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov word [rcx + 8], 1
mov eax, 5
mov rbx, rcx
mov dword [rcx], eax
mov dword [rcx + 4], eax
xor eax, eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov dword [rcx + 0x20], eax
mov dword [rcx + 0xc], 4
lea ecx, [rax + 0x5b]
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x10]
mov byte [rbx + 0x35], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov ecx, QueryPathOfRegTypeLib
mov byte [rbx + 0x32], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov ecx, QueryPathOfRegTypeLib
mov byte [rbx + 0x33], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x11]
mov byte [rbx + 0x34], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x12]
mov byte [rbx + 0x30], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 0x31], al
add rsp, 0x20
pop rbx
ret
Function at 0x14000560c
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r15
lea rbp, [rax - 0x388]
sub rsp, 0x470
mov rsi, rdx
lea rdx, [rsp + 0x50]
xor bl, bl
mov ecx, 0x104
xor dil, dil
mov byte [rbp + 0x390], bl
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r8, [rbp + 0x3a0]
mov rdx, rsi
call fcn.140003c74
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140085358
mov eax, dword [0x1400daf28]
test eax, eax
je 0x140005782
mov r15d, 1
lea rcx, [0x1400dcf10]
cmp eax, r15d
je 0x14008537a
lea rax, [rbp + 0x390]
lea r8, [0x1400daf28]
lea rdx, [0x1400daf50]
mov qword [rsp + 0x20], rax
call fcn.140005c88
test al, al
je 0x14000578b
mov al, byte [0x1400dcf10]
mov dil, byte [0x1400dcf11]
lea r9, [0x1400daf20]
lea r8, [rbp + 0x160]
lea rcx, [0x1400daf50]
mov edx, 0x104
mov byte [0x1400daf2c], al
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov bl, byte [rbp + 0x390]
mov r8d, dword [0x1400daf28]
lea rdx, [0x1400daf50]
call fcn.140006330
test eax, eax
jne 0x14008539e
cmp dil, r15b
je 0x1400853c1
call fcn.140004240
call fcn.1400044d8
cmp byte [0x1400daf2c], 0
jne 0x14000572f
lea rcx, [0x1400dbb40]
call fcn.140005d78
lea rcx, [0x1400db160]
mov edx, r15d
call fcn.1400105f0
cmp byte [0x1400daf2c], 0
jne 0x140005753
lea rcx, [0x1400dbb40]
call fcn.140005a38
lea rcx, [0x1400dcf10]
call fcn.140005800
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
or dword [0x1400dae70], 0xffffffff
jmp 0x14000575f
mov dword [0x1400dae70], r15d
jmp 0x14000575f
lea r8, [0x1400c5ecc]
lea rdx, str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
mov r9d, reloc.WSOCK32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x14000576a
mov r8, qword [0x1400daf30]
or r9d, 0xffffffff
mov edx, r15d
call fcn.14004ac80
mov al, byte [0x1400dae76]
mov byte [0x1400dcf12], al
jmp 0x1400056ec
lea rcx, [0x1400dcf10]
call fcn.140005800
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x1400dae70], r15d
jmp 0x14000576a
call fcn.140050ae8
test al, al
jne 0x140005710
cmp byte [rbp + 0x3a0], al
jne 0x140005710
lea rdx, [rbp + 0x160]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x1400b097c]
lea rcx, [rsp + 0x30]
call fcn.140016828
lea rcx, [rsp + 0x30]
test bl, bl
je 0x140085434
lea rdx, [0x1400c5f38]
call fcn.14000611c
lea rdx, [0x1400daf50]
lea rcx, [rsp + 0x30]
call fcn.14000611c
lea rdx, [0x1400c5f38]
lea rcx, [rsp + 0x30]
jmp 0x140085437
mov rdx, rsi
call fcn.14000611c
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r9, qword [rsp + 0x30]
mov rcx, rax
lea rax, [rsp + 0x50]
lea r8, [rbp + 0x160]
lea rdx, str.runas
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.1400169b8
nop
jmp 0x140005753
Function at 0x140005d0c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
lea r14, [rcx + 0x18]
mov rbx, rcx
mov edx, 1
mov r8, r14
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x140005d60
mov rcx, qword [rbx + 0x10]
xor r9d, r9d
lea r8, [0x1400c1f10]
lea edx, [r9 + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rdi, rax
test rax, rax
jne 0x140089300
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rcx, qword [rbx + 0x10]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140005d60
mov rcx, qword [rbx + 0x10]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x140005d60
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140005d60
mov rcx, qword [r14]
xor r9d, r9d
mov r8d, edi
mov r10, qword [rcx]
mov rdx, rax
call qword [r10 + reloc.OLEAUT32.dll_RegisterActiveObject]
mov rcx, qword [r14]
and dword [rsp + 0x30], 0
and dword [rsp + 0x34], 0
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
call qword [rax + SafeArrayCreateEx]
mov byte [rbx + 0x20], 1
jmp 0x140005d60

Function at 0x140006968
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x30], 0
cmp byte [rcx + 0x20], 0
mov r10, r9
mov r11, r8
mov rbx, rdx
jne 0x1400893e2
mov r9, qword [rsp + 0x50]
mov r8, r10
mov rdx, r11
mov rcx, rbx
call fcn.140029684
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rcx + 0x18]
imul r10d, r11d
lea r9, [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, r10d
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rax, qword [rsp + 0x30]
jmp 0x14000699a
Function at 0x1400174f0
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 0x140017598
xor edi, edi
test rsi, rsi
je 0x140017543
nop
mov eax, dword [rbx + 0x10]
cmp dword [rbx + 0x14], eax
je 0x14001755f
movsxd rdx, dword [rbx + 0x14]
mov rcx, qword [rbx + 8]
inc rdi
movzx edx, byte [rdx + rcx]
mov byte [rdi + rbp - 1], dl
inc dword [rbx + 0x14]
cmp rdi, rsi
jb 0x140017520
add qword [rbx + 0x18], rdi
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
lea r9, [rsp + 0x40]
mov r8d, 0x10000
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140017543
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140017543
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x14], 0
jmp 0x140017528
mov qword [rcx + 0x10], 0
call fcn.140007d58
jmp 0x140017517