joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a05a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x4a05df
jb 0x4a05f4
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesenclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x4a0660
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x4a0730
jb 0x4a078f
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.004a0540
aeskeygenassist xmm1, xmm0, 1
call fcn.004a0560
aeskeygenassist xmm1, xmm2, 2
call fcn.004a0540
aeskeygenassist xmm1, xmm0, 2
call fcn.004a0560
aeskeygenassist xmm1, xmm2, 4
call fcn.004a0540
aeskeygenassist xmm1, xmm0, 4
call fcn.004a0560
aeskeygenassist xmm1, xmm2, 8
call fcn.004a0540
aeskeygenassist xmm1, xmm0, 8
call fcn.004a0560
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004a0540
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004a0560
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004a0540
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004a0560
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004a0540
jmp 0x4a07fd
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.004a04a0
aeskeygenassist xmm1, xmm2, 2
call fcn.004a0500
aeskeygenassist xmm1, xmm2, 4
call fcn.004a04a0
aeskeygenassist xmm1, xmm2, 8
call fcn.004a0500
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004a04a0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004a0500
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004a04a0
aeskeygenassist xmm1, xmm2, 0x80
call fcn.004a0500
jmp 0x4a07fd
aeskeygenassist xmm1, xmm0, 1
call fcn.004a0460
aeskeygenassist xmm1, xmm0, 2
call fcn.004a0460
aeskeygenassist xmm1, xmm0, 4
call fcn.004a0460
aeskeygenassist xmm1, xmm0, 8
call fcn.004a0460
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004a0460
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004a0460
aeskeygenassist xmm1, xmm0, 0x40
call fcn.004a0460
aeskeygenassist xmm1, xmm0, 0x80
call fcn.004a0460
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.004a0460
aeskeygenassist xmm1, xmm0, 0x36
call fcn.004a0460
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x4a080a
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
ret
Function at 0x14016b0e1
Capabilities:
Get hostname

Disassembly:
jmp 0x14029f190
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov edx, ebx
mov byte [rcx], 0
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x14029f1c9
lea edx, [rax + 0x2e]
mov rcx, rdi
call fcn.14016b6ea
test rax, rax
je 0x14029f1c7
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
jmp 0x140255090
sub rsp, 0x28
cmp byte [rcx + 0x2f0], 0
je 0x1402550ad
call fcn.14017439e
test eax, eax
jne 0x1402550d3
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x258]
cmp rcx, 0xffffffffffffffff
je 0x1402550a6
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1402550a6
mov al, 1
add rsp, 0x28
ret

Function at 0x14016ba23
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x1402a4360
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1404ff3c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov dword [rsp + 0x20], 0xf0000000
mov rsi, r8
mov qword [rsp + 0x38], rbp
mov rdi, rdx
mov qword [rsp + 0x40], rbp
mov rbx, rcx
xor r8d, r8d
lea r9d, [rbp + 1]
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1402a43d0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov rcx, rsi
call fcn.14016db93
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x10
jne 0x1402a442e
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rbx
mov dword [rsp + 0x20], ebp
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1402a443e
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1402a4450
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14016f3bc
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14016c82e
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1402eded0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x1402edef8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x1402edf42
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x1402edeed
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x14016cb08
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14028f4c0
sub rsp, 0x28
xor eax, eax
lea r8, [rsp + 0x38]
test edx, edx
mov edx, 0x8004667e
setne al
mov dword [rsp + 0x38], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x28
ret

Function at 0x14016d27e
Capabilities:
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
jmp 0x1402a05f0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov r8, rcx
mov rbx, rcx
mov rdx, rdi
mov rcx, rsi
call fcn.1402a0890
lea r8, [rbx + 7]
mov rcx, rsi
lea rdx, [rdi + 8]
call fcn.1402a0890
lea r8, [rbx + 0xe]
mov rcx, rsi
lea rdx, [rdi + 0x10]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1402a0890
Function at 0x14016e160
Capabilities:
Get geographical location

Disassembly:
jmp 0x14031a310
push rdi
sub rsp, 0x30
call fcn.140170195
mov ecx, 8
imul rcx, rcx, 5
mov rax, qword [rax + rcx]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14031a33c
mov eax, 2
jmp 0x14031a3a9
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov r9d, 2
lea r8, [rsp + 0x24]
mov edx, Ordinal_35
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x24]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x30
je 0x14031a392
cmp dword [rsp + 0x20], 0x31
je 0x14031a399
cmp dword [rsp + 0x20], 0x32
je 0x14031a3a0
jmp 0x14031a3a7
mov eax, 2
jmp 0x14031a3a9
mov eax, 1
jmp 0x14031a3a9
mov eax, 3
jmp 0x14031a3a9
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x14016e8b3
Capabilities:
Query environment variable

Disassembly:
jmp 0x14026ef10
mov eax, 0x1038
call fcn.14016c964
sub rsp, rax
mov rax, qword [0x1404ff3c0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
call fcn.14016de95
mov byte [rsp + 0x20], 0
test rax, rax
je 0x14026ef7c
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x14026ef7c
lea rcx, [rsp + 0x20]
call qword [case.0x140242269.0]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14016f3bc
add rsp, 0x1038
ret
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14016f3bc
add rsp, 0x1038
ret
Function at 0x14016ec05
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x14020d050
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140173d0e
nop
mov eax, dword [rbp + 0x120]
xor eax, 0xffffffff
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 4
jb 0x14020d18d
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx]
mov edx, dword [rbp + 4]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14047d8e0]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx]
mov edx, dword [rbp + 4]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14047d8e0]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx]
mov edx, dword [rbp + 4]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14047d8e0]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx]
mov edx, dword [rbp + 4]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14047d8e0]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x28]
add rax, 4
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
sub rax, 4
mov qword [rbp + 0x130], rax
jmp 0x14020d090
cmp qword [rbp + 0x130], 0
je 0x14020d1e8
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx]
mov edx, dword [rbp + 4]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x14047d8e0]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
dec rax
mov qword [rbp + 0x130], rax
jmp 0x14020d18d
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14016eefd
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1403af680
mov rax, rcx
neg rcx
test rax, 7
je 0x1403af69d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1403af6f8
test al, 7
jne 0x1403af690
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1403af6b1
mov rdx, qword [rax - 8]
test dl, dl
je 0x1403af722
test dh, dh
je 0x1403af71c
shr rdx, 0x10
test dl, dl
je 0x1403af716
test dh, dh
je 0x1403af710
shr rdx, 0x10
test dl, dl
je 0x1403af70a
test dh, dh
je 0x1403af704
shr edx, 0x10
test dl, dl
je 0x1403af6fe
test dh, dh
jne 0x1403af6b1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x14016ef61
Capabilities:
Query environment variable

Disassembly:
jmp 0x140430510
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140430090
lea rcx, [rsp + 0x20]
call fcn.1404300e0
movzx eax, al
test eax, eax
jne 0x140430555
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1404300c0
mov rax, qword [rsp + 0x40]
jmp 0x14043064f
lea rcx, [rsp + 0x20]
call fcn.1404301e0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140430180
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.14016f56f
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14016e47b
lea rcx, [rsp + 0x28]
call fcn.14016fd8a
movzx eax, al
test eax, eax
jne 0x1404305ef
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.140172035
lea rcx, [rsp + 0x20]
call fcn.1404300c0
mov rax, qword [rsp + 0x50]
jmp 0x14043064f
lea rcx, [rsp + 0x20]
call fcn.1404301e0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.140173b5b
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.14016f425
lea rcx, [rsp + 0x28]
call fcn.140174b4b
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.140172035
lea rcx, [rsp + 0x20]
call fcn.1404300c0
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x14016f452
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
jmp 0x1402544d0
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x1404ff3c0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, qword [rsp + 0x120]
mov rsi, rcx
movsxd rcx, edx
xor r13d, r13d
mov r12, r9
mov r15, r8
mov rax, qword [rsi + 0x430]
mov rbp, qword [rsi + rcx*8 + 0x258]
lea rbx, [rcx + 0x15]
shl rbx, 5
add rbx, rsi
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x7c], 3
je 0x1402545d4
lea rax, [0x140170e42]
cmp qword [rsi + rcx*8 + 0x280], rax
jne 0x1402545d4
cmp qword [rbx], r13
je 0x140254558
test rdi, rdi
je 0x1402545d4
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, rbp
call fcn.140174605
cmp eax, 0xffffffff
je 0x1402545d4
test al, 1
je 0x1402545d4
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1402545b3
mov rax, qword [rsi]
mov ecx, dword [rax + 0xb68]
add ecx, ecx
movsxd rcx, ecx
mov qword [rbx + 8], rcx
call qword [fcn.140170361]
mov rdi, qword [rbx + 8]
mov rcx, rax
mov qword [rbx], rax
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
test rax, rax
jne 0x1402545b3
mov qword [rbx + 8], r13
jmp 0x1402545d4
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rcx
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x1402545d4
add qword [rbx + 0x10], rcx
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
movsxd rdi, eax
mov dword [r14], r13d
cmp rdi, 0xffffffffffffffff
jne 0x140254641
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x14025460d
mov dword [r14], 0x51
mov rax, r13
jmp 0x140254644
mov r8d, 0x80
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.140171d97
mov rcx, qword [rsi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.14017497f
mov rcx, qword [rsi]
mov dword [rcx + 0x1140], ebx
mov dword [r14], Ordinal_60
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14016f3bc
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
jmp 0x140254290
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1402542cb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, Ordinal_60
mov edx, 0x51
cmp eax, 0x2733
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14016f6f5
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
jmp 0x1402a4670
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [fcn.140170361]
mov rdi, rax
test rax, rax
jne 0x1402a46b2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1402a46f9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1402a4752
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1402a4710
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1402a4793
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140491827]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140491828]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1402a4760
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14016f7ef
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140340e20
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1403407a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140340e5f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14052f020]
jmp 0x140340e69
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14016fc31
Capabilities:
Query environment variable

Disassembly:
jmp 0x140430260
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140430090
lea rcx, [rsp + 0x40]
call fcn.140430210
movzx eax, al
test eax, eax
jne 0x1404302a8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1404300c0
mov rax, qword [rsp + 0x70]
jmp 0x140430479
lea rcx, [rsp + 0x40]
call fcn.1404301e0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140430180
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1404301e0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1401719f5
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14043034e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1404300c0
mov rax, qword [rsp + 0x80]
jmp 0x140430479
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.14016f56f
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14016f191
lea rcx, [rsp + 0x48]
call fcn.14016e7c8
movzx eax, al
test eax, eax
jne 0x1404303b5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.14016c5bd
lea rcx, [rsp + 0x40]
call fcn.1404300c0
mov rax, qword [rsp + 0x88]
jmp 0x140430479
lea rcx, [rsp + 0x48]
call fcn.1401704a6
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1404301e0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1401719f5
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14043044b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.14016c5bd
lea rcx, [rsp + 0x40]
call fcn.1404300c0
mov rax, qword [rsp + 0xa0]
jmp 0x140430479
lea rcx, [rsp + 0x48]
call fcn.14016f13c
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.14016c5bd
lea rcx, [rsp + 0x40]
call fcn.1404300c0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x14016fc63
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140340d50
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140340720
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140340d91
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14052f020]
jmp 0x140340d97
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x14016fd8f
Capabilities:
Get geographical location

Disassembly:
jmp 0x14040f150
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14040e080
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14040f1b7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x14052f030]
jmp 0x14040f1d9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14016e6f6
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x14016fdbc
Capabilities:
Terminate process

Disassembly:
jmp 0x14031ce10
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret