joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140056e10
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x9c0]
sub rsp, 0xac0
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov r12b, bl
call fcn.1400130c0
lea rcx, [rsp + 0x30]
call fcn.14003b200
test al, al
je 0x140056e5b
lea rdx, str..
lea rcx, [rsp + 0x30]
call fcn.140014a68
lea rax, [rbp + 0x7b0]
lea r9, [rbp + 0x5a0]
lea r8, [rbp + 0x390]
lea rdx, [rbp + 0x9e8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.1400160bc
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dil, 1
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140056f12
cmp dil, 1
jne 0x140056f12
test byte [rbp + 0x140], 0x10
jne 0x140056ef9
lea rdx, [rbp + 0x9e8]
lea rcx, [rsp + 0x30]
mov r12b, dil
call fcn.140014a94
lea rdx, [rbp + 0x390]
lea rcx, [rsp + 0x30]
call fcn.140014a68
lea rdx, [rbp + 0x16c]
lea rcx, [rsp + 0x30]
call fcn.140014a68
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x140056f15
lea rdx, [rbp + 0x140]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140056ea4
mov dil, bl
jmp 0x140056ea4
mov bl, r12b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0xac0]
mov al, bl
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x140057170
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x150
mov dil, byte [rdx]
mov sil, byte [rdx + 7]
movzx r12d, word [rdx + 8]
xor r13d, r13d
mov rbp, rdx
mov rbx, rcx
cmp qword [rcx + 0x28], r13
je 0x140057260
cmp dil, 0x14
je 0x140057260
cmp dil, 0x90
je 0x140057260
cmp dil, 0x91
je 0x140057260
mov rcx, rdx
call fcn.14003c3d0
test al, al
je 0x1400572cb
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x1400571fb
movzx eax, dil
lea rcx, [rsp + 0x50]
xor byte [rsp + rax + 0x50], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, sil
mov rcx, rbp
shl eax, 0x10
movsxd rsi, eax
mov eax, 0xc0000001
or rsi, rax
call fcn.14004e4b0
cmp al, 1
jne 0x14005721e
bts rsi, 0x18
cmp byte [rbx + 0x1b], r13b
jne 0x140057230
cmp byte [rbx + 0x21], r13b
jne 0x140057230
cmp dil, 0x12
jne 0x140057248
cmp byte [rbx + 0x1a], r13b
jne 0x140057248
cmp byte [rbx + 0x20], r13b
jne 0x140057248
bts rsi, 0x1d
mov edx, 0x105
jmp 0x14005724d
mov edx, 0x101
mov rcx, qword [rbx + 0x28]
mov r9, rsi
movzx r8d, dil
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400572cb
mov rcx, rdx
call fcn.14003c3d0
test al, al
je 0x140057294
mov rcx, rbp
call fcn.14004e4b0
mov r8b, sil
mov dl, dil
mov rcx, rbx
mov r9d, 3
cmp al, 1
je 0x14005728d
mov r9d, 2
call fcn.14003c240
jmp 0x1400572cb
mov r8d, SafeArrayCreateEx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 1
lea ecx, [r8 - 0x27]
mov word [rsp + 0x28], r13w
mov word [rsp + 0x2a], r12w
mov qword [rsp + 0x2c], 6
mov qword [rsp + 0x38], r13
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
jmp fcn.14003c2d0
Function at 0x1400572f0
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x150
mov dil, byte [rdx]
mov r12b, byte [rdx + 7]
movzx esi, word [rdx + 8]
xor r13d, r13d
mov rbp, rdx
mov rbx, rcx
cmp qword [rcx + 0x28], r13
je 0x1400573f3
cmp dil, 0x14
je 0x1400573f3
cmp dil, 0x90
je 0x1400573f3
cmp dil, 0x91
je 0x1400573f3
mov rcx, rdx
call fcn.14003c3d0
test al, al
je 0x1400573d8
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14005737a
movzx eax, dil
lea rcx, [rsp + 0x50]
or byte [rsp + rax + 0x50], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, r12b
mov rcx, rbp
shl eax, 0x10
movsxd rsi, eax
or rsi, 1
call fcn.14004e4b0
cmp al, 1
jne 0x140057399
bts rsi, 0x18
cmp byte [rbx + 0x1b], r13b
jne 0x1400573ab
cmp byte [rbx + 0x21], r13b
jne 0x1400573ab
cmp dil, 0x12
jne 0x1400573ca
cmp byte [rbx + 0x1a], r13b
jne 0x1400573ca
cmp byte [rbx + 0x20], r13b
jne 0x1400573ca
bts rsi, 0x1d
movzx r8d, dil
mov edx, 0x104
mov r9, rsi
jmp 0x1400573e7
movzx r8d, dil
mov r9, rsi
mov edx, pe_nt_image_headers64
jmp 0x1400573e7
movzx r8d, si
mov edx, 0x102
mov r9d, 1
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14005745c
mov rcx, rdx
call fcn.14003c3d0
test al, al
je 0x140057426
mov rcx, rbp
call fcn.14004e4b0
mov r8b, r12b
mov dl, dil
mov rcx, rbx
cmp al, 1
jne 0x14005741c
mov r9d, 1
jmp 0x14005741f
xor r9d, r9d
call fcn.14003c240
jmp 0x14005745c
mov r8d, SafeArrayCreateEx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 1
lea ecx, [r8 - 0x27]
mov word [rsp + 0x28], r13w
mov word [rsp + 0x2a], si
mov qword [rsp + 0x2c], 4
mov qword [rsp + 0x38], r13
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
jmp fcn.14003c2b0

Function at 0x140057480
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.1400572f0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140057170

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov byte [rcx + 7], 0
mov word [rcx], 0xff
mov dword [rcx + 2], 0
mov byte [rcx + 6], 0
movzx edi, dx
mov rbx, rcx
mov byte [rcx + 0xa], 0
mov word [rcx + 8], dx
call fcn.14003c3c0
test al, al
jne 0x1400574e9
xor al, al
jmp 0x14005752b
movzx ecx, di
call qword [sym.imp.USER32.dll_VkKeyScanW]
cmp ax, 0xffff
je 0x1400574e5
movzx edi, ax
movzx ecx, al
xor edx, edx
sar di, 8
mov byte [rbx], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
test al, dil
je 0x140057519
mov byte [rbx + 1], al
test dil, 2
je 0x140057522
mov byte [rbx + 3], al
test dil, 4
je 0x14005752b
mov byte [rbx + 4], al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140057540
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov dil, dl
mov rbx, rcx
mov word [rcx + 8], si
mov byte [rcx + 7], sil
mov dword [rcx + 1], esi
mov word [rcx + 5], si
mov byte [rcx + 0xa], sil
mov byte [rcx], dl
call fcn.14003c3d0
test al, al
je 0x140057586
movzx ecx, dil
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14005e700
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
lea rcx, [rsp + 0x48]
call fcn.140001ea0
mov rax, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
lea rdx, [0x14009e440]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
inc dword [rax]
mov qword [rsp + 0x68], r11
mov qword [rbp - 0x80], rax
call fcn.140001400
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x70]
mov bl, 1
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x14005e8b1
mov sil, byte [rbp + 0x228]
mov rdi, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x200]
call fcn.14004c0e0
cmp eax, 1
je 0x14005e8aa
cmp eax, 0xb
jne 0x14005e7bb
lea ecx, [rax - 1]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14005e796
lea rdx, [0x140097db4]
lea rcx, [rbp - 0x44]
call fcn.14001565c
test eax, eax
je 0x14005e891
lea rdx, [0x14009e448]
lea rcx, [rbp - 0x44]
call fcn.14001565c
test eax, eax
je 0x14005e891
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.1400105f0
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x48]
call fcn.140001400
test byte [rbp - 0x70], 0x10
je 0x14005e86b
test sil, sil
je 0x14005e816
inc qword [rdi]
cmp byte [rbp + 0x230], 0
je 0x14005e891
lea rdx, [0x140098abc]
lea rcx, [rsp + 0x48]
call fcn.140001400
mov al, byte [rbp + 0x230]
mov r9, qword [rbp + 0x218]
mov r8, qword [rbp + 0x210]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x200]
mov byte [rsp + 0x30], al
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rdi
call fcn.14005e700
mov bl, al
test al, al
je 0x14005e8ac
jmp 0x14005e891
mov eax, dword [rbp - 0x50]
mov ecx, dword [rbp - 0x54]
shl rcx, 0x20
or rcx, rax
mov rax, qword [rbp + 0x210]
add qword [rax], rcx
test sil, sil
je 0x14005e891
mov rax, qword [rbp + 0x218]
inc qword [rax]
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14005e796
jmp 0x14005e8ac
xor bl, bl
mov rax, qword [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x68]
call fcn.140002bd0
lea rcx, [rsp + 0x48]
call fcn.140002bd0
mov al, bl
mov rbx, qword [rsp + 0x308]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005ea10
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x378]
sub rsp, 0x450
xor edi, edi
mov r15, r8
mov r14, rdx
lea ebx, [rdi + 1]
mov rsi, rcx
mov r13d, edi
mov r12b, bl
mov r9, qword [rsi]
lea rcx, [rsp + 0x20]
mov r8d, 4
mov rdx, rbx
call fcn.140017674
lea rcx, [rsp + 0x20]
mov edx, 4
mov r8d, 0x18ee
call fcn.140055c20
lea rdx, str.FILE
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x24], dil
call fcn.1400176b0
test eax, eax
jne 0x14005ebd7
mov r9, qword [rsi]
lea edx, [rax + 4]
lea rcx, [rbp + 0x398]
mov r8, rbx
add r13d, ebx
call fcn.140017674
mov edi, dword [rbp + 0x398]
mov r9, qword [rsi]
xor edi, 0xadbc
lea rcx, [rsp + 0x30]
mov edx, 1
lea ebx, [rdi + rdi]
movsxd r8, ebx
call fcn.140017674
lea r8d, [rdi + 0xb33f]
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.140055c20
movsxd r11, edi
xor eax, eax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x140]
mov word [rsp + r11*2 + 0x30], ax
call fcn.140014a94
mov r9, qword [rsi]
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rbp + 0x398]
call fcn.140017674
mov edi, dword [rbp + 0x398]
mov r9, qword [rsi]
xor edi, 0xf820
lea rcx, [rsp + 0x30]
mov edx, 1
lea ebx, [rdi + rdi]
movsxd r8, ebx
call fcn.140017674
lea r8d, [rdi + 0xf479]
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.140055c20
movsxd r11, edi
lea rdx, [rsp + 0x30]
xor edi, edi
mov rcx, r15
mov word [rsp + r11*2 + 0x30], di
call fcn.140014a94
lea rcx, [rbp + 0x140]
mov rdx, r14
call fcn.14001565c
test eax, eax
je 0x14005ec09
lea rdx, [0x14009b780]
mov rcx, r14
call fcn.14001565c
test eax, eax
jne 0x14005eb94
test r13d, r13d
je 0x14005ec09
mov rcx, qword [rsi]
mov ebx, 1
mov r8d, ebx
mov edx, ebx
call fcn.140017ad0
mov r9, qword [rsi]
lea edx, [rbx + 3]
lea rcx, [rsp + 0x28]
mov r8d, ebx
call fcn.140017674
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsi]
xor edx, 0x87bc
mov r8d, ebx
mov dword [rsp + 0x28], edx
add edx, 0x18
call fcn.140017ad0
jmp 0x14005ebda
mov r12b, dil
cmp r12b, bl
je 0x14005ea4a
mov eax, 6
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor eax, eax
jmp 0x14005ebe8
Function at 0x14005ec10
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f8]
sub rsp, 0x6d0
xor edi, edi
mov rbx, rdx
mov edx, dword [rcx + 8]
mov r14, rcx
mov rcx, qword [rcx]
mov r15, r8
lea r13d, [rdi + 1]
xor r8d, r8d
mov r12, r9
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x24], r13d
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x68], di
mov word [rbp + 0x172], di
mov qword [rbp + 0x3a0], rdi
call fcn.140017ad0
lea r8, [rbp + 0x3c0]
mov rdx, rbx
mov rcx, r14
call fcn.14005ea10
test eax, eax
je 0x14005ecae
lea eax, [rdi + 6]
jmp 0x14005ee0e
mov r9, qword [r14]
lea rcx, [rbp + 0x600]
mov r8, r13
mov rdx, r13
call fcn.140017674
mov r9, qword [r14]
mov edi, 4
lea rcx, [rsp + 0x20]
mov edx, edi
mov r8, r13
call fcn.140017674
mov esi, dword [rsp + 0x20]
mov r9, qword [r14]
lea rcx, [rsp + 0x20]
mov ebx, 0x87bc
mov r8, r13
mov edx, edi
xor esi, ebx
call fcn.140017674
mov r11d, dword [rsp + 0x20]
mov r9, qword [r14]
xor r11d, ebx
lea rcx, [rsp + 0x20]
mov r8, r13
mov edx, edi
mov dword [r12], r11d
call fcn.140017674
mov edi, dword [rsp + 0x20]
mov rcx, qword [r14]
mov r8d, r13d
mov edx, reloc.WSOCK32.dll_recv
xor edi, 0xa685
call fcn.140017ad0
mov ecx, dword [r12]
call fcn.140015b48
movsxd rbx, esi
mov rcx, rbx
mov r12, rax
call fcn.140015b48
mov r9, qword [r14]
mov r8d, 1
mov rcx, rax
mov rdx, rbx
mov r13, rax
call fcn.140017674
mov r8d, dword [r14 + 0xc]
mov edx, esi
add r8d, 0x2477
mov rcx, r13
call fcn.140055c20
lea rcx, [rsp + 0x24]
mov r8d, esi
mov rdx, r13
call fcn.140039840
cmp edi, dword [rsp + 0x24]
je 0x14005ed9f
mov rcx, r12
call fcn.140015d68
mov rcx, r13
call fcn.140015d68
mov eax, 0xa
jmp 0x14005ee0e
cmp byte [rbp + 0x600], 1
jne 0x14005edfe
xor eax, eax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov word [rsp + 0x68], ax
mov word [rbp + 0x172], ax
mov qword [rbp + 0x3a0], rax
call fcn.140055e20
mov rcx, r13
call fcn.140015d68
jmp 0x14005ee09
mov rcx, r12
call fcn.140015d68
mov r12, r13
mov qword [r15], r12
xor eax, eax
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14005fc00
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x9c0]
sub rsp, 0xac0
mov rbx, rdx
lea rdx, [rbp + 0x180]
mov dil, r8b
call fcn.1400130c0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400130c0
lea rcx, [rbp + 0x180]
call fcn.14003b200
xor ebx, ebx
test al, al
jne 0x14005fc52
xor al, al
jmp 0x14005fdda
lea rcx, [rsp + 0x70]
call fcn.14003b200
test al, al
je 0x14005fd19
test dil, dil
je 0x14005fc4b
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea rcx, [rbp + 0x180]
test eax, eax
jne 0x14005fcb7
lea rdx, [rsp + 0x70]
call fcn.14001565c
test eax, eax
je 0x14005fcb0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
jmp 0x14005fdda
mov al, 1
jmp 0x14005fdda
lea rax, [rbp + 0x390]
lea r9, [rbp + 0x5a0]
lea r8, [rbp + 0x7b0]
lea rdx, [rbp + 0x9e8]
mov qword [rsp + 0x20], rax
call fcn.1400160bc
lea rdx, [0x140098abc]
lea rcx, [rsp + 0x70]
call fcn.140014a68
lea rdx, [rbp + 0x5a0]
lea rcx, [rsp + 0x70]
call fcn.140014a68
cmp word [rbp + 0x390], bx
je 0x14005fd19
lea rdx, [rbp + 0x390]
lea rcx, [rsp + 0x70]
call fcn.140014a68
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
call fcn.14003b150
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
test al, al
je 0x14005fd5f
mov r8b, 1
call fcn.140056a30
test al, al
je 0x14005fc4b
lea rcx, [rbp + 0x180]
mov dl, 1
call fcn.140056980
test al, al
jmp 0x14005fca8
call fcn.14001565c
test eax, eax
je 0x14005fc4b
lea rcx, [rbp + 0x180]
call fcn.140014a44
lea rcx, [rsp + 0x70]
mov word [rbp + rax*2 + 0x182], bx
call fcn.140014a44
lea rcx, [rsp + 0x30]
mov word [rsp + rax*2 + 0x72], bx
lea rax, [rbp + 0x180]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x48], rax
mov eax, 0x614
mov dword [rsp + 0x54], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], 1
mov word [rsp + 0x50], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
lea r11, [rsp + 0xac0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140060630
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edi, r8d
call fcn.14004e580
lea rcx, [rsp + 0x20]
call fcn.140057540
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x40], 0
mov word [rsp + 0x44], 0
call fcn.1400603a0
lea rdx, [rbx + 0x18]
mov rcx, rbx
call fcn.14004e0f0
test edi, edi
je 0x140060696
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140057480
dec edi
jne 0x140060685
lea rdx, [rbx + 0x18]
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.14004deb0

Function at 0x140060750
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rax, r8
mov r12, rdx
mov r8b, 1
mov rdx, rax
mov rbx, rcx
mov qword [rcx + 0x28], rax
call fcn.14003c0f0
xor r13d, r13d
cmp byte [rbx + 8], 1
mov bpl, r13b
mov dword [rsp + 0x50], r13d
mov word [rsp + 0x54], r13w
jne 0x1400607b9
xor r8d, r8d
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14003c2f0
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov bpl, al
call fcn.14004e320
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.14003c390
mov edi, r13d
movsxd rdx, edi
mov rcx, r12
call fcn.14003e1b0
movzx esi, word [rax]
test si, si
je 0x1400607f5
mov rcx, rbx
inc edi
call fcn.14004dd80
mov r8d, 1
movzx edx, si
mov rcx, rbx
call fcn.1400606c0
mov dword [rbx + 0x18], r13d
mov word [rbx + 0x1c], r13w
jmp 0x1400607bc
cmp byte [rbx + 8], 1
jne 0x140060815
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14004e0f0
mov r8b, bpl
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14003c2f0
mov rdx, qword [rbx + 0x28]
xor r8d, r8d
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.14003c0f0
Function at 0x140061a50
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rbx, rcx
xor r13d, r13d
lea rcx, [rsp + 0x58]
mov rsi, r9
mov r12, r8
mov rdi, rdx
mov qword [rsp + 0x30], r13
mov qword [rbp + 0x228], r13
call fcn.140003200
lea rcx, [rsp + 0x38]
call fcn.140003200
lea rcx, [rsp + 0x78]
call fcn.140003200
lea rdx, str.SOFTWAREClasses_
lea rcx, [rsp + 0x58]
call fcn.140002730
lea rcx, [rsp + 0x58]
mov rdx, rbx
call fcn.140001400
lea rdx, str.CLSID
lea rcx, [rsp + 0x58]
call fcn.140001400
lea rdx, [0x140097d60]
lea rcx, [rsp + 0x38]
call fcn.140002730
test rdi, rdi
je 0x140061b14
cmp word [rdi], 0x5c
je 0x140061b14
cmp word [rdi + 2], 0x5c
je 0x140061b14
lea rdx, [0x140097da0]
lea rcx, [rsp + 0x38]
call fcn.140002730
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.140001400
test rsi, rsi
je 0x140061b76
xor edx, edx
lea rcx, [rbp - 0x68]
lea r8d, [rdx + 0x30]
call fcn.140014ac0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
mov dword [rbp - 0x64], r13d
call fcn.1400105f0
lea rdx, str.IPC_
lea rcx, [rsp + 0x78]
call fcn.140001400
mov r11, qword [rsp + 0x78]
mov rdx, qword [rbp + 0x230]
lea rcx, [rbp - 0x68]
xor r9d, r9d
mov r8, rsi
mov qword [rbp - 0x50], r11
call qword [sym.imp.MPR.dll_WNetAddConnection2W]
mov ebx, eax
test eax, eax
js 0x140061c37
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rdx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov ebx, eax
test eax, eax
jne 0x140061c37
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x228]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140061c2c
mov rcx, qword [rbp + 0x228]
lea rax, [rbp + 0x218]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov dword [rbp + 0x218], 0x1fe
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140061c1f
mov eax, dword [rbp + 0x218]
lea rcx, [rbp - 0x30]
mov rdx, r12
shr eax, 1
mov dword [rbp + 0x218], eax
mov word [rbp + rax*2 - 0x30], r13w
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov ebx, eax
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x78]
call fcn.140002bd0
lea rcx, [rsp + 0x38]
call fcn.140002bd0
lea rcx, [rsp + 0x58]
call fcn.140002bd0
mov eax, ebx
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140063b90
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
mov rbp, rsp
sub rsp, 0x30
mov rbx, qword [rdx]
mov r12, rcx
lea rcx, [rbp + 0x20]
mov esi, r8d
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r11d, dword [rbp + 0x20]
mov eax, dword [rbp + 0x24]
lea rdx, [rbp + 0x20]
mov rcx, rbx
mov dword [rdi + 0x294], r11d
mov dword [rdi + 0x298], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rbp + 0x20]
mov ecx, dword [rbp + 0x24]
cmp eax, dword [rdi + 0x29c]
jne 0x140063bf9
cmp ecx, dword [rdi + 0x2a0]
je 0x140063c21
mov dword [rdi + 0x29c], eax
mov dword [rdi + 0x2a0], ecx
cmp esi, 1
jl 0x140063c21
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8, rdi
mov rcx, r12
mov edx, 0xfffffff5
call fcn.14005dc60
mov ecx, dword [r12 + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [r12 + 0x1c]
movzx r13d, ax
shr r13d, 0xf
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
cmp r13d, dword [rdi + 0x2a4]
je 0x140063cc7
cmp esi, 1
jl 0x140063cc7
cmp byte [rdi + 0x2e0], 0
je 0x140063cc7
mov eax, dword [rbp + 0x24]
mov r9d, dword [rbp + 0x20]
mov r8, rdi
mov rcx, r12
mov dword [rsp + 0x20], eax
test r13d, r13d
je 0x140063c79
mov edx, 0xfffffff9
jmp 0x140063cbb
mov edx, 0xfffffff8
call fcn.14005dc60
cmp byte [rdi + 0x2ac], 0
je 0x140063cc0
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, r12
mov dword [rsp + 0x20], eax
mov edx, 0xfffffffa
jb 0x140063cbb
mov edx, 0xfffffff4
call fcn.14005dc60
mov byte [rdi + 0x2ac], 0
test esi, esi
je 0x140063cd2
mov dword [rdi + 0x2a4], r13d
cmp ebx, dword [rdi + 0x2a8]
je 0x140063d03
cmp esi, 1
jl 0x140063d03
mov eax, dword [rbp + 0x24]
mov r9d, dword [rbp + 0x20]
mov r8, rdi
mov rcx, r12
mov edx, 0xfffffff7
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x140063cfe
mov edx, 0xfffffff6
call fcn.14005dc60
test esi, esi
je 0x140063d0d
mov dword [rdi + 0x2a8], ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rbp
ret