joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006ef50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400762c0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r8
mov rdi, rdx
mov r15, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140076311
mov r12, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.14006c450
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x14007633c
mov eax, 2
jmp 0x140076476
mov rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov r8, rdi
mov r9b, 1
call fcn.14006c450
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x14007645c
mov eax, 2
jmp 0x140076476
add r15, 0x18
lea rsi, [rsp + 0x28]
jmp 0x140076383
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.14004bad0
mov rsi, r14
mov rcx, r14
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.14006c450
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x140076307
mov rbp, qword [rsp + 0x28]
cmp al, 2
je 0x140076471
movzx ebx, byte [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov r14, rsi
mov rcx, rsi
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
call fcn.140081120
mov rsi, rax
mov r13, rdx
test rax, rax
je 0x14007646c
mov rcx, r13
call fcn.140075d50
cmp al, 0xd
jne 0x14007646c
and ebp, 0x23
mov rax, qword [r12 + 0x90]
xor rbp, 0x2f
mov rcx, rbx
shl rcx, 0x10
nop word cs:[rax + rax]
mov edx, eax
shr edx, 0x10
cmp bl, dl
jne 0x14007640c
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r12 + 0x90], rdx
jne 0x1400763f0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x140076366
test rax, rax
je 0x140076366
mov rsi, qword [r13 - 1]
mov rbx, qword [r13 + 7]
mov rax, qword [rbx]
test rax, rax
je 0x14007643e
mov rcx, rsi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140076350
mov r8, qword [rbx + 0x10]
mov rcx, rsi
call fcn.14004bad0
jmp 0x140076350
cmp al, 2
jne 0x14007648d
mov r13, qword [rsp + 0x28]
mov eax, 1
jmp 0x140076479
mov rax, rsi
jmp 0x140076479
mov eax, 1
mov r13, rbp
mov rdx, r13
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x140071c00
Capabilities:
Get number of processors

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rdi, rcx
mov eax, dword [0x140120c68]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x78]
test rax, rax
je 0x140071c93
cmp eax, 1
je 0x140071cc0
mov rsi, qword [rdi]
test rsi, rsi
je 0x140071d85
mov rdi, qword [rdi + 8]
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xb8], cl
jne 0x140071d06
cmp byte [rsi + 0xe8], 0
je 0x140071d25
mov rax, 0xffffffffffffffc0
lock xadd qword [rdi], rax
cmp rax, 0x3f
jbe 0x140071d85
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x140071d59
mov rax, qword [rdi + 0x10]
mov rcx, rdi
call qword [rax + 0x10]
jmp 0x140071d59
mov eax, dword [0x140120c68]
mov rcx, qword gs:[0x58]
mov rsi, qword [rcx + rax*8]
lea rcx, [rsi + 0x28]
lea rdx, [0x14006c350]
call fcn.1400b5060
mov byte [rsi + 0x78], 1
mov rax, qword [rdi]
test rax, rax
je 0x140071d85
mov qword [rsp + 0x20], rax
movups xmm0, xmmword [rdi + 8]
movups xmmword [rsp + 0x28], xmm0
mov eax, dword [0x140120c68]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x60]
lea rdx, [rsp + 0x20]
call fcn.140078c90
nop
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [rsi + 0xb8]
mov r8d, 0x3b9aca00
call fcn.1400ee5c0
cmp byte [rsi + 0xe8], 0
jne 0x140071c60
lea rax, [rsi + 0xd8]
mov rcx, qword [rsi + 0xa0]
mov rdx, qword [rsi + 0xe0]
lea r8, [rdx + 8]
test rdx, rdx
cmove r8, rax
mov qword [r8], rdi
mov qword [rsi + 0xe0], rdi
inc rcx
mov qword [rsi + 0xa0], rcx
xor ecx, ecx
mov al, 1
lock cmpxchg byte [rsi + 0xb8], cl
jne 0x140071d75
mov rcx, rsi
add rsp, 0x38
pop rdi
pop rsi
jmp fcn.14007adb0
lea rcx, [rsi + 0xb8]
xor edx, edx
call fcn.1400eec10
jmp 0x140071d67
ud2
Function at 0x1400760b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400760b0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x1400760fa
mov r15, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov rdx, r15
mov r8, rdi
xor r9d, r9d
call fcn.14006c450
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x140076125
mov eax, 1
jmp 0x140076293
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov r8, rdi
xor r9d, r9d
call fcn.14006c450
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x14007625c
mov eax, 1
jmp 0x140076293
add rbx, 0x18
lea r13, [rsp + 0x20]
mov qword [rsp + 0x30], rdi
jmp 0x14007617f
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.14004bad0
mov r13, rbx
mov rcx, rbx
mov rdx, r15
mov r8, qword [rsp + 0x30]
xor r9d, r9d
call fcn.14006c450
movzx eax, byte [rsp + 0x29]
cmp al, 3
mov rbx, rsi
mov rsi, r14
je 0x1400760f0
mov rbp, qword [rsp + 0x20]
cmp al, 2
je 0x140076265
mov r8, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
sub r8, r12
jb 0x1400762af
movzx edi, byte [rsp + 0x28]
mov r14, rsi
mov rdx, qword [rsi]
add rdx, r12
mov rsi, rbx
mov qword [rsp + 0x20], rbx
mov rbx, r13
mov rcx, r13
call fcn.140081110
mov r13, rdx
test rax, rax
je 0x140076269
mov rcx, r13
call fcn.140075d50
cmp al, 0xd
jne 0x14007628e
and ebp, 0x23
mov rax, qword [r15 + 0x90]
xor rbp, 0x2f
mov rcx, rdi
shl rcx, 0x10
nop
mov edx, eax
shr edx, 0x10
cmp dil, dl
jne 0x14007620c
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r15 + 0x90], rdx
jne 0x1400761f0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x140076156
test rax, rax
je 0x140076156
mov rbp, qword [r13 - 1]
mov rdi, qword [r13 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x14007623e
mov rcx, rbp
call rax
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x140076140
mov r8, qword [rdi + 0x10]
mov rcx, rbp
call fcn.14004bad0
jmp 0x140076140
cmp al, 2
jne 0x1400762a7
mov rbp, qword [rsp + 0x20]
xor eax, eax
jmp 0x140076293
lea rax, [r12 + r13]
mov rcx, qword [r14 + 0x18]
cmp rax, rcx
jbe 0x14007627d
mov qword [r14 + 0x18], rax
mov rcx, rax
add r12, r13
jb 0x1400762af
cmp rax, rcx
ja 0x1400762af
mov qword [r14 + 0x10], rax
xor r13d, r13d
xor eax, eax
mov rbp, r13
mov rdx, rbp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 8]
ud2
Function at 0x1400762c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400762c0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r8
mov rdi, rdx
mov r15, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140076311
mov r12, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.14006c450
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x14007633c
mov eax, 2
jmp 0x140076476
mov rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov r8, rdi
mov r9b, 1
call fcn.14006c450
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x14007645c
mov eax, 2
jmp 0x140076476
add r15, 0x18
lea rsi, [rsp + 0x28]
jmp 0x140076383
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.14004bad0
mov rsi, r14
mov rcx, r14
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.14006c450
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x140076307
mov rbp, qword [rsp + 0x28]
cmp al, 2
je 0x140076471
movzx ebx, byte [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov r14, rsi
mov rcx, rsi
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
call fcn.140081120
mov rsi, rax
mov r13, rdx
test rax, rax
je 0x14007646c
mov rcx, r13
call fcn.140075d50
cmp al, 0xd
jne 0x14007646c
and ebp, 0x23
mov rax, qword [r12 + 0x90]
xor rbp, 0x2f
mov rcx, rbx
shl rcx, 0x10
nop word cs:[rax + rax]
mov edx, eax
shr edx, 0x10
cmp bl, dl
jne 0x14007640c
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r12 + 0x90], rdx
jne 0x1400763f0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x140076366
test rax, rax
je 0x140076366
mov rsi, qword [r13 - 1]
mov rbx, qword [r13 + 7]
mov rax, qword [rbx]
test rax, rax
je 0x14007643e
mov rcx, rsi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140076350
mov r8, qword [rbx + 0x10]
mov rcx, rsi
call fcn.14004bad0
jmp 0x140076350
cmp al, 2
jne 0x14007648d
mov r13, qword [rsp + 0x28]
mov eax, 1
jmp 0x140076479
mov rax, rsi
jmp 0x140076479
mov eax, 1
mov r13, rbp
mov rdx, r13
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x14007c400
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [rcx]
nop dword [rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14007c410
test al, 1
je 0x14007c503
test al, 2
jne 0x14007c503
test al, 8
jne 0x14007c44b
lea rcx, [rsi + 0x20]
mov qword [rsp + 0x28], 4
lea rdx, [rsp + 0x28]
call fcn.140071330
jmp 0x14007c463
test al, 0x10
je 0x14007c463
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x14007c503
mov rcx, qword [rsi + 0x68]
call qword [rax + 0x10]
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
cmp rax, 0x3f
jbe 0x14007c503
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x14007c4cc
mov rcx, qword [rsi + 0x28]
add rcx, 0xfffffffffffffffe
cmp rcx, 3
mov eax, 1
cmovb rax, rcx
cmp rax, 1
je 0x14007c4d2
test rax, rax
jne 0x14007c4db
mov rdx, qword [rsi + 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14007c4db
test rdx, rdx
je 0x14007c4db
mov rcx, qword [rsi + 0x38]
mov r8d, 1
call fcn.14004bad0
jmp 0x14007c4db
add rsp, 0x50
pop rsi
ret
lea rcx, [rsi + 0x28]
call fcn.14006d1a0
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x14007c4eb
mov rcx, qword [rsi + 0x68]
call qword [rax + 0x18]
mov edx, 0x80
mov r8d, 0x80
mov rcx, rsi
add rsp, 0x50
pop rsi
jmp fcn.14004bad0
ud2
Function at 0x140080f20
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov esi, edx
cmp word [rcx], 0
mov eax, 2
mov edi, 0x17
cmove edi, eax
mov eax, dword [0x140120b78]
cmp eax, 3
jne 0x140080fbd
mov ecx, edi
mov edx, esi
xor r8d, r8d
call qword [sym.imp.ws2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x140080f98
mov rsi, rax
mov dword [rsp + 0x2c], 1
lea r8, [rsp + 0x2c]
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
test eax, eax
je 0x140080fae
call sub.KERNEL32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov eax, 1
jmp 0x140080fb3
call sub.KERNEL32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov eax, 1
jmp 0x140080fb3
xor eax, eax
mov rdi, rsi
mov rdx, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
mov byte [rsp + 0x2b], 1
lea rax, [rsp + 0x2b]
mov qword [rsp + 0x30], rax
lea rax, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_1.0.2_src_syswindows_net.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x140120b78]
lea r9, [0x1400fe340]
lea r8, [rsp + 0x30]
xor edx, edx
call fcn.1400efef0
jmp 0x140080f44

Function at 0x140081000
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rbx, rdx
mov rsi, rcx
mov rcx, rdx
mov edx, 1
call fcn.140080f20
mov rdi, rdx
test rax, rax
je 0x140081032
mov qword [rsi + 8], rdi
mov qword [rsi], 0xffffffffffffffff
jmp 0x1400810d3
cmp word [rbx], 0
je 0x140081057
movups xmm0, xmmword [rbx + 4]
movzx eax, word [rbx + 0x1c]
rol ax, 8
mov ecx, dword [rbx + 0x18]
add rbx, 0x14
mov r8d, 0x1c
mov dx, 0x17
jmp 0x140081070
movzx eax, word [rbx + 6]
rol ax, 8
add rbx, 2
xorps xmm0, xmm0
mov r8d, 0x10
mov dx, 2
mov r9d, dword [rbx]
mov word [rsp + 0x24], dx
mov word [rsp + 0x26], ax
mov dword [rsp + 0x28], r9d
movups xmmword [rsp + 0x2c], xmm0
mov dword [rsp + 0x3c], ecx
lea rdx, [rsp + 0x24]
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1400810aa
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x2733
jne 0x1400810b7
mov qword [rsi], rdi
mov qword [rsi + 8], 0
jmp 0x1400810d3
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 0xffffffffffffffff
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400b24a0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x478
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 2
mov qword [rsp + 0x48], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor edi, edi
mov r14, qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, 0xffffffff
xor r12d, r12d
cmp r8, 0x201
jae 0x1400b2530
jmp 0x1400b251f
jae 0x1400b25ec
cmp r8, 0x201
jae 0x1400b2530
mov esi, 0x200
lea r13, [rsp + 0x78]
mov rbp, r8
jmp 0x1400b255b
sub r8, r12
mov rax, rdi
sub rax, r12
cmp r8, rax
ja 0x1400b25bc
cmp rdi, rbx
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rsp + 0x48], r12
mov rsi, r12
mov r13, qword [rsp + 0x28]
mov rbp, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r13
mov edx, ebp
call r14
mov r15d, eax
test eax, eax
jne 0x1400b2580
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400b269f
mov r8d, r15d
cmp rbp, r8
jne 0x1400b2510
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400b26ca
lea r8, [rbp*2]
cmp rbp, 0x7fffffff
cmova r8, rbx
cmp r8, 0x201
jb 0x1400b251f
jmp 0x1400b2530
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x38]
mov rdx, r12
call fcn.1400eb640
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1400b253e
cmp rsi, r8
jb 0x1400b26ca
mov rax, qword [rsp + 0x50]
mov rsi, qword [rax]
mov rbx, qword [rax + 8]
lea r14, [rsp + 0x58]
mov rcx, r14
mov rdx, r13
call fcn.1400bd1a0
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
mov rcx, r14
call fcn.1400c04d0
cmp byte [rbx], 0
jne 0x1400b263c
lea rdx, [0x140106490]
lea rcx, [rsp + 0x58]
mov r8d, 3
call fcn.1400c0e70
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.1400b7f00
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400b266d
mov rcx, qword [rsp + 0x60]
mov r8d, 1
call fcn.14004bad0
test rdi, rdi
je 0x1400b2688
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x28]
mov rdx, rdi
call fcn.14004bad0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x30]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000001
mov qword [rsi], rax
test rdi, rdi
jne 0x1400b2672
jmp 0x1400b2688
ud2
Function at 0x1400b29c0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x478
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 2
mov qword [rsp + 0x48], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor edi, edi
mov r14, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, 0xffffffff
xor r12d, r12d
cmp r8, 0x201
jae 0x1400b2a50
jmp 0x1400b2a3f
jae 0x1400b2b0c
cmp r8, 0x201
jae 0x1400b2a50
mov esi, 0x200
lea r13, [rsp + 0x78]
mov rbp, r8
jmp 0x1400b2a7b
sub r8, r12
mov rax, rdi
sub rax, r12
cmp r8, rax
ja 0x1400b2adc
cmp rdi, rbx
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rsp + 0x48], r12
mov rsi, r12
mov r13, qword [rsp + 0x28]
mov rbp, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r13
mov edx, ebp
call r14
mov r15d, eax
test eax, eax
jne 0x1400b2aa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400b2bbf
mov r8d, r15d
cmp rbp, r8
jne 0x1400b2a30
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400b2bea
lea r8, [rbp*2]
cmp rbp, 0x7fffffff
cmova r8, rbx
cmp r8, 0x201
jb 0x1400b2a3f
jmp 0x1400b2a50
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x38]
mov rdx, r12
call fcn.1400eb640
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1400b2a5e
cmp rsi, r8
jb 0x1400b2bea
mov rax, qword [rsp + 0x50]
mov rsi, qword [rax]
mov rbx, qword [rax + 8]
lea r14, [rsp + 0x58]
mov rcx, r14
mov rdx, r13
call fcn.1400bd1a0
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
mov rcx, r14
call fcn.1400c04d0
cmp byte [rbx], 0
jne 0x1400b2b5c
lea rdx, [0x140106490]
lea rcx, [rsp + 0x58]
mov r8d, 3
call fcn.1400c0e70
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.1400b7f00
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400b2b8d
mov rcx, qword [rsp + 0x60]
mov r8d, 1
call fcn.14004bad0
test rdi, rdi
je 0x1400b2ba8
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x28]
mov rdx, rdi
call fcn.14004bad0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x30]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000001
mov qword [rsi], rax
test rdi, rdi
jne 0x1400b2b92
jmp 0x1400b2ba8
ud2
Function at 0x1400b3270
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x458
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 2
mov qword [rsp + 0x50], 0
mov r14, qword [rdx + 8]
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x30], rax
xor edi, edi
mov esi, 0xffffffff
xor r12d, r12d
cmp r8, 0x201
jae 0x1400b32f0
jmp 0x1400b32df
jae 0x1400b33bb
cmp r8, 0x201
jae 0x1400b32f0
mov ebx, 0x200
lea r13, [rsp + 0x58]
mov rbp, r8
jmp 0x1400b331f
sub r8, r12
mov rax, rdi
sub rax, r12
cmp r8, rax
ja 0x1400b338b
cmp rdi, rsi
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rsp + 0x50], r12
mov rbx, r12
mov r13, qword [rsp + 0x30]
mov rbp, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r14
mov rdx, r13
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r15d, eax
test eax, eax
jne 0x1400b334b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400b3402
mov r8d, r15d
cmp rbp, r8
jne 0x1400b32d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400b342d
lea r8, [rbp*2]
cmp rbp, 0x7fffffff
cmova r8, rsi
cmp r8, 0x201
jb 0x1400b32df
jmp 0x1400b32f0
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x40]
mov rdx, r12
call fcn.1400eb640
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
jmp 0x1400b3302
cmp rbx, r8
jb 0x1400b342d
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
mov rdx, r13
call fcn.1400bd1a0
test rdi, rdi
je 0x1400b33eb
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call fcn.14004bad0
mov rax, rsi
add rsp, 0x458
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x38]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rdi, rdi
jne 0x1400b33d5
jmp 0x1400b33eb
ud2
Function at 0x1400b3430
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x458
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 2
mov qword [rsp + 0x50], 0
mov r15d, 0x200
mov eax, 2
mov qword [rsp + 0x30], rax
xor edi, edi
mov r14d, 0xffffffff
xor r12d, r12d
cmp r15, 0x201
jae 0x1400b34b0
jmp 0x1400b349f
jae 0x1400b3575
cmp r15, 0x201
jae 0x1400b34b0
mov ebx, 0x200
lea r13, [rsp + 0x58]
mov rbp, r15
jmp 0x1400b34df
sub r15, r12
mov rax, rdi
sub rax, r12
cmp r15, rax
ja 0x1400b3542
cmp rdi, r14
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rsp + 0x50], r12
mov rbx, r12
mov r13, qword [rsp + 0x30]
mov rbp, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r13
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
test eax, eax
jne 0x1400b3506
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400b35a8
mov r15d, esi
cmp rbp, r15
jne 0x1400b3490
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400b3628
lea r15, [rbp*2]
cmp rbp, 0x7fffffff
cmova r15, r14
cmp r15, 0x201
jb 0x1400b349f
jmp 0x1400b34b0
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x40]
mov rdx, r12
mov r8, r15
call fcn.1400eb640
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
jmp 0x1400b34c2
cmp rbx, r15
jb 0x1400b3628
lea r14, [r15 + r15]
test esi, esi
je 0x1400b35d3
movzx eax, byte [0x140120b70]
mov edx, 2
mov rcx, r14
call fcn.14004bac0
test rax, rax
je 0x1400b362a
mov rsi, rax
jmp 0x1400b35d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rbx, qword [rsp + 0x38]
mov qword [rbx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rbx], rax
test rdi, rdi
jne 0x1400b35fb
jmp 0x1400b3611
mov esi, 2
mov rcx, rsi
mov rdx, r13
mov r8, r14
call fcn.1400ea9f0
mov rbx, qword [rsp + 0x38]
mov qword [rbx], r15
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], r15
test rdi, rdi
je 0x1400b3611
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call fcn.14004bad0
mov rax, rbx
add rsp, 0x458
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
mov ecx, 2
mov rdx, r14
call fcn.14006d9c0
int3

Function at 0x1400b4700
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x40]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x58
ret
Function at 0x1400b5590
Capabilities:
Set socket configuration

Disassembly:
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14006eeb0
add rcx, 0x18
jmp 0x1400810f0
ud2
jmp 0x1400b5590
sub rsp, 0x38
movzx eax, dl
mov rcx, qword [rcx]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400b55c8
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

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

Disassembly:
sub rsp, 0x28
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
mov rcx, qword [rcx]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400b560f
movsxd rdx, eax
xor eax, eax
add rsp, 0x28
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x28
ret

Function at 0x1400b5630
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1400b5665
movsxd rdx, eax
xor ecx, ecx
mov rax, rcx
add rsp, 0x28
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x1400b565d
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x28
ret

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

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
cmp r8, 0x7fffffff
mov ecx, 0x7fffffff
cmovae r8, rcx
mov rcx, qword [rax]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400b56d2
movsxd rdx, eax
xor eax, eax
add rsp, 0x28
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x28
ret