joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025910
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x40], gethostname
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
lea r8, [rsi + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140025b70
mov r12, rax
test rax, rax
je 0x140025b24
test rdi, rdi
jne 0x140025aa2
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x190]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.ImageManifest
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1400259f4
mov eax, 0xc0150002
jmp 0x140025b26
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
test rax, rax
setg r14b
test rax, rax
jle 0x140025a8e
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x80]
mov r8d, dword [rsp + 0x78]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test r14b, r14b
je 0x140025a54
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140025a70
lea rcx, [rsi + 0x118]
lea rdx, [rbp - 0x70]
call fcn.1400023c0
nop
jmp 0x140025ade
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140025b26
mov dword [rsp + 0x44], 8
movzx eax, word [rsi + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rdi
lea rdx, [rsi + 0xf8]
lea rcx, [rsi + 0x118]
cmp rcx, rdx
je 0x140025ade
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140025ad9
mov rdx, qword [rdx]
call fcn.1400023c0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x140025b07
test rcx, rcx
jle 0x140025b00
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x140025b24
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x140025b51
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1401140d0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140025b26
Function at 0x140028090
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140013040
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r10, qword [rbx + 0x10]
jb 0x1400280c6
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1400280f4
movabs r8, 0x100000001b3
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r8
cmp rcx, r10
jb 0x1400280e1
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140002c00
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14002813c
cmp rbx, qword [rsi + 8]
je 0x14002813c
mov rbx, qword [rbx + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140028146
mov rcx, qword [r14]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp rax
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14002d700
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rdi + 8], eax
jne 0x14002d725
mov al, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rax, qword [rdi]
mov rcx, qword [rax + 0x10]
cmp dword [rcx + 0x10], 3
jne 0x14002d7f4
cmp byte [rcx + 0x16], 0
jne 0x14002d7f4
call fcn.1400015d0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0x20]
call fcn.140002950
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], reloc.WS2_32.dll_select
mov qword [rsp + 0x38], Ordinal_32
movups xmm0, xmmword [str.Wow64SuspendThread]
movups xmmword [rax], xmm0
movzx ecx, word [0x1401c57c8]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], 0
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14002d810
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14002d7e6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d7e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d7e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140113d64
movzx eax, bl
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne al
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14002d810
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140013040
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r10, qword [rbx + 0x10]
jb 0x14002d846
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x14002d874
movabs r8, 0x100000001b3
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r8
cmp rcx, r10
jb 0x14002d861
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140002c00
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14002d8bc
cmp rbx, qword [rsi + 8]
je 0x14002d8bc
mov rbx, qword [rbx + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14002d8c6
mov rcx, qword [r14]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp rax
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x14002d8e0
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 8], eax
jne 0x14002d8fc
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rbx
ret
Function at 0x14002d920
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x970
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov edi, edx
mov rbx, rcx
cmp edx, 4
ja 0x14002daff
xor edx, edx
mov qword [rsp + 0x988], rsi
mov r8d, 0x670
lea rcx, [rsp + 0x2f0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2cc
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
mov rax, qword [rcx + 0x10]
movzx esi, byte [rax + 0x16]
test sil, sil
jne 0x14002d9af
mov dword [rsp + 0x320], 0x100010
lea r8, [rsp + 0x2f0]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x14002d9c6
mov dword [rsp + 0x20], 0x100010
lea r8, [rsp + 0x20]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x50]
test sil, sil
lea r8, [rsp + 0x360]
lea rcx, [rsp + 0x38]
cmovne r8, rcx
test eax, eax
js 0x14002dad6
mov edx, dword [r8]
test edi, edi
jne 0x14002d9f4
and edx, 0xfff0fffe
mov dword [r8], edx
jmp 0x14002da56
cmp edi, 1
jne 0x14002d9fe
and edx, 0xfffffffb
jmp 0x14002da10
cmp edi, 2
mov eax, 0xffffffef
mov ecx, 0xffffffbf
cmovne eax, ecx
and edx, eax
cmp edi, 1
jne 0x14002da1d
and edx, 0xff3fffff
jmp 0x14002da2f
cmp edi, 2
mov eax, 0xf3ffffff
mov ecx, 0x3fffffff
cmovne eax, ecx
and edx, eax
cmp edi, 1
jne 0x14002da3f
and edx, 0xffcfffff
mov dword [r8], edx
jmp 0x14002da56
cmp edi, 2
mov eax, 0xfcffffff
mov ecx, 0xcfffffff
cmovne eax, ecx
and eax, edx
mov edx, eax
mov dword [r8], eax
mov eax, edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x14002da72
btr edx, 8
mov dword [r8], edx
mov rcx, rbx
mov edi, 0xc000071c
call fcn.14002d700
test sil, sil
jne 0x14002daa3
test al, al
je 0x14002dad4
mov rax, qword [rbx]
lea r8, [rsp + 0x2f0]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x68]
jmp 0x14002dabd
test al, al
je 0x14002dad4
mov rax, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 8], eax
je 0x14002dad4
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
mov rsi, qword [rsp + 0x988]
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.1401140d0
mov rbx, qword [rsp + 0x990]
add rsp, 0x970
pop rdi
ret
xor eax, eax
jmp 0x14002dade
Function at 0x14002db10
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x970
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x2f0]
mov r8d, 0x670
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2cc
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov rax, qword [rcx + 0x10]
movzx esi, byte [rax + 0x16]
test sil, sil
jne 0x14002db94
mov dword [rsp + 0x320], 0x100010
lea r8, [rsp + 0x2f0]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x14002dbab
mov dword [rsp + 0x20], 0x100010
lea r8, [rsp + 0x20]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x50]
test sil, sil
lea r8, [rsp + 0x360]
lea rcx, [rsp + 0x38]
cmovne r8, rcx
test eax, eax
jns 0x14002dbca
xor eax, eax
jmp 0x14002dcbd
xor edx, edx
mov ecx, edx
mov eax, edx
cmp qword [rsp + rax*8 + 0x338], rbx
je 0x14002dbf5
cmp dword [rsp + rax*4 + 0x24], ebx
je 0x14002dbf5
inc ecx
inc rax
cmp rax, 4
jl 0x14002dbd0
mov eax, 0xc0000225
jmp 0x14002dcbd
movsxd rax, ecx
test sil, sil
jne 0x14002dc07
mov qword [rsp + rax*8 + 0x338], rdx
jmp 0x14002dc0b
mov dword [rsp + rax*4 + 0x24], edx
mov edx, dword [r8]
test ecx, ecx
jne 0x14002dc1a
and edx, 0xfff0fffe
jmp 0x14002dc3a
cmp ecx, 1
jne 0x14002dc27
and edx, 0xff0ffffb
jmp 0x14002dc3a
cmp ecx, 2
jne 0x14002dc34
and edx, 0xf0ffffef
jmp 0x14002dc3a
and edx, 0xfffffbf
mov eax, edx
mov dword [r8], edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x14002dc59
btr edx, 8
mov dword [r8], edx
mov rcx, rdi
mov ebx, 0xc000071c
call fcn.14002d700
test sil, sil
jne 0x14002dc8a
test al, al
je 0x14002dcbb
mov rax, qword [rdi]
lea r8, [rsp + 0x2f0]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x68]
jmp 0x14002dca4
test al, al
je 0x14002dcbb
mov rax, qword [rdi]
lea r8, [rsp + 0x20]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rdi + 8], eax
je 0x14002dcbb
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, ebx
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.1401140d0
lea r11, [rsp + 0x970]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002dd90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r14, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14028ac00], eax
jg 0x14002df92
mov rax, qword [0x14028ac08]
test rax, rax
je 0x14002ddf1
mov rcx, r14
call rax
jmp 0x14002df69
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], eax
xor ebp, ebp
mov dword [rsp + 0x50], ebp
call fcn.1400015d0
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
lea edx, [rbp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140002950
mov rdi, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], Ordinal_26
mov qword [rsp + 0x48], Ordinal_32
movups xmm0, xmmword [str.NtQueryInformationThread]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1401c55e8]
movsd qword [rax + 0x10], xmm0
mov byte [rax + 0x18], bpl
call fcn.140013040
lea r15, [rsi + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs rdx, 0xcbf29ce484222325
mov ecx, ebp
movabs r8, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdi]
xor rdx, rax
imul rdx, r8
inc rcx
cmp rcx, 0x18
jb 0x14002de90
mov rcx, qword [rsi + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov r12, qword [rsi + 8]
cmp rbx, r12
je 0x14002df02
mov rsi, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14002dee2
mov rdx, qword [rdx]
cmp rax, 0x18
jne 0x14002def7
mov r8, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002df05
cmp rbx, rsi
je 0x14002df02
mov rbx, qword [rbx + 8]
jmp 0x14002ded0
mov rbx, rbp
test rbx, rbx
je 0x14002df41
cmp rbx, r12
je 0x14002df41
mov rbx, qword [rbx + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14002df4a
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, Ordinal_32
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, r14
call rbx
mov ebx, eax
jmp 0x14002df4f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
shr ebx, 0x1f
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rdi
call fcn.140113d64
xor bl, 1
cmovne ebp, dword [rsp + 0x64]
mov eax, ebp
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401140d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [0x14028ac00]
call fcn.140114270
cmp dword [0x14028ac00], 0xffffffff
jne 0x14002dddb
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetThreadId
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14028ac08], rax
lea rcx, [0x14028ac00]
call fcn.140114204
jmp 0x14002dddb
Function at 0x14002dfe0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rcx + 8], rdx
lea rax, vtable.blackbone::Native.0
mov qword [rcx], rax
xorps xmm0, xmm0
xor eax, eax
xor esi, esi
mov rdi, rcx
mov qword [rcx + 0x10], rsi
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], eax
movzx ebx, r8b
mov dword [rsp + 0x28], esi
movups xmmword [rsp + 0x2c], xmm0
movups xmmword [rsp + 0x3c], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, dword [rsp + 0x2c]
mov dword [rdi + 0x18], ecx
test bl, bl
je 0x14002e057
mov word [rdi + 0x14], 0x101
mov byte [rdi + 0x16], 1
jmp 0x14002e0b3
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x24], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov ecx, dword [rsp + 0x20]
cmp ecx, 1
mov edx, dword [rsp + 0x24]
sete al
cmp edx, 1
mov byte [rdi + 0x14], al
sete al
mov byte [rdi + 0x15], al
cmp ecx, 1
jne 0x14002e0d9
cmp edx, ecx
je 0x14002e0b3
cmp ecx, 1
mov byte [rdi + 0x17], 1
setne sil
add esi, 2
mov dword [rdi + 0x10], esi
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401140d0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
test ecx, ecx
jne 0x14002e0a5
test edx, edx
jne 0x14002e0a5
mov dword [rdi + 0x10], 1
jmp 0x14002e0b6
Function at 0x14002e1b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x38], r9
mov dword [rsp + 0x30], r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rsp + 0x60], rsi
call fcn.1400015d0
mov rbp, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea edx, [rsi + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140002950
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x58], Ordinal_32
movups xmm0, xmmword [str.NtQueryVirtualMemory]
movups xmmword [rax], xmm0
mov eax, dword [0x1401c5628]
mov dword [rdi + 0x10], eax
mov byte [rdi + 0x14], sil
call fcn.140013040
lea r15, [rbp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs rdx, 0xcbf29ce484222325
mov ecx, esi
movabs r8, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdi]
xor rdx, rax
imul rdx, r8
inc rcx
cmp rcx, 0x14
jb 0x14002e260
mov rcx, qword [rbp + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov r14, qword [rbp + 8]
cmp rbx, r14
je 0x14002e2d5
mov rbp, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14002e2b2
mov rdx, qword [rdx]
cmp rax, 0x14
jne 0x14002e2c7
mov r8, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002e2d2
cmp rbx, rbp
je 0x14002e2d5
mov rbx, qword [rbx + 8]
jmp 0x14002e2a0
mov rsi, rbx
test rsi, rsi
je 0x14002e31f
cmp rsi, r14
je 0x14002e31f
mov rbx, qword [rsi + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14002e328
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
mov rdx, r12
mov rcx, qword [r13 + 8]
call rbx
mov ebx, eax
jmp 0x14002e32d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rdi
call fcn.140113d64
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401140d0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002e460
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x38], r8
mov r12d, edx
mov r13, rcx
xor esi, esi
mov dword [rsp + 0x60], esi
call fcn.1400015d0
mov rbp, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea edx, [rsi + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140002950
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], Ordinal_26
mov qword [rsp + 0x58], Ordinal_32
movups xmm0, xmmword [str.NtQueryInformationProcess]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1401c55b0]
movsd qword [rax + 0x10], xmm0
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rdi + 0x18], al
mov byte [rdi + 0x19], sil
call fcn.140013040
lea r15, [rbp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs rdx, 0xcbf29ce484222325
mov ecx, esi
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdi]
xor rdx, rax
imul rdx, r8
inc rcx
cmp rcx, 0x19
jb 0x14002e520
mov rcx, qword [rbp + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov r14, qword [rbp + 8]
cmp rbx, r14
je 0x14002e595
mov rbp, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14002e572
mov rdx, qword [rdx]
cmp rax, 0x19
jne 0x14002e587
mov r8, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002e592
cmp rbx, rbp
je 0x14002e595
mov rbx, qword [rbx + 8]
jmp 0x14002e560
mov rsi, rbx
test rsi, rsi
je 0x14002e5d2
cmp rsi, r14
je 0x14002e5d2
mov rbx, qword [rsi + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14002e5db
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov edx, r12d
mov rcx, qword [r13 + 8]
call rbx
mov ebx, eax
jmp 0x14002e5e0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rdi
call fcn.140113d64
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401140d0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002e610
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x28], r8
mov r12d, edx
mov r13, rcx
call fcn.1400015d0
mov rbp, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0x30]
call fcn.140002950
mov rdi, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], reloc.WS2_32.dll_socket
mov qword [rsp + 0x48], Ordinal_32
movups xmm0, xmmword [str.NtSetInformationProcess]
movups xmmword [rax], xmm0
mov eax, dword [0x1401c55d0]
mov dword [rdi + 0x10], eax
movzx eax, word [0x1401c55d4]
mov word [rdi + 0x14], ax
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rdi + 0x16], al
mov byte [rdi + 0x17], 0
call fcn.140013040
lea r15, [rbp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs rdx, 0xcbf29ce484222325
xor esi, esi
mov ecx, esi
movabs r8, 0x100000001b3
movzx eax, byte [rcx + rdi]
xor rdx, rax
imul rdx, r8
inc rcx
cmp rcx, 0x17
jb 0x14002e6c0
mov rcx, qword [rbp + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov r14, qword [rbp + 8]
cmp rbx, r14
je 0x14002e735
mov rbp, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14002e712
mov rdx, qword [rdx]
cmp rax, 0x17
jne 0x14002e727
mov r8, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002e732
cmp rbx, rbp
je 0x14002e735
mov rbx, qword [rbx + 8]
jmp 0x14002e700
mov rsi, rbx
test rsi, rsi
je 0x14002e768
cmp rsi, r14
je 0x14002e768
mov rbx, qword [rsi + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14002e771
mov r9d, dword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov edx, r12d
mov rcx, qword [r13 + 8]
call rbx
mov ebx, eax
jmp 0x14002e776
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rdi
call fcn.140113d64
mov eax, ebx
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret