joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401591f8
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14029a048]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
xor edx, edx
call fcn.1401572d6
mov dword [rsi + 0x120], ebx
mov dword [rsi + 0x124], edi
movaps xmm0, xmmword [0x14024a210]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x28]
cmp eax, ecx
cmova ecx, eax
mov qword [rsi + 0x128], rcx
mov qword [rsi + 0x130], 0x20
mov qword [rsi + 0x138], 0x40
mov dword [rsi + 0x140], ebx
lea rax, [rsi + 8]
mov qword [rsi + 8], 0
xor rax, 0xffffffffb37cc16a
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rsi
mov dword [rsi + 0x28], ebx
lea rcx, [rsi + 0x30]
mov r8d, 0xf0
xor edx, edx
call fcn.140118630
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140116250
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x14016a940
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov r15, r8
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x14029a048]
xor rax, rsp
mov qword [rsp + 0x260], rax
movzx r14d, word [rcx + 0x28]
movzx r12d, word [rcx + 0x2a]
mov rsi, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call rsi
mov ebp, eax
movzx ebx, word [rdi + 0x2a]
movzx eax, word [rdi + 0x28]
mov dword [rsp + 0x40], eax
call rsi
mov word [rsp + 0x3e], ax
lea rsi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140118630
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r14d
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.14016abe0
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14016aa44
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14016aa44
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x14016aa44
dec r8d
mov rcx, r15
call fcn.1400eae80
mov sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140116250
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140118630
movzx eax, bp
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.14016abe0
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14016aac3
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14016aac3
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x14016aa10
lea rsi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140118630
mov qword [rsp + 0x30], r13
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.14016abe0
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14016ab47
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14016ab47
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x14016aa10
lea rsi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140118630
movzx eax, word [rsp + 0x3e]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.14016abe0
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14016abcc
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14016abcc
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x14016aa10
xor esi, esi
jmp 0x14016aa1e
Function at 0x140181b80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
call fcn.1401694b0
test al, al
jne 0x140181bb7
call fcn.1400e6520
movzx edx, al
mov ecx, esi
call fcn.14016f2b0
call fcn.140112df0
movsxd rdx, esi
inc rdx
mov rcx, rax
add rsp, 0x20
pop rsi
jmp fcn.1400e83c0
mov edx, 3
jmp 0x140181b98
Function at 0x14018eb00
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
push rbx
mov r8, rcx
xor ebx, ebx
xor eax, eax
xor ecx, ecx
xchg rbx, rsi
cpuid
xchg rbx, rsi
test eax, eax
jle 0x14018ec12
mov esi, eax
mov eax, 1
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r9d, ecx
mov r10d, edx
mov r11d, eax
cmp esi, 7
jb 0x14018eb4d
mov eax, 7
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
and ebx, 0x20
mov dword [r8], r11d
mov eax, r11d
and eax, 0xf
mov dword [r8 + 8], eax
shr r11d, 0xc
and r11d, 3
mov dword [r8 + 4], r11d
mov eax, r10d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r10d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r10d, 0x1a
and r10b, 1
mov byte [r8 + 0xe], r10b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x19], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x14018ec49
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test ebx, ebx
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov eax, 0x80000000
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
cmp eax, 0x80000006
jle 0x14018ec4d
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
shr edx, 8
and dl, 1
mov byte [r8 + 0x18], dl
test dl, dl
je 0x14018ec53
pop rbx
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14018ebe5
mov dl, byte [r8 + 0x18]
jmp 0x14018ec41
cmp byte [r8 + 0x19], 0
je 0x14018ec45
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
cmp ebx, 0x7263694d
jne 0x14018ec45
cmp ecx, 0x666f736f
jne 0x14018ec45
cmp edx, 0x76482074
jne 0x14018ec45
mov byte [r8 + 0x18], 1
jmp 0x14018ec45
Function at 0x1401919fe
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, r9d
mov rsi, r8
mov r14d, edx
mov rdi, rcx
mov rax, qword [0x14029a048]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp dl, 0x5f
je 0x140191a37
movzx eax, r14b
cmp eax, 0x2d
jne 0x140191ad2
mov al, 1
mov r15d, 0x5f
lea rbp, [rsp + 0x2f]
movzx ecx, byte [rdi]
test ecx, ecx
je 0x140191a92
cmp ecx, 0x2e
je 0x140191a92
cmp ecx, 0x40
je 0x140191a92
test bl, bl
jne 0x140191ab1
mov byte [rsp + 0x2f], 0xaa
call fcn.140102cbf
cmp al, 0x2d
movzx eax, al
cmove eax, r15d
mov byte [rsp + 0x2f], al
mov rax, qword [rsi]
mov rax, qword [rax + 8]
mov rcx, rsi
mov rdx, rbp
mov r8d, 1
call qword [0x1402ce008]
inc rdi
xor ebx, ebx
xor eax, eax
jmp 0x140191a44
test al, 1
jne 0x140191ad2
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140116250
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rsi]
mov rax, qword [rax + 8]
lea rdx, [0x140255684]
mov rcx, rsi
mov r8d, 1
call qword [0x1402ce008]
mov cl, byte [rdi]
jmp 0x140191a59
cmp r14b, 0x40
jne 0x140191b53
mov r15d, 0x5f
lea rbp, [rsp + 0x2e]
lea r14, [0x140255684]
movzx eax, byte [rdi]
test eax, eax
je 0x140191a96
cmp eax, 0x2e
je 0x140191a96
cmp eax, 0x40
je 0x140191a96
test bl, bl
je 0x140191b18
mov rax, qword [rsi]
mov rax, qword [rax + 8]
mov rcx, rsi
mov rdx, r14
mov r8d, 1
call qword [0x1402ce008]
mov byte [rsp + 0x2e], 0xaa
mov cl, byte [rdi]
call fcn.140102cbf
movzx ecx, al
and al, 0xfe
cmp al, 0x2c
cmove ecx, r15d
mov byte [rsp + 0x2e], cl
mov rax, qword [rsi]
mov rax, qword [rax + 8]
mov rcx, rsi
mov rdx, rbp
mov r8d, 1
call qword [0x1402ce008]
inc rdi
xor ebx, ebx
jmp 0x140191aea
mov rcx, rdi
mov edx, 0x40
call fcn.1401187c0
test rax, rax
je 0x140191a96
mov rdi, rax
inc rdi
jmp 0x140191ad8
Function at 0x1401a9726
Capabilities:
Modify service

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1c0
mov r15, rcx
mov rax, qword [0x14029a048]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
movzx eax, byte [rdx + 0x57]
test al, al
jns 0x1401a975b
mov rax, qword [rdx + 0x48]
mov rbx, qword [rdx + 0x40]
jmp 0x1401a9762
lea rbx, [rdx + 0x40]
and eax, 0x7f
test rax, rax
cmove rbx, rax
mov rax, qword [rdx + 0x28]
xor edi, edi
cmp rax, qword [rdx + 0x30]
cmovne rdi, rax
movzx eax, byte [rdx + 0x27]
test al, al
jns 0x1401a9789
mov rax, qword [rdx + 0x18]
mov rsi, qword [rdx + 0x10]
jmp 0x1401a9790
lea rsi, [rdx + 0x10]
and eax, 0x7f
test rax, rax
cmove rsi, rax
mov r9d, dword [rdx + 0xc]
mov eax, dword [rdx + 4]
mov r8d, dword [rdx + 8]
mov rcx, qword [r15 + 0x138]
mov qword [rsp + 0x50], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], rdi
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rsi
mov edx, eax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov edi, eax
test eax, eax
jne 0x1401a97e1
mov ecx, 1
call fcn.1400d72c0
test al, al
jne 0x1401a9807
test edi, edi
setne bl
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140116250
mov eax, ebx
add rsp, 0x1c0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutilinstall_service_work_item_impl.cc
lea rcx, [rsp + 0x78]
mov r8d, 0x1ef
mov r9d, 1
call fcn.140165330
lea rcx, [rsp + 0x88]
lea rdx, str.Failed_to_change_service_config
mov r8d, 0x20
call fcn.1400c3dd3
mov r14, rax
lea rbx, [rsp + 0x60]
mov rcx, r15
mov rdx, rbx
call fcn.1401a88bc
cmp byte [rbx + 0x17], 0
jns 0x1401a9865
mov rbx, qword [rsp + 0x60]
mov rcx, r14
mov rdx, rbx
call fcn.1401cee40
cmp byte [rsp + 0x77], 0
jns 0x1401a9881
mov rcx, qword [rsp + 0x60]
call fcn.140114d0c
lea rcx, [rsp + 0x78]
call fcn.1401653b0
jmp 0x1401a97e1

Function at 0x1401b35b0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1401b35e7
movabs r9, 0xf000000000000000
shl rax, 4
movsx r10, byte [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
inc rdx
cmp rdx, r8
jne 0x1401b35c1
ret

Function at 0x1401b3650
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1401b3688
movabs r9, 0xf000000000000000
shl rax, 4
movzx r10d, word [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
add rdx, 2
cmp rdx, r8
jne 0x1401b3661
ret
Function at 0x1401bd3ae
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov r12, r9
mov r14, r8
mov rdi, rcx
mov rax, qword [0x14029a048]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x20]
mov qword [rax], rdx
mov rdx, rax
call fcn.1400c4e5a
xor esi, esi
mov ecx, 6
test al, al
je 0x1401bd410
or dword [r14], ecx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140116250
mov eax, esi
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1401bd51e
movzx eax, byte [rax]
mov ecx, 4
test al, al
js 0x1401bd3ef
movzx edx, al
mov rbp, qword [r12 + 0x10]
test byte [rbp + rdx*2], 4
je 0x1401bd3ef
mov rcx, qword [r12]
mov rbx, qword [rcx + 0x48]
mov rcx, r12
mov edx, eax
xor r8d, r8d
mov rax, rbx
call qword [0x1402ce008]
mov ebx, eax
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1401bd530
inc rax
mov qword [rcx + 0x18], rax
mov ebp, dword [rsp + 0x90]
movsx esi, bl
lea r15, [rsp + 0x20]
add esi, 0xffffffd0
mov rcx, rdi
mov rdx, r15
call fcn.1400c4e5a
test al, al
jne 0x1401bd542
cmp ebp, 2
jl 0x1401bd542
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1401bd4fe
movzx edx, byte [rax]
test dl, dl
js 0x1401bd3f2
movzx eax, dl
mov rcx, qword [r12 + 0x10]
test byte [rcx + rax*2], 4
je 0x1401bd3f2
mov rax, qword [r12]
mov rax, qword [rax + 0x48]
mov rcx, r12
xor r8d, r8d
call qword [0x1402ce008]
mov ebx, eax
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1401bd50f
inc rax
mov qword [rcx + 0x18], rax
lea eax, [rsi + rsi*4]
movsx ecx, bl
lea esi, [rcx + rax*2]
dec ebp
jmp 0x1401bd47e
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1402ce008]
mov edx, eax
jmp 0x1401bd4ad
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1402ce008]
jmp 0x1401bd4f1
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1402ce008]
jmp 0x1401bd424
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1402ce008]
jmp 0x1401bd46f
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400c4e5a
mov ecx, 2
test al, al
jne 0x1401bd3ef
jmp 0x1401bd3f2
Function at 0x14021a1de
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x40
jb 0x14021a22c
cmp byte [rcx], 0x4d
jne 0x14021a22c
cmp byte [rcx + 1], 0x5a
jne 0x14021a22c
mov r9d, dword [rcx + 0x3c]
mov r10, rdx
sub r10, r9
xor eax, eax
cmp r10, 0x18
jb 0x14021a22e
cmp r9, rdx
jae 0x14021a22e
cmp r9d, 0x40
jb 0x14021a22e
mov r10d, r9d
and r10d, 7
jne 0x14021a22e
cmp byte [rcx + r9], 0x50
jne 0x14021a22c
cmp byte [rcx + r9 + 1], 0x45
jne 0x14021a22c
cmp byte [rcx + r9 + 2], 0
je 0x14021a22f
xor eax, eax
ret
cmp byte [rcx + r9 + 3], 0
jne 0x14021a22c
add r9, 0x18
xor eax, eax
sub rdx, r9
jbe 0x14021a22e
cmp rdx, 2
jb 0x14021a22e
cmp word [rcx + r9], r8w
sete al
jmp 0x14021a22e
Function at 0x140220270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [0x14029a048]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp rdx, r8
jae 0x1402204b5
mov rdi, r8
mov r12, rcx
mov r10, qword [rsp + 0xa8]
mov r14, qword [r10]
mov eax, r9d
mov r15, rdx
sub r15, rax
lea rax, [rcx + 0x10]
mov qword [rsp + 0x20], rax
xor r11d, r11d
mov eax, edx
sub eax, r15d
cmp dword [r12 + 8], eax
ja 0x1402202db
mov ecx, dword [r12 + 0xc]
sub ecx, eax
jbe 0x1402202db
add rdx, rcx
jmp 0x140220392
lea rcx, [rdx + 5]
cmp rcx, rdi
jbe 0x1402202e9
xor r13d, r13d
jmp 0x1402202f9
mov cl, byte [rdx]
and cl, 0xfe
lea r13, [rdx + 1]
cmp cl, 0xe8
cmovne r13, r11
lea rcx, [rdx + 6]
cmp rcx, rdi
jbe 0x1402203a0
xor r8d, r8d
lea rcx, [rdx + 7]
cmp rcx, rdi
jbe 0x1402203d3
test r13, r13
je 0x14022038f
mov esi, r13d
sub esi, r15d
mov dword [rsp + 0x2c], esi
mov rbp, qword [r10 + 8]
cmp r14, rbp
je 0x140220348
lea ecx, [rsi - 3]
mov ebx, dword [r14]
cmp ebx, ecx
jae 0x14022045f
add r14, 4
cmp r14, rbp
jne 0x140220331
mov r14, rbp
mov eax, dword [r13]
add eax, esi
add eax, 4
cmp eax, dword [r12 + 0x28]
jae 0x14022038f
test r8b, r8b
jne 0x14022036b
cmp eax, r9d
jb 0x14022038f
cmp eax, dword [rsp + 0xa0]
jae 0x14022038f
mov rax, qword [r12 + 0x18]
cmp rax, qword [r12 + 0x20]
je 0x140220492
mov dword [rax], esi
add rax, 4
mov qword [r12 + 0x18], rax
add r13, 4
mov rdx, r13
jmp 0x140220392
inc rdx
cmp rdx, rdi
jb 0x1402202be
jmp 0x1402204b5
movzx ecx, byte [rdx]
lea ebp, [rcx - 0x89]
cmp ebp, 4
ja 0x14022042a
mov ebx, 0x15
bt ebx, ebp
jae 0x14022042a
mov cl, byte [rdx + 1]
and cl, 0xc7
cmp cl, 5
jne 0x140220306
lea r13, [rdx + 2]
mov r8b, 1
jmp 0x140220309
mov cl, byte [rdx]
cmp cl, 0x66
je 0x1402203e6
and cl, 0xf2
cmp cl, 0x40
jne 0x140220316
movzx ecx, byte [rdx + 1]
add ecx, 0xffffff77
cmp ecx, 4
ja 0x140220316
mov esi, 0x15
bt esi, ecx
jae 0x140220316
mov cl, byte [rdx + 2]
and cl, 0xc7
lea rbp, [rdx + 3]
cmp cl, 5
cmove r13, rbp
movzx r8d, r8b
mov ecx, 1
cmove r8d, ecx
jmp 0x140220316
cmp ecx, 0xff
je 0x140220477
cmp ecx, 0xf
jne 0x140220306
mov bl, byte [rdx + 1]
mov ecx, ebx
and cl, 0xf0
cmp cl, 0x80
jne 0x140220306
and bl, 0xfe
lea rcx, [rdx + 2]
cmp bl, 0x8a
cmovne r13, rcx
jmp 0x140220306
lea ecx, [rsi + 4]
cmp ebx, ecx
jae 0x140220348
sub ebx, eax
add ebx, 4
add rdx, rbx
jmp 0x140220392
movzx ecx, byte [rdx + 1]
cmp ecx, 0x15
je 0x1402203c7
cmp ecx, 0x25
je 0x1402203c7
jmp 0x140220306
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x2c]
mov esi, r9d
mov rbx, r10
call fcn.140109e7e
xor r11d, r11d
mov r10, rbx
mov r9d, esi
jmp 0x140220386
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140116250
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140209910
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14020991d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14020992d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140209915
lea eax, [rcx + 1]
jmp 0x14020993b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14020994e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140209934
sub eax, 3
jb 0x14020996e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1402099bd
sar eax, 1
movsxd rbp, eax
jb 0x1402099a4
jmp 0x14020997c
add ebx, ebx
jne 0x14020997a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1402099a4
inc ecx
add ebx, ebx
jne 0x14020998a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1402099a4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14020999d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14020998c
add ecx, 2
jmp 0x1402099a9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1402098d2
jmp 0x14020991d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x8f800
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140209a09
cmp rsi, rcx
jae 0x140209a11
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1402099f0
cmp al, 0x8f
ja 0x1402099f0
cmp byte [rsi - 2], 0xf
je 0x1402099f6
sub al, 0xe8
cmp al, 1
ja 0x1402099da
cmp rsi, rcx
jae 0x140209a11
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1402099e0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140209a11
lodsb al, byte [rsi]
jmp 0x1402099f0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x206000]
mov eax, dword [rdi]
or eax, eax
je 0x140209a6e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x209000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140209a1e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140209a68
mov qword [rbx], rax
add rbx, 8
jmp 0x140209a3e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140209aa8
cmp al, 0xef
ja 0x140209a9a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140209a7a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140209a89
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1a7]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.140209b27], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140209b27
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140209b17
sub rsp, 0xffffffffffffff80
jmp 0x14000ac30
Function at 0x14000f614
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov r9d, dword [rdi]
mov r8d, dword [rsi]
mov rdx, qword [r14]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x14000f660
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000f63c
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret

Function at 0x14000f680
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rcx + 8]
mov r14, qword [rcx]
mov ecx, dword [r14]
xor r9d, r9d
inc ecx
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14000f6cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000f6a0
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14000f6e4
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rcx + 8]
mov r14, qword [rcx]
mov ecx, dword [r14]
xor r9d, r9d
inc ecx
mov qword [rsp + 0x20], rdi
mov r8, rsi
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14000f72e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000f704
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14000f748
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov r9d, dword [rdi]
mov r8d, dword [rsi]
mov rdx, qword [r14]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x14000f794
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000f770
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret