joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140063640
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x34]
mov ecx, eax
call fcn.140069b28
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x40]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
jmp 0x140063716
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x30], eax
jae 0x140063752
mov rax, qword [rsp + 0x38]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x68]
lea rcx, [0x140079dc8]
call fcn.14005de60
mov rax, qword [rsp + 0x38]
add rax, 0x14
mov qword [rsp + 0x38], rax
jmp 0x14006370c
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140069398
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x88
ret
Function at 0x140063780
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x140063814
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
jmp 0x1400637b8
cmp dword [rsp + 0x30], 0
jge 0x140063835
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14006392b
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x140063853
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x140063916
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14004de30
lea rcx, [rsp + 0x50]
call fcn.14004ddc0
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140063907
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x40], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x50]
call fcn.14004ddd0
mov rax, qword [rsp + 0x48]
jmp 0x14006392b
lea rcx, [rsp + 0x50]
call fcn.14004ddd0
jmp 0x140063849
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
add rsp, 0x78
ret
Function at 0x140063930
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call
Parse pe header
Query environment variable
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xc0000004
jne 0x1400639d1
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x28]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x28]
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x38], eax
jmp 0x140063975
cmp dword [rsp + 0x38], 0
jge 0x1400639f2
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140063e65
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x140063a10
Function at 0x1400643c0
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
lea rcx, [0x140079bc0]
call fcn.140060140
test rax, rax
jne 0x1400643f4
movzx eax, word [0x140079c00]
test eax, eax
jne 0x1400643f4
cmp qword [0x140079c08], 0
je 0x1400643f9
jmp 0x1400645b7
lea rcx, [0x14006db00]
call fcn.1400571c0
mov r8b, 1
mov rdx, rax
lea rcx, [0x14006d688]
call fcn.140063930
mov dword [0x140079bfc], eax
xor edx, edx
mov eax, dword [0x140079bfc]
mov ecx, 0x1000
div ecx
mov eax, edx
mov word [0x140079c00], ax
mov r8d, 1
xor edx, edx
lea rcx, [0x14006d698]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x140079c08], rax
lea rcx, [rsp + 0x98]
call fcn.140065410
nop
lea rax, [0x140079dc8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.14005d300
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call fcn.140065570
jmp 0x140064495
lea rcx, [rsp + 0x40]
call fcn.1400654f0
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140065530
movzx eax, al
test eax, eax
je 0x140064547
lea rcx, [rsp + 0x40]
call fcn.140065510
lea rcx, [rsp + 0x88]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x58], rax
lea rax, [0x140064720]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.1400666e0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x98]
call fcn.1400645d0
nop
lea rcx, [rsp + 0xb0]
call fcn.140063430
jmp 0x14006448b
lea rax, [rsp + 0x98]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400571c0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x50]
call fcn.140055cc0
mov qword [rsp + 0x78], rax
jmp 0x140064582
mov rax, qword [rsp + 0x38]
add rax, 0x10
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x38], rax
je 0x1400645aa
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400634f0
jmp 0x140064574
lea rcx, [rsp + 0x98]
call fcn.1400653f0
mov rax, qword [rsp + 0xe0]
add rsp, 0xc8
pop rdi
pop rsi
ret
Function at 0x1400680a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rcx, qword [rsp + 0xa0]
call fcn.1400571d0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x98]
call fcn.1400571d0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400571d0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x88]
call fcn.1400571d0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400685d0
nop
lea rax, [0x1400686b0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x30]
call fcn.1400571c0
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x140068194
lea rcx, [rsp + 0x30]
call fcn.14005fe50
jmp 0x1400681af
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x30]
call fcn.140068420
add rsp, 0x78
ret

Function at 0x140086550
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbp, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14008657c
xor al, al
jmp 0x1400866a0
movdqa xmm0, xmmword [0x1400a6ae0]
movdqa xmm1, xmmword [0x1400a6af0]
mov rax, qword [r9]
xor r11d, r11d
mov qword [rsp + 0x50], r12
mov rcx, r8
movdqa xmmword [rsp], xmm0
movdqa xmm0, xmmword [0x1400a6b00]
movdqa xmmword [rsp + 0x10], xmm1
lea r12, [r8 + rax]
mov edx, r11d
movdqa xmm1, xmmword [0x1400a6b10]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmmword [rsp + 0x30], xmm1
test rbx, rbx
je 0x140086692
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1400865f9
mov r11d, 2
jmp 0x14008661d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x140086613
mov r11d, 1
jmp 0x14008661d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, r12
ja 0x1400866b5
mov eax, r10d
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov eax, r10d
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x14008665a
mov byte [rcx + 2], 0x3d
jmp 0x14008666a
shr r10, 6
and r10d, 0x3f
movzx eax, byte [rsp + r10]
mov byte [rcx + 2], al
add rcx, 3
add r8, 3
test r11, r11
je 0x14008667c
mov byte [rcx], 0x3d
jmp 0x140086683
movzx eax, byte [rsp + r9]
mov byte [rcx], al
inc rcx
inc r8
cmp rdx, rbx
jb 0x1400865e0
sub rcx, rsi
mov al, 1
mov qword [rbp], rcx
mov r12, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
xor al, al
jmp 0x14008669b
Function at 0x14009371c
Capabilities:
Execute command

Disassembly:
jle 0x1400547ac
call fcn.1401143c8
mov bh, dh
int3

Function at 0x14015db06
Capabilities:
Encode data using xor
Execute command

Disassembly:
add byte [rsp + 0x38], 0xb5
call fcn.14016b6b2

Function at 0x140179055
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rsp + 0x70]
lea rbx, [r11 + rbx*4 + 0x2d506acb]
call fcn.1402137e8

Function at 0x14017d634
Capabilities:
Encode data using xor

Disassembly:
add qword [rsp + 0x10], 0xffffffffbfdf2fa2
mov ebp, 0x1a182779
add ebp, 0x214a7b6f
mov r13, qword [rsp + 0x38]
add qword [rsp + 8], 0xffffffffbfe7d8ea
xor rbp, 0x54441900
movzx rbx, word [rsp + 0x48]
cmp byte [rsp + 0x48], bl
mov rbx, qword [rsp + 0x58]
not ebp
jne 0x1401d3a5e
cmp ebp, dword [rsp + 0x4a]
call fcn.1401fa287
push rbp
scasd eax, dword [rdi]
sbb eax, 0xa683220c
invalid

Function at 0x1401bcd3d
Capabilities:
Encode data using xor

Disassembly:
push 0x4c652b7f
lea rcx, [rcx + 1]
mov qword [rsp], 0xb5e10ff
push rbp
pushfq
add dword [rsp + 0x10], 0x21d25fa
movabs rbp, 0xa505bb5fd55ba5
mov bp, word [rsp + 0x11]
add ebp, ebp
mov qword [rsp + 0x38], rcx
add qword [rsp + 0x28], 0xfffffffffffe78ba
bswap ebp
push r11
xor qword [rsp + 0x18], rbp
nop
movabs r11, 0x53b652372d260ff5
movabs rcx, 0x7a9945ff26f9777b
xor cl, r11b
bswap ebp
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
or bp, r11w
mov qword [rsp + 0x30], r11
call fcn.140131b5f
mov dh, 0xb3
invalid

Function at 0x1401d5c81
Capabilities:
Encode data using xor

Disassembly:
and esi, ebx
invalid
mov rax, qword [rsp + 0x20]
push r14
pushfq
and rdx, 0x36cb31c9
push r8
mov r8, qword [rsp + 0x10]
lea rax, [rax + rdx - 0x2003003f]
or dx, dx
push rbx
call fcn.1401ba04c
call fcn.140082a56
test byte [rcx], ch
jge 0x1401d5c66
jbe 0x1401d5d2d
test byte [rdi - 0x1c2ad334], al
xchg eax, edx
rcl esp, 0x74
sti
invalid
je 0x1401d5d7d
pop rax
retf 0x632b
invalid
invalid
xor byte [rdi + rcx], ch
jns 0x1401d5d69
ror dword [rsi], cl
cmp bh, byte [rdx]
add dh, byte [rbp + 0x4a63ea62]
movabs al, byte [0x1800f8f2de677f8f]
jne 0x1401d5d32
push rbx
adc dl, byte [rcx - 0x498ff95]
int3

Function at 0x140200eab
Capabilities:
Encode data using xor

Disassembly:
sete byte [rsp + 0x40]
je 0x1402089cb
push qword [rsp + 0x50]
popfq
lea rsp, [rsp + 0x58]
ret

Function at 0x14024ed7c
Capabilities:
Encode data using xor

Disassembly:
mov esp, 0xa024
add byte [rax - 9], cl
invalid
test edi, eax
mov esp, 0xf749fffa
not r13
and al, 0x30
test r11d, r11d
mov qword [rsp + 0x38], rdi
push r13
not r11d
call fcn.1400f68bb
sbb dword [rdx + 0x5c], ecx
push rbx
xor eax, 0x4c228fce
push 0x75
jno 0x14024ed79
stosd dword [rdi], eax
insd dword [rdi], dx
pop rax
ror dword [rdx], 1
jl 0x14024ed69
jp 0x14024ed2e
and dl, byte [rdi]
mov bh, 0x75
and ebp, esi
mov edx, 0xdd4faee9
or byte [rbx - 0x38], al
retf 0x1a0a
Function at 0x14026104e
Capabilities:
Parse pe header
Query environment variable
Resolve function by parsing pe exports

Disassembly:
and r12d, r9d
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
movsxd r9, dword [rsp + 0x28]
mov qword [rsp + 0x20], r9
push r13
test word [rsp + 0x28], r12w
mov r13, qword [rsp + 0x30]
lea rcx, [rcx + 0x74022d73]
mov qword [rsp + 0x18], 0x36f47273
lea r12, [r12 + r12 + 0x4f4c603f]
not qword [rsp + 0x18]
movsx r13w, r13b
not dword [rsp + 0x38]
not r12b
xchg qword [rsp + r9 - 0x31c0788], rcx
call fcn.140089020

Function at 0x14038e2cc
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor dword [rsp], ebx
test spl, 0xd0
pop rsi
movsxd rbx, ebx
add rdi, rbx
jmp rdi
push rsi
movsx esi, cx
movzx rsi, sp
pushfq
rcl esi, 0x71
push r10
movzx rsi, r11w
push r15
mov rsi, rsi
rol si, cl
btc si, r12w
push rdx
bt rdx, 0xe6
btc si, bp
bts dx, ax
push rax
rdtsc
push r11
push r13
rcr r11d, 0xf5
cwde
rcl rdx, 0xf3
push r12
push r9
rcr r9w, cl
movsxd rsi, r10d
cwd
push rcx
rcl sil, cl
rcr r9b, 0x40
push rdi
cdqe
bts r11, rsp
mov r9, rdi
push rbx
push r14
rdtsc
btc r11, r12
movsx r11, r11w
push rbp
bt ax, r10w
not bpl
push r8
movabs rax, 0
stc
movzx rdx, si
rol r11b, cl
push rax
btr r11w, 0xb2
movzx r11, di
mov rbp, qword [rsp + 0x90]
rcl bl, cl
ror ebp, 3
mov si, 0x5eec
setne sil
bswap rdi
inc ebp
bts rsi, r8
add dil, 0x44
mov r9b, 0xc6
not ebp
shr dh, 0x4f
shld edi, r11d, 0xe3
and dil, r8b
neg ebp
rcr dil, 0xfb
add rbp, rax
or bl, bl
bt bx, si
movabs r9, 0x100000000
add rbp, r9
mov r11, rsp
xor bl, 1
cmp spl, bl
sub rsp, 0x180
cmove si, r14w
and rsp, 0xfffffffffffffff0
cqo
bt di, 0x8b
cmovno bx, r11w
mov rsi, rbp
and dl, 0x74
movabs rdx, 0
test rsp, 0x2ae33ab5
sub rsi, rdx
adc di, 0x5f8e
add bx, r8w
xor dil, bpl
lea rdi, [0x14038e3f9]
xchg bx, bx
mov ebx, dword [rbp + riz]
cmp r15d, 0x225855c4
add rbp, 4
xor ebx, esi
test r9b, dl
bswap ebx
add ebx, 0x4f0a521c
test r15b, 0xf5
not ebx
test r14w, sp
sub ebx, 0x473a35bf
bswap ebx
push rsi
jmp 0x140352f95

Function at 0x1403d8eb7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push qword [rsp + 0x48]
popfq
lea rsp, [rsp + 0x50]
call fcn.1408e5ba5
Function at 0x1403d8ec8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
jmp 0x140820de5
call rax
jmp 0x140820f2f
sub eax, eax
jmp 0x140820f2f
test rax, rax
jmp 0x140820ded
je 0x140820d36
cmp r11, rsi
jne 0x140820e9d
cmp byte [rsp + 0x180], dil
jmp 0x140820e09
je 0x140820e84
lea rax, [rsp + 0x40]
shl rdx, cl
sub rbp, rax
rdtsc
mov dl, r8b
bts ecx, r11d
nop
movzx edx, r10w
cwd
bt ax, dx
lea rdx, [rsp + rdi + 0x40]
mov ecx, edi
mov eax, 0x31206d0c
jmp 0x140820e40
rol eax, cl
cmc
clc
test r8w, 0x7b85
add al, dil
xor al, byte [rdx + rbp]
jmp 0x140820e55
mov byte [rdx], al
jmp 0x140820e5c
je 0x140820e7d
inc rdi
stc
jmp 0x140820e6b
cmp rdi, 0x104
jmp 0x140820e77
jb 0x140820e2e
lea rbp, [rsp + 0x40]
cdqe
mov rdx, rbp
mov rcx, rsi
not ax
cmovno rax, rcx
mov rax, qword [0x1403d2160]
jmp 0x1407d0014
cmp byte [rbx + 1], 0x23
lea rdx, [rbx + 1]
jne 0x140820f12
movzx edx, byte [rbx + 2]
add rbx, 2
test dl, dl
jmp 0x140820eba
je 0x140820f0f
nop
movzx rax, bp
movsx rax, ax
lea eax, [rdx - 0x30]
jmp 0x140820ed1
inc rbx
stc
cmp sp, 0x1de3
cmp al, 9
jmp 0x140820ee1
ja 0x140820f0f
movsx eax, dl
cqo
btr cx, 0x99
cdq
movzx edx, byte [rbx]
lea ecx, [rdi + rdi*4]
sub edi, r15d
ror edi, 0xd3
rcr edi, cl
lea edi, [rax + rcx*2 - 0x30]
cmp bpl, al
test dl, dl
jne 0x140820ec9
movsxd rdx, edi
sub r8d, r8d
mov rcx, r11
jmp 0x140820f1d
call fcn.1408209b2
jmp 0x140820f2f
mov rbx, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x150]
clc
shr bpl, 0xd1
add rsp, 0x158
mov sil, r12b
movzx si, r12b
xchg ebp, esi
pop rsi
cmova bp, sp
setp bpl
pop rbp
jmp 0x140820f64
ret

Function at 0x1407720c0
Capabilities:
Encode data using xor

Disassembly:
mov rbp, qword [rsp + 0x38]
add qword [rsp], 0xffffffffbfbf4f06
add byte [rsi], al
movabs r15, 0x42c600064189e8bf
adc dword [rcx - 0xd], 0x51833324
lea esp, [rdi - 0x7c]
jo 0x14077208f
or ecx, esp
invalid
Function at 0x140850242
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rsi
movsx esi, cx
movzx rsi, sp
pushfq
rcl esi, 0x71
push r10
movzx rsi, r11w
push r15
mov rsi, rsi
rol si, cl
btc si, r12w
push rdx
bt rdx, 0xe6
btc si, bp
bts dx, ax
push rax
rdtsc
push r11
push r13
rcr r11d, 0xf5
cwde
rcl rdx, 0xf3
push r12
push r9
rcr r9w, cl
movsxd rsi, r10d
cwd
push rcx
rcl sil, cl
rcr r9b, 0x40
push rdi
cdqe
bts r11, rsp
mov r9, rdi
push rbx
push r14
rdtsc
btc r11, r12
movsx r11, r11w
push rbp
bt ax, r10w
not bpl
push r8
movabs rax, 0
stc
movzx rdx, si
rol r11b, cl
push rax
btr r11w, 0xb2
movzx r11, di
mov rbp, qword [rsp + 0x90]
rcl bl, cl
ror ebp, 3
mov si, 0x5eec
setne sil
bswap rdi
inc ebp
bts rsi, r8
add dil, 0x44
mov r9b, 0xc6
not ebp
shr dh, 0x4f
shld edi, r11d, 0xe3
and dil, r8b
neg ebp
rcr dil, 0xfb
add rbp, rax
or bl, bl
bt bx, si
movabs r9, 0x100000000
add rbp, r9
mov r11, rsp
xor bl, 1
cmp spl, bl
sub rsp, 0x180
cmove si, r14w
and rsp, 0xfffffffffffffff0
cqo
bt di, 0x8b
cmovno bx, r11w
mov rsi, rbp
and dl, 0x74
movabs rdx, 0
test rsp, 0x2ae33ab5
sub rsi, rdx
adc di, 0x5f8e
add bx, r8w
xor dil, bpl
lea rdi, [0x14085036f]
xchg bx, bx
mov ebx, dword [rbp + riz]
cmp r15d, 0x225855c4
add rbp, 4
xor ebx, esi
test r9b, dl
bswap ebx
add ebx, 0x4f0a521c
test r15b, 0xf5
not ebx
test r14w, sp
sub ebx, 0x473a35bf
bswap ebx
push rsi
jmp 0x1408d72e0
xor dword [rsp], ebx
test spl, 0xd0
pop rsi
movsxd rbx, ebx
add rdi, rbx
jmp rdi
Function at 0x1400012f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14009e010]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400013a3
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x12c
call fcn.140057a80
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x14000139a
nop dword [rax]
nop word [rax + rax]
lea r8, [rsp + 0x4c]
mov rax, rdi
sub r8, rdi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001383
inc rax
test ecx, ecx
jne 0x140001370
mov rcx, rbx
test edx, edx
je 0x1400013c6
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x140001360
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400530b0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1400013a5

Function at 0x1400024e0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x14009e010]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rax, qword gs:[0x30]
mov ebp, ecx
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov r14, qword [rax + 0x10]
nop
mov rbx, qword [r14 + 0x30]
movsxd rax, dword [rbx + 0x3c]
mov rdx, qword [rax + rbx + 0x88]
mov r15, rdx
mov esi, edx
shr r15, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x1400025bd
mov edi, dword [rsi + 0x18]
xor r11d, r11d
test edi, edi
je 0x1400025bd
mov r10d, dword [rsi + 0x20]
add r10, rbx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r10]
mov r9d, 0x811c9dc5
add rax, rbx
movzx r8d, byte [rax]
inc rax
test r8b, r8b
je 0x1400025ac
nop dword [rax + rax]
movsx ecx, r8b
lea rax, [rax + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rax - 1]
cmova edx, ecx
xor edx, r9d
imul r9d, edx, 0x1000193
test r8b, r8b
jne 0x140002580
cmp r9d, ebp
je 0x1400025c5
inc r11d
add r10, 4
cmp r11d, edi
jb 0x140002560
mov r14, qword [r14]
jmp 0x140002520
mov eax, dword [rsi + 0x24]
mov ecx, dword [rsi + 0x1c]
add rax, rbx
add rcx, rbx
movzx edx, word [rax + r11*2]
mov r8d, dword [rcx + rdx*4]
add r8, rbx
cmp r8, rsi
jbe 0x1400025f9
lea rax, [r15 + rsi]
cmp r8, rax
jae 0x1400025f9
mov edx, 0x811c9dc5
mov ecx, edx
call fcn.140002630
jmp 0x1400025fc
mov rax, r8
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1400530b0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14001bdf0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14009e010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r15, rdx
mov r12, rcx
mov qword [rbp - 0x40], rdx
xor r13d, r13d
mov ebx, r13d
mov dword [rsp + 0x30], ebx
mov rdi, qword [rcx]
movzx eax, byte [rdi + 0x30]
test al, al
je 0x14001be53
mov byte [rdx], al
mov eax, dword [rdi + 0x38]
mov dword [rdx + 8], eax
lea rdx, [rdi + 0x40]
lea rcx, [r15 + 0x10]
call fcn.140003290
jmp 0x14001c0d7
mov rcx, qword [rdi + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x14001be73