joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401402d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
sub rsp, 0x58
mov rax, qword [0x1401f12d8]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rcx - 1]
mov rsi, rdx
mov rbx, rcx
cmp rax, 0xfffffffffffffffd
ja 0x1401404a7
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x140140498
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140140498
movsxd rcx, dword [rbx + 0x3c]
add rcx, rbx
cmp dword [rcx], 0x4550
jne 0x140140498
movzx eax, word [rcx + 0x18]
mov edx, 0x10b
mov qword [rsp + 0x48], r14
cmp dx, ax
jne 0x14014034c
mov eax, 0x78
lea r14, [rax + rcx]
jmp 0x140140364
mov edx, 0x20b
cmp dx, ax
jne 0x140140361
mov eax, 0x88
lea r14, [rax + rcx]
jmp 0x140140364
xor r14d, r14d
mov eax, dword [r14]
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x40], r15
test eax, eax
je 0x140140489
cmp dword [r14 + 4], 0
je 0x140140489
mov r15d, dword [rbx + rax + 0x1c]
lea rdi, [rbx + rax]
add r15, rbx
cmp rsi, 0x10000
jae 0x1401403af
sub si, word [rdi + 0x10]
jmp 0x140140421
mov ebp, dword [rdi + 0x20]
lea r12, [0x14013ffd0]
mov r8d, dword [rdi + 0x18]
add rbp, rbx
mov rdx, rbp
mov qword [rsp + 0x28], rbx
mov r9d, 4
mov qword [rsp + 0x20], r12
mov rcx, rsi
call fcn.14018e260
mov rdx, rax
test rax, rax
jne 0x140140410
mov eax, dword [rdi + 0x18]
lea r9d, [rdx + 4]
mov rdx, rbp
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov rcx, rsi
mov qword [rsp + 0x20], r12
call fcn.14018e370
mov rdx, rax
test rax, rax
je 0x140140489
mov ecx, dword [rdi + 0x24]
sub rdx, rbp
shr rdx, 2
add rcx, rbx
movzx esi, word [rcx + rdx*2]
movzx eax, si
cmp eax, dword [rdi + 0x14]
jae 0x140140489
mov edx, dword [r14]
movzx eax, si
mov ecx, dword [r15 + rax*4]
cmp ecx, edx
jb 0x140140483
add edx, dword [r14 + 4]
cmp ecx, edx
jae 0x140140483
lea rdx, [rbx + rcx]
mov rcx, rbx
call fcn.140140010
test rax, rax
je 0x140140489
mov rbp, qword [rsp + 0x80]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x88]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140157e90
add rsp, 0x58
pop rsi
pop rbx
ret
lea rax, [rbx + rcx]
jmp 0x140140450
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140140450
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14014046f
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14014046f

Function at 0x1401409c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
call fcn.140140d00
xor edi, edi
lea rdx, [rbx + 0x94]
cmp byte [rbx + 0x40], dil
lea rcx, [rbx + 0x44]
mov r9d, edi
mov qword [rsp + 0x20], rdx
setne r9b
mov rdx, rax
lea r8d, [rdi + 0x10]
call fcn.140100650
xorps xmm0, xmm0
movups xmmword [rbx + 0x94], xmm0
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140140a12
mov rdi, qword [rbx + 8]
movsxd r8, eax
lea rcx, [rbx + 0x44]
mov r9, rdi
mov rdx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140100240
Function at 0x140141eb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor esi, esi
mov r14, rdx
mov rdi, rcx
test rcx, rcx
je 0x140141f91
cmp word [rcx + 0x38], si
je 0x140141f91
cmp word [rcx + 0x3a], si
je 0x140141f91
cmp qword [rcx + 0x40], rsi
je 0x140141f91
mov qword [rsp + 0x30], rbx
lea rbx, [0x14008330c]
mov qword [rsp + 0x38], rbp
mov r11d, dword [rbx - 0xc]
test r11d, r11d
je 0x140141f87
movzx eax, word [rdi + 0x38]
shr eax, 1
cmp eax, r11d
jne 0x140141f7e
mov rbp, qword [rdi + 0x40]
xor eax, eax
mov r10, qword [rbx - 8]
test r11d, r11d
je 0x140141f6c
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + rax]
movzx r8d, byte [rcx + rbp]
lea ecx, [r8 + 0x20]
movzx r9d, cl
lea edx, [r8 - 0x41]
movzx ecx, byte [r10]
cmp dl, 0x19
cmova r9d, r8d
cmp cl, 0x3f
je 0x140141f62
cmp cl, 0x2a
je 0x140141f62
xor r9b, 0x33
cmp r9b, cl
jne 0x140141f7e
inc eax
inc r10
cmp eax, r11d
jb 0x140141f30
test r14, r14
je 0x140141f7e
mov rcx, qword [rdi + 0x50]
call r14
test eax, eax
je 0x140141f7e
or esi, dword [rbx]
add rbx, 0x14
jmp 0x140141f00
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140142770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x140142770
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1401f12d8]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
mov dword [rbp + 7], 0x767d677f
lea rcx, [rbp + 7]
mov qword [rbp - 1], rdi
mov dword [rbp + 0xb], 0x32382435
mov dword [rbp + 0xf], 0x717c0f6a
lea edx, [rdi + 6]
mov dword [rbp + 0x13], 0x777d5260
mov dword [rbp + 0x17], 0x73782d33
mov dword [rbp + 0x1b], 0x18044a44
call fcn.140146940
lea rdx, [rbp - 1]
lea rcx, [rbp + 7]
call fcn.1401458a0
mov qword [rbp - 0x13], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x27], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x37], xmm1
mov qword [rbp + 0x1f], rdi
test rax, rax
je 0x1401428dc
lea edx, [rdi + 6]
mov qword [rsp + 0xa0], rbx
lea rcx, [rbp + 7]
mov dword [rbp + 7], 0x746b767a
mov dword [rbp + 0xb], 0x624f663c
mov dword [rbp + 0xf], 0x5b6d1f23
mov dword [rbp + 0x13], 0x717b6c7b
mov dword [rbp + 0x17], 0x6e3d3e
mov dword [rbp + 0x1b], 0x18044a44
call fcn.140146940
lea rdx, [rbp - 1]
mov qword [rbp - 1], rdi
lea rcx, [rbp + 7]
call fcn.1401458a0
xorps xmm0, xmm0
mov rbx, rax
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
test rax, rax
je 0x1401428d8
lea r9, [rbp - 9]
mov dword [rbp - 0x17], edi
lea edx, [rdi + 0xe]
mov dword [rbp - 9], edi
lea r8d, [rdi + 0x40]
mov rcx, rax
call fcn.14014c600
test eax, eax
je 0x1401428d8
mov eax, dword [rbp - 0x11]
lea r9, [rbp - 9]
mov r8d, dword [rbp - 9]
lea edx, [rdi + 0xe]
mov word [rbp - 0x19], 0x25ff
mov rcx, rbx
movsd xmm0, qword [rbp - 0x19]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
movzx eax, word [rbp - 0xd]
mov word [rbx + 0xc], ax
call fcn.14014c600
mov al, 1
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140157e90
mov rdi, qword [rsp + 0xa8]
add rsp, 0x90
pop rbp
ret
xor al, al
jmp 0x1401428b3
jmp 0x1401428bb
Function at 0x140147090
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
call fcn.1401470c0
test rax, rax
jne 0x1401470b9
test rbx, rbx
je 0x1401470b9
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1401462f0
add rsp, 0x20
pop rbx
ret
Function at 0x1401501c0
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rbx, rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rcx
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov edi, eax
test eax, eax
je 0x140150235
mov edx, edi
mov rcx, rbx
call fcn.1400e2d40
mov r9d, edi
mov r8, qword [rbx]
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x28]
call fcn.14014fef0
lea rdx, [0x1401dc9b8]
lea rcx, [rsp + 0x28]
call fcn.14017fca0
int3
Function at 0x1401522a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rdx + 8]
mov rsi, rcx
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1401523bb
mov qword [rsp + 0x50], rbp
movabs rbp, 0x100000001b3
mov qword [rsp + 0x58], r14
movabs r14, 0xcbf29ce484222325
movzx eax, byte [rbx + 0x11]
movzx edx, byte [rbx + 0x10]
mov r8, qword [rsi + 8]
xor rdx, r14
imul rdx, rbp
xor rdx, rax
movzx eax, byte [rbx + 0x12]
imul rdx, rbp
xor rdx, rax
movzx eax, byte [rbx + 0x13]
imul rdx, rbp
xor rdx, rax
movzx eax, byte [rbx + 0x14]
imul rdx, rbp
xor rdx, rax
movzx eax, byte [rbx + 0x15]
imul rdx, rbp
xor rdx, rax
movzx eax, byte [rbx + 0x16]
imul rdx, rbp
xor rdx, rax
movzx eax, byte [rbx + 0x17]
imul rdx, rbp
xor rdx, rax
imul rdx, rbp
and rdx, qword [rsi + 0x30]
shl rdx, 4
add rdx, qword [rsi + 0x18]
mov rax, qword [rdx + 8]
cmp rax, r8
je 0x14015237b
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rdx]
cmp rcx, qword [rax + 0x10]
je 0x14015236f
nop
cmp rax, rdx
je 0x14015237b
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x140152360
test rax, rax
cmove rax, r8
cmp rax, r8
jne 0x14015239f
mov rax, qword [rbx + 0x10]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov eax, dword [rbx + 0x18]
mov rcx, rsi
mov dword [rsp + 0x28], eax
call fcn.140150890
jmp 0x1401523a5
mov ecx, dword [rbx + 0x18]
add dword [rax + 0x18], ecx
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1401522e0
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14018da10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401f12d8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r15, r8
mov rbp, rdx
mov r12, rcx
mov qword [rsp + 0x20], rcx
xorps xmm0, xmm0
lea r14, [r8 + 1]
movdqu xmmword [rsp + 0x28], xmm0
xor esi, esi
mov qword [rsp + 0x38], rsi
xor ebx, ebx
test r14, r14
je 0x14018dad3
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14018dc4d
cmp r14, 0x1000
jb 0x14018daa3
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x14018dc53
call fcn.140157760
test rax, rax
je 0x14018dc59
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14018daae
mov rcx, r14
call fcn.140157760
mov rbx, rax
mov rdi, rbx
mov qword [rsp + 0x28], rbx
lea rsi, [rbx + r14]
mov qword [rsp + 0x38], rsi
mov r8, r14
xor edx, edx
mov rcx, rbx
call fcn.1401810c0
mov qword [rsp + 0x30], rsi
jmp 0x14018dad8
mov rdi, qword [rsp + 0x28]
test rbp, rbp
je 0x14018dbb7
test rbx, rbx
je 0x14018dbb7
xor r8d, r8d
test r15, r15
je 0x14018dbb2
cmp r15, 0x40
jb 0x14018db8c
lea rcx, [r15 - 1]
add rcx, rbx
lea rax, [rbp - 1]
add rax, r15
cmp rbx, rax
ja 0x14018db18
cmp rcx, rbp
jae 0x14018db8c
mov rax, r15
and eax, 0x3f
mov r9, r15
sub r9, rax
movdqa xmm2, xmmword [0x140089970]
lea rax, [rbx + 0x10]
mov rcx, rbp
sub rcx, rbx
nop word [rax + rax]
movdqu xmm0, xmmword [rcx + rax - 0x10]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x10], xmm0
movdqu xmm1, xmmword [rcx + rax]
pxor xmm1, xmm2
movdqu xmmword [rax], xmm1
movdqu xmm0, xmmword [rcx + rax + 0x10]
pxor xmm0, xmm2
movdqu xmmword [rax + 0x10], xmm0
movdqu xmm1, xmmword [rcx + rax + 0x20]
pxor xmm1, xmm2
movdqu xmmword [rax + 0x20], xmm1
add r8, 0x40
lea rax, [rax + 0x40]
cmp r8, r9
jb 0x14018db40
cmp r8, r15
jae 0x14018dbb2
lea rcx, [rbx + r8]
sub rbp, rbx
mov rdx, r15
sub rdx, r8
nop dword [rax]
movzx eax, byte [rcx + rbp]
xor al, 0x67
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14018dba0
mov byte [r15 + rbx], 0
mov qword [r12 + 0x18], 0
mov qword [r12 + 0x20], 0xf
mov byte [r12 + 8], 0
lea rax, [0x140073e28]
mov qword [r12], rax
movsxd r8, r15d
mov rdx, rdi
mov rcx, r12
call fcn.1400f6670
nop
test rdi, rdi
je 0x14018dc1e
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x14018dc12
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018dc47
mov rdx, rsi
mov rcx, rdi
call fcn.1401577a0
nop
mov rax, r12
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140157e90
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14010cda0
nop
call fcn.1400a41a0
int3
call fcn.1400a3ff0
int3
call fcn.14010cda0
int3
Function at 0x14018dc60
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
mov r9, rcx
test rcx, rcx
je 0x14018dd4a
test rdx, rdx
je 0x14018dd4a
xor ecx, ecx
test r8, r8
je 0x14018dd45
cmp r8, 0x40
jb 0x14018dd21
lea rdx, [r8 - 1]
lea rax, [r8 - 1]
add rdx, r10
add rax, r9
cmp r10, rax
ja 0x14018dca9
cmp rdx, r9
jae 0x14018dd21
mov r11, r8
mov qword [rsp], rbx
and r11, 0xffffffffffffffc0
movdqa xmm2, xmmword [0x140089970]
lea rax, [r10 + 0x10]
mov rdx, r9
sub rdx, r10
nop word [rax + rax]
movdqu xmm0, xmmword [rdx + rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm0, xmm2
pxor xmm1, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm0, xmmword [rdx + rax - 0x30]
movdqu xmmword [rax - 0x40], xmm1
pxor xmm0, xmm2
movdqu xmm1, xmmword [rdx + rax - 0x20]
movdqu xmmword [rax - 0x30], xmm0
pxor xmm1, xmm2
movdqu xmmword [rax - 0x20], xmm1
cmp rcx, r11
jb 0x14018dcd0
mov rbx, qword [rsp]
cmp rcx, r8
jae 0x14018dd45
sub r9, r10
lea rax, [rcx + r10]
mov rdx, r8
sub rdx, rcx
nop
movzx ecx, byte [rax + r9]
lea rax, [rax + 1]
xor cl, 0x67
mov byte [rax - 1], cl
sub rdx, 1
jne 0x14018dd30
mov byte [r10 + r8], 0
add rsp, 8
ret
Function at 0x140001e50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x140001eac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140001ea3
test rsi, rsi
je 0x140001ea3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001e88
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400020c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400020d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400020e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002200
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005ee0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002220
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002228
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002220
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000227d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140002274
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002220
add rax, 0x28
cmp rax, r9
jne 0x140002260
xor eax, eax
ret

Function at 0x140002280
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005ee0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000229f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000229f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005ee0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000235f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002368
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002520
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8d, 0x2c
mov ecx, 2
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140002550
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140002b30
Capabilities:
Get local ipv4 addresses

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbp, qword [0x140005fb0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp]
mov qword [rsp + 0x48], rax
xor eax, eax
lea rsi, [rsp + 0x3c]
xor eax, eax
mov rdi, rcx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
mov dword [rsp + 0x3c], eax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
je 0x140002b7a
xor eax, eax
jmp 0x140002bfc
mov edx, dword [rsp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov rbx, rax
je 0x140002b73
mov qword [rsp + 0x20], rsi
mov r9, rax
xor r8d, r8d
xor edx, edx
lea r12, [rsp + 0x42]
xor ecx, ecx
mov rsi, rbx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp dword [rsi + 0x58], 6
jne 0x140002be5
mov eax, dword [rsi + 0x50]
mov r8d, 3
mov rdx, r12
mov rcx, rdi
mov dword [rsp + 0x42], eax
mov ax, word [rsi + 0x54]
mov word [rsp + 0x46], ax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x140002be5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
jmp 0x140002bfc
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x140002bad
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140002b73
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rbp]
je 0x140002c0c
call fcn.140002520
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140002cb0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov rbx, qword [0x140005fb0]
mov rsi, qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
lea rcx, [rsp + 0x28]
call rsi
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
call rsi
mov edx, dword [rsp + 0x30]
xor eax, eax
cmp dword [rsp + 0x28], edx
jne 0x140002cfe
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x2c], eax
sete al
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rbx]
je 0x140002d0d
call fcn.140002520
add rsp, 0x48
pop rbx
pop rsi
ret
Function at 0x140002d20
Capabilities:
Enumerate processes

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x160
mov rdi, qword [0x140005fb0]
xor edx, edx
mov rax, qword [rdi]
mov qword [rsp + 0x158], rax
xor eax, eax
mov rsi, rcx
mov ecx, 2
mov dword [rsp + 0x28], 0x238
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rbp, [rsp + 0x28]
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
lea r12, [rsp + 0x54]
test eax, eax
jne 0x140002d78
xor eax, eax
jmp 0x140002d9a
mov rdx, rbp
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140002d74
mov rdx, rsi
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll__stricmp
test eax, eax
jne 0x140002d78
mov eax, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x158]
sub rdx, qword [rdi]
je 0x140002dac
call fcn.140002520
add rsp, 0x160
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140002dc0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, qword [0x140005fb0]
mov rax, qword [rbx]
mov qword [rsp + 0x58], rax
xor eax, eax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x48], 1
setbe al
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rbx]
je 0x140002df8
call fcn.140002520
add rsp, 0x60
pop rbx
ret

Function at 0x140002e00
Capabilities:
Get local ipv4 addresses

Disassembly:
sub rsp, 0x28
lea rcx, [0x140005050]
call fcn.140002b30
test al, al
jne 0x140002e74
lea rcx, [0x140005054]
call fcn.140002b30
test al, al
jne 0x140002e74
lea rcx, [0x140005058]
call fcn.140002b30
test al, al
jne 0x140002e74
lea rcx, [0x14000505c]
call fcn.140002b30
test al, al
jne 0x140002e74
lea rcx, [0x140005060]
call fcn.140002b30
test al, al
jne 0x140002e74
lea rcx, [0x140005064]
call fcn.140002b30
test al, al
jne 0x140002e74
lea rcx, [0x140005068]
add rsp, 0x28
jmp fcn.140002b30
mov al, 1
add rsp, 0x28
ret

Function at 0x140002e80
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, qword [0x140005fb0]
mov rax, qword [rbx]
mov qword [rsp + 0x68], rax
xor eax, eax
mov dword [rsp + 0x28], 0x40
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x30], 0x7fffffff
setbe al
mov rdx, qword [rsp + 0x68]
sub rdx, qword [rbx]
je 0x140002ec4
call fcn.140002520
add rsp, 0x70
pop rbx
ret

Function at 0x1400032b0
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rbx, qword [rax + 0x20]
mov rsi, rcx
test rbx, rbx
je 0x1400032f3
cmp word [rbx + 0x48], 0
je 0x1400032f1
mov rcx, qword [rbx + 0x50]
mov rdx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
jne 0x1400032ec
mov rbx, qword [rbx + 0x20]
jmp 0x1400032f3
mov rbx, qword [rbx]
jmp 0x1400032ca
xor ebx, ebx
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x140003300
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor eax, eax
cmp word [rcx], 0x5a4d
mov rbx, rcx
mov rbp, rdx
jne 0x140003381
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140003381
mov edi, dword [rdx + 0x88]
xor esi, esi
add rdi, rcx
mov r12d, dword [rdi + 0x20]
mov r13d, dword [rdi + 0x14]
add r12, rcx
cmp esi, r13d
jae 0x14000337f
mov edx, dword [r12 + rsi*4]
mov rcx, rbp
add rdx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov edx, eax
lea rax, [rsi + 1]
test edx, edx
jne 0x14000337a
mov eax, dword [rdi + 0x24]
add rsi, rsi
add rsi, rbx
movzx edx, word [rsi + rax]
mov eax, dword [rdi + 0x1c]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
jmp 0x140003381
mov rsi, rax
jmp 0x140003340
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret