joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025050
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14003c250]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14001cda8
xor ebx, ebx
cmp qword [0x140042e28], rbx
mov rdi, rax
jne 0x140025163
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14002523a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002523a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140042e28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140042e30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140042e38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140042e48], rax
test rax, rax
je 0x14002515a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140042e40], rax
jmp 0x14002516a
mov rax, qword [0x140042e40]
jmp 0x140025171
mov rax, qword [0x140042e40]
mov r11, qword [0x140042e48]
cmp rax, rdi
je 0x1400251d8
cmp r11, rdi
je 0x1400251d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140042e48]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400251d8
test rax, rax
je 0x1400251d8
call rsi
test rax, rax
je 0x1400251d2
lea rcx, [rsp + 0x30]
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400251d2
test byte [rsp + 0x40], 1
jne 0x1400251d8
bts ebp, 0x15
jmp 0x140025218
mov rcx, qword [0x140042e30]
cmp rcx, rdi
je 0x140025218
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140025218
call rax
mov rbx, rax
test rax, rax
je 0x140025218
mov rcx, qword [0x140042e38]
cmp rcx, rdi
je 0x140025218
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140025218
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140042e28]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14002523a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14002523c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140019120
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400016a0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1401786a0]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, VarUI4FromDisp
mov dword [rsp + 0x20], VarUI4FromDisp
call fcn.140076300
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140001703
cmp dword [rsp + 0x24], 6
jb 0x140001703
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400762d0
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400762d0
add rsp, 0x158
ret

Function at 0x140001d30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x140179d30]
mov rdx, rcx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
cmp word [rax + 0xe], 0x20
sete al
add rsp, 0x20
pop rbx
ret

Function at 0x14005ac20
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x100
mov rax, qword [rcx + 0x3b0]
mov rbx, rcx
cmp qword [r8], rax
jne 0x14005ade8
mov qword [r11 + 0x10], rsi
lea rcx, [r11 + 8]
mov qword [r11 + 0x18], rdi
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx + 0x3b0]
lea rdx, [rsp + 0x110]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov r11, qword [rsp + 0x110]
mov rcx, qword [rbx + 0x3b0]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x1012
mov qword [rsp + 0x20], r11
call qword [sym.imp.USER32.dll_SendMessageW]
test byte [rsp + 0x28], 0xe
je 0x14005add8
mov rcx, qword [rbx + 0x3b0]
lea rdx, [rsp + 0x110]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rbx + 0x3b0]
lea r9, [rsp + 0xb0]
xor esi, esi
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0xb4], eax
mov dword [rsp + 0xb0], 4
mov dword [rsp + 0xb8], esi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14005add8
mov rdi, qword [rsp + 0xd8]
test rdi, rdi
je 0x14005add8
bt dword [rdi + 0x10], 0x1d
jb 0x14005adbd
mov rcx, qword [rbx + 0x3b0]
mov dword [rsp + 0x40], 0x70
mov dword [rsp + 0x44], 0xc
call qword [sym.imp.USER32.dll_GetParent]
mov rdx, qword [rdi]
lea r8, [0x140097efc]
mov qword [rsp + 0x48], rax
lea rax, str.Open
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x50], rax
mov rax, qword [0x140179d28]
mov qword [rsp + 0x68], r8
mov r8, qword [rdi + 8]
mov qword [rsp + 0x78], rax
xor eax, eax
lea rcx, [rbx + 0x418]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x70], 1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rsi
mov dword [rsp + 0x98], esi
mov qword [rsp + 0xa0], rsi
call fcn.140060790
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x80], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x14005add8
mov rcx, qword [rbx + 8]
lea r8, [0x140097efc]
lea rdx, str.Clicked_on_folder
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rsi, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x120]
xor eax, eax
add rsp, 0x100
pop rbx
ret
Function at 0x14005eef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rdi
push r12
push r15
sub rsp, 0x38
mov rbx, qword [0x140179d30]
movzx edi, r8b
mov r12, rcx
mov r8d, 0xf1
mov rcx, rbx
mov r15d, r9d
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x14005ef31
xor eax, eax
add rsp, 0x38
pop r15
pop r12
pop rdi
pop rbx
ret
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14005ef24
mov rcx, rax
mov qword [rsp + 0x60], rbp
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
jne 0x14005ef68
mov rbp, qword [rsp + 0x60]
add rsp, 0x38
pop r15
pop r12
pop rdi
pop rbx
ret
movzx r8d, word [rax + 4]
movzx edx, word [rax + 2]
mov rcx, r12
mov qword [rsp + 0x78], r13
movzx r13d, word [rax + 6]
call fcn.140059bf0
cmp qword [r12 + 0x80], 0
jne 0x14005efc5
mov rcx, qword [rsp + 0x68]
call fcn.140001d30
and byte [r12 + 0xf1], 0xdf
mov rcx, r12
and al, 1
shl al, 5
or byte [r12 + 0xf1], al
movzx edx, word [rbp + 6]
call fcn.140059f10
test al, al
jne 0x14005efc5
xor eax, eax
jmp 0x14005f110
mov rcx, qword [r12 + 0x80]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x30], r14
call qword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
xor esi, esi
mov r14d, eax
test dil, dil
je 0x14005f015
mov ecx, dword [rsp + 0x88]
movsx edx, word [rsp + 0x68]
mov r9, qword [rsp + 0x80]
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x140179d30]
movzx r8d, r15w
call qword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
mov rbx, rax
jmp 0x14005f05e
test byte [r12 + 0xf1], 0x20
je 0x14005f049
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x140179d30]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x2040
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_LoadImageW]
mov rbx, rax
jmp 0x14005f05e
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x140179d30]
call qword [sym.imp.USER32.dll_LoadBitmapW]
mov rbx, rax
test rbx, rbx
je 0x14005f0da
mov r8d, dword [r12 + 0x10c]
mov rcx, qword [r12 + 0x80]
mov rdx, rbx
call qword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
je 0x14005f0d1
mov rdi, rsi
test r13, r13
jle 0x14005f0b7
nop dword [rax]
cmp word [rbp + rdi*2 + 8], 0
je 0x14005f0ad
movsxd rax, esi
lea rcx, [r12 + 0x88]
lea rdx, [rbp + rax*2 + 8]
call fcn.14005d5c0
inc rdi
inc esi
cmp rdi, r13
jl 0x14005f090
mov rcx, qword [r12 + 0x80]
call qword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov edi, eax
cmp eax, dword [r12 + 0x90]
je 0x14005f0de
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x14005f106
call fcn.1400016a0
test al, al
je 0x14005f0f8
sub edi, r14d
mov edx, r14d
mov rcx, r12
mov r8d, edi
call fcn.14005e550
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, 1
mov rsi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x30]
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x60]
add rsp, 0x38
pop r15
pop r12
pop rdi
pop rbx
ret
Function at 0x140060390
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x300
mov rax, qword [0x1401786a0]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov ebx, r8d
mov rdi, rdx
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8d, 0x2b0
mov qword [rsp + 0x30], 0
call fcn.140076300
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
or ecx, 0xffffffff
test rax, rax
cmovne ecx, dword [rsp + 0x38]
mov eax, ecx
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400762d0
mov rbx, qword [rsp + 0x310]
add rsp, 0x300
pop rdi
ret

Function at 0x140060a80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
cmp byte [rcx], 0
mov rbp, rcx
mov esi, 0x67b611ce
je 0x140060bbb
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
nop word [rax + rax]
lea rcx, [0x140098138]
call fcn.140076b80
movzx edi, word [rbp]
lea rcx, [0x140098130]
sub di, ax
call fcn.140076b80
lea rcx, [0x140098128]
sub di, ax
call fcn.140076b80
lea rcx, [0x140098120]
sub di, ax
call fcn.140076b80
lea rcx, str._525
sub di, ax
call fcn.140076b80
lea rcx, str.1021
add edi, eax
call fcn.140076b80
lea rcx, [0x1400980f8]
add edi, eax
call fcn.140076b80
lea rcx, [0x1400980f0]
add edi, eax
call fcn.140076b80
lea rcx, [0x140098138]
add edi, eax
inc rbp
call fcn.140076b80
movzx ebx, di
lea rcx, [0x140098130]
sub ebx, eax
mov eax, esi
ror eax, 8
add ebx, eax
call fcn.140076b80
lea rcx, [0x140098128]
sub ebx, eax
call fcn.140076b80
lea rcx, [0x140098120]
sub ebx, eax
call fcn.140076b80
lea rcx, str._525
sub ebx, eax
call fcn.140076b80
lea rcx, str.1021
add ebx, eax
call fcn.140076b80
lea rcx, [0x1400980f8]
add ebx, eax
call fcn.140076b80
lea rcx, [0x1400980f0]
add ebx, eax
call fcn.140076b80
add eax, ebx
xor esi, eax
cmp byte [rbp], 0
jne 0x140060ab0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x140062710
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x140179c50], 0
mov rdi, rdx
mov rbx, rcx
jne 0x14006276b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006275b
lea rdx, [0x140098248]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x140179c50], 1
mov qword [0x140179c48], rax
jmp 0x140062772
mov rax, qword [0x140179c48]
mov byte [0x140179c50], 1
jmp 0x140062772
mov rax, qword [0x140179c48]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x140062791
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]

Function at 0x140062920
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x1400629d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
jne 0x140062a03
lea eax, [r8 + 0xd]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rbx, [rbx + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x140062a12
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x140063670
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1401786a0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov edi, dword [rcx + 8]
xor eax, eax
mov rsi, rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
or edi, 0x2001f
xor r8d, r8d
mov r9d, edi
mov rbp, rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x1400637bc
test rcx, rcx
je 0x1400636e5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
and edi, 0x300
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], edi
test ebx, ebx
jne 0x1400637bc
xor edi, edi
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140063791
nop word [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140063670
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x1400637bc
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140063740
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400637a6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rdi
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x50], edi
call fcn.140062710
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x1400637c7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400762d0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140067700
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
je 0x140067720
lea rdi, [rcx - 0x48]
jmp 0x140067722
xor edi, edi
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, qword [rdi + 8]
jne 0x140067889
lea rax, [rsi - 0xd]
cmp rax, 0x1b
ja case.0x140067759.14
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x678bc]
mov ecx, dword [rdx + rax*4 + 0x678a8]
add rcx, rdx
jmp rcx
mov eax, dword [rbx + 0x28]
mov dword [rbx + 0x2c], eax
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp byte [rbx], 0
je case.0x140067759.14
xor eax, eax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], eax
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r9d, dword [rbx + 0x4c]
mov edx, dword [rbx + 0x48]
mov r11d, dword [rbx + 0x28]
mov ecx, dword [rbx + 0x20]
mov eax, 0xfffffff6
cmp rsi, 0x25
mov r8d, 0xa
cmove r8d, eax
sub ecx, dword [rbx + 0x18]
lea eax, [rdx + r9]
add r8d, r11d
cmp r8d, eax
jl 0x1400677d8
sub ecx, dword [rbx + 0x3c]
sub ecx, edx
mov edx, r8d
sub ecx, r9d
cmp r8d, ecx
cmovg edx, ecx
mov ecx, dword [rsp + 0x30]
sub edx, r11d
add ecx, edx
mov edx, dword [rsp + 0x34]
mov dword [rsp + 0x30], ecx
call qword [sym.imp.USER32.dll_SetCursorPos]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp byte [rbx], 0
jne case.0x140067759.14
xor eax, eax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], eax
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r9d, dword [rbx + 0x4c]
mov ecx, dword [rbx + 0x48]
mov r11d, dword [rbx + 0x28]
mov edx, dword [rbx + 0x24]
mov eax, 0xfffffff6
cmp rsi, 0x26
mov r8d, 0xa
cmove r8d, eax
sub edx, dword [rbx + 0x1c]
lea eax, [rcx + r9]
add r8d, r11d
cmp r8d, eax
jl 0x140067860
sub edx, dword [rbx + 0x3c]
sub edx, ecx
mov ecx, r8d
sub edx, r9d
cmp r8d, edx
cmovg ecx, edx
mov edx, dword [rsp + 0x34]
sub ecx, r11d
add edx, ecx
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x34], edx
call qword [sym.imp.USER32.dll_SetCursorPos]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140069a70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x1401786a0]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor ebp, ebp
mov rax, rdx
mov rbx, r8
mov qword [rsp + 0x38], rcx
lea r8d, [rbp + 2]
xor edx, edx
mov rcx, rax
mov rsi, r9
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x140069ace
call fcn.140062550
mov ebx, eax
jmp 0x140069bee
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140069aef
call fcn.140062550
jmp 0x140069be3
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
jne 0x140069b0d
call fcn.140062550
jmp 0x140069be3
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
inc eax
cmp eax, ebx
jae 0x140069b4a
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x40], rax
je 0x140069b40
lea rcx, [rsp + 0x40]
call fcn.140063550
nop word [rax + rax]
mov eax, 0x8007000e
jmp 0x140069c12
mov ecx, eax
test eax, eax
je 0x140069b92
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140069b87
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140069b92
lea rcx, [rsp + 0x40]
call fcn.140063580
mov r11, qword [rsp + 0x40]
test r11, r11
jne 0x140069b9c
mov ebx, 0x8007000e
jmp 0x140069be5
mov ecx, 0x80070057
call fcn.1400014f0
int3
lea r11, [rsp + 0x48]
mov qword [rsp + 0x40], r11
xor edx, edx
mov r9d, ebx
mov r8, rsi
lea ecx, [rdx + 3]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140069bc1
call fcn.140062550
jmp 0x140069be3
mov r8d, dword [rsp + 0x4a0]
mov ecx, eax
mov rax, qword [rsp + 0x40]
mov word [rax + rcx*2], bp
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140068ca0
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x40], rax
je 0x140069c10
lea rcx, [rsp + 0x40]
call fcn.140063550
nop word [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400762d0
mov rbx, qword [rsp + 0x480]
add rsp, 0x460
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006f980
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [rsp + 0x50]
mov rsi, r8
mov rbx, rcx
mov dword [rdi], 0
mov eax, dword [rcx + 0x118]
cmp eax, 0x12
je 0x14006f9c6
cmp eax, 0x79
jne 0x14006f9bd
lea ecx, [rax - 0x69]
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x14006f9c6
cmp dword [rbx + 0x118], 0x20
jne 0x14006fa41
cmp rsi, 0xf100
jne 0x14006fa41
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, qword [rbx + 8]
jne 0x14006f9fb
mov rcx, rbx
call fcn.14006e5d0
mov rcx, qword [rbx + 8]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov edx, 0x448
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14006fa41
mov eax, dword [rbx + 0x118]
cmp eax, 0x20
je 0x14006fa41
test byte [rbx + 0xf0], 0x40
jne 0x14006fa36
movzx eax, byte [rbx + 0xf1]
test al, 2
je 0x14006fa2c
test al, 4
jne 0x14006fa2c
test al, 8
je 0x14006fa2c
mov dl, 1
mov rcx, rbx
call fcn.14006d140
mov rcx, rbx
call fcn.14006bd30
jmp 0x14006fa3b
cmp eax, 0x20
je 0x14006fa41
mov dword [rdi], 1
and byte [rbx + 0xf0], 0xbf
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140071af0
Capabilities:
Capture webcam image

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 8]
mov rdi, r8
mov rbx, rcx
cmp qword [r8], rax
je 0x140071b25
mov dword [r9], 0
movabs rax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, qword [rbx + 8]
je 0x140071b5b
test byte [rbx + 0x98], 4
je 0x140071b51
cmp qword [rbx + 0x120], 0
jne 0x140071b51
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rbx + 0x120], rax
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetFocus]
mov r8d, dword [rdi + 0x18]
mov rcx, qword [rbx + 8]
xor r9d, r9d
mov edx, 0x419
call qword [sym.imp.USER32.dll_SendMessageW]
and byte [rbx + 0xf0], 0xcf
mov r8b, 1
mov edx, eax
mov rcx, rbx
call fcn.1400716b0
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140074b30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx], 0x3f
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
jne 0x140074b78
lea r8, str.WTLExplorer
lea rdx, str.ERROR:_Cannot_create_ANY_MORE_threads___
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x10
call fcn.1400766e0
lea rcx, [rsp + 0x40]
lea r8, [0x140074760]
mov qword [rsp + 0x28], rcx
xor edx, edx
xor ecx, ecx
mov r9, rax
mov qword [rax], rsi
mov dword [rax + 8], edi
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
test rax, rax
jne 0x140074be1
lea r8, str.WTLExplorer
lea rdx, str.ERROR:_Cannot_create_thread___
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rbx]
mov rsi, qword [rsp + 0x50]
mov qword [rbx + rax*8 + 8], r11
inc dword [rbx]
mov rbx, qword [rsp + 0x48]
mov eax, dword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret