joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a7b50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r9, qword [0x1400f2d00]
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
test r9, r9
jne 0x1400a7b85
call fcn.1400a7ac8
mov r9, qword [0x1400f2d00]
or ebx, 0xffffffff
test rsi, rsi
je 0x1400a7bab
movzx eax, byte [rbp]
movzx ecx, bl
inc rbp
xor rcx, rax
mov eax, ebx
mov ebx, dword [r9 + rcx*4]
shr eax, 8
xor ebx, eax
sub rsi, 1
jne 0x1400a7b8d
not ebx
test rdi, rdi
je 0x1400a7bc5
lea rdx, str._08X
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfA]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a82ac
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edx, [rax + 2]
mov rcx, rdi
mov ebx, eax
call fcn.14004bf70
mov r11, qword [rdi]
xor eax, eax
mov word [r11], ax
mov rdx, qword [rdi]
lea r8d, [rbx + 1]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_GetWindowTextW]

Function at 0x1400a8dd8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x38
cmp dword [0x1400f23ec], 0
je 0x1400a8def
cmp qword [0x1400f2d48], 0
jne 0x1400a8e4a
mov rcx, qword [0x1400f1ca0]
mov edx, 0x271b
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x1400f1ca0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400a8e4a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400a8e4a
mov rcx, qword [0x1400f1ca0]
and qword [rsp + 0x20], 0
lea r9, [0x1400a8d80]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
add rsp, 0x38
ret

Function at 0x1400a8f20
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
or qword [rsp + 0x38], 0xffffffffffffffff
lea rdx, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x38]
add rsp, 0x28
ret

Function at 0x1400a9498
Capabilities:
Get token membership

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov byte [rax + 0x10], 0
mov byte [rax + 0x11], 0
mov byte [rax + 0x12], 0
mov byte [rax + 0x13], 0
mov byte [rax + 0x14], 0
mov byte [rax + 0x15], 5
lea rax, [rax + 0x18]
lea rcx, [rsp + 0x78]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
and dword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r8d, 0x20
mov dl, 2
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x70], eax
test eax, eax
je 0x1400a9532
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and ecx, dword [rsp + 0x70]
mov dword [rsp + 0x70], ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400a96a4
Capabilities:
Allocate or change rwx memory
Parse pe header

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
sub rsp, 0x20
mov r15, r9
mov r14, r8
mov rsi, rcx
cmp edx, 0x40
jb 0x1400a988d
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a988d
movsxd rcx, dword [rcx + 0x3c]
lea eax, [rcx + 0x108]
cmp edx, eax
jl 0x1400a988d
lea rbx, [rsi + rcx]
cmp dword [rbx], 0x4550
jne 0x1400a988d
mov eax, 0x2000
test word [rbx + 0x16], ax
jne 0x1400a988d
test byte [rbx + 0x16], 2
je 0x1400a988d
mov ecx, 0xe0
cmp word [rbx + 0x14], cx
je 0x1400a9733
lea eax, [rcx + 0x10]
cmp word [rbx + 0x14], ax
jne 0x1400a988d
lea rdi, [rbx + 0x108]
cmp word [rbx + 0x14], cx
jne 0x1400a9747
lea rdi, [rbx + 0xf8]
mov r9, rdi
mov r8, rbx
mov rcx, rsi
call fcn.1400a7274
mov r13, qword [rsp + 0x78]
mov rdx, rax
mov qword [r13], rax
xor eax, eax
cmp rdx, rax
je 0x1400a988f
movzx eax, word [rbx + 6]
mov ebp, dword [rbx + 0x54]
xor ebx, ebx
cmp eax, ebx
jle 0x1400a9793
add rdi, 0x14
mov rcx, rax
cmp dword [rdi], ebx
je 0x1400a9789
cmp dword [rdi], ebp
cmovb ebp, dword [rdi]
add rdi, 0x28
sub rcx, 1
jne 0x1400a9780
movsxd rax, dword [rsi + 0x3c]
mov edi, 0x1000
mov r9d, 0x40
mov rcx, qword [rax + rsi + 0x30]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r12, qword [rsp + 0x70]
mov qword [r12], rax
cmp rax, rbx
jne 0x1400a97e0
mov rdx, qword [r13]
mov r9d, 0x40
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [r12], rax
cmp rax, rbx
je 0x1400a988d
mov rcx, qword [r12]
mov r8d, ebp
mov rdx, rsi
call fcn.1400177b0
mov r11, qword [r12]
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov qword [r14], rcx
lea r10, [rcx + 0x108]
mov qword [r15], r10
mov r9, qword [r14]
mov ecx, dword [r9 + 0x54]
mov edx, dword [r9 + 0x38]
call fcn.1400a7260
mov ebp, ebx
mov rdi, rax
add rdi, qword [r12]
cmp bx, word [r9 + 6]
jae 0x1400a9886
mov eax, dword [rbx + r10 + 0xc]
test eax, eax
je 0x1400a9837
mov rdi, rax
add rdi, qword [r12]
mov eax, dword [rbx + r10 + 0x10]
test eax, eax
je 0x1400a9862
mov edx, dword [rbx + r10 + 0x14]
mov r8, rax
mov rcx, rdi
add rdx, rsi
call fcn.1400177b0
mov r10, qword [r15]
mov ecx, dword [rbx + r10 + 0x10]
cmp dword [rbx + r10 + 8], ecx
jb 0x1400a9867
mov ecx, dword [rbx + r10 + 8]
mov rax, qword [r14]
mov edx, dword [rax + 0x38]
call fcn.1400a7260
mov rcx, qword [r14]
inc ebp
movzx edx, word [rcx + 6]
add rdi, rax
add rbx, 0x28
cmp ebp, edx
jl 0x1400a9827
mov eax, 1
jmp 0x1400a988f
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400b07dc
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
xor edi, edi
mov ebp, edx
mov r12, rcx
cmp edx, edi
jl 0x1400b0940
lea rdx, [rax - 0x38]
mov dword [rax - 0x38], edi
mov dword [rax - 0x34], edi
mov dword [rax - 0x30], edi
mov dword [rax - 0x2c], edi
call qword [sym.imp.USER32.dll_GetClientRect]
mov r13d, dword [rsp + 0x68]
mov r14d, dword [rsp + 0x6c]
mov rcx, r12
sub r13d, dword [rsp + 0x60]
sub r14d, dword [rsp + 0x64]
call qword [sym.imp.USER32.dll_GetDC]
lea ecx, [rdi + 0xf]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rsi
mov r15d, eax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, r14d
mov edx, r13d
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
cmp rax, rdi
je 0x1400b087e
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, r14d
mov edx, r13d
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
xor edi, edi
cmp rax, rdi
je 0x1400b08b5
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rdx, [rsp + 0x60]
mov r8d, ebp
mov rcx, rbx
call fcn.1400a8ed0
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r14d
call fcn.1400b05f8
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.GDI32.dll_BitBlt]
cmp rbx, rdi
je 0x1400b092f
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
cmp rsi, rdi
je 0x1400b0940
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x70]
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 0x1400b176c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov r9, rdx
mov rbx, rcx
cmp rdx, rdi
je 0x1400b17f7
cmp dword [rdx], edi
jge 0x1400b178c
cmp dword [rdx + 4], edi
jl 0x1400b17f7
movzx r10d, di
mov r11d, 1
movsx ecx, r10w
add r10w, r11w
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movsxd r8, eax
mov eax, ecx
cdq
and eax, r11d
xor eax, edx
sub eax, edx
movsxd rcx, eax
mov eax, dword [r9]
add r9, 4
cmp r10w, 2
lea rdx, [rcx + r8*2]
mov dword [rbx + rdx*4 + 0x6c], eax
jl 0x1400b1796
mov ecx, dword [rbx + 0x70]
cmp ecx, edi
jl 0x1400b17df
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x88], rax
mov ecx, dword [rbx + 0x78]
cmp ecx, edi
jl 0x1400b17f3
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x90], rax
mov byte [rbx + 0x6b], dil
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b7840
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov r9, rdx
mov rbx, rcx
cmp rdx, rdi
je 0x1400b78e5
cmp dword [rdx], edi
jge 0x1400b7873
cmp dword [rdx + 4], edi
jge 0x1400b7873
cmp dword [rdx + 8], edi
jge 0x1400b7873
cmp dword [rdx + 0xc], edi
jl 0x1400b78e5
mov esi, 4
movzx r10d, di
lea r11d, [rsi - 3]
movsx ecx, r10w
add r10w, r11w
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movsxd r8, eax
mov eax, ecx
cdq
and eax, r11d
xor eax, edx
sub eax, edx
movsxd rcx, eax
mov eax, dword [r9]
add r9, rsi
cmp r10w, si
lea rdx, [rcx + r8*2 + 0x1e]
mov dword [rbx + rdx*4], eax
jl 0x1400b7880
mov ecx, dword [rbx + 0x7c]
cmp ecx, edi
jl 0x1400b78c7
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x98], rax
mov ecx, dword [rbx + 0x84]
cmp ecx, edi
jl 0x1400b78de
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0xa0], rax
mov byte [rbx + 0xa8], dil
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b89dc
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0xffdf
and cx, ax
mov eax, 0x41
cmp ax, cx
je 0x1400b8a05
mov eax, 0x42
cmp ax, cx
je 0x1400b8a05
mov eax, 0xfffffffe
jmp 0x1400b8a2e
mov word [rsp + 0x38], cx
mov eax, 0x3a
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400b8af0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [rsp + 0xc8]
mov qword [r11 - 0x30], rax
mov rax, qword [rsp + 0xc0]
mov qword [r11 - 0x38], rax
mov rax, qword [rsp + 0xb8]
mov qword [r11 - 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [r11 - 0x48], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x50], eax
jmp 0x1400b8b56
add rsp, 0x78
ret
Function at 0x1400bf98c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400c2fac
nop
cmp dword [0x1400f3000], 1
je 0x1400bf938
mov dword [0x1400f2ffc], 1
mov byte [0x1400f2ff8], r12b
test ebx, ebx
jne 0x1400bf924
mov rcx, qword [0x1400f4150]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400bf911
mov rcx, qword [0x1400f4148]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400bf8b0
call fcn.1400bf0a8
cmp qword [rdi], rax
jne 0x1400bf8b0
jmp 0x1400bf896
cmp rdi, rsi
jb 0x1400bf911
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400bf0a8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400f4150]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400f4148]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400bf8ef
cmp r13, rax
je 0x1400bf90f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400bf896
lea rdx, [0x1400d61b0]
lea rcx, [0x1400d6198]
call fcn.1400bf6e0
lea rdx, [0x1400d61c0]
lea rcx, [0x1400d61b8]
call fcn.1400bf6e0
nop
test r12d, r12d
je 0x1400bf947
mov ecx, 8
call fcn.1400c2eac
test r12d, r12d
jne 0x1400bf972
mov dword [0x1400f3000], 1
lea ecx, [r12 + 8]
call fcn.1400c2eac
mov ecx, r15d
call fcn.1400bf674
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400bf800

Function at 0x1400bf998
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400bf800
Function at 0x1400ccbdf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400f04c0]
jne 0x1400c1aea
rol rcx, 0x10
test cx, 0xffff
jne 0x1400c1ae6
repz ret
ror rcx, 0x10
jmp 0x1400ccb38
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400f39c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400f3ab8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400ccbbd
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400f39c0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400ccbdf
mov rax, qword [rsp + 0x88]
mov qword [0x1400f3ab8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400f3a58], rax
mov rax, qword [0x1400f3ab8]
mov qword [0x1400f3930], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400f3a40], rax
mov dword [0x1400f3920], 0xc0000409
mov dword [0x1400f3924], 1
mov rax, qword [0x1400f04c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400f04c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400f39b8], eax
mov ecx, 1
call fcn.1400cbd2c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400e6480]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400f39b8], 0
jne 0x1400ccc66
mov ecx, 1
call fcn.1400cbd2c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400ce298
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400bf0a8
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400f3e98], rbx
jne 0x1400ce39e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400ce473
lea rdx, [0x1400e64f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400ce473
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400e64e0]
mov rcx, rsi
mov qword [0x1400f3e98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400f3ea0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1400f3ea8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400f3eb8], rax
test rax, rax
je 0x1400ce395
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400f3eb0], rax
jmp 0x1400ce3a5
mov rax, qword [0x1400f3eb0]
jmp 0x1400ce3ac
mov rax, qword [0x1400f3eb0]
mov r11, qword [0x1400f3eb8]
cmp rax, rdi
je 0x1400ce414
cmp r11, rdi
je 0x1400ce414
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400f3eb8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400ce414
test rax, rax
je 0x1400ce414
call rsi
test rax, rax
je 0x1400ce40e
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400ce40e
test byte [rsp + 0x38], 1
jne 0x1400ce414
bts ebp, 0x15
jmp 0x1400ce452
mov rcx, qword [0x1400f3ea0]
cmp rcx, rdi
je 0x1400ce452
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400ce452
call rax
mov rbx, rax
test rax, rax
je 0x1400ce452
mov rcx, qword [0x1400f3ea8]
cmp rcx, rdi
je 0x1400ce452
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400ce452
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400f3e98]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400ce473
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400ce475
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140005520
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000557d
lea rbx, [0x140041720]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005564
cmp r10, 2
jb 0x140005564
cmp byte [r9], r8b
jne 0x140005564
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140005540
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400055bf
lea rbx, [0x140041720]
cmp r8b, 0x23
jne 0x1400055a3
cmp byte [r9], r8b
jne 0x1400055a3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140005590
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140005700
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000571a
mov qword [r8], 0
lea rdx, [0x1400412bc]
call fcn.1400055d0
mov rbx, rax
test rax, rax
jne 0x14000573a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140005813
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140005813
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140005813
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140005813
cmp rdi, 0xffffffffffffffff
je 0x140005813
mov rax, qword [0x14007ee60]
test rax, rax
je 0x1400057b0
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140005813
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140005800
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14007ee60]
test rax, rax
je 0x1400057f5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000581c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000580e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000581e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140008a00
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x140041720]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14007ee60]
not ebx
cmp dword [rcx + 0x3f08], ebx
jne 0x140008a95
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001b6e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140015460
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004d040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14007ee60]
mov edi, ecx
cmp byte [rbx + 0x4a4d], 0
jne 0x1400154c1
cmp byte [rbx + 0x4a4e], 0
jne 0x1400154c1
movsx r9d, word [rbx + 0x5b4a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400053e0
test dil, 1
je 0x1400155e8
jmp 0x14001554c
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b4a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140046794]
mov edx, 0x10
mulss xmm1, dword [0x140046774]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47b0], rax
mov dword [rbx + 0x479c], 1
movss dword [rbx + 0x47a8], xmm0
movss dword [rbx + 0x47ac], xmm1
movss xmm0, dword [rbx + 0x3914]
mulss xmm0, dword [0x140046700]
or dword [rbx + 0x4798], 0x41
movss dword [rbx + 0x47f8], xmm0
call fcn.1400053e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400155a0
lea r11, [0x140041720]
nop dword [rax]
cmp r9b, 0x23
jne 0x140015583
cmp byte [r8], r9b
jne 0x140015583
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140015570
not ecx
call fcn.14000c620
test rax, rax
je 0x1400155e8
cmp byte [rax + 0xae], 0
je 0x1400155e8
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b4a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b4a]
call fcn.1400053e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000ed60
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003d790
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret