joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d3c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x120
bt edx, 9
mov rbx, rcx
jae 0x14000d3df
or dword [rcx + 0x18], 8
bt edx, 0xa
jae 0x14000d3e9
or dword [rcx + 0x18], 1
bt edx, 8
jae 0x14000d3f3
or dword [rcx + 0x18], 2
mov eax, dword [rcx + 0x18]
test al, 8
je 0x14000d406
bt eax, 0xb
jae 0x14000d406
xor eax, 8
mov dword [rcx + 0x18], eax
mov eax, dword [rcx + 0x18]
test al, 1
je 0x14000d419
bt eax, 8
jae 0x14000d419
xor eax, 1
mov dword [rcx + 0x18], eax
mov eax, dword [rcx + 0x18]
test al, 2
je 0x14000d42c
bt eax, 9
jae 0x14000d42c
xor eax, 2
mov dword [rcx + 0x18], eax
mov eax, dword [rcx + 0x18]
test al, 0x10
je 0x14000d43f
bt eax, 0xc
jae 0x14000d43f
xor eax, 0x10
mov dword [rcx + 0x18], eax
xor edi, edi
cmp qword [rcx + 0x20], rdi
je 0x14000d4b6
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
mov r11d, dword [rbx + 0x18]
mov eax, r11d
and eax, 0x800
neg eax
sbb al, al
and al, byte [rsp + 0x31]
mov byte [rsp + 0x31], al
mov eax, r11d
and eax, 0x100
neg eax
sbb al, al
and al, byte [rsp + 0x32]
bt r11d, 9
mov byte [rsp + 0x32], al
jb 0x14000d492
mov eax, dword [rbx + 0x30]
mov byte [rsp + 0x30], dil
mov byte [rsp + rax + 0x20], dil
and r11d, 0x1000
lea rcx, [rsp + 0x20]
neg r11d
sbb al, al
and al, byte [rsp + 0x7b]
mov byte [rsp + 0x7b], al
call qword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x14000d5b8
mov esi, reloc.WSOCK32.dll_recvfrom
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, 0x8000
test di, ax
jne 0x14000d4da
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
test di, ax
je 0x14000d4ee
bt dword [rbx + 0x18], 0xb
jb 0x14000d4ee
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14000de68
mov esi, reloc.WSOCK32.dll_select
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
jne 0x14000d50d
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
test di, ax
je 0x14000d521
bt dword [rbx + 0x18], 8
jb 0x14000d521
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14000de68
mov ecx, dword [rbx + 0x30]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
jne 0x14000d53d
mov ecx, dword [rbx + 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
test di, ax
je 0x14000d552
bt dword [rbx + 0x18], 9
jb 0x14000d552
mov edx, dword [rbx + 0x30]
xor r8d, r8d
mov rcx, rbx
call fcn.14000de68
mov esi, RegisterTypeLib
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
jne 0x14000d571
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
test di, ax
je 0x14000d585
bt dword [rbx + 0x18], 0xa
jb 0x14000d585
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14000de68
mov esi, 0x5b
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
jne 0x14000d5a4
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
test di, ax
je 0x14000d5b8
bt dword [rbx + 0x18], 0xc
jb 0x14000d5b8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14000de68
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000d5d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x120
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x20], rbx
je 0x14000d65d
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
mov r11b, 0x80
cmp byte [rsp + 0x31], r11b
jne 0x14000d60d
bt dword [rdi + 0x18], 0xb
lea eax, [rbx + 8]
cmovae ebx, eax
cmp byte [rsp + 0x32], r11b
jne 0x14000d61e
bt dword [rdi + 0x18], 8
jb 0x14000d61e
or ebx, 1
mov eax, dword [rdi + 0x30]
cmp byte [rsp + rax + 0x20], r11b
je 0x14000d62f
cmp byte [rsp + 0x30], r11b
jne 0x14000d639
bt dword [rdi + 0x18], 9
jb 0x14000d639
or ebx, 2
cmp byte [rsp + 0xc1], r11b
jne 0x14000d64d
bt dword [rdi + 0x18], 0xa
jb 0x14000d64d
or ebx, 4
cmp byte [rsp + 0x7b], r11b
jne 0x14000d733
jmp 0x14000d729
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, 0x8000
test si, ax
jne 0x14000d682
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x14000d68f
bt dword [rdi + 0x18], 0xb
mov eax, 8
cmovae ebx, eax
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x14000d6af
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x14000d6b9
bt dword [rdi + 0x18], 8
jb 0x14000d6b9
or ebx, 1
mov ecx, dword [rdi + 0x30]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x14000d6d5
mov ecx, dword [rdi + 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x14000d6df
bt dword [rdi + 0x18], 9
jb 0x14000d6df
or ebx, 2
mov ecx, RegisterTypeLib
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x14000d6ff
mov ecx, RegisterTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x14000d709
bt dword [rdi + 0x18], 0xa
jb 0x14000d709
or ebx, 4
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x14000d729
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x14000d733
bt dword [rdi + 0x18], 0xc
jb 0x14000d733
or ebx, 0x10
lea r11, [rsp + 0x120]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000dd04
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov bl, r8b
mov edi, edx
mov rsi, rcx
call fcn.14000dd3c
mov r8b, bl
mov edx, edi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14000de68

Function at 0x14000dd3c
Capabilities:
Log keystrokes
Log keystrokes via polling

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
sub rsp, 0x120
mov ebx, edx
mov rdi, rcx
xor edx, edx
mov ecx, ebx
mov bpl, r8b
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp qword [rdi + 0x20], 0
mov esi, eax
je 0x14000de0e
cmp ebx, 0x14
je 0x14000de0e
cmp ebx, 0x90
je 0x14000de0e
cmp ebx, 0x91
je 0x14000de0e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
or byte [rsp + rbx + 0x20], 0x80
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetKeyboardState]
shl esi, 0x10
mov r9d, esi
or r9, 1
cmp bpl, 1
je 0x14000ddcd
mov edx, ebx
mov rcx, rdi
call fcn.14000d74c
cmp al, 1
jne 0x14000ddd2
bts r9, 0x18
mov eax, dword [rdi + 0x18]
test al, 1
jne 0x14000dde4
bt eax, 8
jb 0x14000dde4
cmp ebx, 0x12
jne 0x14000ddfa
test al, 8
jne 0x14000ddfa
bt eax, 0xb
jb 0x14000ddfa
bts r9, 0x1d
mov edx, 0x104
jmp 0x14000ddff
mov edx, 0x100
mov rcx, qword [rdi + 0x20]
mov r8, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14000de3b
cmp bpl, 1
je 0x14000de27
mov edx, ebx
mov rcx, rdi
call fcn.14000d74c
cmp al, 1
je 0x14000de27
xor r8d, r8d
jmp 0x14000de2d
mov r8d, 1
xor r9d, r9d
mov dl, sil
mov cl, bl
call qword [sym.imp.USER32.dll_keybd_event]
mov edx, dword [rdi + 4]
test edx, edx
je 0x14000de4a
mov rcx, rdi
call fcn.14000e654
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x14000de68
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x120
mov ebx, edx
mov rdi, rcx
xor edx, edx
mov ecx, ebx
mov bpl, r8b
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp qword [rdi + 0x20], 0
mov esi, eax
je 0x14000df41
cmp ebx, 0x14
je 0x14000df41
cmp ebx, 0x90
je 0x14000df41
cmp ebx, 0x91
je 0x14000df41
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
shl esi, 0x10
mov eax, 0xc0000001
mov r9d, esi
mov r8b, 1
or r9, rax
cmp bpl, r8b
je 0x14000deef
mov edx, ebx
mov rcx, rdi
call fcn.14000d74c
cmp al, r8b
jne 0x14000def4
bts r9, 0x18
mov eax, dword [rdi + 0x18]
test r8b, al
jne 0x14000df07
bt eax, 8
jb 0x14000df07
cmp ebx, 0x12
jne 0x14000df1d
test al, 8
jne 0x14000df1d
bt eax, 0xb
jb 0x14000df1d
bts r9, 0x1d
mov edx, 0x105
jmp 0x14000df22
mov edx, 0x101
mov rcx, qword [rdi + 0x20]
mov r8, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
xor byte [rsp + rbx + 0x20], 0x80
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x14000df72
mov r8b, 1
cmp bpl, r8b
je 0x14000df5e
mov edx, ebx
mov rcx, rdi
call fcn.14000d74c
cmp al, r8b
mov r8d, 2
jne 0x14000df64
mov r8d, 3
xor r9d, r9d
mov dl, sil
mov cl, bl
call qword [sym.imp.USER32.dll_keybd_event]
mov edx, dword [rdi]
test edx, edx
je 0x14000df80
mov rcx, rdi
call fcn.14000e654
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000e654
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test edx, edx
js 0x14000e6e0
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov ebx, edx
movaps xmmword [rsp + 0x20], xmm7
test edx, edx
jne 0x14000e675
xor ecx, ecx
jmp 0x14000e6cb
cmp ebx, 0xf
jae 0x14000e6c9
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000e6c9
pxor xmm7, xmm7
cvtsi2sd xmm7, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r11, qword [rsp + 0x60]
pxor xmm6, xmm6
sub r11, qword [rsp + 0x68]
cvtsi2sd xmm6, r11
call fcn.1400134d4
divsd xmm6, xmm0
comisd xmm7, xmm6
ja 0x14000e692
jmp 0x14000e6d1
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rbx
ret

Function at 0x14000e6e4
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, 0x30
xor r12d, r12d
mov rcx, rdx
or edx, 0xffffffff
lea ebx, [r12 + 1]
mov r15, r9
mov edi, r12d
mov dword [rsp + 0x88], r12d
call fcn.140013b14
mov rbp, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov r13, qword [rsp + 0x90]
mov rcx, rax
mov byte [rbp], r12b
mov r14, rax
mov byte [r15], r12b
mov byte [rsi], r12b
mov byte [r13], r12b
call fcn.1400768c0
lea rcx, [rbx + rax]
call fcn.140075b98
mov r12, rax
movsxd rax, edi
mov cl, byte [rax + r14]
cmp cl, 0x2b
je 0x14000e780
cmp cl, 0x5e
je 0x14000e77b
cmp cl, 0x21
je 0x14000e77b
cmp cl, 0x23
jne 0x14000e7a5
cmp cl, 0x2b
jne 0x14000e785
mov byte [r15], bl
jmp 0x14000e7a1
cmp cl, 0x5e
jne 0x14000e790
mov byte [r13], bl
jmp 0x14000e7a1
cmp cl, 0x21
jne 0x14000e799
mov byte [rsi], bl
jmp 0x14000e7a1
cmp cl, 0x23
jne 0x14000e7a1
mov byte [rbp], bl
add edi, ebx
jmp 0x14000e760
mov rsi, qword [rsp + 0x80]
mov ebp, dword [rsp + 0x88]
movsxd rax, edi
mov cl, byte [rax + r14]
add edi, ebx
mov dword [rsp + 0xa0], edi
cmp cl, 0x7b
jne 0x14000e821
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0xa0]
mov r9, r12
mov r8, r14
mov dl, 0x7d
mov qword [rsp + 0x20], rax
call fcn.14000e5f4
test eax, eax
jne 0x14000e890
lea rdi, [0x1400a8bd0]
mov rcx, qword [rdi]
mov rdx, r12
call fcn.14008d4c4
test eax, eax
je 0x14000e818
lea rax, reloc.WSOCK32.dll_accept
add rdi, 8
add ebp, ebx
cmp rdi, rax
jl 0x14000e7f7
cmp ebp, 0x62
jne 0x14000e87c
mov cl, byte [r12]
call qword [sym.imp.USER32.dll_VkKeyScanA]
movsx ecx, ax
bt ecx, 9
mov dword [rsi], ecx
jae 0x14000e836
mov byte [r13], bl
bt ecx, 0xa
jae 0x14000e846
mov rax, qword [rsp + 0x98]
mov byte [rax], bl
bt ecx, 8
jae 0x14000e84f
mov byte [r15], bl
and dword [rsi], 0xff
mov rcx, r14
call fcn.140075884
mov rcx, r12
call fcn.140075884
mov al, bl
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140000000]
movsxd rax, ebp
cmp byte [rax + rcx + 0xa8ee0], 0
je 0x14000e894
xor bl, bl
jmp 0x14000e84f
mov eax, dword [rcx + rax*4 + 0xa8f50]
mov dword [rsi], eax
jmp 0x14000e84f
Function at 0x14000e914
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, rax
cmp rdi, rax
jne 0x14000e947
mov eax, 1
jmp 0x14000eaac
xor ebx, ebx
cmp rax, rbx
jne 0x14000e960
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]
cmp eax, ebx
je 0x14000e97b
mov edx, 9
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
cmp eax, ebx
jne 0x14000eaa5
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 r12d, eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, 1
mov ecx, r12d
mov edx, eax
mov r8d, esi
mov r13d, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, ebp
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, r13d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
cmp eax, ebx
jne 0x14000ea73
xor edx, edx
lea esi, [rdx + 0x12]
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]
cmp eax, ebx
je 0x14000ea78
lea ebx, [rsi - 0xe]
jmp 0x14000ea78
mov ebx, 3
xor r8d, r8d
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, ebp
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, r13d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x14000eaaa
mov ebx, 2
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x1400108b4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
test byte [rcx], 2
mov rbx, rcx
mov edi, 1
jne 0x1400108d4
test byte [rcx], dil
je 0x14001095e
test byte [rcx], dil
je 0x1400108ef
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x30]
call fcn.14007764c
cmp qword [rsp + 0x30], 0
jne 0x14001095e
test byte [rbx], 0x20
je 0x140010912
mov r9, qword [rbx + 8]
lea rcx, [0x140096b74]
mov r8d, 2
mov rdx, rdi
call fcn.140077844
mov dword [rbx + 0x14], edi
jmp 0x14001095e
test byte [rbx], 0x40
je 0x140010939
mov r9, qword [rbx + 8]
lea rcx, [0x1400973c4]
mov r8d, 2
mov rdx, rdi
call fcn.140077844
mov dword [rbx + 0x14], 2
jmp 0x14001095e
test byte [rbx], 0x80
je 0x14001095e
mov r9, qword [rbx + 8]
lea rcx, [0x140097488]
mov r8d, 3
mov rdx, rdi
call fcn.140077844
mov dword [rbx + 0x14], 4
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400109b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
and dword [rcx + 0x14], 0
test byte [rcx], 4
mov rax, rdx
mov rbx, rcx
mov byte [rcx + 0x10], 0
jne 0x140010a99
test byte [rcx], 0x10
jne 0x140010a99
test byte [rcx], 0x80
je 0x1400109ed
mov dword [rcx + 0x14], 4
jmp 0x140010a07
test byte [rcx], 0x20
je 0x1400109fb
mov dword [rcx + 0x14], 1
jmp 0x140010a07
test byte [rcx], 0x40
je 0x140010a07
mov dword [rcx + 0x14], 2
lea rdx, [0x140097f10]
mov rcx, rax
call fcn.1400774dc
mov rdi, rax
test rax, rax
je 0x140010a99
mov edx, 1
lea rcx, [rsp + 0x30]
mov r9, rax
lea r8d, [rdx + 2]
call fcn.140077d08
mov rcx, rdi
mov rsi, rax
call fcn.140077974
mov r11b, byte [rsp + 0x31]
mov cl, byte [rsp + 0x30]
cmp rsi, 2
jb 0x140010a76
cmp cl, 0xff
jne 0x140010a62
cmp r11b, 0xfe
jne 0x140010a76
mov dword [rbx + 0x14], 1
jmp 0x140010a95
cmp cl, 0xfe
jne 0x140010a76
cmp r11b, 0xff
jne 0x140010a76
mov dword [rbx + 0x14], 2
jmp 0x140010a95
cmp rsi, 3
jb 0x140010a99
cmp cl, 0xef
jne 0x140010a99
cmp r11b, 0xbb
jne 0x140010a99
cmp byte [rsp + 0x32], 0xbf
jne 0x140010a99
mov dword [rbx + 0x14], 4
mov byte [rbx + 0x10], 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001109c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, dword [rcx + 0x60]
mov rdi, rcx
cmp dword [rcx + 0x64], esi
jne 0x14001113b
mov eax, 4
cmp esi, eax
cmovg esi, eax
sub eax, esi
movsxd rbx, esi
lea rdx, [rbx + rcx + 0x18]
movsxd r8, eax
add rcx, 0x18
call fcn.1400753d0
movsxd r11, dword [rdi + 0x60]
mov rcx, rdi
sub r11, rbx
sub rcx, rbx
mov r8, rbx
lea rdx, [r11 + rdi + 0x1c]
add rcx, 0x1c
call fcn.1400753d0
mov r9, qword [rdi + 8]
mov edx, 1
lea r8d, [rdx + 0x3f]
lea rcx, [rdi + 0x1c]
mov dword [rdi + 0x5c], esi
call fcn.140077d08
and dword [rdi + 0x64], 0
mov dword [rdi + 0x60], eax
test eax, eax
jne 0x14001113b
mov rcx, qword [rdi + 8]
call fcn.140077d28
test eax, eax
jne 0x140011136
mov rcx, qword [rdi + 8]
call fcn.140077d60
test eax, eax
je 0x140011149
or eax, 0xffffffff
jmp 0x140011149
movsxd rcx, dword [rdi + 0x64]
movzx eax, byte [rcx + rdi + 0x1c]
inc ecx
mov dword [rdi + 0x64], ecx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400113b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rsp + 0x60]
lea eax, [r9 + r9]
xor esi, esi
mov dword [rsp + 0x58], eax
lea rax, [r11 + 0x28]
mov rdi, r8
lea r9d, [rsi + 1]
xor r8d, r8d
mov word [rbx], si
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x14001141c
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14001148c
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x8a0
mov rbp, rdx
xor edx, edx
mov r12, rcx
lea ecx, [rdx + 2]
mov rbx, r8
mov dword [rsp + 0x30], 0x238
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rdi, rax
call sub.KERNEL32.dll_Process32FirstW
mov rcx, r12
mov byte [rbx], 0
call fcn.140011704
mov esi, eax
jmp 0x140011563
lea rdx, [rsp + 0x30]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x14001156c
lea rax, [rsp + 0x480]
lea r9, [rsp + 0x270]
lea r8, [rsp + 0x690]
lea rdx, [rsp + 0x8d0]
lea rcx, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
call fcn.140076efc
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0x270]
call fcn.140075ae0
lea rcx, [rsp + 0x270]
mov rdx, r12
call fcn.140075a4c
test eax, eax
jne 0x140011551
mov eax, dword [rsp + 0x38]
mov dword [rbp], eax
jmp 0x140011560
test esi, esi
je 0x140011563
mov ecx, dword [rsp + 0x38]
cmp esi, ecx
jne 0x140011563
mov dword [rbp], ecx
mov byte [rbx], 1
cmp byte [rbx], 0
je 0x1400114de
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x8a0]
mov al, 1
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x140011590
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1080
call fcn.140090020
sub rsp, rax
mov rdi, r8
mov r14, rcx
mov r13, rdx
lea r8, [rsp + 0x10c8]
lea rcx, [rsp + 0x880]
mov edx, 0x800
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x1400116e3
mov esi, dword [rsp + 0x10c8]
mov rcx, r14
mov byte [rdi], 0
shr esi, 2
call fcn.140011704
xor ebp, ebp
mov r12d, eax
test esi, esi
je 0x1400116e1
lea rbx, [rsp + 0x880]
cmp byte [rdi], 0
jne 0x1400116e1
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea r9, [rsp + 0x10c8]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov r8d, 8
mov r15, rax
call sub.PSAPI.DLL_EnumProcessModules
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x460]
mov r9d, 0x104
mov rcx, r15
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x1400116ca
lea rax, [rsp + 0x250]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x670]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x460]
mov qword [rsp + 0x20], rax
call fcn.140076efc
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call fcn.140075ae0
lea rcx, [rsp + 0x40]
mov rdx, r14
call fcn.140075a4c
test eax, eax
jne 0x1400116b7
mov eax, dword [rbx]
mov dword [r13], eax
jmp 0x1400116c7
test r12d, r12d
je 0x1400116ca
mov ecx, dword [rbx]
cmp r12d, ecx
jne 0x1400116ca
mov dword [r13], ecx
mov byte [rdi], 1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebp
add rbx, 4
cmp ebp, esi
jb 0x14001160a
mov al, 1
lea r11, [rsp + 0x1080]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140011758
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov ebx, dword [rsp + 0x80]
xor edi, edi
mov esi, r9d
mov rbp, r8
mov r12, rdx
mov r13, rcx
mov byte [0x1400aa61e], dil
test ebx, ebx
je 0x1400117ce
mov byte [0x1400aa61f], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x80]
lea r8, [0x14001182c]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x34], ebx
call fcn.140078778
mov rdi, rax
mov r9d, esi
mov r8, rbp
mov rdx, r12
mov rcx, r13
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
test rdi, rdi
je 0x140011803
or edx, 0xffffffff
mov rcx, rdi
mov byte [0x1400aa61f], 0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
or eax, 0xffffffff
cmp byte [0x1400aa61e], 1
cmove ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret