joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018680
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.140017880
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018790
lea r14, [rbx + 0x68]
mov rcx, r14
call fcn.140017090
cmp esi, dword [rbx + 0x48]
jae 0x140018710
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r14
mov byte [rax + rsi], 1
call fcn.1400170d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rbx + 0x50]
lea r15d, [rsi + 1]
movsxd r13, r15d
lea rdx, [r13*8]
call sub.msvcrt.dll_realloc
test rax, rax
mov rdi, rax
je 0x14001879d
mov rcx, qword [rbx + 0x58]
mov rdx, r13
movq xmm6, rdi
call sub.msvcrt.dll_realloc
movq xmm0, rax
test rax, rax
mov r13, rax
punpcklqdq xmm6, xmm0
je 0x14001879d
mov eax, dword [rbx + 0x48]
mov edx, r15d
lea rcx, [rdi + rax*8]
sub edx, eax
lea r8, [rdx*8]
xor edx, edx
call sub.msvcrt.dll_memset
mov edx, dword [rbx + 0x48]
mov r8d, r15d
lea rcx, [r13 + rdx]
sub r8d, edx
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rbx + 0x50], xmm6
mov dword [rbx + 0x48], r15d
jmp 0x1400186d4
call fcn.140017930
mov rbx, rax
jmp 0x1400186bf
mov rcx, r14
call fcn.1400170d0
mov eax, 0xc
jmp 0x1400186f2

Function at 0x140018820
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140017880
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018848
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.140017930
test rax, rax
jne 0x14001883a
add rsp, 0x28
ret

Function at 0x1400188b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140017880
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400188d8
add rax, 0x18
add rsp, 0x28
ret
call fcn.140017930
test rax, rax
jne 0x1400188ca
jmp 0x1400188ce

Function at 0x1400189f0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400e0d28]
test eax, eax
jne 0x140018a08
xor eax, eax
add rsp, 0x28
ret
call fcn.140017880
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018a38
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x1400189fe
test byte [rax + 0x40], 3
je 0x1400189fe
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x140018a00
call fcn.140017930
test rax, rax
jne 0x140018a1e
jmp 0x1400189fe
Function at 0x140018a50
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.140017880
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018a90
test ebx, ebx
jle 0x140018a80
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.140017930
test rax, rax
jne 0x140018a6d
add rsp, 0x20
pop rbx
ret

Function at 0x140018b80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140017880
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018bf8
test byte [rbx + 0x40], 0xc
jne 0x140018baf
mov eax, dword [0x1400e0d28]
test eax, eax
jne 0x140018bc0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140016a90
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140018be3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140018be3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x140018c0c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140016d80
call fcn.140017930
test rax, rax
mov rbx, rax
jne 0x140018b9f
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x140018c2a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140016d80
call fcn.140018aa0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140018cb0
call fcn.140016850
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140018ce8
call fcn.140017880
mov ecx, dword [0x1400b2168]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018d40
test esi, esi
je 0x140018cc6
call fcn.140018b80
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018d20
mov edx, edi
call fcn.140016900
call fcn.140018b80
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017880
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018d30
call fcn.140018b80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018b80
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017880
mov ecx, dword [0x1400b2168]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x140018c85
call fcn.140017930
mov rbx, rax
jmp 0x140018c85
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018c9e
call fcn.140017930
jmp 0x140018cc6
call fcn.140017930
mov rbx, rax
jmp 0x140018c81
Function at 0x140018c40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140017880
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018bf8
test byte [rbx + 0x40], 0xc
jne 0x140018baf
mov eax, dword [0x1400e0d28]
test eax, eax
jne 0x140018bc0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140016a90
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140018be3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140018be3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x140018c0c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140016d80
call fcn.140017930
test rax, rax
mov rbx, rax
jne 0x140018b9f
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x140018c2a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140016d80
call fcn.140018aa0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140018cb0
call fcn.140016850
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140018ce8
call fcn.140017880
mov ecx, dword [0x1400b2168]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018d40
test esi, esi
je 0x140018cc6
call fcn.140018b80
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018d20
mov edx, edi
call fcn.140016900
call fcn.140018b80
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017880
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018d30
call fcn.140018b80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018b80
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017880
mov ecx, dword [0x1400b2168]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x140018c85
call fcn.140017930
mov rbx, rax
jmp 0x140018c85
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018c9e
call fcn.140017930
jmp 0x140018cc6
call fcn.140017930
mov rbx, rax
jmp 0x140018c81

Function at 0x140018d50
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.140017880
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018dc0
test esi, esi
je 0x140018da0
call fcn.140018b80
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018dd0
mov edx, esi
call fcn.140016900
call fcn.140018b80
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140018b80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018b80
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140017930
mov rbx, rax
jmp 0x140018d71
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018d8a
Function at 0x140077460
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x140077487
call rbp
cmp dword [rax], 4
jne 0x1400774a4
mov rcx, rdi
call fcn.140077290
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sub.msvcrt.dll__read
cmp eax, 0xffffffff
movsxd r12, eax
je 0x140077480
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140011217
Capabilities:
Terminate process

Disassembly:
jmp 0x140015c60
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 0x1400112ad
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400159e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015a00
xor al, al
jmp 0x140015a81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015a13
xor al, al
jmp 0x140015a81
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 0x140015a3d
xor al, al
jmp 0x140015a81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015a51
xor al, al
jmp 0x140015a81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015a63
xor al, al
jmp 0x140015a81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015a7f
xor al, al
jmp 0x140015a81
mov al, 1
add rsp, 0x38
ret
Function at 0x140001ae0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b2a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b2a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b2a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b2a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b2a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b2c
xor al, al
add rsp, 0x28
ret
Function at 0x402450
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00407900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004078e0]
test rbx, rbx
je 0x4024a4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40249b
test rsi, rsi
je 0x40249b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402480
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x00407900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax

Function at 0x402710
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402750
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov ecx, dword [rax + 0xc]
mov r8d, ecx
cmp r8, rdx
ja 0x402747
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x402752
add rax, 0x28
cmp rax, r9
jne 0x402734
xor eax, eax
repz ret

Function at 0x402810
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
lea rbx, [0x00400000]
cmp word [0x00400000], 0x5a4d
mov rsi, rcx
je 0x402834
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rbx
call fcn.004026d0
test eax, eax
je 0x40282b
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.00402710
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140001094
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], rdi
lea rsi, [r8 - 1]
mov rdi, rcx
shr rsi, 4
sub rdi, rdx
mov rbp, rcx
add rdi, 0xf0
inc rsi
nop dword [rax + rax]
movups xmm0, xmmword [rbx]
mov rdx, rbp
mov rcx, rbx
call fcn.1400010d0
mov ecx, 0x10
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140001060
sub rdi, 0x10
movups xmmword [rbp + 0xf0], xmm0
sub rsi, 1
jne 0x140001040
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret

Function at 0x1400010d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r10, rdx
mov rsi, rdx
sub r10, rcx
mov rbx, rcx
mov r8, rcx
mov r11d, 4
nop dword [rax]
mov r9d, 4
nop word [rax + rax]
movzx eax, byte [r10 + r8 + 0xe0]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x140001110
sub r11, 1
jne 0x140001100
mov dil, 0xd
lea rbp, [0x1400031b0]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + rbp]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x1400011b0
inc r8
sub r9, 1
jne 0x1400011a0
movzx r8d, dil
lea r9d, [rdx + 4]
shl r8, 4
mov rax, rbx
sub r8, rbx
add r8, rsi
nop dword [rax]
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140001200
sub r9, 1
jne 0x1400011f0
test dil, dil
je 0x14000122c
mov rcx, rbx
call fcn.140001250
add dil, 0xff
jmp 0x140001135
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140001950
Capabilities:
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov r15d, edx
mov rbp, rcx
test rcx, rcx
je 0x140001af0
test edx, edx
je 0x140001af0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001af0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001af0
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x20]
xor esi, esi
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov r12d, dword [rsp + 0x90]
add r12, rbp
mov r13d, dword [r12 + 0x20]
mov ecx, dword [r12 + 0x1c]
add r13, rbp
mov edx, dword [r12 + 0x24]
add rcx, rbp
add rdx, rbp
mov qword [rsp + 0x150], rcx
mov qword [rsp + 0x160], rdx
cmp dword [r12 + 0x14], esi
jbe 0x140001af0
nop dword [rax]
movzx eax, word [rdx + rsi*2]
xor ebx, ebx
mov edi, dword [r13 + rsi*4]
add rdi, rbp
mov r14d, dword [rcx + rax*4]
mov rcx, rdi
add r14, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
movsxd rdx, eax
test eax, eax
je 0x140001ad0
nop word [rax + rax]
movsx eax, byte [rcx + rdi]
inc rcx
add eax, ebx
imul ebx, eax, 0x81
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp rcx, rdx
jne 0x140001aa0
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp r15d, eax
je 0x140001aeb
inc esi
cmp esi, dword [r12 + 0x14]
jae 0x140001af0
mov rcx, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x160]
jmp 0x140001a70
mov rax, r14
jmp 0x140001af2
xor eax, eax
mov rbx, qword [rsp + 0x158]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011253
Capabilities:
Terminate process

Disassembly:
jmp 0x1400139f0
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 0x1400112e4
Capabilities:
Check for unmoving mouse cursor

Disassembly:
jmp 0x140012370
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001d008]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400230f3]
call fcn.1400113fc
mov dword [rbp + 4], 0x3c
lea rcx, [rbp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
imul eax, dword [rbp + 4], 0x3e8
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x48]
cmp dword [rbp + 0x28], eax
jne 0x1400123e7
mov eax, dword [rbp + 0x4c]
cmp dword [rbp + 0x2c], eax
je 0x14001240c
lea rdx, str.__________________:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14001242f
lea rdx, str.test.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ac50]
call fcn.140011389
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.14001120d
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400112ee
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014d40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014d60
xor al, al
jmp 0x140014de1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014d73
xor al, al
jmp 0x140014de1
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 0x140014d9d
xor al, al
jmp 0x140014de1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014db1
xor al, al
jmp 0x140014de1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014dc3
xor al, al
jmp 0x140014de1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014ddf
xor al, al
jmp 0x140014de1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001b90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140001c02
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140001bc0
mov ecx, dword [r10]
jmp 0x140001d03
cmp ecx, 0x270
jb 0x140001d03
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
mov rdx, qword [rbx + 8]
lea r8, [rbx + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx + 0x4e0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x140001c30
lea rbx, [r10 + 0xea8]
mov edi, reloc.SHELL32.dll_ILFree
mov rax, qword [rbx]
nop
mov rdx, rax
lea r8, [rbx + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx - 0xea0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x140001c80
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
mov rdi, qword [rsp]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret