joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000a710
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x50
cmp byte [0x1800a07f4], 0
mov rbx, rdx
jne 0x18000a76a
lea r8, str.win32
xor edx, edx
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov rcx, rax
mov qword [0x1800a07f8], rax
xor r8d, r8d
mov edx, 0xf001f
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [0x1800a0800], rax
mov byte [0x1800a07f4], 1
jmp 0x18000a771
mov rax, qword [0x1800a0800]
mov eax, dword [rax + 0x540]
test al, al
jne 0x18000a78c
mov ecx, 5
add rsp, 0x50
pop rbx
jmp qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.18000e360
test rax, rax
je 0x18000a8c6
mov rcx, rbx
call fcn.18000e510
test rax, rax
jne 0x18000a8c6
mov rcx, rbx
mov qword [rsp + 0x70], rdi
call fcn.18000e1b0
mov rdi, rax
test rax, rax
je 0x18000a8c1
mov qword [rsp + 0x48], r14
mov rdx, rbx
mov qword [rsp + 0x40], r15
mov rcx, rax
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x60], rbp
call fcn.18000d2b0
xorps xmm6, xmm6
ucomiss xmm0, xmm6
jp 0x18000a807
jne 0x18000a807
mov rdx, rbx
mov rcx, rdi
call fcn.18000d3d0
ucomiss xmm0, xmm6
jp 0x18000a807
jne 0x18000a807
xor bpl, bpl
jmp 0x18000a80a
mov bpl, 1
mov ecx, 6
mov qword [rsp + 0x68], rsi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rbx
mov rcx, rdi
call fcn.18000d2b0
ucomiss xmm0, xmm6
jp 0x18000a843
jne 0x18000a843
mov rdx, rbx
mov rcx, rdi
call fcn.18000d3d0
ucomiss xmm0, xmm6
jp 0x18000a843
jne 0x18000a843
xor sil, sil
jmp 0x18000a846
mov sil, 1
mov rdx, rbx
mov rcx, rdi
call fcn.18000d810
mov ecx, 6
movzx r15d, al
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rbx
mov rcx, rdi
call fcn.18000d810
mov ecx, 0x20
movzx r14d, al
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm6, xmmword [rsp + 0x30]
shr eax, 0xf
test al, 1
je 0x18000a8ad
test bpl, bpl
jne 0x18000a8ad
test sil, sil
jne 0x18000a8ad
test r15b, r15b
je 0x18000a8ad
test r14b, r14b
je 0x18000a8ad
movsd xmm1, qword [0x180090ca8]
mov r8, rbx
mov rcx, rdi
call fcn.18000deb0
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbx
ret

Function at 0x18000abe0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18000ac16
xor eax, eax
lea r8, [0x18000a8d0]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18000ac16
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180018290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, r8
mov r14, rdx
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x30], xmm0
movabs rdi, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
mov r8, qword [r8 + 8]
test r8, r8
je 0x1800182f3
movabs r9, 0x100000001b3
mov rdx, qword [rsp + 0x30]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x1800182e0
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.180018810
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x180018319
mov qword [r14], rax
mov byte [r14 + 8], r13b
jmp 0x1800184cb
movabs rax, 0x555555555555555
cmp qword [0x1800a0940], rax
je 0x1800184e6
lea rax, [0x1800a0938]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r13
mov ecx, 0x30
call fcn.180042dd0
mov rsi, rax
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rbx]
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
mov r8, qword [0x1800a0940]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x18001837c
cvtsi2ss xmm0, rcx
jmp 0x180018391
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1800a0968]
xorps xmm1, xmm1
test rcx, rcx
js 0x1800183a7
cvtsi2ss xmm1, rcx
jmp 0x1800183bc
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1800a0930]
jbe 0x180018464
call fcn.180018520
mov rax, qword [0x1800a0960]
and rax, rdi
add rax, rax
mov r15, qword [0x1800a0948]
mov rbx, qword [r15 + rax*8 + 8]
mov rcx, qword [0x1800a0938]
cmp rbx, rcx
jne 0x1800183fe
mov qword [rsp + 0x20], rcx
jmp 0x18001844d
mov r15, qword [r15 + rax*8]
movups xmm0, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov rbp, qword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
cmp rbp, qword [rbx + 0x18]
jne 0x18001842e
mov r8, rbp
mov rdx, qword [rbx + 0x10]
mov rcx, r12
call fcn.180066c70
test eax, eax
je 0x180018439
cmp rbx, r15
je 0x180018448
mov rbx, qword [rbx + 8]
jmp 0x180018415
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
jmp 0x180018452
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], r13
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8, qword [0x1800a0940]
mov rdx, qword [rsp + 0x20]
mov r9, qword [rdx + 8]
inc r8
mov qword [0x1800a0940], r8
mov qword [rsi], rdx
mov qword [rsi + 8], r9
mov qword [r9], rsi
mov qword [rdx + 8], rsi
mov rax, qword [0x1800a0960]
and rax, rdi
add rax, rax
mov rcx, qword [0x1800a0948]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x1800a0938]
jne 0x1800184ac
mov qword [rcx + rax*8], rsi
jmp 0x1800184be
cmp r8, rdx
jne 0x1800184b7
mov qword [rcx + rax*8], rsi
jmp 0x1800184c3
cmp qword [rcx + rax*8 + 8], r9
jne 0x1800184c3
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.18004217c
int3
Function at 0x1800188e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, r8
mov r14, rdx
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x30], xmm0
movabs rdi, 0xcbf29ce484222325
xor ecx, ecx
mov r8, qword [r8 + 8]
test r8, r8
je 0x180018943
movabs r9, 0x100000001b3
mov rdx, qword [rsp + 0x30]
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x180018930
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.180018810
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x18001896a
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x180018b2a
movabs rax, 0x555555555555555
cmp qword [0x1800a0940], rax
je 0x180018b47
lea rax, [0x1800a0938]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ecx, 0x30
call fcn.180042dd0
mov rsi, rax
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rbx]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x20], xmm1
mov r8, qword [0x1800a0940]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1800189d1
cvtsi2ss xmm0, rcx
jmp 0x1800189e6
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1800a0968]
xorps xmm1, xmm1
test rcx, rcx
js 0x1800189fc
cvtsi2ss xmm1, rcx
jmp 0x180018a11
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1800a0930]
jbe 0x180018ac3
call fcn.180018520
mov rax, qword [0x1800a0960]
and rax, rdi
add rax, rax
mov r15, qword [0x1800a0948]
mov rbx, qword [r15 + rax*8 + 8]
mov rcx, qword [0x1800a0938]
cmp rbx, rcx
jne 0x180018a53
mov qword [rsp + 0x20], rcx
jmp 0x180018aa8
mov r15, qword [r15 + rax*8]
movups xmm0, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov rbp, qword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
nop word [rax + rax]
cmp rbp, qword [rbx + 0x18]
jne 0x180018a89
mov r8, rbp
mov rdx, qword [rbx + 0x10]
mov rcx, r12
call fcn.180066c70
test eax, eax
je 0x180018a94
cmp rbx, r15
je 0x180018aa3
mov rbx, qword [rbx + 8]
jmp 0x180018a70
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
jmp 0x180018ab1
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], 0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8, qword [0x1800a0940]
mov rdx, qword [rsp + 0x20]
mov r9, qword [rdx + 8]
inc r8
mov qword [0x1800a0940], r8
mov qword [rsi], rdx
mov qword [rsi + 8], r9
mov qword [r9], rsi
mov qword [rdx + 8], rsi
mov rax, qword [0x1800a0960]
and rax, rdi
add rax, rax
mov rcx, qword [0x1800a0948]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x1800a0938]
jne 0x180018b0b
mov qword [rcx + rax*8], rsi
jmp 0x180018b1d
cmp r8, rdx
jne 0x180018b16
mov qword [rcx + rax*8], rsi
jmp 0x180018b22
cmp qword [rcx + rax*8 + 8], r9
jne 0x180018b22
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, str.unordered_map_set_too_long
call fcn.18004217c
int3
Function at 0x1800190b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov eax, 0x13c0
call fcn.1800612d0
sub rsp, rax
mov rax, qword [0x18009e0c0]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov ebx, edx
mov esi, ecx
call fcn.180042b50
mov dword [rsp + 0x24], eax
mov r9d, 1
mov dword [rsp + 0x13a4], 0xffffffff
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, 0x270
jb 0x1800190f3
btc esi, 0x1f
mov dword [rsp + 0x20], 0x270
btc ebx, 0x1f
lea rcx, [rsp + 0x20]
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x18001913d
call fcn.180019250
mov ecx, eax
jmp 0x180019186
mov qword [rsp + 0x13d0], rdi
inc ebx
call fcn.180019250
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x18001917a
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x18001917a
lea rcx, [rsp + 0x20]
call fcn.180019250
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x180019166
mov rdi, qword [rsp + 0x13d0]
shr rcx, 0x20
lea eax, [rcx + rsi]
xor eax, 0x80000000
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.180042db0
mov rbx, qword [rsp + 0x13d8]
add rsp, 0x13c0
pop rsi
ret

Function at 0x180019250
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1800192b1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x180019270
mov ecx, dword [r9]
jmp 0x18001939b
cmp ecx, 0x4e0
jb 0x18001939b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1800192d0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180019320
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x18001a720
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 0x18001a77d
lea rbx, [0x18008b1a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001a764
cmp r10, 2
jb 0x18001a764
cmp byte [r9], r8b
jne 0x18001a764
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 0x18001a740
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001a7bf
lea rbx, [0x18008b1a0]
cmp r8b, 0x23
jne 0x18001a7a3
cmp byte [r9], r8b
jne 0x18001a7a3
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 0x18001a790
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18001a900
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001a91a
mov qword [r8], 0
lea rdx, [0x1800908fc]
call fcn.18001a7d0
mov rbx, rax
test rax, rax
jne 0x18001a93a
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 fcn.18004c064
mov esi, eax
cmp eax, 0xffffffff
je 0x18001aa0a
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.18004cb5c
test eax, eax
jne 0x18001aa0a
mov rcx, rbx
call fcn.18004c064
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001aa0a
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18004cb5c
test eax, eax
jne 0x18001aa0a
cmp rdi, 0xffffffffffffffff
je 0x18001aa0a
mov rax, qword [0x1800a0810]
test rax, rax
je 0x18001a9ac
inc dword [rax + 0x3b4]
mov rcx, rdi
call fcn.180052e98
mov rsi, rax
test rax, rax
je 0x18001aa0a
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.18004d8e4
mov rcx, rbx
cmp rax, rdi
je 0x18001a9f8
call fcn.18004c854
mov rax, qword [0x1800a0810]
test rax, rax
je 0x18001a9ee
dec dword [rax + 0x3b4]
mov rcx, rsi
call fcn.18004d670
jmp 0x18001aa12
call fcn.18004c854
test r14, r14
je 0x18001aa05
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001aa14
mov rcx, rbx
call fcn.18004c854
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 0x1800269f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18009e0c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1800a0810]
mov edi, edx
cmp byte [rbx + 0x1f4d], 0
jne 0x180026a50
cmp byte [rbx + 0x1f4e], 0
jne 0x180026a50
mov r9d, dword [rbx + 0x2ff8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18001a6a0
test dil, 1
je 0x180026b76
jmp 0x180026ada
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2ff8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180090d34]
mov edx, 0x10
mulss xmm1, dword [0x180090d28]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1cc8], rax
mov dword [rbx + 0x1cb4], 1
movss dword [rbx + 0x1cc0], xmm0
movss dword [rbx + 0x1cc4], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x180090c40]
or dword [rbx + 0x1cb0], 0x41
movss dword [rbx + 0x1d10], xmm0
call fcn.18001a6a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180026b30
lea r11, [0x18008b1a0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180026b13
cmp byte [r8], r9b
jne 0x180026b13
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 0x180026b00
not ecx
call fcn.180020e10
test rax, rax
je 0x180026b76
cmp byte [rax + 0x8e], 0
je 0x180026b76
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff8]
mov edx, 0x10
mov r9d, dword [rbx + 0x2ff8]
call fcn.18001a6a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180023420
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180042db0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800406f0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x18009e0c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18004073f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800a0a30]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18004077d
cmp rsi, r14
jb 0x180040775
cmp rsi, r15
jae 0x180040775
cmp qword [rsi + 8], 0
jne 0x180040947
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180040760
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180040812
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180040809
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180040809
cmp dword [rsp + 0x40], 0x10000
je 0x18004088b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180040809
sub rbx, rbp
cmp rbx, r14
jae 0x1800407d0
test rsi, rsi
jne 0x1800408f0
cmp rdi, r15
ja 0x18004092f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18004092f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004092f
cmp dword [rsp + 0x40], 0x10000
je 0x1800408c1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180040842
jmp 0x18004092f
test rbx, rbx
je 0x180040809
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800408f0
cmp rbx, r14
jae 0x1800407b0
jmp 0x180040812
test rdi, rdi
je 0x18004092f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800408f0
cmp rdi, r15
jbe 0x180040820
jmp 0x18004092f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180040900
mov rax, qword [0x1800a0a30]
mov qword [rsi], rax
mov qword [0x1800a0a30], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180042db0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180041360
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x18009e0c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov r14d, edx
mov qword [rcx], r15
mov rbx, rcx
mov qword [rcx + 8], r15
xor edx, edx
mov ecx, 4
mov ebp, r8d
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18004151a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800414a8
mov edi, 1
cmp dword [rsp + 0x20], 0x10
jb 0x180041462
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180041462
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180041462
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180041424
mov rcx, qword [0x1800a0820]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x18004148b
jmp 0x180041455
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180041455
mov rcx, qword [0x1800a0820]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18004148b
mov qword [rbx], rax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800413d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1800414a8
mov r8, qword [rbx]
mov edi, r15d
test r8, r8
je 0x1800414a8
mov rcx, qword [0x1800a0820]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x18004151a
cmp qword [rbx], r15
je 0x180041515
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x180041515
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, edi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004150e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.1800411b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800414d0
mov eax, r15d
jmp 0x18004151f
mov eax, 9
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180042db0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180041540
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18009e0c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1800a0a20]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800415b3
mov eax, 0xa
jmp 0x180041646
test esi, esi
je 0x1800415d5
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800415f8
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800415f8
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800415f1
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800415f8
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180042db0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret