joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140048dd0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140048ddd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140048ded
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140048dd5
lea eax, [rcx + 1]
jmp 0x140048dfb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140048e0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140048df4
sub eax, 3
jb 0x140048e2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140048e7d
sar eax, 1
movsxd rbp, eax
jb 0x140048e64
jmp 0x140048e3c
add ebx, ebx
jne 0x140048e3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140048e64
inc ecx
add ebx, ebx
jne 0x140048e4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140048e64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140048e5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140048e4c
add ecx, 2
jmp 0x140048e69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140048d92
jmp 0x140048ddd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2b200
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140048ec9
cmp rsi, rcx
jae 0x140048ed1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140048eb0
cmp al, 0x8f
ja 0x140048eb0
cmp byte [rsi - 2], 0xf
je 0x140048eb6
sub al, 0xe8
cmp al, 1
ja 0x140048e9a
cmp rsi, rcx
jae 0x140048ed1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140048ea0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140048ed1
lodsb al, byte [rsi]
jmp 0x140048eb0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x46000]
mov eax, dword [rdi]
or eax, eax
je 0x140048f2e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x491dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140048ede
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140048f28
mov qword [rbx], rax
add rbx, 8
jmp 0x140048efe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140048f68
cmp al, 0xef
ja 0x140048f5a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140048f3a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140048f49
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140048fbc
sub rsp, 0xffffffffffffff80
jmp 0x14000db68
Function at 0x4017b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x00407054]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x4018ca
mov rax, qword [0x00407058]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x4017fe
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x4018b0
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x4017e2
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x401902
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x00407058]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x00407058]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4018e5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4018a9
sub eax, 0x40
and eax, 0xffffffbf
je 0x4018a9
mov r9, rbp
add r9, qword [0x00407058]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4018d1
add dword [0x00407054], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.memcpy
xor ebp, ebp
jmp 0x40180b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
mov rax, qword [0x00407058]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbp + 8]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call dbg.__report_error
nop
nop word cs:[rax + rax]

Function at 0x4024e0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x4024f0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x402500
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402541
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402538
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x402543
add rax, 0x28
cmp rax, r9
jne 0x402524
xor eax, eax
repz ret

Function at 0x4025f0
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x004042f0]
cmp word [rbx], 0x5a4d
je 0x402610
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402604
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp dbg._FindPESection
Function at 0x14000aa80
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movzx r12d, r9b
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
mov qword [rsp + 0x30], r14
mov ecx, r14d
mov qword [rsp + 0x38], rcx
mov dword [r11 - 0x58], 0x67452301
mov dword [r11 - 0x54], 0xefcdab89
mov dword [r11 - 0x50], 0x98badcfe
mov dword [r11 - 0x4c], 0x10325476
test r8, r8
je 0x14000ab5e
cmp r8, 0x40
jb 0x14000ab32
mov rbp, r8
shr rbp, 6
imul rax, rbp, 0xffffffffffffffc0
add rdi, rax
nop dword [rax]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000a0a0
add rbx, 0x40
add qword [rsp + 0x30], 0x40
sub rbp, 1
jne 0x14000ab10
mov rcx, qword [rsp + 0x38]
test rdi, rdi
je 0x14000ab5e
nop word [rax + rax]
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rsp + rcx + 0x40], al
mov rcx, qword [rsp + 0x38]
inc rcx
mov qword [rsp + 0x38], rcx
sub rdi, 1
jne 0x14000ab40
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.14000a890
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov dword [rsp + 0x24], 2
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rsi
call fcn.140008970
mov qword [rsi + 0x10], r14
lea rbp, str.0123456789abcdef
movzx edi, byte [rsp + 0x20]
movzx ebx, byte [rsp + 0x20]
nop
movzx r15d, byte [rsp + r14 + 0x90]
mov eax, r15d
shr rax, 4
movzx r9d, byte [rax + rbp]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x14000abf1
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x14000abe6
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000ac02
movzx r8d, dil
mov edx, 1
mov rcx, rsi
call fcn.140008ac0
and r15d, 0xf
movzx r9d, byte [r15 + rbp]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x14000ac37
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x14000ac2c
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000ac48
movzx r8d, bl
mov edx, 1
mov rcx, rsi
call fcn.140008ac0
inc r14
cmp r14, 0x10
jl 0x14000abb0
test r12b, r12b
je 0x14000ac92
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14000ac6c
mov rcx, qword [rsi]
mov rdx, rcx
jmp 0x14000ac6f
mov rdx, rsi
mov rbx, rcx
mov rdi, qword [rsi + 0x10]
add rdi, rdx
cmp rcx, rdi
je 0x14000ac92
nop
movsx ecx, byte [rbx]
call fcn.1400b66b4
mov byte [rbx], al
inc rbx
cmp rbx, rdi
jne 0x14000ac80
mov rax, rsi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400ab140
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000ad70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x208
xor edi, edi
call fcn.1400dc480
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ecx, eax
lea rdx, [rsp + 0x30]
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x14000adff
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x14000adff
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x14000adff
lea rax, [rsp + 0x40]
xor ecx, ecx
lea edx, [rdi + 0x1c]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x14000ae20
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140004740
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400ab140
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x14000dd70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
mov rdi, rax
call fcn.1400dc480
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000de01
nop dword [rax]
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x14000dddd
mov rdx, qword [rbx]
lea rcx, [rsp + 0x4c]
call fcn.1400b6ccc
mov rcx, rdi
test eax, eax
je 0x14000de7d
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000ddd0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14000de49
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000de44
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000dec8
mov rcx, r8
call fcn.1400ab160
xor ecx, ecx
xor eax, eax
mov word [rbx], cx
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rcx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400ab140
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
mov edi, dword [rsp + 0x28]
cmp rdx, 7
jbe 0x14000dec2
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000debd
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000dec8
mov rcx, r8
call fcn.1400ab160
xor ecx, ecx
mov eax, edi
jmp 0x14000de4d
call fcn.1400b57a8
int3
Function at 0x14000ded0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000dff8
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14000df10
add rbx, rbx
mov dword [rsp + 0x20], 4
mov r8, rbx
mov r9d, 0x1000
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
je 0x14000dff8
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000dff8
lea rcx, str.Kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LoadLibraryW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000dff8
mov qword [rsp + 0x30], 0
mov r9, rax
mov dword [rsp + 0x28], 0
xor edx, edx
mov r8d, 0x400
mov qword [rsp + 0x20], rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test rbx, rbx
je 0x14000dff8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, 1
jmp 0x14000dffa
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400134c0
Capabilities:
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov r15, rdx
mov rbx, rcx
lea r14, [rcx + 0x10]
lea rsi, [rcx + 8]
cmp dword [rcx], 0
jne 0x14001367c
mov r8, qword [r14]
sub r8, qword [rsi]
sar r8, 4
cmp r8, 2
jle 0x14001367c
mov qword [rax - 0x38], rdx
movups xmm0, xmmword [rdx]
movups xmmword [rax - 0x48], xmm0
movups xmmword [rax - 0x30], xmm0
movsd xmm0, qword [rdx + 0x10]
movsd qword [rax - 0x20], xmm0
mov ebx, 1
mov rcx, r8
shr rcx, 1
add rcx, r8
cmp rbx, rcx
jae 0x140013538
nop
add rbx, rbx
cmp rbx, rcx
jb 0x140013530
lea rbp, [rbx*8]
mov rdx, rbp
mov rcx, r15
call fcn.140012340
mov rdi, rax
test rax, rax
jne 0x14001358d
mov rcx, qword [r15]
movups xmm0, xmmword [rsp + 0x20]
movq rdi, xmm0
cmp rcx, rdi
je 0x14001357a
mov rbx, qword [rcx]
call fcn.1400b53f0
mov rcx, rbx
cmp rbx, rdi
jne 0x140013565
movups xmm0, xmmword [rsp + 0x20]
mov qword [r15], rdi
psrldq xmm0, 8
movq qword [r15 + 8], xmm0
jmp 0x14001370d
mov r8, rbp
xor edx, edx
mov rcx, rdi
call fcn.1400dc480
mov rsi, qword [rsi]
mov r11, rsi
cmp rsi, qword [r14]
je 0x14001363f
nop dword [rax]
mov rax, qword [r11 + 8]
test rax, rax
je 0x1400135be
xor r8d, r8d
jmp 0x1400135c1
mov r8, qword [r11]
test rax, rax
cmovne r8, rax
test r8, r8
je 0x140013632
mov eax, r8d
shr eax, 0x10
xor eax, r8d
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
lea r10, [rbx - 1]
and rax, r10
xor ecx, ecx
nop dword [rax]
lea r9, [rdi + rax*8]
mov rdx, qword [r9]
test rdx, rdx
je 0x140013624
cmp rdx, r8
je 0x140013632
inc rax
add rax, rcx
and rax, r10
inc rcx
cmp rcx, r10
jbe 0x140013600
jmp 0x140013632
mov qword [r9], r8
movups xmm0, xmmword [r11]
movups xmmword [rsi], xmm0
add rsi, 0x10
add r11, 0x10
cmp r11, qword [r14]
jne 0x1400135b0
mov qword [r14], rsi
mov rcx, qword [r15]
movups xmm0, xmmword [rsp + 0x20]
movq rdi, xmm0
cmp rcx, rdi
je 0x140013669
mov rbx, qword [rcx]
call fcn.1400b53f0
mov rcx, rbx
cmp rbx, rdi
jne 0x140013654
movups xmm0, xmmword [rsp + 0x20]
mov qword [r15], rdi
psrldq xmm0, 8
movq qword [r15 + 8], xmm0
jmp 0x14001370d
mov r11, qword [r14]
mov rax, qword [rsi]
mov rdx, r11
sub rdx, rax
mov rcx, rdx
and rcx, 0xfffffffffffffff0
cmp rcx, 0x10
jle 0x1400136cb
mov r10, qword [rax]
nop dword [rax + rax]
mov r9, qword [rax + 0x10]
cmp r10, r9
jne 0x1400136b3
mov rcx, qword [rax + 0x18]
cmp qword [rax + 8], rcx
je 0x1400136cb
add rax, 0x10
sub rdx, 0x10
mov r10, r9
mov rcx, rdx
and rcx, 0xfffffffffffffff0
cmp rcx, 0x10
jg 0x1400136a0
cmp rax, r11
je 0x140013709
mov rdx, rax
add rax, 0x10
cmp rax, r11
je 0x140013705
nop dword [rax]
mov rcx, qword [rdx]
cmp qword [rax], rcx
jne 0x1400136f2
mov rcx, qword [rdx + 8]
cmp qword [rax + 8], rcx
je 0x1400136fc
movups xmm0, xmmword [rax]
add rdx, 0x10
movups xmmword [rdx], xmm0
add rax, 0x10
cmp rax, r11
jne 0x1400136e0
lea rax, [rdx + 0x10]
mov qword [rbx + 0x10], rax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x140019480
Capabilities:
Encode data using xor

Disassembly:
movzx eax, byte [rdx]
xor r8d, r8d
mov r11, rdx
mov r10, rcx
mov r9, rdx
test al, al
je 0x1400194b5
movsx eax, al
lea r9, [r9 + 1]
add eax, r8d
imul r8d, eax, 0x401
mov eax, r8d
shr eax, 6
xor r8d, eax
movzx eax, byte [r9]
test al, al
jne 0x140019493
lea eax, [r8 + r8*8]
mov ecx, eax
shr rax, 0xb
xor rax, rcx
and eax, 0x3f
mov r8, qword [r10 + rax*8]
test r8, r8
je 0x140019521
nop
mov ecx, dword [r8]
sub ecx, 1
je 0x1400194f7
sub ecx, 1
je 0x1400194f1
sub ecx, 1
je 0x1400194f1
cmp ecx, 1
je 0x1400194eb
xor eax, eax
jmp 0x1400194fb
lea rax, [r8 + 0x11]
jmp 0x1400194fb
lea rax, [r8 + 0x18]
jmp 0x1400194fb
lea rax, [r8 + 0x38]
mov r9, r11
sub r9, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x140019514
inc rax
test ecx, ecx
jne 0x140019501
test edx, edx
je 0x140019524
mov r8, qword [r8 + 8]
test r8, r8
jne 0x1400194d0
xor eax, eax
ret
mov rax, r8
ret
Function at 0x140028dc0
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 0x140028e21
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 0x140028de0
mov ecx, dword [r9]
jmp 0x140028f08
cmp ecx, 0x4e0
jb 0x140028f08
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140028e40
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140028e90
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 0x140032120
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140032202
call fcn.140047850
test al, al
jne 0x140032202
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x140032152
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.140053c00
test rax, rax
je 0x140032197
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.140053c00
mov rsi, rax
test rax, rax
je 0x140032197
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x1400321cb
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1400444e0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1400321b0
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400422c0
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x140042326
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140042309
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140042303
shr ax, 8
cmp al, 2
je 0x140042326
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400ab140
add rsp, 0x1e8
ret
call fcn.1400774c0
test eax, eax
jne 0x140042525
mov qword [rsp + 0x200], rsi
lea rcx, [0x1400e37e0]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140042366
mov qword [0x14011b378], rsi
jmp 0x1400424e2
mov qword [rsp + 0x1f0], rbx
lea rdx, str.LoadLibraryExA
mov rcx, rdi
mov qword [rsp + 0x1f8], rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rbx, str.iphlpapi.dll
mov rbp, rax
mov rcx, rbx
lea rdx, [0x1400e3800]
call fcn.1400be140
test rax, rax
je 0x1400423ca
mov rcx, rbx
test rbp, rbp
je 0x1400423bc
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x1400424aa
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x1400424aa
test rbp, rbp
je 0x1400423f9
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400423f9
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x1400424aa
xor edx, edx
mov qword [rsp + 0x1e0], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r14d, eax
test eax, eax
je 0x1400424a2
lea ecx, [rax + 1]
add rcx, 0xc
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140042499
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140042499
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x140042445
mov word [rax + rdi], 0x5c
inc rcx
cmp byte [rdi + rcx], sil
jne 0x140042456
mov rdx, rdi
sub rdx, rbx
add rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rdx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140042470
mov rcx, rdi
test rbp, rbp
je 0x140042490
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x140042496
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1400b53f0]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x14011b378], rsi
test rsi, rsi
je 0x1400424e2
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400424e2
mov qword [0x14011b370], rax
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.140077070
test al, al
lea rcx, [0x14011d030]
setne byte [0x14011d028]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rdi, qword [rsp + 0x208]
xor eax, eax
mov rsi, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400ab140
add rsp, 0x1e8
ret