joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007080
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1401f9270]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x140328af0]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140007116
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001a030
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140007120
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf0]
lea r9, [0x1401f9270]
movss xmm2, dword [rcx + 0x108]
movss xmm3, dword [rcx + 0x10c]
movsxd rcx, dword [rcx + 0xe8]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140013f50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140221880]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140328af0]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x140013fb1
cmp byte [rbx + 0x4a5e], 0
jne 0x140013fb1
movsx r9d, word [rbx + 0x5b5a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400044a0
test dil, 1
je 0x1400140d8
jmp 0x14001403a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b5a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140204c38]
mulss xmm1, dword [0x140204c28]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x3900]
mulss xmm0, dword [0x140204b6c]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.1400044a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014090
lea r11, [0x1401f9270]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140014073
cmp byte [r8], r9b
jne 0x140014073
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140014060
not ecx
call fcn.14000b1e0
test rax, rax
je 0x1400140d8
cmp byte [rax + 0xae], 0
je 0x1400140d8
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b5a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b5a]
call fcn.1400044a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d9e0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140190770
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018f00
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140328af0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018f63
mov qword [rsp], rbx
lea rbx, [0x1401f9270]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018f43
cmp byte [r8], r9b
jne 0x140018f43
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140018f30
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bb8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140018f97
mov r10, qword [r10 + 0x5bc0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140018f9e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140018f84
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14003c840
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov r8d, ecx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003c878
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
test eax, eax
jne 0x14003c880
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x14003c970
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x800
mov r11, rcx
lea rbx, str.__state_:_users_:__
sub r11, r9
mov r8, rcx
add r11, rdx
sub r9, 1
mov rax, r9
je 0x14003c9a1
cmp byte [rax + rbx], 0xcc
je 0x14003c9a1
sub rax, 1
jne 0x14003c995
mov rcx, r9
mov edx, reloc.WLDAP32.dll_Ordinal_32
sub rcx, rax
mov eax, 1
cmove rcx, rax
lea rax, [rsp]
nop dword [rax]
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
lea rax, [rax + 0x40]
mov qword [rax - 0x28], rcx
mov qword [rax - 0x20], rcx
mov qword [rax - 0x18], rcx
mov qword [rax - 0x10], rcx
mov qword [rax - 8], rcx
sub rdx, 1
jne 0x14003c9c0
mov rdx, r9
sub rdx, rcx
cmp rdx, r9
jae 0x14003ca16
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + rbx]
mov rcx, r9
sub rcx, rdx
inc rdx
mov qword [rsp + rax*8], rcx
cmp rdx, r9
jb 0x14003ca00
cmp r8, r11
ja 0x14003ca54
nop dword [rax + rax]
lea r10, [r9 + r8]
mov rdx, rbx
mov rax, r10
sub rdx, r8
nop dword [rax]
movzx ecx, byte [rdx + rax]
cmp cl, 0xcc
je 0x14003ca3d
cmp byte [rax], cl
jne 0x14003ca47
cmp rax, r8
je 0x14003ca5f
dec rax
jmp 0x14003ca30
movzx eax, byte [r10]
add r8, qword [rsp + rax*8]
cmp r8, r11
jbe 0x14003ca20
xor eax, eax
add rsp, 0x800
pop rbx
ret
mov rax, r8
add rsp, 0x800
pop rbx
ret

Function at 0x14003ca70
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140221880]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov edx, ecx
xor edi, edi
lea ecx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003caee
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x14003caee
nop
lea rdx, str.kernel32.dll
lea rcx, [rsp + 0x50]
call fcn.1401af250
test eax, eax
je 0x14003cae9
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x14003cac0
jmp 0x14003caee
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140190770
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140047be0
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x20], rdi
call fcn.140047b90
test al, al
jne 0x140047c03
lea rcx, str.Failed_to_Cleanup_DNS_Data_
call fcn.140041bd0
lea rdx, str.Security
mov qword [rsp + 0x30], rbx
xor ecx, ecx
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov rsi, rax
test rax, rax
je 0x140047c3d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ClearEventLogA]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
test ebx, ebx
setne dil
lea rdx, str.Application
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov rsi, rax
test rax, rax
je 0x140047c74
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ClearEventLogA]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
lea ecx, [rdi + 1]
test ebx, ebx
cmove ecx, edi
mov edi, ecx
lea rdx, str.System
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov rsi, rax
test rax, rax
je 0x140047cab
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ClearEventLogA]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
lea ecx, [rdi + 1]
test ebx, ebx
cmove ecx, edi
mov edi, ecx
mov rsi, qword [rsp + 0x38]
cmp edi, 3
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
je 0x140047ccb
lea rcx, str.Failed_to_Cleanup_Eventlog_Data_
call fcn.140041bd0
mov eax, 1
add rsp, 0x28
ret
Function at 0x1400607a0
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
lea rcx, str.ntoskrnl.exe
xor edx, edx
movzx ebp, r8b
mov rbx, r9
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
test rax, rax
je 0x1400607fb
mov r8d, 2
mov rdx, rsi
mov rcx, rax
call fcn.14005fa30
mov rsi, rax
mov rcx, rdi
test rax, rax
jne 0x1400607ff
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x140060815
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
test bpl, bpl
cmovne rbx, rax
sub rbx, rdi
lea rax, [rsi + rbx]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140061730
Capabilities:
Create service
Modify service
Persist via windows service
Start service

Disassembly:
push rbx
sub rsp, 0x70
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
jne 0x140061755
lea eax, [rbx + 1]
add rsp, 0x70
pop rbx
ret
mov qword [rsp + 0x80], rbp
lea r8, str.wnbios
mov qword [rsp + 0x88], rsi
lea rbp, str.C:WindowsSystem32driverswnbios.sys
xor esi, esi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x60], rsi
lea rdx, str.wnbios
mov qword [rsp + 0x58], rsi
mov r9d, 0xf01ff
mov qword [rsp + 0x50], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rdi, rax
test rax, rax
jne 0x140061840
mov r8d, 0xf01ff
lea rdx, str.wnbios
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x1400617fd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [rsi + 2]
jmp 0x14006187c
mov qword [rsp + 0x50], rsi
mov edx, 1
mov qword [rsp + 0x48], rsi
mov r9d, edx
mov qword [rsp + 0x40], rsi
mov rcx, rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea r8d, [rdx + 1]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x140061840
mov eax, 3
jmp 0x14006187c
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
mov rcx, rdi
test eax, eax
jne 0x14006186b
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 4
jmp 0x14006187c
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x90]
add rsp, 0x70
pop rbx
ret
Function at 0x140092890
Capabilities:
Create thread
Encode data using xor
Generate random numbers using a mersenne twister
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x18e0
call fcn.140191300
sub rsp, rax
mov rax, qword [0x140221880]
xor rax, rsp
mov qword [rsp + 0x18d0], rax
movzx esi, r8b
mov rbx, rdx
mov rbp, rcx
call fcn.1401921e4
mov dword [rsp + 0x544], eax
mov edx, 1
mov r9d, 0x270
mov dword [rsp + 0x18c4], 0xffffffff
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x544], eax
inc rdx
cmp rdx, r9
jb 0x1400928f0
mov dword [rsp + 0x540], r9d
lea r8, [rsp + 0x548]
nop
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 r9, 1
jne 0x140092920
mov eax, dword [rsp + 0x540]
mov rdx, rbx
mov qword [rsp + 0x28], r9
mov dword [rsp + 0x20], 4
mov ecx, dword [rsp + rax*4 + 0x544]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x18c4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
movzx eax, ax
imul r8d, eax, 0xcde01848
mov eax, r8d
mov dword [rsp + 0x30], r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr eax, 8
movzx eax, al
add ecx, eax
mov eax, r8d
shr eax, 0x18
add ecx, eax
movzx eax, r8b
add ecx, eax
imul eax, ecx, 0xacf45
xor ecx, ecx
mov dword [rsp + 0x34], eax
mov r8, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140092a9e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
mov dword [rsp + 0x38], eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x48], 0
lea r8, [rsp + 0x50]
movsd xmm1, qword [rsp + 0x48]
lea rcx, [0x140322ca0]
mov qword [rsp + 0x40], rax
mov edx, ebx
movups xmm0, xmmword [rsp + 0x38]
movsd qword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400df1b0
lea rdx, [rsp + 0x70]
mov dword [rsp + 0xa0], 0x10001f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0xf0], rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test sil, sil
je 0x140092a9e
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x18d0]
xor rcx, rsp
call fcn.140190770
mov rbx, qword [rsp + 0x1910]
add rsp, 0x18e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b4cd0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400b4cf2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400b4d6c
mov rdi, r14
mov rcx, rbx
call fcn.1400bc990
test rax, rax
jle 0x1400b4d44
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1401d15a0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400b4d5c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x1400b4d64
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400b4d06
sub r14, rdi
jmp 0x1400b4e4f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400b4d83
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400b4d85
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400b4db7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1401d15a0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400b4e4c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400b4df2
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
cmp rbp, 0xfff
jbe 0x1400b4e2d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1401a6304
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400b4e4c
cmp rbp, rax
ja 0x1400b4e00
test rbp, rbp
je 0x1400b4e4c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1401a6304
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1400b7000
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 0x1400b7061
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 0x1400b7020
mov ecx, dword [r9]
jmp 0x1400b714b
cmp ecx, 0x4e0
jb 0x1400b714b
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 0x1400b7080
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 0x1400b70d0
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 0x1400be1b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 4], edx
lea r9, [rcx + 8]
mov eax, 1
nop dword [rax]
mov r8d, edx
lea r9, [r9 + 4]
shr r8d, 0x1e
xor r8d, edx
imul edx, r8d, 0x6c078965
add edx, eax
inc rax
mov dword [r9 - 4], edx
cmp rax, 0x270
jb 0x1400be1c0
mov dword [rcx], 0x270
ret
Function at 0x14013c4a0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14013c582
call fcn.140152e60
test al, al
jne 0x14013c582
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14013c4d2
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.14015dea0
test rax, rax
je 0x14013c517
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.14015dea0
mov rsi, rax
test rax, rax
je 0x14013c517
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 0x14013c54b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.14014e4c0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x14013c530
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 0x14014c330
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x140221880]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x14014c396
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14014c379
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x14014c373
shr ax, 8
cmp al, 2
je 0x14014c396
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140190770
add rsp, 0x1e8
ret
call fcn.140182200
test eax, eax
jne 0x14014c595
mov qword [rsp + 0x200], rsi
lea rcx, [0x1401ddaa8]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x14014c3d6
mov qword [0x140327238], rsi
jmp 0x14014c552
mov qword [rsp + 0x1f0], rbx
lea rdx, [0x1402005d8]
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, [0x1401ddab4]
call fcn.1401b1f70
test rax, rax
je 0x14014c43a
mov rcx, rbx
test rbp, rbp
je 0x14014c42c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x14014c51a
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x14014c51a
test rbp, rbp
je 0x14014c469
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14014c469
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x14014c51a
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 0x14014c512
lea ecx, [rax + 1]
add rcx, 0xc
call qword [fcn.1401ab860]
mov rdi, rax
test rax, rax
je 0x14014c509
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14014c509
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x14014c4b5
mov word [rax + rdi], 0x5c
inc rcx
cmp byte [rdi + rcx], sil
jne 0x14014c4c6
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 0x14014c4e0
mov rcx, rdi
test rbp, rbp
je 0x14014c500
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x14014c506
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1401a6090]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x140327238], rsi
test rsi, rsi
je 0x14014c552
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14014c552
mov qword [0x140327230], rax
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.140181db0
test al, al
lea rcx, [0x140329f60]
setne byte [0x140329f5c]
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.140190770
add rsp, 0x1e8
ret