joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a06b7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1401da990
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14023e230]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x1401da9db
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x20
jge 0x1401daa07
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x20
jae 0x1401da9f6
jmp 0x1401da9fb
call fcn.1400a05c2
mov rax, qword [rsp + 0x38]
mov byte [rsp + rax + 0x40], 0
jmp 0x1401da9d1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
test eax, eax
je 0x1401daa5c
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
movzx eax, byte [rsp + rax + 0x40]
or eax, ecx
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
sar ecx, 3
movsxd rcx, ecx
mov byte [rsp + rcx + 0x40], al
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x1401daa07
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
test eax, eax
je 0x1401daaaa
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
sar eax, 3
cdqe
movzx eax, byte [rsp + rax + 0x40]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
and eax, ecx
test eax, eax
je 0x1401daa9b
mov rax, qword [rsp + 0x28]
jmp 0x1401daaac
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x1401daa5c
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a38b7
add rsp, 0x78
ret
Function at 0x1400a1198
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401b0780
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x1400a11ac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1401c30cc
jmp fcn.1400a1a30
Function at 0x1400a170b
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400e9140
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x10], rax
movabs rax, 0x100000001b3
mov qword [rsp + 0x18], rax
movabs rax, 0xcbf29ce484222325
mov qword [rsp], rax
mov qword [rsp + 8], 0
jmp 0x1400e9192
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 8], rax
jae 0x1400e91da
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
mov qword [rsp], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp]
imul rcx, rax
mov rax, rcx
mov qword [rsp], rax
jmp 0x1400e9185
mov rax, qword [rsp]
add rsp, 0x28
ret

Function at 0x1400a17dd
Capabilities:
Parse pe header

Disassembly:
jmp 0x140122060
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140122080
xor al, al
jmp 0x140122101
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140122093
xor al, al
jmp 0x140122101
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1401220bd
xor al, al
jmp 0x140122101
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1401220d1
xor al, al
jmp 0x140122101
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1401220e3
xor al, al
jmp 0x140122101
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1401220ff
xor al, al
jmp 0x140122101
mov al, 1
add rsp, 0x38
ret

Function at 0x1400a19c7
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140178f00
mov rax, rcx
neg rcx
test rax, 7
je 0x140178f1d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140178f78
test al, 7
jne 0x140178f10
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140178f31
mov rdx, qword [rax - 8]
test dl, dl
je 0x140178fa2
test dh, dh
je 0x140178f9c
shr rdx, 0x10
test dl, dl
je 0x140178f96
test dh, dh
je 0x140178f90
shr rdx, 0x10
test dl, dl
je 0x140178f8a
test dh, dh
je 0x140178f84
shr edx, 0x10
test dl, dl
je 0x140178f7e
test dh, dh
jne 0x140178f31
lea rax, [rcx + rax - 1]
ret
lea rax, [rcx + rax - 2]
ret
lea rax, [rcx + rax - 3]
ret
lea rax, [rcx + rax - 4]
ret
lea rax, [rcx + rax - 5]
ret
lea rax, [rcx + rax - 6]
ret
lea rax, [rcx + rax - 7]
ret
lea rax, [rcx + rax - 8]
ret
Function at 0x1400a1c06
Capabilities:
Terminate process

Disassembly:
jmp 0x140177e20
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call fcn.1400a0e8c
test eax, eax
je 0x140177e4d
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.14009ff46
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400a21ba
Capabilities:
Terminate process

Disassembly:
jmp 0x140120720
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400a22af
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140129ba0
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.140129350
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140129bda
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1400a147c
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x140129be0
call qword [sym.imp.KERNEL32.DLL_TlsAlloc]
add rsp, 0x38
ret

Function at 0x1400a29e9
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401a4c80
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1401a3de0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401a4cb9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x1401a4cc3
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
add rsp, 0x38
ret

Function at 0x1400a2e17
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401a4ce0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1401a3e20
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401a4d23
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x1401a4d32
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
add rsp, 0x38
ret
Function at 0x1400a3006
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401a4bc0
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1401a3d60
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401a4bfb
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x1401a4c01
call qword [sym.imp.KERNEL32.DLL_TlsAlloc]
add rsp, 0x38
ret

Function at 0x1400a35ab
Capabilities:
Hide graphical window

Disassembly:
jmp 0x1400abfb0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x60]
mov rdi, rsp
mov ecx, 0x6e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14023e230]
xor rax, rbp
mov qword [rbp + 0x148], rax
mov qword [rbp + 8], 0
mov dword [rbp + 0x30], 0
lea rax, [rbp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x4c
rep stosb byte [rdi], al
mov dword [rbp + 0x30], 0x50
mov dword [rbp + 0x34], 3
lea rax, [0x14009fded]
mov qword [rbp + 0x38], rax
mov dword [rbp + 0x40], 0
mov dword [rbp + 0x44], 0
mov qword [rbp + 0x48], 0
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x170]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx eax, ax
test eax, eax
jne 0x1400ac06d
xor eax, eax
jmp 0x1400ac0ec
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
mov r8, qword [rbp + 0x170]
mov rdx, qword [rbp + 0x170]
mov ecx, 0x300
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbp + 8], rax
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x1401ee6b0]
call fcn.1400a0e55
mov rax, rdi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.1400a38b7
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret

Function at 0x1400a3ad8
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400abe7e
mov r10, rcx
mov eax, 0x1058
syscall
ret
Function at 0x1400b9780
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x9e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14023e230]
xor rax, rbp
mov qword [rbp + 0x248], rax
mov rax, qword [0x1402408c0]
add rax, 0xd8
mov rcx, qword [0x1402408b8]
add rcx, 0x128
sub rax, rcx
mov dword [rbp + 4], eax
mov edx, dword [rbp + 4]
mov rcx, qword [0x1402408a8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 4]
add eax, 4
mov edx, eax
mov rcx, qword [0x1402408a8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
add eax, 8
mov edx, eax
mov rcx, qword [0x1402408a8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 4]
add eax, 0xc
mov edx, eax
mov rcx, qword [0x1402408a8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rbp + 0x84], eax
xor r8d, r8d
mov edx, dword [rbp + 4]
mov rcx, qword [0x1402408a8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 4]
add eax, 4
xor r8d, r8d
mov edx, eax
mov rcx, qword [0x1402408a8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 4]
add eax, 8
xor r8d, r8d
mov edx, eax
mov rcx, qword [0x1402408a8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 4]
add eax, 0xc
xor r8d, r8d
mov edx, eax
mov rcx, qword [0x1402408a8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
lea rax, [rbp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0xc8
rep stosb byte [rdi], al
mov r8d, 0x64
lea rdx, [rbp + 0xb0]
mov rcx, qword [0x1402408b0]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rbp + 0xb0]
lea rcx, str.__text:_ws_n
call fcn.1400a2052
lea rcx, [rbp + 0xb0]
call fcn.1400a19cc
test rax, rax
jne 0x1400b9945
mov r8d, dword [rbp + 0x24]
mov edx, dword [rbp + 4]
mov rcx, qword [0x1402408a8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 4]
add eax, 4
mov r8d, dword [rbp + 0x44]
mov edx, eax
mov rcx, qword [0x1402408a8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 4]
add eax, 8
mov r8d, dword [rbp + 0x64]
mov edx, eax
mov rcx, qword [0x1402408a8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 4]
add eax, 0xc
mov r8d, dword [rbp + 0x84]
mov edx, eax
mov rcx, qword [0x1402408a8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, 1
jmp 0x1400b9947
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1401ef540]
call fcn.1400a0e55
mov rax, rdi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.1400a38b7
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret
Function at 0x1401b01c0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
call fcn.1400a1d05
mov byte [rsp + 0x30], al
call qword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
je 0x1401b0214
cmp qword [rsp + 0x90], 0
je 0x1401b0201
lea rcx, [rsp + 0x90]
call fcn.1400a1198
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1401b0214
mov eax, 4
jmp 0x1401b03a2
call fcn.14009f7cb
movzx eax, al
test eax, eax
jne 0x1401b0245
call qword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
je 0x1401b0234
mov dword [rsp + 0x34], 4
jmp 0x1401b023c
mov dword [rsp + 0x34], 3
mov eax, dword [rsp + 0x34]
jmp 0x1401b03a2
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1401b0331
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
lea r8, [0x1401b06e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400a2af7
lea rcx, [rsp + 0x38]
call fcn.1400a139b
movzx eax, al
test eax, eax
jne 0x1401b02df
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x38]
call fcn.1400a2dea
mov eax, dword [rsp + 0x4c]
jmp 0x1401b03a2
lea rcx, [rsp + 0x38]
call fcn.1400a0108
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObjectEx]
test eax, eax
je 0x1401b0319
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x38]
call fcn.1400a2dea
mov eax, dword [rsp + 0x44]
jmp 0x1401b03a2
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x38]
call fcn.1400a2dea
mov eax, dword [rsp + 0x40]
jmp 0x1401b03a2
call fcn.1400a38c1
movzx eax, al
test eax, eax
jne 0x1401b0376
mov eax, dword [rsp + 0xa0]
bts eax, 0x15
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.1400a0fdb
jmp 0x1401b03a2
call fcn.1400a0851
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.1400a009a
add rsp, 0x88
ret
Function at 0x14012d210
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 0x20], r9
xchg r8, r9
mov qword [rsp + 0x18], r9
xchg r8, r9
mov dword [rsp + 0x10], edx
xchg r11, rcx
mov qword [rsp + 8], r11
jmp 0x14012d23d
xchg r14, rax
mov qword [rsp + 0x10], rax
jmp 0x14012d2ce
xchg rcx, r11
sub rsp, 0x28
lea rax, [0x14012d490]
jmp 0x14012d250
mov qword [rsp + 0x18], rax
mov dword [rsp + 8], 0
xchg r14, rax
mov r14, qword [rsp + 0x30]
jmp 0x14012d231
Function at 0x140001454
Capabilities:
Enumerate pe sections

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdx, qword [rcx]
mov esi, 1
xor ebx, ebx
movzx eax, word [rdx + 0x14]
mov r15, qword [rdx + 0x30]
mov r12, rcx
lea r9, [rax + rdx + 0x18]
movabs rax, 0xffffffff00000000
mov r10d, dword [r9 + 8]
and r15, rax
mov eax, dword [r9 + 0x10]
or r10, r15
mov qword [r11 - 0x48], r10
mov r11d, dword [rcx + 0x24]
sub r11d, esi
not r11d
and r11, r10
mov qword [rsp + 0x28], r11
cmp eax, ebx
jne 0x1400014d2
test byte [r9 + 0x24], 0x40
je 0x1400014c8
mov eax, dword [rdx + 0x20]
jmp 0x1400014d2
test byte [r9 + 0x24], 0x80
je 0x1400014d2
mov eax, dword [rdx + 0x24]
mov ecx, dword [r9 + 0x24]
mov r8d, eax
mov dword [rsp + 0x3c], ebx
mov qword [rsp + 0x30], r8
mov r13d, esi
mov dword [rsp + 0x38], ecx
cmp si, word [rdx + 6]
jae 0x1400015a6
lea rdi, [r9 + 0x4c]
mov eax, dword [r12 + 0x24]
mov r14d, dword [rdi - 0x1c]
mov ebp, dword [rdi - 0x14]
sub eax, esi
or r14, r15
not eax
mov esi, eax
and rsi, r14
cmp ebp, ebx
jne 0x140001525
test byte [rdi], 0x40
je 0x14000151d
mov ebp, dword [rdx + 0x20]
jmp 0x140001525
test byte [rdi], 0x80
je 0x140001525
mov ebp, dword [rdx + 0x24]
cmp r11, rsi
je 0x14000155f
lea rax, [r8 + r10]
cmp rax, rsi
ja 0x14000155f
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.140001368
cmp eax, ebx
je 0x1400015dc
mov ecx, dword [rdi]
mov r10, r14
mov qword [rsp + 0x20], r14
mov r11, rsi
mov qword [rsp + 0x28], rsi
mov r8d, ebp
jmp 0x140001580
mov eax, dword [rdi]
bt eax, 0x19
jae 0x140001571
bt ecx, 0x19
jae 0x140001571
or ecx, eax
jmp 0x140001577
or ecx, eax
btr ecx, 0x19
mov r8d, ebp
sub r8, r10
add r8, r14
mov rdx, qword [r12]
mov esi, 1
add rdi, 0x28
movzx eax, word [rdx + 6]
add r13d, esi
mov dword [rsp + 0x38], ecx
cmp r13d, eax
mov qword [rsp + 0x30], r8
jl 0x1400014f7
lea rdx, [rsp + 0x20]
mov rcx, r12
mov dword [rsp + 0x3c], esi
call fcn.140001368
cmp eax, ebx
setne bl
mov eax, ebx
lea r11, [rsp + 0x40]
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
xor eax, eax
jmp 0x1400015be
Function at 0x140001a6c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
xor r9d, r9d
mov edx, 0x40000000
mov qword [rax - 0x18], rbp
mov dword [rax - 0x20], ebp
lea esi, [rbp + 1]
mov r8d, esi
mov dword [rax - 0x28], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rsp + 0x58]
lea rdx, [0x140d25580]
cmp rax, 0xffffffffffffffff
movzx ebx, bpl
mov r8d, 0xe6c957
mov rcx, rax
mov rdi, rax
mov qword [rsp + 0x20], rbp
cmove ebx, ebp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
cmp eax, ebp
cmovne ebx, esi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140001af8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x141b91f00]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rcx, [rsp + 0x22]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], di
call fcn.1400035f0
lea r9d, [rdi + 1]
lea r8d, [rdi + 0x23]
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, str.ckq
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x20]
call fcn.140001a6c
lea rcx, [0x140b32980]
mov edx, 0x1f2c00
call fcn.14000177c
mov rbx, rax
cmp rax, rdi
je 0x140001b98
lea rdx, [0x14000c004]
mov rcx, rax
call fcn.14000163c
cmp rax, rdi
je 0x140001b90
call rax
mov rcx, rbx
call fcn.1400015e0
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140003b60
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x140001bbc
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov rsi, rcx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ebx, ebx
mov rdi, rax
mov dword [rsp + 0x88], ebx
mov eax, 0x30c30c31
xor ebp, ebp
lea r13d, [rbx + 0x10]
imul ebx
sar edx, 2
lea rbx, [0x140000000]
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd r12, edx
mov eax, 0x30c30c31
imul ebp
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cdqe
lea rcx, [rax + rax*2]
lea rax, [r12 + rcx*4]
mov rcx, rdi
movsxd rdx, dword [rbx + rax*4 + 0x1b92f40]
mov rdx, qword [rbx + rdx*8 + 0x1b94138]
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
lea edx, [rbp + 0x10]
mov r9d, 0x15
mov r8d, r13d
mov rcx, rsi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x15
call qword [sym.imp.GDI32.dll_BitBlt]
add ebp, 0x15
cmp ebp, 0xfc
jl 0x140001c0a
mov ebx, dword [rsp + 0x88]
add ebx, 0x15
cmp ebx, 0xfc
mov dword [rsp + 0x88], ebx
jl case.default.0x140001cb6
mov rcx, rdi
lea r11, [rsp + 0x50]
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 qword [sym.imp.GDI32.dll_DeleteDC]
movdqa xmm0, xmmword [rdx]
movdqa xmm1, xmmword [rdx + r8]
movdqa xmm2, xmmword [rdx + r10]
movdqa xmm3, xmmword [rdx + r11]
movdqa xmm4, xmm0
punpckldq xmm0, xmm1
punpckhdq xmm4, xmm1
push 0xffffffffffffffe1
push 0xffffffffffffffe1
movdqa xmm1, xmm2
punpckldq xmm2, xmm3
punpckhdq xmm1, xmm3
movdqa xmm3, xmm0
punpcklqdq xmm0, xmm2
punpckhqdq xmm3, xmm2
movdqa xmm2, xmm4
punpcklqdq xmm4, xmm1
punpckhqdq xmm2, xmm1
pslld xmm0, xmm5
pslld xmm3, xmm5
pslld xmm4, xmm5
pslld xmm2, xmm5
movdqa xmmword [rcx], xmm0
movdqa xmmword [rcx + 0x10], xmm3
movdqa xmmword [rcx + 0x20], xmm4
movdqa xmmword [rcx + 0x30], xmm2
add rdx, 0x10
adc byte [rax - 0x7d], cl
rol dword [rax + 0x41], 0x83
invalid
add al, 0x7f
invalid
adc byte [rax - 0x7d], cl
rol dword [rax + 0x41], 0x83
jmp 0x1038ac33c
ret
Function at 0x14000523f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x141b91f00]
jne 0x140003b7a
rol rcx, 0x10
test cx, 0xffff
jne 0x140003b76
repz ret
ror rcx, 0x10
jmp 0x140005198
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x141b943a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x141b94498]
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 0x14000521d
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, [0x141b943a0]
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 0x14000523f
mov rax, qword [rsp + 0x88]
mov qword [0x141b94498], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x141b94438], rax
mov rax, qword [0x141b94498]
mov qword [0x141b94310], rax
mov rax, qword [rsp + 0x90]
mov qword [0x141b94420], rax
mov dword [0x141b94300], 0xc0000409
mov dword [0x141b94304], 1
mov rax, qword [0x141b91f00]
mov qword [rsp + 0x68], rax
mov rax, qword [0x141b91f08]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x141b94398], eax
mov ecx, 1
call fcn.140007958
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140009680]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x141b94398], 0
jne 0x1400052c6
mov ecx, 1
call fcn.140007958
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret