joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140109f3c
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.1400ef7f4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140109fc6
cmp byte [rbp - 0x21], r15b
je 0x140109fc1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140109ffc
call fcn.1400fafb8
test eax, eax
jne 0x140109fe8
cmp byte [rbp - 0x21], r15b
je 0x140109fe0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140109ffc
cmp byte [rbp - 0x21], r15b
je 0x140109ff9
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.1400f83c0
test eax, eax
jne 0x14010a09c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400ef7f4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14010a03b
cmp byte [rbp - 0x21], r15b
je 0x14010a070
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14010a070
call fcn.1400fafb8
test eax, eax
jne 0x14010a05c
cmp byte [rbp - 0x21], r15b
je 0x14010a055
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14010a070
cmp byte [rbp - 0x21], r15b
je 0x14010a06d
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.1400f83c0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14010a09c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14010a09f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14010a0ad
mov rcx, rdi
call fcn.1400fac5c
cmp byte [rbp + 0x3f], r15b
je 0x14010a0bc
mov rcx, qword [rbp + 0x27]
call fcn.1400fac5c
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 0x14010afd0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400f97fc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400f97fc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14010b120
cmp rax, 0xffffffffffffffff
je 0x14010b120
xor edi, edi
test rbp, rbp
jle 0x14010b0cb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400fabe4
mov rbx, rax
test rax, rax
jne 0x14010b058
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14010b0c1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400f5a5c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400fc3fc
cmp eax, 0xffffffff
je 0x14010b0a1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14010b068
mov edx, r15d
mov ecx, r14d
call fcn.1400f5a5c
jmp 0x14010b0c1
cmp byte [rsi + 0x38], dil
je 0x14010b0b8
cmp dword [rsi + 0x34], 5
jne 0x14010b0b8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14010b0c1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400fac5c
jmp 0x14010b134
jns 0x14010b134
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400f97fc
cmp rax, 0xffffffffffffffff
jne 0x14010b0ec
cmp byte [rsi + 0x30], dil
je 0x14010b134
mov edi, dword [rsi + 0x2c]
jmp 0x14010b134
mov ecx, r14d
call fcn.14010276c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14010b134
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14010b134
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14010b12d
mov eax, dword [rsi + 0x2c]
jmp 0x14010b132
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400f97fc
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14010c110
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14010c138
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14010c138
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001bf0
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 0x140001ca8
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x140001ca8
lea rax, [r11 - 0x18]
lea r9d, [rbx + 1]
xor r8d, r8d
mov qword [r11 - 0x28], rax
mov word [rdi], bx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001ca8
mov rcx, qword [rsp + 0x30]
lea eax, [rsi + rsi]
xor r9d, r9d
mov dword [rsp + 0x60], eax
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 0x140001c81
mov eax, dword [rsp + 0x60]
shr eax, 1
mov dword [rsp + 0x60], eax
cmp eax, esi
jae 0x140001ca3
mov word [rdi + rax*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]
jmp 0x140001c7b
xor al, al
jmp 0x140001c8e
Function at 0x140002294
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x20
mov edi, edx
test r8, r8
jne 0x140040f0e
mov eax, dword [0x1400e0ee8]
cmp eax, 0xffffffff
je 0x14000236e
movsxd rcx, eax
mov rax, qword [0x1400e0ed0]
mov rcx, qword [rax + rcx*8]
mov rbx, qword [rcx]
cmp byte [rbx + 0x6a], 0
mov rbp, qword [rbx]
je 0x1400022e8
cmp dword [rbx + 0x2b8], 0
mov byte [rbx + 0x6a], 0
jge 0x140040f28
cmp edi, 8
jg 0x140040f84
je 0x140002316
test edi, edi
je 0x140040f70
cmp edi, 1
je 0x140002316
mov edx, 6
cmp edi, 2
je 0x140002365
cmp edi, 3
je 0x14000235c
jle 0x14000233d
cmp edi, 5
jg 0x140002352
cmp byte [rbx + 0x68], 0
jne 0x14000236e
mov edx, edi
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
lea eax, [rdi - 4]
test eax, 0xfffffffb
je 0x140002339
mov rdx, rbp
call fcn.140019cec
mov byte [rbx + 0x68], 1
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp edi, edx
je 0x140040f57
jmp 0x14000233d
mov byte [rbx + 0x68], 1
jmp 0x140040feb
mov byte [rbx + 0x68], 1
jmp 0x140040f57
xor eax, eax
jmp 0x140002342
lea rcx, [0x1400e0e30]
mov rdx, r8
call fcn.140004540
mov dword [0x1400e0ee8], eax
jmp 0x1400022b4
cmp byte [rbx + 0x2c4], 0
je 0x1400022e8
mov r8d, dword [rbx + 0x2c0]
lea rcx, [0x1400e0e30]
mov rdx, rbx
call fcn.1400a3c44
mov byte [rbx + 0x2c4], 0
jmp 0x1400022e8
cmp byte [rbx + 0x68], 0
je 0x14000236e
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
nop
jmp 0x14000233d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rbx + 0x68], 0
jmp 0x14000233d
mov ecx, edi
sub ecx, 9
je 0x140040feb
sub ecx, 0x37
je 0x140040fd7
dec ecx
je 0x140040fd3
dec ecx
je 0x140040fc0
dec ecx
jne 0x14000233d
mov byte [rbx + 0x69], cl
xor ecx, ecx
call qword [sym.imp.USER32.dll_LockWindowUpdate]
mov rcx, qword [rbx]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
jmp 0x14000233d
mov rcx, rbp
mov byte [rbx + 0x69], 1
call qword [sym.imp.USER32.dll_LockWindowUpdate]
nop
jmp 0x14000233d
xor edx, edx
jmp 0x140040fdc
mov edx, 1
mov rcx, rbp
call qword [sym.imp.USER32.dll_EnableWindow]
nop
jmp 0x14000233d
cmp byte [rbx + 0x68], 0
je 0x14000236e
mov edx, edi
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, rbp
call fcn.140019cec
nop
jmp 0x14000233d
Function at 0x140004188
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 0x140004258
cmp ecx, dword [rdi + 0x29c]
jne 0x140004258
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 0x140042f79
test r14d, r14d
je 0x140004228
mov dword [rdi + 0x2a0], r15d
cmp ebx, dword [rdi + 0x2a4]
jne 0x140043000
test r14d, r14d
je 0x14000423f
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 0x1400041ef
jmp 0x140042f5c
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8, rdi
mov rcx, rsi
mov edx, 0xfffffff5
call fcn.14009ccf0
nop
jmp 0x1400041ef
cmp r14d, 1
jl 0x14000421c
cmp byte [rdi + 0x2e0], 0
je 0x14000421c
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 0x140042fad
mov edx, 0xfffffff9
jmp 0x140042fef
mov edx, 0xfffffff8
call fcn.14009ccf0
cmp byte [rdi + 0x2a8], 0
je 0x140042ff4
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 0x140042fef
mov edx, 0xfffffff4
call fcn.14009ccf0
mov byte [rdi + 0x2a8], 0
jmp 0x14000421c
cmp r14d, 1
jl 0x140004234
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 0x140043029
mov edx, 0xfffffff6
call fcn.14009ccf0
nop
jmp 0x140004234
Function at 0x140019cec
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, rax
cmp rdi, rax
jne 0x14004d66c
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
xor ebx, ebx
test rax, rax
jne 0x14004d685
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x14004d6a0
mov edx, 9
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x14004d7ca
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov rcx, rdi
mov r14d, eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, 1
mov ecx, r14d
mov edx, eax
mov r8d, esi
mov r15d, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, r15d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x14004d798
lea esi, [rax + 0x12]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea r8d, [rsi - 0x10]
xor r9d, r9d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea r8d, [rsi - 0x10]
xor r9d, r9d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x14004d79d
lea ebx, [rsi - 0xe]
jmp 0x14004d79d
mov ebx, 3
xor r8d, r8d
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, r15d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x14004d7cf
mov ebx, 2
mov eax, ebx
jmp 0x140019d1e
Function at 0x14001a570
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
sub rsp, 0x68
and qword [r11 - 0x10], 0
mov rax, qword [0x1400e04b8]
lea rdx, str.AutoIt_v3
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 [0x1400e04b8]
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 [0x1400e0510], rax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x1400e0510]
xor edx, edx
mov qword [0x1400e0508], rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400e0510]
xor edx, edx
add rsp, 0x68
jmp qword [sym.imp.USER32.dll_ShowWindow]
Function at 0x14001a774
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.140037740
sub rsp, rax
lea rcx, [rsp + 0x50]
mov rsi, rdx
call fcn.14001dfc0
lea rdx, [rsp + 0x70]
xor bl, bl
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.14001a238
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14004dbc2
mov eax, dword [0x1400e0570]
test eax, eax
je 0x14001a906
mov r15d, 1
lea rcx, [0x1400e2370]
cmp eax, r15d
je 0x14004dbe4
lea rax, [rbp + 0x1ffa0]
lea r8, [0x1400e0570]
lea rdx, [0x1400e0598]
mov qword [rsp + 0x20], rax
call fcn.14001c4e4
test al, al
je 0x14001a90f
mov al, byte [0x1400e2370]
mov rcx, qword [0x1400e0598]
mov dil, byte [0x1400e2371]
lea r9, [rbp + 0x1ffb8]
lea r8, [rbp + 0xff70]
mov edx, 0x7fff
mov byte [0x1400e0574], al
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rdx, qword [rbp + 0x1ffb8]
lea rcx, [0x1400e0550]
call fcn.14001e748
mov bl, byte [rbp + 0x1ffa0]
mov r8d, dword [0x1400e0570]
lea rdx, [0x1400e0598]
call fcn.14000b930
test eax, eax
jne 0x14004dc08
cmp dil, r15b
je 0x14004dc2b
call fcn.14001a644
call fcn.14001a570
cmp byte [0x1400e0574], 0
jne 0x14001a8b3
lea rcx, [0x1400e0fa0]
call fcn.14000173c
lea rcx, [0x1400e05c0]
mov edx, r15d
call fcn.14000ba10
cmp byte [0x1400e0574], 0
jne 0x14001a8d7
lea rcx, [0x1400e0fa0]
call fcn.14000188c
lea rcx, [0x1400e2370]
call fcn.14001c57c
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x50]
call fcn.14001bc24
add rsp, 0x20070
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
or dword [0x1400e04c0], 0xffffffff
jmp 0x14001a8e3
mov dword [0x1400e04c0], r15d
jmp 0x14001a8e3
lea r8, [0x1400c93cc]
lea rdx, str.This_is_a_third_party_compiled_AutoIt_script.
mov r9d, reloc.WSOCK32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x14001a8ee
mov r8, qword [0x1400e0578]
or r9d, 0xffffffff
mov edx, r15d
call fcn.14001c438
mov al, byte [0x1400e04c8]
mov byte [0x1400e2372], al
jmp 0x14001a870
lea rcx, [0x1400e2370]
call fcn.14001c57c
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x1400e04c0], r15d
jmp 0x14001a8ee
call fcn.140072f64
test al, al
jne 0x14001a894
cmp byte [rbp + 0x1ffb0], al
jne 0x14001a894
lea rcx, [rsp + 0x50]
call fcn.140019fe4
lea rdx, [0x1400b8060]
lea rcx, [rsp + 0x30]
call fcn.14001ea0c
lea rcx, [rsp + 0x30]
test bl, bl
je 0x14004dc93
lea rdx, [0x1400c9400]
call fcn.14001e870
lea rdx, [0x1400e0598]
lea rcx, [rsp + 0x30]
call fcn.14001e5b0
lea rdx, [0x1400c9400]
lea rcx, [rsp + 0x30]
jmp 0x14004dc96
mov rdx, rsi
call fcn.14001e870
mov rbx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [rsp + 0x50]
mov rcx, rax
lea rax, [rsp + 0x70]
lea rdx, str.runas
mov r9, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.14001bc24
nop
jmp 0x14001a8d7
Function at 0x14001b258
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 0x14004dea0
mov r9, qword [rsp + 0x50]
mov r8, r10
mov rdx, r11
mov rcx, rbx
call fcn.140029b34
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 0x14001b28a
Function at 0x14001bfd0
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 0x14001c078
xor edi, edi
test rsi, rsi
je 0x14001c023
nop
mov eax, dword [rbx + 0x10]
cmp dword [rbx + 0x14], eax
je 0x14001c03f
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 0x14001c000
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 0x14001c023
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14001c023
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x14], 0
jmp 0x14001c008
mov qword [rcx + 0x10], 0
call fcn.14001c090
mov qword [rbx + 0x18], rax
jmp 0x14001bff7
Function at 0x140024278
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor ecx, ecx
mov r15, r9
mov r13, rdx
lea ebx, [rcx + 1]
mov edi, ecx
mov ebp, ecx
cmp qword [rdx + 8], rcx
je 0x140060cca
mov rax, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xb0]
mov byte [rax], cl
mov byte [r12], cl
mov byte [r14], cl
mov byte [r9], cl
mov dword [r8], ecx
mov rsi, rax
movsxd rdx, edi
mov rcx, r13
call fcn.14001e4a0
movzx ecx, word [rax]
lea eax, [rcx - 0x21]
cmp ax, 0x3d
jbe 0x140060cd1
movsxd rdx, edi
add edi, ebx
mov rcx, r13
mov dword [rsp + 0x90], edi
call fcn.14001e4a0
mov rsi, qword [rsp + 0xa0]
movzx ecx, word [rax]
cmp cx, 0x7b
jne 0x140060d5a
lea rcx, [rsp + 0x30]
mov edx, 0x40
call fcn.14001e510
lea rax, [rsp + 0x90]
lea r9, [rsp + 0x30]
mov edx, 0x7d
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.1400243d0
test al, al
je 0x1400243ca
lea rdi, [0x1400b8850]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.140025c4c
test eax, eax
je 0x140024379
lea rax, [0x1400b8b68]
add rdi, 8
add ebp, ebx
cmp rdi, rax
jl 0x140024356
cmp ebp, 0x63
je 0x140060d16
lea rcx, [0x140000000]
movsxd rax, ebp
cmp byte [rax + rcx + 0xb87e0], 0
jne 0x1400243ca
movzx eax, byte [rax + rcx + 0xb8770]
mov dword [rsi], eax
lea rcx, [rsp + 0x30]
call fcn.14001bc24
and dword [rsi], 0xff
mov al, bl
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
jmp 0x1400243a0
lea rcx, [rsp + 0x30]
call fcn.14001bc24
xor al, al
jmp 0x1400243b2
movabs rdx, 0x2000000000000405
bt rdx, rax
jae 0x1400242f4
cmp cx, 0x2b
jne 0x140060cf0
mov byte [r15], bl
jmp 0x140060d0f
cmp cx, 0x5e
jne 0x140060cfb
mov byte [r14], bl
jmp 0x140060d0f
cmp cx, 0x21
jne 0x140060d07
mov byte [r12], bl
jmp 0x140060d0f
cmp cx, 0x23
jne 0x140060d0f
mov byte [rsi], bl
add edi, ebx
jmp 0x1400242d9
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.14001e4d8
movzx ecx, word [rax]
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
mov dword [rsi], ecx
cmp ecx, 0xffffffff
je 0x140060cc0
bt ecx, 9
jae 0x140060d3e
mov byte [r14], bl
bt ecx, 0xa
jae 0x140060d48
mov byte [r12], bl
bt ecx, 8
jae 0x1400243a0
mov byte [r15], bl
jmp 0x1400243a0
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
mov dword [rsi], ecx
cmp ecx, 0xffffffff
je 0x140060cca
bt ecx, 9
jae 0x140060d77
mov byte [r14], bl
bt ecx, 0xa
jae 0x140060d81
mov byte [r12], bl
bt ecx, 8
jae 0x1400243aa
mov byte [r15], bl
jmp 0x1400243aa