joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400091e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401a4080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000920d
xor eax, eax
jmp 0x140009379
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140009247
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140009247
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140009379
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000936c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000928a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400092b5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140009371
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140009324
sub eax, 1
je 0x140009324
cmp eax, 2
jne 0x14000936c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140009371
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140009352
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000936c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140009371
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140143120
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000ae00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401a4080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000aed3
cmp byte [rcx + 0x71], 0
je 0x14000aed3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14000aecf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000ae94
sub eax, 1
je 0x14000ae98
cmp eax, 2
jne 0x14000aecf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140143120
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000aec6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000aecf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000ae7c
xor al, al
jmp 0x14000ae7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140143120
add rsp, 0x60
pop rbx
ret
Function at 0x14001b810
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1401a4080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
cmp byte [0x1401be19f], bl
je 0x14001b827
mov eax, dword [reloc.WS2_32.dll_accept]
test eax, eax
je 0x14001b863
sub eax, 1
je 0x14001b84b
cmp eax, 1
jne 0x14001b880
mov byte [0x1401ba750], al
jmp 0x14001b880
mov ecx, dword [0x1401ba740]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x1401ba750]
jmp 0x14001b880
mov ecx, dword [0x1401ba740]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14001b880
cmp byte [0x1401ba750], bl
sete byte [0x1401ba750]
cmp byte [0x1401ba768], bl
je 0x14001b827
cmp byte [0x1401ba750], bl
je 0x14001b827
cmp byte [0x1401be19f], bl
je 0x14001b82d
xorps xmm0, xmm0
mov dword [rsp + 0x20], ebx
xorps xmm1, xmm1
mov dword [rsp + 0x34], 6
mov r8d, Ordinal_45
lea rdx, [rsp + 0x20]
mov ecx, 1
movdqu xmmword [rsp + 0x24], xmm0
movdqu xmmword [rsp + 0x38], xmm1
call qword [sym.imp.USER32.dll_SendInput]
mov ecx, dword [0x1401be1c0]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001b827
Function at 0x14001c020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x140
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov r14, rcx
mov qword [rsp + 0x48], rcx
xorps xmm6, xmm6
nop word [rax + rax]
mov rax, qword [r14]
mov rcx, qword [rax]
test rcx, rcx
je 0x14001c268
cmp byte [0x1401be1a6], 0
je 0x14001c268
xor edi, edi
mov qword [rsp + 0x50], rdi
lea rbx, [rcx + 0x158]
mov rcx, rbx
call fcn.14006b310
movaps xmm7, xmm6
test rax, rax
je 0x14001c0ee
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x28], ecx
lea rcx, [rax + 0x140]
mov r8d, listen
lea rdx, [rsp + 0x20]
call fcn.140068ab0
movsd xmm0, qword [rsp + 0x20]
movsd qword [rsp + 0x90], xmm0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x98], eax
movss xmm8, dword [rsp + 0x20]
movss xmm9, dword [rsp + 0x24]
movd xmm7, eax
movd edi, xmm7
jmp 0x14001c0fc
movss xmm9, dword [rsp + 0x54]
movss xmm8, dword [rsp + 0x50]
xor esi, esi
mov qword [rsp + 0x60], rsi
mov rcx, rbx
call fcn.14006b310
movaps xmm3, xmm6
test rax, rax
je 0x14001c165
xor ecx, ecx
mov qword [rsp + 0x2c], rcx
mov dword [rsp + 0x34], ecx
lea rcx, [rax + 0x140]
mov r8d, listen
lea rdx, [rsp + 0x2c]
call fcn.140068ab0
movsd xmm0, qword [rsp + 0x2c]
movsd qword [rsp + 0xa0], xmm0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0xa8], eax
movss xmm4, dword [rsp + 0x2c]
movss xmm5, dword [rsp + 0x30]
movd xmm3, eax
movd esi, xmm3
jmp 0x14001c171
movss xmm5, dword [rsp + 0x64]
movss xmm4, dword [rsp + 0x60]
movss xmm2, dword [0x1401a416c]
movss dword [rsp + 0x70], xmm2
movss xmm1, dword [0x1401a4164]
movss dword [rsp + 0x74], xmm1
movss dword [rsp + 0x78], xmm2
movaps xmm0, xmm8
unpcklps xmm0, xmm9
movsd qword [rsp + 0xb0], xmm0
mov dword [rsp + 0xb8], edi
movaps xmm0, xmm4
unpcklps xmm0, xmm5
movsd qword [rsp + 0xc0], xmm0
mov dword [rsp + 0xc8], esi
subss xmm3, xmm7
subss xmm5, xmm9
subss xmm4, xmm8
movss dword [rsp + 0x80], xmm4
movss dword [rsp + 0x84], xmm5
movss dword [rsp + 0x88], xmm3
movaps xmm0, xmm2
unpcklps xmm0, xmm1
movsd qword [rsp + 0xd0], xmm0
movss dword [rsp + 0xd8], xmm2
movaps xmm0, xmm4
unpcklps xmm0, xmm5
movsd qword [rsp + 0xe0], xmm0
movss dword [rsp + 0xe8], xmm3
divss xmm3, xmm2
divss xmm5, xmm1
divss xmm4, xmm2
movss dword [rsp + 0x38], xmm4
movss dword [rsp + 0x3c], xmm5
movss dword [rsp + 0x40], xmm3
movaps xmm0, xmm4
unpcklps xmm0, xmm5
movaps xmm1, xmm0
movsd qword [rsp + 0x38], xmm0
mov rax, qword [r14 + 8]
movss dword [rax], xmm4
shufps xmm0, xmm0, 0x55
movsd qword [rsp + 0xf0], xmm1
movss dword [rax + 4], xmm0
movss dword [rax + 8], xmm3
jmp 0x14001c275
jmp 0x14001c060
jmp 0x14001c060
Function at 0x1400203a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rcx, qword [0x1401be1b0]
add rcx, 0x100
call fcn.14006b310
lea rcx, [rax + 0x298]
call fcn.14006b310
movdqa xmm0, xmmword [0x140187110]
mov r8, 0xffffffffffffffff
mov qword [rbp + 0x20], rax
xor eax, eax
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
movups xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x30], reloc.WS2_32.dll_WSACleanup
lea rax, [rbp - 0x3f]
inc r8
cmp byte [rax + r8], 0
jne 0x140020401
lea rdx, [rbp - 0x3f]
lea rcx, [rbp - 0x28]
call fcn.14000d680
lea r8, [rbp - 0x28]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x20]
call fcn.14006abf0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx edi, ax
mov ecx, reloc.WS2_32.dll_recvfrom
shr edi, 0xf
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [rbp + 0x28]
movzx esi, ax
shr esi, 0xf
and sil, 1
test dil, 1
je 0x140020472
cmp byte [0x1401be185], 0
jne 0x1400204cf
mov byte [0x1401be185], 1
mov byte [0x1401be184], 0
jmp 0x1400204cf
cmp byte [0x1401be185], 0
je 0x1400204cf
xor eax, eax
mov byte [0x1401be185], 0
lea rcx, [rbx + 0x158]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], eax
call fcn.14006b310
test rax, rax
je 0x1400204bb
xor ecx, ecx
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x40], rcx
mov r8d, listen
mov dword [rbp - 0x38], ecx
lea rcx, [rax + 0x140]
call fcn.140068ab0
movss xmm0, dword [rbp - 0x3c]
movss dword [0x1401be188], xmm0
mov byte [0x1401be184], 1
test sil, sil
je 0x1400204fb
cmp byte [0x1401be186], 0
jne 0x140020558
mov byte [0x1401be186], 1
mov byte [0x1401be184], 0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
cmp byte [0x1401be186], 0
je 0x140020558
xor eax, eax
mov byte [0x1401be186], 0
lea rcx, [rbx + 0x158]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], eax
call fcn.14006b310
test rax, rax
je 0x140020544
xor ecx, ecx
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x40], rcx
mov r8d, listen
mov dword [rbp - 0x38], ecx
lea rcx, [rax + 0x140]
call fcn.140068ab0
movss xmm0, dword [rbp - 0x3c]
movss dword [0x1401be188], xmm0
mov byte [0x1401be184], 1
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400207b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x70
cmp byte [0x1401be18c], 1
movaps xmmword [rsp + 0x60], xmm6
jne 0x1400208d6
movdqa xmm6, xmmword [0x140187160]
xor ebx, ebx
mov ecx, dword [reloc.WS2_32.dll_accept]
test ecx, ecx
je 0x140020806
sub ecx, 1
je 0x1400207ee
cmp ecx, 1
jne 0x140020823
mov byte [0x1401ba700], cl
jmp 0x140020823
mov ecx, dword [0x1401ba6f0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x1401ba700]
jmp 0x140020823
mov ecx, dword [0x1401ba6f0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140020823
cmp byte [0x1401ba700], bl
sete byte [0x1401ba700]
mov rcx, qword [0x1401be1b0]
add rcx, 0x100
call fcn.14006b310
lea rcx, [rax + 0x298]
call fcn.14006b310
xorps xmm0, xmm0
mov qword [rsp + 0x80], rax
movups xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x30], reloc.WS2_32.dll_WSACleanup
lea rax, [rsp + 0x21]
movdqu xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x48], rbx
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x50], rbx
inc r8
cmp byte [rax + r8], bl
jne 0x140020875
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x38]
call fcn.14000d680
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x80]
call fcn.14006abf0
cmp byte [0x1401be18f], bl
je 0x1400207d2
cmp byte [0x1401ba700], bl
je 0x1400207d2
call fcn.1400203a0
mov rcx, qword [rsp + 0x88]
call fcn.140020570
jmp 0x1400207d2
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
ret
Function at 0x1400215d0
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 0x140021631
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 0x1400215f0
mov ecx, dword [r9]
jmp 0x14002171b
cmp ecx, 0x4e0
jb 0x14002171b
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 0x140021650
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 0x1400216a0
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 0x140024070
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r13
push r14
mov eax, 0x1078
call fcn.140143b90
sub rsp, rax
mov rax, qword [0x1401a4080]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov r14, rdx
mov qword [rsp + 0x38], r9
mov rdx, qword [rsp + 0x10c0]
xor ebp, ebp
mov qword [rsp + 0x30], rdx
mov r13, r8
mov qword [rsp + 0x40], rcx
test r8, r8
jne 0x1400240c2
mov rdx, rbp
jmp 0x14002419b
mov r9d, 0x1000
lea rdx, [rsp + 0x50]
call fcn.140023330
test al, al
je 0x1400240ba
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x1070], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1068], r12
mov qword [rsp + 0x1060], r15
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], bpl
jne 0x140024100
movsxd rax, dword [rsp + 0x8c]
lea rcx, [rsp + 0x50]
add rcx, rax
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
cmp bp, r15w
jae 0x140024178
nop dword [rax]
nop word [rax + rax]
mov eax, esi
mov r8, rdi
mov rdx, r14
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140024171
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x140024163
cmp rdi, rax
je 0x1400241d5
inc esi
cmp esi, r15d
jb 0x140024140
mov rdx, rbp
mov r12, qword [rsp + 0x1068]
mov rdi, qword [rsp + 0x1070]
mov rsi, qword [rsp + 0x10a8]
mov r15, qword [rsp + 0x1060]
mov rax, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.140023f60
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140143120
add rsp, 0x1078
pop r14
pop r13
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140024178
mov edx, dword [rbx + 8]
lea rcx, [rsp + 0x50]
add rcx, rax
je 0x140024178
test edx, edx
je 0x140024178
lea rax, [rsp + 0x50]
mov ebp, edx
sub rcx, rax
lea rdx, [rcx + r13]
jmp 0x14002417b
Function at 0x140025ea0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, 0x5a4d
mov r8, rdx
cmp word [rcx], ax
jne 0x140025f46
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140025f46
test rax, rax
je 0x140025f46
mov edx, dword [rax + 0xd8]
test edx, edx
je 0x140025f39
mov rdi, qword [rdx + rcx + 0x58]
test rdi, rdi
je 0x140025f39
sub rcx, r8
movabs rsi, 0x2b992ddfa232
add rdi, rcx
cmp qword [rdi], rsi
jne 0x140025f46
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
movabs rax, 0x2b992ddfa233
xor rcx, rbx
mov rbx, qword [rsp + 0x30]
xor rcx, rsi
cmp rcx, rsi
cmove rcx, rax
mov al, 1
mov qword [rdi], rcx
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x140026690
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401a4080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400267b6
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400267b6
test rax, rax
je 0x1400267b6
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + 0xb0]
test ecx, ecx
jne 0x140026713
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x1400267c1
lea rbx, [rcx + rdx]
mov esi, dword [rax + 0xb4]
add rsi, rbx
mov rcx, qword [rsp + 0x50]
cmp rbx, rsi
jae 0x1400267a4
nop word [rax + rax]
mov edx, dword [rbx + 4]
test edx, edx
je 0x1400267a4
mov eax, dword [rbx]
add rax, rbp
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x14002677d
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x140026794
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140026ef0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
mov r8, qword [rsp + 0x58]
cmp rbx, rsi
jb 0x140026730
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x1400267c1
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140143120
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140028090
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x1401a4080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
lea r9, [rsp + 0x20]
xor r14d, r14d
mov ecx, listen
xor r8d, r8d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov ebx, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140028122
test rbx, rbx
je 0x1400280e8
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, listen
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400280d2
test eax, eax
jns 0x140028143
test rbx, rbx
je 0x140028148
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140028247
test rbx, rbx
jne 0x14002814f
xor eax, eax
jmp 0x140028247
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x140028227
nop dword [rax + rax]
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400281a5
lea rcx, [rsp + 0x28]
call fcn.14000d680
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x1400281c5
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14002825d
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14002821d
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028218
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400282a6
call fcn.1401433c4
inc edi
cmp edi, dword [rbx]
jb 0x140028170
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140143120
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400282b2
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400282ad
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400282ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401433c4
mov rax, rdi
jmp 0x14002823a