joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff6749eaca0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x48], rcx
lea edi, [rcx + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov ecx, edi
call qword [sym.imp.ws2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x7ff6749ead0e
call fcn.7ff674cd7c08
cmp dword [rax], 4
je 0x7ff6749eace0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.7ff674a3df50
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x7ff6749ead40
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x48], rcx
lea edi, [rcx + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, edi
call qword [sym.imp.ws2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x7ff6749eadad
call fcn.7ff674cd7c08
cmp dword [rax], 4
je 0x7ff6749ead80
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.7ff674a3df50
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x7ff6749eade0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor eax, eax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], rax
mov rdi, rcx
mov dword [rsp + 0x40], 1
nop dword [rax + rax]
lea rax, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
lea ecx, [rdi + 1]
call qword [sym.imp.ws2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x7ff6749eae4e
call fcn.7ff674cd7c08
cmp dword [rax], 4
je 0x7ff6749eae20
test ebx, ebx
jne 0x7ff6749eae56
mov al, 1
jmp 0x7ff6749eae9b
jns 0x7ff6749eae66
call fcn.7ff674cd7c08
cmp dword [rax], 9
jne 0x7ff6749eae66
xor al, al
jmp 0x7ff6749eae9b
lea rsi, [rsp + 0x30]
nop dword [rax + rax]
mov r9d, 2
mov rdx, rsi
mov rcx, rdi
lea r8d, [r9 - 1]
call qword [sym.imp.ws2_32.dll_recv]
mov ebx, eax
test eax, eax
jns 0x7ff6749eae96
call fcn.7ff674cd7c08
cmp dword [rax], 4
je 0x7ff6749eae70
test ebx, ebx
setg al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.7ff674a3df50
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x7ff6749eb4f0
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rsp + 0x450], rax
movzx eax, word [rcx]
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp ax, 2
je 0x7ff6749eb52c
cmp ax, 0x17
jne 0x7ff6749eb5d4
movzx ecx, word [rcx + 2]
call qword [sym.imp.ws2_32.dll_htons]
movzx eax, ax
xor edx, edx
lea rcx, [rsp + 0x40]
mov dword [rsi], eax
mov r8d, 0x401
call fcn.7ff674cf66c0
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x40]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getnameinfo]
test eax, eax
jne 0x7ff6749eb5d4
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff6749eb586
mov rax, qword [rdi + 0x18]
cmp rbx, rax
ja 0x7ff6749eb5c0
mov rsi, rdi
cmp rax, 0xf
jbe 0x7ff6749eb5a4
mov rsi, qword [rdi]
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.7ff674cf6a80
mov al, 1
mov byte [rsi + rbx], 0
jmp 0x7ff6749eb5d6
lea r9, [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call fcn.7ff6749e01a0
mov al, 1
jmp 0x7ff6749eb5d6
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.7ff674a3df50
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x7ff6749f8270
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x58
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov qword [rsp + 0x28], rcx
cmp qword [rcx + 0x20], 0xf
lea rsi, [rcx + 8]
xorps xmm0, xmm0
mov byte [rsp + 0x20], 0
mov rbp, rdx
mov dword [rsp + 0x30], ebx
mov edi, 2
mov r15d, ebx
movups xmmword [rsp + 0x38], xmm0
mov rdx, rsi
jbe 0x7ff6749f82c0
mov rdx, qword [rsi]
lea r8, [rsp + 0x38]
mov ecx, 0x17
call qword [sym.imp.ws2_32.dll_inet_pton]
test eax, eax
je 0x7ff6749f82dc
mov r15d, 0x10
jmp 0x7ff6749f8300
cmp qword [rsi + 0x18], 0xf
jbe 0x7ff6749f82e6
mov rsi, qword [rsi]
lea r8, [rsp + 0x30]
mov rdx, rsi
mov ecx, edi
call qword [sym.imp.ws2_32.dll_inet_pton]
test eax, eax
je 0x7ff6749f8305
mov r15d, 4
mov edi, 7
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
lea edx, [r9 + 0x55]
call fcn.7ff674b203c0
mov r12, rax
test rax, rax
je 0x7ff6749f83f2
mov qword [rsp + 0xa0], r13
mov rcx, rax
mov qword [rsp + 0x50], r14
xor r13b, r13b
xor r14b, r14b
call fcn.7ff674b22830
mov dword [rsp + 0x24], eax
test eax, eax
jle 0x7ff6749f83e5
nop word [rax + rax]
test r14b, r14b
jne 0x7ff6749f83e0
mov edx, ebx
mov rcx, r12
call fcn.7ff674b22b30
mov rsi, rax
cmp dword [rax], edi
jne 0x7ff6749f83ca
mov rcx, qword [rax + 8]
call fcn.7ff6749ef970
mov rcx, qword [rsi + 8]
mov rbp, rax
call fcn.7ff674b124a0
movsxd r8, eax
cmp edi, 2
je 0x7ff6749f83b9
cmp edi, 7
jne 0x7ff6749f83ca
mov r8, r15
lea rcx, [rsp + 0x38]
mov rdx, rbp
call fcn.7ff674cf71a0
test eax, eax
je 0x7ff6749f83b4
mov r8, r15
lea rcx, [rsp + 0x30]
mov rdx, rbp
call fcn.7ff674cf71a0
test eax, eax
jne 0x7ff6749f83ca
mov r13b, 1
jmp 0x7ff6749f83ca
mov rcx, qword [rsp + 0x28]
mov rdx, rbp
call fcn.7ff6749f8420
movzx r14d, al
inc ebx
cmp ebx, dword [rsp + 0x24]
jl 0x7ff6749f8350
test r14b, r14b
jne 0x7ff6749f83e0
test r13b, r13b
je 0x7ff6749f83e5
mov byte [rsp + 0x20], 1
mov r13, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x50]
mov rcx, r12
call fcn.7ff674b22f20
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff674a3df50
add rsp, 0x58
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x7ff674a03750
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, rcx
mov r15, r9
mov rcx, r8
mov rsi, r8
mov rdi, rdx
call fcn.7ff674aa8eb0
test eax, eax
jne 0x7ff674a038dc
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x7ff674a038cc
mov rcx, rdi
call fcn.7ff674aac2d0
mov rcx, rsi
mov rdi, rax
call fcn.7ff674aa8eb8
test rdi, rdi
je 0x7ff674a0385e
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 1
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, ebp
call fcn.7ff674b21920
xor r9d, r9d
mov rcx, rax
mov r14, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call fcn.7ff674b25b70
mov r8, r14
mov rdx, r14
mov rcx, rdi
call fcn.7ff674aac7a0
mov r9, qword [rsp + 0x80]
add r9, 8
cmp qword [r9 + 0x18], 0xf
jbe 0x7ff674a03813
mov r9, qword [r9]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x37]
call fcn.7ff674aabaa0
mov rdx, rdi
mov rcx, r15
call fcn.7ff6749f7e20
cmp al, 1
jne 0x7ff674a0387f
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
lea edx, [r9 + 0x66]
call fcn.7ff674b25b70
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_ioctlsocket]
mov rax, rdi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.7ff674a3df50
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call fcn.7ff674aacd30
mov rcx, rsi
call fcn.7ff674aa8eb0
test eax, eax
jne 0x7ff674a038dc
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x7ff674a038cc
mov rcx, rdi
call fcn.7ff674aabc00
mov rcx, rsi
call fcn.7ff674aa8eb8
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_ioctlsocket]
xor eax, eax
jmp 0x7ff674a03861
dec eax
mov ecx, 6
mov dword [rsi + 0x4c], eax
call fcn.7ff674aa8830
int3
mov ecx, 5
call fcn.7ff674aa8830
int3
Function at 0x7ff674a19870
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x7ff674a1993c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x7ff674a1993c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x7ff674a19955
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x7ff674a1992c
cmp byte [rax], 0x5c
jne 0x7ff674a19926
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x7ff674a19926
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x7ff674a19912
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x7ff674a19923
test r8b, 0x10
jne 0x7ff674a19926
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x7ff674a19926
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.7ff674a109d0
test edi, edi
jne 0x7ff674a19890
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.7ff674a109c0
int3

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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x58
mov qword [rsp + 0x28], rdx
mov rdi, rdx
cmp qword [r8 + 0x18], 0xf
mov r14, r9
mov r10, qword [r8 + 0x10]
mov rbp, rcx
mov rdx, r8
jbe 0x7ff674a1e09c
mov rdx, qword [r8]
xor ecx, ecx
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
movabs r15, 0x100000001b3
test r10, r10
je 0x7ff674a1e0d3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor r9, rax
imul r9, r15
cmp rcx, r10
jb 0x7ff674a1e0c0
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.7ff6749e3710
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x7ff674a1e166
cmp rsi, qword [rbp + 8]
je 0x7ff674a1e166
cmp qword [r14 + 0x18], 0xf
mov rdx, r14
mov r9, qword [r14 + 0x10]
jbe 0x7ff674a1e100
mov rdx, qword [r14]
xor ecx, ecx
test r9, r9
je 0x7ff674a1e123
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor rbx, rax
imul rbx, r15
cmp rcx, r9
jb 0x7ff674a1e110
mov r9, rbx
lea rdx, [rsp + 0x38]
mov r8, r14
lea rcx, [rsi + 0x30]
call fcn.7ff6749e3710
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x7ff674a1e144
mov rdx, qword [rsi + 0x38]
cmp rdx, qword [rsi + 0x38]
je 0x7ff674a1e166
add rdx, 0x30
mov rcx, rdi
call fcn.7ff6749e0320
mov rax, rdi
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xorps xmm0, xmm0
lea rdx, [0x7ff674de0017]
movups xmmword [rdi], xmm0
xor r8d, r8d
mov qword [rdi + 0x10], 0
mov rcx, rdi
mov qword [rdi + 0x18], 0
call fcn.7ff6749dde80
mov rax, rdi
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x7ff674a261b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov edi, edx
and edi, 7
je 0x7ff674a26244
cmp edx, edi
jge 0x7ff674a26235
mov r8d, dword [rcx + 0x14]
mov eax, 1
mov ecx, edx
mov r10d, edx
shl eax, cl
mov r9d, edx
cmp r8d, eax
jae 0x7ff674a2622b
mov r11, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r11
jb 0x7ff674a261f3
xor cl, cl
jmp 0x7ff674a261fc
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r10 + 8]
mov ecx, r10d
mov dword [rbx + 0x10], edx
shl eax, cl
or r8d, eax
mov dword [rbx + 0x14], r8d
cmp edx, 0x18
jg 0x7ff674a26235
mov ecx, edx
mov eax, 1
shl eax, cl
mov r10d, edx
mov r9d, edx
cmp r8d, eax
jb 0x7ff674a261e7
mov rax, qword [rbx + 8]
mov edx, r9d
mov qword [rbx], rax
mov eax, dword [rbx + 0x14]
mov ecx, edi
shr eax, cl
sub edx, edi
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x10], edx
xor r8d, r8d
mov eax, edx
test edx, edx
jle 0x7ff674a2627e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x7ff674a26260
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x7ff674a262ab
mov rax, qword gs:[0x58]
mov edx, 0x1f8
mov rcx, qword [rax]
lea rax, [0x7ff67500a0b8]
mov qword [rdx + rcx], rax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x7ff674a262df
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax + rax]
cmp rax, r8
jb 0x7ff674a262c9
xor dl, dl
jmp 0x7ff674a262d2
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x7ff674a262c0
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x7ff674a26282
mov rcx, qword [rbx]
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x7ff674a26348
mov rax, qword gs:[0x58]
mov edx, 0x1f8
mov rcx, qword [rax]
lea rax, [0x7ff67500a0e8]
mov qword [rdx + rcx], rax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x7ff674a26366
mov rcx, rbx
call fcn.7ff674a25620
test eax, eax
je 0x7ff674a2629e
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.7ff674cf6a80
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x7ff674a30b50
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x120
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov edx, 8
lea rcx, [rsp + 0xb8]
call fcn.7ff674a37620
mov rbx, rax
lea rcx, [rsp + 0x98]
call fcn.7ff674a37b70
nop
lea r8, [0x7ff675006c3c]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.7ff6749e3d00
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.7ff6749e90c0
nop
lea r8, [0x7ff67500a5bc]
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.7ff6749e3d00
nop
lea rcx, [rsp + 0x58]
call fcn.7ff6749dde20
nop
lea rcx, [rsp + 0x78]
call fcn.7ff6749dde20
nop
lea rcx, [rsp + 0x98]
call fcn.7ff6749dde20
nop
lea rcx, [rsp + 0xb8]
call fcn.7ff6749dde20
call fcn.7ff6749e5230
mov rbx, rax
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x38]
call fcn.7ff6749e0320
mov r8, rax
call fcn.7ff6749e5230
lea rdx, [rax + 0x98]
mov rcx, rbx
call fcn.7ff6749fa720
lea rcx, [rsp + 0xd8]
call fcn.7ff674a37df0
nop
mov r8, rax
lea rdx, [0x7ff675006908]
lea rcx, [rsp + 0x38]
call fcn.7ff674a018a0
mov rcx, rax
call fcn.7ff6749dde10
mov rbx, rax
lea rcx, [rsp + 0xf8]
call fcn.7ff6749dde10
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
mov r9, rbx
mov r8, rax
xor edx, edx
call qword [sym.imp.shell32.dll_ShellExecuteA]
lea rcx, [rsp + 0x38]
call fcn.7ff6749dde20
nop
lea rcx, [rsp + 0xd8]
call fcn.7ff6749dde20
xor ecx, ecx
call fcn.7ff674cd5ebc
int3
Function at 0x7ff674a30cb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14, rcx
mov ebx, edx
xor ecx, ecx
mov r15, r8
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
movzx edx, bx
lea r8, [0x7ff67500a618]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.kernel32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x7ff674a30e96
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.kernel32.dll_LoadResource]
test rax, rax
je 0x7ff674a30eb9
mov rcx, rax
call qword [sym.imp.kernel32.dll_LockResource]
mov rdx, rsi
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.kernel32.dll_SizeofResource]
test rbx, rbx
je 0x7ff674a30e73
test eax, eax
je 0x7ff674a30e73
xor edi, edi
movsxd rcx, eax
add rcx, rbx
mov dword [rsp + 0x60], edi
mov qword [rbp + 0x88], rcx
lea r8, [rsp + 0x64]
mov qword [rbp + 0x78], rcx
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
mov dword [rsp + 0x64], edi
mov qword [rbp - 0x40], rdi
mov dword [rbp - 0x20], edi
mov dword [rbp + 0x68], edi
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x70], rbx
call fcn.7ff674a1e860
mov rbx, rax
test rax, rax
je 0x7ff674a30e4d
mov eax, dword [rsp + 0x60]
lea r9, [rsp + 0x48]
mov ecx, dword [rsp + 0x64]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x6c], ecx
lea rdx, [rsp + 0x68]
mov rcx, qword [r14]
mov dword [rsp + 0x68], eax
lea eax, [rax*4]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x7c], 1
mov qword [rbp - 0x74], rdi
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x78], 0x1c
mov dword [rbp - 0x7c], edi
mov dword [rbp - 0x78], 8
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x5c], edi
mov rax, qword [rcx]
call qword [rax + 0x28]
mov eax, dword [rsp + 0x70]
lea r8, [rbp - 0x68]
mov rcx, qword [r14]
mov r9, r15
mov rdx, qword [rsp + 0x48]
mov qword [rbp - 0x58], rdi
mov dword [rbp - 0x68], 0x1c
mov qword [rbp - 0x64], 4
mov dword [rbp - 0x5c], eax
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call fcn.7ff674ccf480
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.7ff674a3df50
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, [0x7ff67500a620]
lea rcx, [rsp + 0x30]
call fcn.7ff6749e5300
lea rdx, [0x7ff6750425b0]
lea rcx, [rsp + 0x30]
call fcn.7ff674cc33e0
int3
lea rdx, [0x7ff67500a600]
lea rcx, [rsp + 0x30]
call fcn.7ff6749e5300
lea rdx, [0x7ff6750425b0]
lea rcx, [rsp + 0x30]
call fcn.7ff674cc33e0
int3
lea rdx, [0x7ff67500a640]
lea rcx, [rsp + 0x30]
call fcn.7ff6749e5300
lea rdx, [0x7ff6750425b0]
lea rcx, [rsp + 0x30]
call fcn.7ff674cc33e0
int3
Function at 0x7ff674a37620
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1400
call fcn.7ff674cf3860
sub rsp, rax
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea r8d, [rbx + 0x3e]
lea rdx, [0x7ff675008868]
lea rcx, [rsp + 0x38]
call fcn.7ff6749dde80
nop
call fcn.7ff674aa9928
mov edx, eax
mov dword [rsp + 0x13e4], 0xffffffff
mov dword [rsp + 0x64], eax
lea ecx, [rbx + 1]
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x64], edx
inc rcx
cmp rcx, 0x270
jb 0x7ff674a376a0
mov dword [rsp + 0x60], 0x270
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], eax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x24], 1
test rsi, rsi
je 0x7ff674a3776b
movzx ebx, byte [rsp + 0x20]
nop dword [rax]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.7ff674a39900
movsxd rcx, eax
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rax, qword [rsp + 0x38]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x7ff674a37754
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x7ff674a37749
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff674a37765
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.7ff6749e5570
sub rsi, 1
jne 0x7ff674a37700
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x7ff674a377a4
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff674a3779f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff674a377cc
call fcn.7ff674a3e32c
mov rax, rdi
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.7ff674a3df50
lea r11, [rsp + 0x1400]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.7ff674cd5b3c
int3
Function at 0x7ff674a383b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov edx, 0x104
xor edi, edi
call qword [sym.imp.kernel32.dll_GetSystemDirectoryA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
jne 0x7ff674a38407
xor r8d, r8d
lea rdx, [0x7ff674de0017]
jmp 0x7ff674a38421
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x7ff674a38413
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.7ff6749dde80
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.7ff674a3df50
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret

Function at 0x7ff674a38f30
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor esi, esi
mov rbx, rcx
xorps xmm0, xmm0
mov qword [rsp + 0x3c], rsi
xor edx, edx
movdqu xmmword [rsp + 0x2c], xmm0
lea ecx, [rsi + 4]
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x28], 0x1c
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.user32.dll_GetWindowThreadProcessId]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_Thread32First]
test eax, eax
je 0x7ff674a38fc2
nop word [rax + rax]
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x34], eax
je 0x7ff674a38fbe
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_Thread32Next]
test eax, eax
jne 0x7ff674a38fa0
jmp 0x7ff674a38fc2
mov esi, dword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff674a3df50
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x7ff674a390a0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0xf0
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0x74], xmm1
mov dword [r11 - 0x24], eax
mov rdi, rcx
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov rax, 0xffffffffffffffff
mov rbx, rax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [r11 - 0x74], xmm1
movups xmmword [r11 - 0x64], xmm1
movups xmmword [r11 - 0x54], xmm1
movups xmmword [r11 - 0x44], xmm1
movups xmmword [r11 - 0x34], xmm1
inc rbx
cmp byte [rcx + rbx], 0
jne 0x7ff674a39106
mov rcx, rbx
add rcx, 4
cmovb rcx, rax
call fcn.7ff674cd4df0
lea r8, [rbx + 1]
mov rdx, rdi
mov rsi, rax
lea rcx, [rax + 3]
mov word [rax], 0x632f
mov byte [rax + 2], 0x20
call fcn.7ff674cf6a80
lea rcx, [0x7ff67500aaf8]
mov dword [rsp + 0x70], 0x68
call fcn.7ff674cdb1fc
mov rbx, rax
call fcn.7ff674cc8d28
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rsi
mov qword [rsp + 0x40], rax
mov rcx, rbx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
je 0x7ff674a391cf
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
call qword [sym.imp.kernel32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, rsi
call fcn.7ff674ccf480
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.7ff674a3df50
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret