joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fb740
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1403f3868]
mov rdi, qword [0x1403f38d0]
test rax, rax
jne 0x1400fb997
movdqa xmm1, xmmword [0x14033ba90]
lea r9d, [rax + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x48], xmm0
xor edx, edx
lea r8, [0x1403efc60]
movdqu xmmword [rsp + 0x58], xmm1
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x48], al
mov qword [rsp + 0x58], rax
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14010d2c0
mov r9, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
sub r9, rbx
lea rcx, [r9 - 1]
test rcx, rcx
je 0x1400fb7ce
nop dword [rax + rax]
movzx eax, byte [rbx + rcx - 1]
sub byte [rbx + rcx], al
sub rcx, 1
jne 0x1400fb7c0
xor edx, edx
test r9, r9
je 0x1400fb85f
cmp r9, 0x40
jb 0x1400fb848
movdqa xmm2, xmmword [0x14033bb10]
lea rax, [rbx + 0x20]
mov rcx, r9
and rcx, 0xffffffffffffffc0
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
add rdx, 0x40
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x50]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp rdx, rcx
jb 0x1400fb7f2
cmp rdx, r9
jae 0x1400fb85f
mov rcx, r9
lea rax, [rbx + rdx]
sub rcx, rdx
xor byte [rax], 0x62
lea rax, [rax + 1]
sub rcx, 1
jne 0x1400fb852
lea rdx, [rbx + 8]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400fb870
lea rax, [r9 - 8]
cmp r8, rax
jb 0x1400fb887
lea r8, [r9 - 9]
lea rcx, [rsp + 0x48]
call fcn.14001aef0
test rbx, rbx
je 0x1400fb8cb
mov rdx, qword [rsp + 0x40]
mov rax, rbx
sub rdx, rbx
cmp rdx, 0x1000
jb 0x1400fb8c3
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fb9c6
mov rcx, rbx
call fcn.14022d284
cmp qword [rsp + 0x60], 0x10
lea rbx, [rsp + 0x48]
cmovae rbx, qword [rsp + 0x48]
call fcn.1400fb3b0
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x60]
mov qword [0x1403f3868], rax
test rax, rax
jne 0x1400fb949
cmp rdx, 0x10
jb 0x1400fb936
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fb931
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fb9c6
call fcn.14022d284
mov eax, 0xc0000138
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
cmp rdx, 0x10
jb 0x1400fb984
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fb978
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fb9c6
call fcn.14022d284
mov rax, qword [0x1403f3868]
movdqa xmm0, xmmword [0x14033ba90]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov r9d, 0x20
mov dword [rsp + 0x20], 0
lea r8, str.ChainingModeCBC
mov rcx, rdi
lea rdx, str.ChainingMode
call rax
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call fcn.1402c2874
int3
Function at 0x1400fd9f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rsi, rdx
mov edi, ecx
xor r14d, r14d
mov ebx, r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
movdqa xmm1, xmmword [0x14033ba70]
movdqu xmmword [rbp + 0x27], xmm1
mov word [rbp + 0x17], r14w
movups xmmword [rbp - 9], xmm0
movdqu xmmword [rbp + 7], xmm1
mov word [rbp - 9], r14w
mov qword [rbp + 0x7f], r14
lea rdx, [rbp + 0x17]
lea ecx, [r14 + 0xf]
call fcn.1401069e0
lea rdx, [rbp - 9]
lea ecx, [r14 + 0x10]
call fcn.1401069e0
test edi, edi
jne 0x1400fdadc
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rdx, qword [rbp + 0x17]
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
mov edi, 1
mov r9d, edi
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400fdb57
mov dword [rbp + 0x67], r14d
mov dword [rbp + 0x77], 4
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x67]
xor r8d, r8d
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400fdb57
cmp dword [rbp + 0x67], 4
jne 0x1400fdb57
mov ebx, edi
jmp 0x1400fdb57
cmp edi, 1
jne 0x1400fdb57
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rdx, qword [rbp + 0x17]
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400fdb57
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rsi
lea r9d, [rdi + 3]
xor r8d, r8d
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
cmove ebx, edi
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1400fdb67
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x1400fdba3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fdb9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fdc07
call fcn.14022d284
movdqa xmm0, xmmword [0x14033ba70]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], r14w
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x1400fdbf1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fdbec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fdc01
call fcn.14022d284
mov eax, ebx
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1402c2874
nop
call fcn.1402c2874
nop
int3
Function at 0x140106170
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x14033ba70]
movdqu xmmword [rsp + 0x60], xmm1
xor edi, edi
mov word [rsp + 0x50], di
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], di
mov qword [rbp + 0xa8], rdi
mov dword [rbp + 0x98], edi
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x70]
call fcn.1402a1a30
mov dword [rbp + 0xa0], 0xfe
lea rdx, [rsp + 0x50]
lea ecx, [rdi + 0x13]
call fcn.1401069e0
lea rdx, [rsp + 0x30]
lea ecx, [rdi + 0x14]
call fcn.1401069e0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140106290
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x98]
xor r8d, r8d
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140106282
cmp dword [rbp + 0x98], 1
jne 0x140106282
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140105840
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1401062ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401062c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106330
call fcn.14022d284
movdqa xmm0, xmmword [0x14033ba70]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], di
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14010631f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010631a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010632a
call fcn.14022d284
add rsp, 0x170
pop rdi
pop rbx
pop rbp
ret
call fcn.1402c2874
nop
call fcn.1402c2874
nop
int3
Function at 0x140106340
Capabilities:
Get token membership

Disassembly:
mov rax, rsp
sub rsp, 0x68
cmp dword [0x1403f38e4], 0
jne 0x1401063f1
mov qword [rax - 8], rbx
xor ebx, ebx
mov qword [rax + 0x18], rbx
mov r9d, 0x220
mov dword [rax + 0x10], 0
mov dl, 2
mov word [rax + 0x14], 0x500
lea rax, [rax + 0x18]
mov qword [rsp + 0x50], rax
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x48], ebx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1401063e2
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x70]
xor ecx, ecx
mov dword [rsp + 0x70], ebx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x1401063d4
cmp dword [rsp + 0x70], ebx
je 0x1401063d4
mov dword [0x1403f38e0], 1
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rbx, qword [rsp + 0x60]
mov dword [0x1403f38e4], 1
mov eax, dword [0x1403f38e0]
add rsp, 0x68
ret
Function at 0x140106ec0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov r14, rdx
mov ebp, ecx
xor edi, edi
cmp qword [rdx + 0x18], 0x10
jb 0x140106ef4
mov rbx, qword [rdx + 0x10]
mov rax, rbx
mov rcx, qword [rdx]
jmp 0x140106efe
mov rax, qword [rdx + 0x10]
mov rbx, rax
mov rcx, r14
mov rdx, rdi
add rcx, rdx
sub rbx, rax
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + rax]
call fcn.1402a1390
mov qword [r14 + 0x10], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
cmp ebp, 0xa
ja case.default.0x140106f45
lea rdx, [0x140000000]
mov ecx, dword [rdx + rbp*4 + 0x107130]
add rcx, rdx
jmp rcx
lea r8, [0x1403efbe8]
mov r9d, 0x18
jmp 0x140106fd2
lea r8, [0x1403efc80]
jmp 0x140106fcc
lea r8, [0x1403efca0]
mov r9d, 0x18
jmp 0x140106fd2
lea r8, [0x1403efd18]
jmp 0x140106fcc
lea r8, [0x1403efcf8]
jmp 0x140106fcc
lea r8, [0x1403efc18]
jmp 0x140106fcc
lea r8, [0x1403efcb8]
mov r9d, 0x28
jmp 0x140106fd2
lea r8, [0x1403efc00]
mov r9d, 0x18
jmp 0x140106fd2
lea r8, [0x1403efce0]
mov r9d, 0x18
jmp 0x140106fd2
lea r8, [0x1403efc38]
mov r9d, 0x28
jmp 0x140106fd2
lea r8, [0x1403efc60]
mov r9d, 0x20
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14010d2c0
mov r9, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub r9, rbx
lea rcx, [r9 - 1]
test rcx, rcx
je 0x14010700e
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + rcx - 1]
sub byte [rbx + rcx], al
sub rcx, 1
jne 0x140107000
test r9, r9
je 0x14010709d
cmp r9, 0x40
jb 0x140107080
mov rcx, r9
and rcx, 0xffffffffffffffc0
movdqa xmm2, xmmword [0x14033bb10]
lea rax, [rbx + 0x20]
movdqu xmm0, xmmword [rax - 0x20]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
movdqu xmm0, xmmword [rax - 0x10]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
movdqu xmm0, xmmword [rax]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
movdqu xmm0, xmmword [rax + 0x10]
xorps xmm0, xmm2
movdqu xmmword [rax + 0x10], xmm0
add rdi, 0x40
lea rax, [rax + 0x40]
cmp rdi, rcx
jb 0x140107030
cmp rdi, r9
jae 0x14010709d
lea rax, [rbx + rdi]
mov rcx, r9
sub rcx, rdi
nop word [rax + rax]
xor byte [rax], 0x62
lea rax, [rax + 1]
sub rcx, 1
jne 0x140107090
lea rdx, [rbx + 8]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1401070b0
lea rax, [r9 - 8]
cmp r8, rax
jb 0x1401070c7
lea r8, [r9 - 9]
mov rcx, r14
call fcn.14001aef0
mov rdi, qword [rsp + 0x30]
jmp 0x1401070d9
mov rbx, rdi
test rbx, rbx
je 0x14010710d
sub rdi, rbx
cmp rdi, 0x1000
jb 0x140107102
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140107128
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.14022d284
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
call fcn.1402c2874
int3
Function at 0x140221e70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14020c39e
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14020c381
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14020c36c

Function at 0x14022e2c4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14022e30e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14022e30e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14022e30e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14022e30e
cmp dword [rcx + 0x84], 0xe
jbe 0x14022e30e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14022e310
xor al, al
add rsp, 0x28
ret
Function at 0x140236c60
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.1402fe8b0
cdqe
add rsp, 0x28
ret

Function at 0x140236f90
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov edx, 0x2b
mov rsi, r8
mov rbp, rcx
test r8, r8
je 0x14023706b
xor r14d, r14d
nop dword [rax]
mov edi, 4
lea rdx, [rsp + 0x50]
cmp rsi, rdi
mov r8d, 4
mov rcx, rbp
cmovb rdi, rsi
call fcn.1402448d0
cmp eax, 4
je 0x140236fe8
mov edx, eax
jmp 0x140237015
cmp byte [0x1403f1c04], r14b
jne 0x14023701f
mov r9d, 2
mov dword [rsp + 0x50], r14d
lea rdx, [rsp + 0x50]
xor ecx, ecx
lea r8d, [r9 + 2]
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb edx, edx
and edx, 2
mov eax, edx
test eax, eax
jne 0x14023706d
mov eax, dword [rsp + 0x50]
jmp 0x14023703e
imul eax, dword [0x1403f1c00], 0x41c64e6d
mov edx, r14d
add eax, 0x3039
mov dword [0x1403f1c00], eax
ror eax, 0x10
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x140237062
sub rsi, rdi
nop word [rax + rax]
mov byte [rbx], al
inc rbx
shr eax, 8
sub rdi, 1
jne 0x140237050
mov dword [rsp + 0x50], eax
test rsi, rsi
jne 0x140236fc0
mov eax, edx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x140237080
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
sub rdi, 1
je 0x140237123
xor ebp, ebp
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
nop
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1402448d0
cmp eax, 4
jne 0x1402370ef
cmp byte [0x1403f1c04], bpl
jne 0x14023713b
lea r9d, [rax - 2]
mov dword [rsp + 0x50], ebp
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
test eax, eax
jne 0x140237128
mov ecx, dword [rsp + 0x50]
cmp ecx, 0xfffffffc
jae 0x1402370b0
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x3e
sub ecx, eax
movzx eax, byte [rcx + r14]
mov byte [rsi], al
inc rsi
sub rdi, 1
jne 0x1402370b0
mov byte [rsi], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
imul ecx, dword [0x1403f1c00], 0x41c64e6d
add ecx, 0x3039
mov dword [0x1403f1c00], ecx
ror ecx, 0x10
mov dword [rsp + 0x50], ecx
jmp 0x1402370f7
Function at 0x14023fd00
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14023fde2
call fcn.140256f20
test al, al
jne 0x14023fde2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14023fd32
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.140263710
test rax, rax
je 0x14023fd77
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.140263710
mov rsi, rax
test rax, rax
je 0x14023fd77
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 0x14023fdab
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.140236720
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x14023fd90
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 0x140250aa0
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x140360038]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x140250b06
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140250ae9
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140250ae3
shr ax, 8
cmp al, 2
je 0x140250b06
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14022def0
add rsp, 0x1e8
ret
call fcn.14028d260
test eax, eax
jne 0x140250d05
mov qword [rsp + 0x200], rsi
lea rcx, [0x140314780]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140250b46
mov qword [0x1403f1cf8], rsi
jmp 0x140250cc2
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, [0x1403147a0]
call fcn.1402de940
test rax, rax
je 0x140250baa
mov rcx, rbx
test rbp, rbp
je 0x140250b9c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x140250c8a
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x140250c8a
test rbp, rbp
je 0x140250bd9
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140250bd9
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x140250c8a
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 0x140250c82
lea ecx, [rax + 1]
add rcx, 0xc
call qword [str._7__]
mov rdi, rax
test rax, rax
je 0x140250c79
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140250c79
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x140250c25
mov word [rax + rdi], 0x5c
inc rcx
cmp byte [rdi + rcx], sil
jne 0x140250c36
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 0x140250c50
mov rcx, rdi
test rbp, rbp
je 0x140250c70
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x140250c76
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [str.h__]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x1403f1cf8], rsi
test rsi, rsi
je 0x140250cc2
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140250cc2
mov qword [0x1403f1cf0], rax
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.14028ce10
test al, al
lea rcx, [0x1403f3e88]
setne byte [0x1403f3e80]
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.14022def0
add rsp, 0x1e8
ret
Function at 0x1402642e0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.1402404a0
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x140247390.1
mov rcx, rdi
mov rsi, rax
call case.0x140247390.1
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x140264390
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1402404a0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.140240530
cmp rax, 0x3e8
ja 0x1402643c1
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x140264340
test rsi, rsi
je 0x14026439d
mov rcx, rsi
call fcn.1402c2368
test rbx, rbx
je 0x1402643aa
mov rcx, rbx
call fcn.1402c2368
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x1402643ce
mov rcx, rsi
call fcn.1402c2368
test rbx, rbx
je 0x1402643db
mov rcx, rbx
call fcn.1402c2368
mov eax, 1
jmp 0x1402643ac
Function at 0x140264870
Capabilities:
Resolve dns

Disassembly:
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x140264a0e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1402649ee
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1402648de
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1402648d0
inc rbx
jmp 0x1402648e0
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1402648ed
lea ebp, [rax + 0xe]
jmp 0x1402648f9
cmp eax, 0x17
jne 0x140264991
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], 0
je 0x140264991
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140264991
cmp rax, rbp
jb 0x140264991
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [str._7__]
mov r14, rax
test rax, rax
je 0x1402649a0
mov ecx, dword [rsi]
mov r8, rbp
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], ebp
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call fcn.1402a1390
test rbx, rbx
je 0x14026497e
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.1402a1390
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x14026498e
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1402648c0
jmp 0x1402649a6
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x1402649c0
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x1402649e9
test rdi, rdi
je 0x1402649e5
nop word [rax + rax]
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [str.h__]
mov rdi, rbx
test rbx, rbx
jne 0x1402649d0
xor edi, edi
jmp 0x1402649fd
test rdi, rdi
jne 0x1402649fd
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
ret

Function at 0x140264ff0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call fcn.1402c2c44
test rax, rax
je 0x140265026
cmp rax, 0xffffffffffffffff
cmovne rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
add rsp, 0x30
pop rbx
ret