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

Disassembly:
push rsi
push r14
sub rsp, 0x68
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x98], 0
mov rsi, rdx
mov r14, rcx
jne 0x14005e66d
xor al, al
jmp 0x14005e853
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], rdi
call fcn.140056b80
test al, al
je 0x14005e83c
mov rax, qword [r14 + 0x50]
mov r8, rsi
mov rbx, qword [rax - 0x70]
lea rdi, [rax - 0x78]
mov rdx, rdi
mov rcx, rbx
call fcn.140057620
test al, al
je 0x14005e83c
mov rdx, rdi
mov rcx, rbx
call fcn.1400581d0
test al, al
je 0x14005e83c
mov rbx, qword [r14 + 0x48]
cmp rbx, qword [r14 + 0x50]
je 0x14005e826
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x50], r12
movabs r12, 0x100000001b3
mov qword [rsp + 0x48], r13
movabs r13, 0x789e9b398d409406
mov qword [rsp + 0x40], r15
xor r15d, r15d
nop word [rax + rax]
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x14005e794
xorps xmm0, xmm0
mov qword [rsp + 0x20], rsi
cvtsi2sd xmm0, rsi
mov rdi, r13
mov rcx, r15
movsd qword [rsp + 0x28], xmm0
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x21]
imul rdi, r12
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x22]
imul rdi, r12
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x23]
imul rdi, r12
add rcx, 4
xor rdi, rax
imul rdi, r12
cmp rcx, 0x10
jb 0x14005e730
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rbp + 0x20]
jbe 0x14005e789
mov edx, 1
mov rcx, rbp
call fcn.140042a90
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + 8]
mov qword [rbp + 0x18], rax
mov qword [rcx], rdi
cmp qword [rbx + 0x30], r15
je 0x14005e7c7
mov edi, r15d
cmp dword [rbx + 0x38], r15d
jbe 0x14005e7c7
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov rdx, rsi
cmove rcx, r15
call fcn.14005e640
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x14005e7a3
cmp qword [rbx + 0x40], r15
je 0x14005e804
mov edi, r15d
cmp dword [rbx + 0x48], r15d
jbe 0x14005e804
nop word [rax + rax]
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov rdx, rsi
cmove rcx, r15
call fcn.14005e640
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x14005e7e0
add rbx, 0x78
cmp rbx, qword [r14 + 0x50]
jne 0x14005e700
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rcx, r14
call fcn.14005a150
test al, al
setne al
mov byte [r14 + 0x98], al
jmp 0x14005e846
mov byte [r14 + 0x98], 0
xor al, al
mov rbx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006b950
add rsp, 0x68
pop r14
pop rsi
ret
Function at 0x14005ec90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x68
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x98], 0
mov r14, rcx
movsxd rbp, edx
jne 0x14005ecbd
xor al, al
jmp 0x14005eeac
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x40], r15
call fcn.140056b80
test al, al
je 0x14005ee90
mov rax, qword [r14 + 0x50]
mov r8, rbp
mov rbx, qword [rax - 0x70]
lea rdi, [rax - 0x78]
mov rdx, rdi
mov rcx, rbx
call fcn.140057620
test al, al
je 0x14005ee90
mov rdx, rdi
mov rcx, rbx
call fcn.1400581d0
test al, al
je 0x14005ee90
mov rbx, qword [r14 + 0x48]
cmp rbx, qword [r14 + 0x50]
je 0x14005ee7a
mov qword [rsp + 0x60], rsi
movabs rax, 0x789e9b398d409406
mov qword [rsp + 0x50], r12
xor r12d, r12d
mov qword [rsp + 0x48], r13
movabs r13, 0x100000001b3
nop word [rax + rax]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x14005ede4
movd xmm0, ebp
mov rdi, rax
cvtdq2pd xmm0, xmm0
mov qword [rsp + 0x20], rbp
mov rcx, r12
movsd qword [rsp + 0x28], xmm0
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x21]
imul rdi, r13
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x22]
imul rdi, r13
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x23]
imul rdi, r13
add rcx, 4
xor rdi, rax
imul rdi, r13
cmp rcx, 0x10
jb 0x14005ed80
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rsi + 0x20]
jbe 0x14005edd9
mov edx, 1
mov rcx, rsi
call fcn.140042a90
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 8]
mov qword [rsi + 0x18], rax
mov qword [rcx], rdi
cmp qword [rbx + 0x30], r12
je 0x14005ee16
mov edi, r12d
cmp dword [rbx + 0x38], r12d
jbe 0x14005ee16
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r12
call fcn.14005ec90
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x14005edf3
cmp qword [rbx + 0x40], r12
je 0x14005ee53
mov edi, r12d
cmp dword [rbx + 0x48], r12d
jbe 0x14005ee53
nop word [rax + rax]
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r12
call fcn.14005ec90
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x14005ee30
add rbx, 0x78
movabs rax, 0x789e9b398d409406
cmp rbx, qword [r14 + 0x50]
jne 0x14005ed50
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rcx, r14
call fcn.14005a150
test al, al
setne al
mov byte [r14 + 0x98], al
jmp 0x14005ee9a
mov byte [r14 + 0x98], 0
xor al, al
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006b950
add rsp, 0x68
pop r14
pop rbp
ret
Function at 0x140062370
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
mov rbx, rcx
cmp rax, qword [rcx + 0x18]
jae 0x140062390
inc rax
mov qword [rcx + 0x20], rax
add rsp, 0x20
pop rbx
ret
cmp byte [rcx + 0x38], 0
jne 0x1400623dc
mov rax, qword [rcx + 0x28]
mov edx, 1
add qword [rcx + 0x30], rax
mov r9, qword [rcx]
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
call fcn.1400adb88
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], rdx
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbx + 0x18], rcx
cmp rax, qword [rbx + 0x10]
jae 0x1400623dc
mov byte [rdx + rax], 0
inc qword [rbx + 0x18]
mov byte [rbx + 0x38], 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400649d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push r14
sub rsp, 0x68
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x98], 0
mov rsi, rdx
mov r14, rcx
jne 0x1400649fd
xor al, al
jmp 0x140064c03
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], rdi
call fcn.140056b80
test al, al
je 0x140064bec
mov rax, qword [r14 + 0x50]
mov r8, rsi
mov rbx, qword [rax - 0x70]
lea rdi, [rax - 0x78]
mov rdx, rdi
mov rcx, rbx
call fcn.1400577d0
test al, al
je 0x140064bec
mov rdx, rdi
mov rcx, rbx
call fcn.1400581d0
test al, al
je 0x140064bec
mov rbx, qword [r14 + 0x48]
cmp rbx, qword [r14 + 0x50]
je 0x140064bd6
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x50], r12
movabs r12, 0x100000001b3
mov qword [rsp + 0x48], r13
movabs r13, 0x789e9b398d409406
mov qword [rsp + 0x40], r15
xor r15d, r15d
nop word [rax + rax]
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x140064b44
mov qword [rsp + 0x20], rsi
xorps xmm0, xmm0
test rsi, rsi
js 0x140064ab1
cvtsi2sd xmm0, rsi
jmp 0x140064ac9
mov rax, rsi
mov rcx, rsi
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
movsd qword [rsp + 0x28], xmm0
mov rdi, r13
mov rcx, r15
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x21]
imul rdi, r12
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x22]
imul rdi, r12
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x23]
imul rdi, r12
add rcx, 4
xor rdi, rax
imul rdi, r12
cmp rcx, 0x10
jb 0x140064ae0
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rbp + 0x20]
jbe 0x140064b39
mov edx, 1
mov rcx, rbp
call fcn.140042a90
mov rcx, qword [rbp + 0x18]
lea rax, [rcx + 8]
mov qword [rbp + 0x18], rax
mov qword [rcx], rdi
cmp qword [rbx + 0x30], r15
je 0x140064b77
mov edi, r15d
cmp dword [rbx + 0x38], r15d
jbe 0x140064b77
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov rdx, rsi
cmove rcx, r15
call fcn.1400649d0
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x140064b53
cmp qword [rbx + 0x40], r15
je 0x140064bb4
mov edi, r15d
cmp dword [rbx + 0x48], r15d
jbe 0x140064bb4
nop word [rax + rax]
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov rdx, rsi
cmove rcx, r15
call fcn.1400649d0
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x140064b90
add rbx, 0x78
cmp rbx, qword [r14 + 0x50]
jne 0x140064a90
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rcx, r14
call fcn.14005a150
test al, al
setne al
mov byte [r14 + 0x98], al
jmp 0x140064bf6
mov byte [r14 + 0x98], 0
xor al, al
mov rbx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006b950
add rsp, 0x68
pop r14
pop rsi
ret
Function at 0x140065040
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x68
mov rax, qword [0x140106b98]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x98], 0
mov r14, rcx
mov ebp, edx
jne 0x14006506c
xor al, al
jmp 0x14006525c
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x40], r15
call fcn.140056b80
test al, al
je 0x140065240
mov rax, qword [r14 + 0x50]
mov r8, rbp
mov rbx, qword [rax - 0x70]
lea rdi, [rax - 0x78]
mov rdx, rdi
mov rcx, rbx
call fcn.1400577d0
test al, al
je 0x140065240
mov rdx, rdi
mov rcx, rbx
call fcn.1400581d0
test al, al
je 0x140065240
mov rbx, qword [r14 + 0x48]
cmp rbx, qword [r14 + 0x50]
je 0x14006522a
mov qword [rsp + 0x60], rsi
movabs rcx, 0x789e9b398d409406
mov qword [rsp + 0x50], r12
xor r12d, r12d
mov qword [rsp + 0x48], r13
movabs r13, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x140065194
xorps xmm0, xmm0
mov qword [rsp + 0x20], rbp
cvtsi2sd xmm0, rbp
mov rdi, rcx
mov rcx, r12
movsd qword [rsp + 0x28], xmm0
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x21]
imul rdi, r13
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x22]
imul rdi, r13
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x23]
imul rdi, r13
add rcx, 4
xor rdi, rax
imul rdi, r13
cmp rcx, 0x10
jb 0x140065130
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rsi + 0x20]
jbe 0x140065189
mov edx, 1
mov rcx, rsi
call fcn.140042a90
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 8]
mov qword [rsi + 0x18], rax
mov qword [rcx], rdi
cmp qword [rbx + 0x30], r12
je 0x1400651c6
mov edi, r12d
cmp dword [rbx + 0x38], r12d
jbe 0x1400651c6
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r12
call fcn.140065040
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x1400651a3
cmp qword [rbx + 0x40], r12
je 0x140065203
mov edi, r12d
cmp dword [rbx + 0x48], r12d
jbe 0x140065203
nop word [rax + rax]
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r12
call fcn.140065040
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x1400651e0
add rbx, 0x78
movabs rcx, 0x789e9b398d409406
cmp rbx, qword [r14 + 0x50]
jne 0x140065100
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rcx, r14
call fcn.14005a150
test al, al
setne al
mov byte [r14 + 0x98], al
jmp 0x14006524a
mov byte [r14 + 0x98], 0
xor al, al
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006b950
add rsp, 0x68
pop r14
pop rbp
ret
Function at 0x1400658e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
movabs rax, 0x84222325cbf29ce4
xor rbx, rax
mov rdi, rcx
movabs rcx, 0x100000001b3
xor edx, edx
imul rbx, rcx
test r9, r9
je 0x140065934
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rbx, rax
imul rbx, rcx
cmp rdx, r9
jb 0x140065920
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rdi + 0x20]
jbe 0x140065953
mov edx, 1
mov rcx, rdi
call fcn.140042940
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 8]
mov qword [rdi + 0x18], rax
mov al, 1
mov qword [rcx], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
movabs rax, 0x84222325cbf29ce4
xor rbx, rax
mov rdi, rcx
movabs rcx, 0x100000001b3
xor edx, edx
imul rbx, rcx
test r9, r9
je 0x1400659c4
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rbx, rax
imul rbx, rcx
cmp rdx, r9
jb 0x1400659b0
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rdi + 0x20]
jbe 0x1400659e3
mov edx, 1
mov rcx, rdi
call fcn.140042a90
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 8]
mov qword [rdi + 0x18], rax
mov al, 1
mov qword [rcx], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140002690
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x690
mov rax, qword [0x140075180]
xor rax, rsp
mov qword [rsp + 0x680], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001687
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_creating_process_snapshot.
call fcn.140003e70
mov rcx, rax
lea rdx, [0x140004040]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140001737
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000172e
lea r8, [rsp + 0x4c]
mov edx, 0x104
lea rcx, [rsp + 0x470]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rsp + 0x470]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea r8, str.GTAProcess.exe
mov edx, 0x104
lea rcx, [rsp + 0x260]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x470]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rcx, rbx
test rax, rax
jne 0x140001752
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400016a5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.140054630
add rsp, 0x690
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140001739
Function at 0x140001760
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140075180]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rbx, qword [rsp + 0x80]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov dword [rsp + 0x30], 1
cmp rbx, qword [rsp + 0x88]
jae 0x1400018e5
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x1400018d0
cmp dword [rsp + 0x68], 0x1000
jne 0x1400018c4
mov eax, dword [rsp + 0x6c]
cmp eax, 0x40
je 0x140001821
cmp eax, 4
jne 0x1400018c4
mov rcx, qword [rsp + 0x60]
call fcn.140054694
mov rbp, rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r8, rbp
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400018bc
mov rbx, r15
mov rcx, qword [rsp + 0xa8]
add rcx, 0xfffffffffffffff0
je 0x1400018bc
mov rax, qword [rbx + rbp]
cmp rax, qword [rsi]
jne 0x1400018a8
mov rax, qword [rbx + rbp + 8]
cmp rax, qword [rsi + 8]
jne 0x1400018a8
mov rcx, qword [rsp + 0x48]
add rcx, rbx
mov qword [rsp + 0x38], rcx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14000189b
mov qword [rdx], rcx
add qword [rdi + 8], 8
jmp 0x1400018a8
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.140004f70
inc rbx
mov rax, qword [rsp + 0xa8]
add rax, 0xfffffffffffffff0
cmp rbx, rax
jb 0x140001866
mov rcx, rbp
call fcn.140054650
mov rbx, qword [rsp + 0x48]
add rbx, qword [rsp + 0x60]
jmp 0x1400018d7
mov ecx, dword [rsp + 0x7c]
add rbx, rcx
cmp rbx, qword [rsp + 0x88]
jb 0x1400017e0
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140054630
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000edb8
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 0x14000ee04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000ede0
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 0x14000ee24
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 0x14000ee6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000ee44
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 0x14000ee88
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 0x14000eed2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000eea8
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 0x14000eeec
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 0x14000ef38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000ef14
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 0x14000ef58
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, qword [rcx + 0x20]
mov rsi, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov ecx, dword [r15]
mov r9, rsi
inc ecx
mov qword [rsp + 0x20], rdi
mov r8, rbp
mov rdx, r14
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14000efae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14000ef83
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14001c16c
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, rdx
mov dword [rax + 8], 1
mov rbx, r8
mov rdi, rcx
mov rcx, rsi
lea r8, [rax + 8]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov r8d, dword [rbx + 0x10]
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x14001c1fd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14001c1d6
mov rax, qword [rdi + 8]
mov dword [rax], 2
xor al, al
jmp 0x14001c2c1
mov r8, qword [rdi + 0x18]
mov rcx, rsi
mov rdx, qword [rdi + 0x10]
mov r8, qword [r8]
mov rdx, qword [rdx]
call fcn.14003099c
mov ecx, eax
mov rax, qword [rdi + 8]
mov dword [rax], ecx
mov rax, qword [rdi + 8]
cmp dword [rax], 0
jne 0x14001c1cf
and dword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, qword [rdi + 0x28]
lea r9, [rsp + 0x40]
movabs r14, 0x20c49ba5e353f7cf
mov dword [rsp + 0x20], 4
mov ebx, 0xffff
mov r8d, 0x1006
mov rcx, qword [rax]
mov rax, r14
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rdi + 0x20]
imul ecx, dword [rax], 0x3e8
add edx, ecx
mov rcx, rsi
mov dword [rsp + 0x40], edx
mov edx, ebx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rdi + 0x38]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov rcx, qword [rax]
mov rax, r14
imul rcx
sar rdx, 7
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
mov rcx, qword [rdi + 0x30]
imul r8d, dword [rcx], 0x3e8
mov rcx, rsi
add edx, r8d
mov r8d, 0x1005
mov dword [rsp + 0x40], edx
mov edx, ebx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 8]
mov al, 1
and dword [rcx], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret