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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x180004dc7
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x180004de8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180004dea
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180004e43
test ecx, ecx
jle 0x180004e23
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180004e43
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180004e43
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180004e70
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180004e92
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180004ea8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180004ec4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180004ec6
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x180004f00
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180004fa7
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x180004f3b
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x180004f81
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x180004fc0
cmp rbx, rax
ja 0x180004f50
mov r8, rdi
test rdi, rdi
je 0x180004fa7
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x180004faa
Function at 0x1800053d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800053fd
xor eax, eax
jmp 0x180005552
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x180005428
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x180005428
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x180005552
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180005545
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x18000546b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x180005496
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 0x18000554a
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 0x180005505
sub eax, 1
je 0x180005505
cmp eax, 2
jne 0x180005545
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 0x18000554a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180005533
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 0x180005545
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x18000554a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180029c20
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180005e40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180005f13
cmp byte [rcx + 0x71], 0
je 0x180005f13
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180005f0f
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 0x180005ed4
sub eax, 1
je 0x180005ed8
cmp eax, 2
jne 0x180005f0f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180029c20
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180005f06
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 0x180005f0f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180005ebc
xor al, al
jmp 0x180005ebc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180029c20
add rsp, 0x60
pop rbx
ret
Function at 0x180007bc0
Capabilities:
Check for debugger via api
Encode data using xor
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rbp + 0x430], rax
xor edi, edi
mov dword [rsp + 0x20], 0xf322f33b
mov edx, edi
mov dword [rsp + 0x24], 0xf334f333
mov dword [rsp + 0x28], 0xf374f335
mov r8d, 0xcab
mov dword [rsp + 0x2c], 0xf330f33f
mov dword [rsp + 0x30], 0xf331
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r8w
inc edx
xor word [rcx], ax
cmp edx, 9
jb 0x180007c20
lea rcx, [rsp + 0x20]
mov word [rsp + 0x32], di
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r8, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x180007cdf
movdqa xmm0, xmmword [0x18002eb60]
xor eax, eax
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x4e], al
mov edx, edi
mov qword [rsp + 0x550], rbx
mov dword [rsp + 0x48], 0xd150e31
mov word [rsp + 0x4c], 0xe08
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x38]
add rcx, rax
lea eax, [rdx + 0x55]
inc edx
xor byte [rcx], al
cmp edx, 0x16
jb 0x180007c90
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x4e], dil
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x180007cd7
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x11]
call rbx
mov rbx, qword [rsp + 0x550]
call fcn.1800298c0
test eax, eax
je 0x180007cf4
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.1800298d7
test eax, eax
je 0x180007d09
mov ecx, 0x1003
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rdx, [rsp + 0x60]
mov dword [rbp - 0x70], 0x100010
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180007d6a
cmp qword [rbp - 0x58], rdi
jne 0x180007d5e
cmp qword [rbp - 0x50], rdi
jne 0x180007d5e
cmp qword [rbp - 0x48], rdi
jne 0x180007d5e
cmp qword [rbp - 0x40], rdi
jne 0x180007d5e
cmp qword [rbp - 0x38], rdi
jne 0x180007d5e
cmp qword [rbp - 0x30], rdi
je 0x180007d6a
mov ecx, 0x2000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rsp + 0x50], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x50], edi
je 0x180007d94
mov ecx, 0x1001
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.180001210
call fcn.180001240
call fcn.180001290
call fcn.180001270
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.180029c20
mov rdi, qword [rsp + 0x558]
add rsp, 0x540
pop rbp
ret
Function at 0x18000bc80
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r15, qword [rsp + 0xc0]
mov r14d, ecx
lea rcx, [rsp + 0x40]
mov rsi, r9
mov rbp, r8
mov edi, edx
xor bl, bl
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0xd0]
add edx, r14d
mov rax, qword [rsp + 0x40]
add ecx, edx
cmp eax, ecx
jge 0x18000bda5
lea ecx, [rdx - 0xa]
cmp eax, ecx
jle 0x18000bda5
mov ecx, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x44]
lea eax, [rcx + 0x32]
add eax, edi
cmp edx, eax
jge 0x18000bda5
lea eax, [rcx - 0xa]
add eax, edi
cmp edx, eax
jle 0x18000bda5
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rsi, rax
jne 0x18000bda5
movss xmm3, dword [rsp + 0xd8]
xorps xmm2, xmm2
mov eax, dword [rsp + 0xc8]
mov r9, r15
movd xmm1, edi
mov r8, rbp
movd xmm0, r14d
shl eax, 0x18
or eax, 0xffffff
mov dword [rsp + 0x38], eax
movss dword [rsp + 0x30], xmm2
movss dword [rsp + 0x28], xmm3
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x20], xmm3
call fcn.18000b730
mov edi, 1
mov ecx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x18000bd8e
movzx eax, dil
mov byte [0x180038142], al
jmp 0x18000bdf8
cmp byte [0x180038142], 0
movzx ebx, bl
cmovne ebx, edi
xor al, al
mov byte [0x180038142], al
jmp 0x18000bdf8
movss xmm3, dword [rsp + 0xd8]
xorps xmm2, xmm2
subss xmm3, dword [0x18002e8ec]
mov eax, dword [rsp + 0xc8]
mov r9, r15
movd xmm1, edi
mov r8, rbp
movd xmm0, r14d
shl eax, 0x18
or eax, 0xffffff
mov dword [rsp + 0x38], eax
movss dword [rsp + 0x30], xmm2
movss dword [rsp + 0x28], xmm3
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x20], xmm3
call fcn.18000b730
movzx eax, bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180029c20
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000be20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, qword [rsp + 0xb8]
mov esi, edx
mov r15, qword [rsp + 0xb0]
lea rdx, [rsp + 0x48]
mov r14, qword [rsp + 0xc0]
mov rcx, r12
mov edi, dword [0x180037eb4]
mov ebp, r9d
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [rsp + 0x48]
lea rcx, [rsp + 0x40]
mov r13d, dword [rsp + 0x4c]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rsp + 0x40]
add ebx, 0xd4
lea ecx, [rbx + 0xf]
cmp eax, ecx
jge 0x18000bf61
cmp eax, ebx
jle 0x18000bf61
mov edx, dword [rsp + 0x44]
lea ecx, [rsi + r13]
lea eax, [rcx + 0xf]
cmp edx, eax
jge 0x18000bf61
cmp edx, ecx
jle 0x18000bf61
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp r12, rax
jne 0x18000bf61
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x18000bf1c
movss xmm2, dword [0x18002e908]
movss xmm0, dword [0x18002e918]
movaps xmm3, xmm2
shl edi, 0x18
cmp byte [r14], 0
movd xmm1, esi
mov byte [0x180038141], 1
cvtdq2ps xmm1, xmm1
jne 0x18000bf8c
or edi, 0x545454
jmp 0x18000bf92
cmp byte [0x180038141], 0
je 0x18000bf2f
cmp byte [r14], 0
sete al
mov byte [r14], al
movss xmm2, dword [0x18002e908]
movss xmm0, dword [0x18002e918]
movaps xmm3, xmm2
shl edi, 0x18
cmp byte [r14], 0
movd xmm1, esi
mov byte [0x180038141], 0
cvtdq2ps xmm1, xmm1
jne 0x18000bf8c
or edi, 0x474747
jmp 0x18000bf92
movss xmm2, dword [0x18002e908]
movss xmm0, dword [0x18002e918]
movaps xmm3, xmm2
shl edi, 0x18
cmp byte [r14], 0
movd xmm1, esi
cvtdq2ps xmm1, xmm1
jne 0x18000bf8c
or edi, 0x2b2b2b
jmp 0x18000bf92
or edi, 0x19a800
mov dword [rsp + 0x20], edi
call fcn.18000b4f0
mov r9d, sendto
mov qword [rsp + 0x30], r15
mov r8d, r9d
mov dword [rsp + 0x28], ebp
mov edx, esi
mov ecx, 0xd4
call fcn.18000b5d0
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180029c20
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800153e0
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x3a
jb 0x1800153f0
mov word [rcx + 0x74], r10w
mov rax, rcx
ret

Function at 0x180015420
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x35
jb 0x180015430
mov word [rcx + 0x6a], r10w
mov rax, rcx
ret

Function at 0x180015460
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x39
jb 0x180015470
mov word [rcx + 0x72], r10w
mov rax, rcx
ret

Function at 0x1800154a0
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x36
jb 0x1800154b0
mov word [rcx + 0x6c], r10w
mov rax, rcx
ret

Function at 0x1800154e0
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x23
jb 0x1800154f0
mov word [rcx + 0x46], r10w
mov rax, rcx
ret

Function at 0x180015520
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x1d
jb 0x180015530
mov word [rcx + 0x3a], r10w
mov rax, rcx
ret

Function at 0x180015560
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x32
jb 0x180015570
mov word [rcx + 0x64], r10w
mov rax, rcx
ret

Function at 0x1800155a0
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x24
jb 0x1800155b0
mov word [rcx + 0x48], r10w
mov rax, rcx
ret

Function at 0x1800155e0
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x27
jb 0x1800155f0
mov word [rcx + 0x4e], r10w
mov rax, rcx
ret

Function at 0x180015620
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x1e
jb 0x180015630
mov word [rcx + 0x3c], r10w
mov rax, rcx
ret
Function at 0x180015660
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
nop dword [rax]
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax + 0x55]
inc eax
xor byte [r8 + rcx], dl
cmp eax, 0xc
jb 0x180015670
mov byte [rcx + 0xc], 0
mov rax, rcx
ret

Function at 0x180015690
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x2b
jb 0x1800156a0
mov word [rcx + 0x56], r10w
mov rax, rcx
ret

Function at 0x1800156d0
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x1a
jb 0x1800156e0
mov word [rcx + 0x34], r10w
mov rax, rcx
ret

Function at 0x180015710
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x25
jb 0x180015720
mov word [rcx + 0x4a], r10w
mov rax, rcx
ret

Function at 0x180015750
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0xcab
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0x22
jb 0x180015760
mov word [rcx + 0x44], r10w
mov rax, rcx
ret
Function at 0x180018ea0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x180018fb3
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x180018fb3
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
xor edx, edx
mov qword [rsp + 0x50], rdx
mov ecx, dword [rax + rsi + 0xb0]
test ecx, ecx
jne 0x180018f18
mov qword [rdi], rdx
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rdx
jmp 0x180018fc0
lea rbx, [rsi + rcx]
mov ebp, dword [rax + rsi + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x48]
cmp rbx, rbp
jae 0x180018fa1
mov r8d, dword [rbx + 4]
test r8d, r8d
je 0x180018fa1
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [r8 - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, rdx
je 0x180018f7a
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x48], rcx
jmp 0x180018f96
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.180019600
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x180018f30
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
jmp 0x180018fc0
xor edx, edx
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rdx
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180029c20
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18001ab20
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
nop dword [rax]
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax + 0x55]
inc eax
xor byte [r8 + rcx], dl
cmp eax, 0xe
jb 0x18001ab30
mov byte [rcx + 0xe], 0
mov rax, rcx
ret

Function at 0x18001ab50
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
nop dword [rax]
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax + 0x55]
inc eax
xor byte [r8 + rcx], dl
cmp eax, 9
jb 0x18001ab60
mov byte [rcx + 9], 0
mov rax, rcx
ret
Function at 0x18001ad30
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
lea r9, [rsp + 0x20]
mov r14, rcx
mov dword [rsp + 0x20], ebp
xor r8d, r8d
xor edx, edx
mov ebx, ebp
lea ecx, [rbp + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x18001adbe
nop dword [rax]
test rbx, rbx
je 0x18001ad86
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 r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, reloc.WS2_32.dll_inet_addr
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x18001ad70
test eax, eax
jns 0x18001addf
test rbx, rbx
je 0x18001ade4
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x18001aed6
test rbx, rbx
jne 0x18001adeb
xor eax, eax
jmp 0x18001aed6
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
mov edi, ebp
cmp dword [rbx], ebp
jbe 0x18001aeb6
mov esi, edi
lea rdx, [rbx + 0x30]
imul rax, rsi, 0x128
mov qword [rsp + 0x28], rbp
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], sendto
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
add rdx, rcx
inc r8
cmp byte [rdx + r8], bpl
jne 0x18001ae34
lea rcx, [rsp + 0x28]
call fcn.180006240
cmp qword [r14 + 0x18], 0x10
mov rdx, r14
jb 0x18001ae54
mov rdx, qword [r14]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x18001aeec
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18001aeac
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001aea7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001af3d
call fcn.180029c7c
inc edi
cmp edi, dword [rbx]
jb 0x18001ae02
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180029c20
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
imul rax, rsi, 0x128
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
mov rdi, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18001af49
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001af44
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001af44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180029c7c
mov rax, rdi
jmp 0x18001aec9