joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400703b0
Capabilities:
Convert ip address from string

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x108
xor eax, eax
xor esi, esi
mov qword [rsp + 0xc0], rax
mov rbx, rdx
mov rdi, r8
test rdx, rdx
je 0x14007062b
test r8, r8
jne 0x1400703e6
mov rdi, qword [rdx]
xor esi, esi
test byte [rbx + 0x28], 4
jne 0x14007062b
test rdi, rdi
je 0x14007062b
cmp byte [rdi], 0
je 0x14007062b
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0xb8]
mov rdx, rdi
call fcn.14007d280
mov esi, eax
test eax, eax
jne 0x14007061a
mov rdx, qword [rsp + 0xb8]
lea rcx, [0x140130bd6]
lea r12, [0x140130bce]
call sub.msvcrt.dll_fputs
lea rcx, [rbx + 8]
call fcn.140084050
mov rbp, rax
test rbp, rbp
je 0x1400705d9
mov rcx, rbp
call fcn.140085aa0
mov rcx, rbp
mov rbx, rax
call fcn.140085ac0
mov rcx, qword [rbx + 0x20]
lea rdx, [rsp + 0xdc]
mov rbp, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xa0], rax
call fcn.14007e250
test eax, eax
je 0x140070498
mov esi, eax
jmp 0x1400705d9
mov rdx, qword [rbx + 0x10]
lea r8, [rsp + 0xcc]
mov ecx, 0x17
lea r14, [0x140130bd2]
mov qword [rsp + 0xa8], r8
lea r13, [0x140130bd4]
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rbx]
mov ecx, 0x17
dec eax
cmovne r14, r12
cmovne r13, r12
call qword [sym.imp.WS2_32.dll_inet_pton]
mov rdx, qword [rbx + 0x10]
mov ecx, dword [rbx + 0x1c]
lea r10, [0x140130bd2]
dec eax
lea r9, [0x140130bd4]
mov r8d, dword [rbx + 0x2c]
mov qword [rsp + 0xa8], rdx
cmovne r10, r12
cmovne r9, r12
call fcn.14006fb80
mov ecx, dword [rbx + 0xc]
mov r15, qword [rbx]
mov r11, rax
call fcn.14006fb80
mov dword [rsp + 0x98], r8d
movzx ecx, byte [rbx + 0x28]
mov edx, dword [rsp + 0xec]
mov r8, rax
mov dword [rsp + 0x90], ecx
mov ecx, dword [rsp + 0xdc]
mov dword [rsp + 0x88], ecx
mov ecx, dword [rsp + 0xe0]
mov dword [rsp + 0x80], ecx
mov ecx, dword [rsp + 0xe4]
mov dword [rsp + 0x78], ecx
mov ecx, dword [rsp + 0xe8]
mov dword [rsp + 0x70], ecx
lea ecx, [rdx + 1]
mov edx, dword [rsp + 0xf0]
mov dword [rsp + 0x68], ecx
lea ecx, [rdx + 0x76c]
mov rdx, qword [rsp + 0xa8]
mov dword [rsp + 0x60], ecx
movzx ecx, word [rbx + 0x18]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], ecx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r11
movzx edx, word [rbx + 8]
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x30], edx
lea rdx, str._s__s_s_s__u__s__s_s_s__u___d_02d_02d__02d:_02d:_02d___u__u_n
mov qword [rsp + 0x20], r15
mov rcx, qword [rsp + 0xa0]
call fcn.1400b4f60
jmp 0x14007044d
mov rcx, qword [rsp + 0xb8]
call sub.msvcrt.dll_fclose
test esi, esi
jne 0x140070608
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14007061a
mov rdx, rdi
call fcn.140089340
test eax, eax
je 0x14007061a
mov esi, 0x17
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14007061a
call sub.msvcrt.dll__unlink
mov rax, qword [0x140135e70]
mov rcx, qword [rsp + 0xc0]
call qword [rax]
mov eax, esi
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14007ac70
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rcx
mov esi, edx
mov rbp, r8
mov r12, r9
test byte [rcx + 0x98e], 0x20
je 0x14007ad31
cmp qword [rcx + 0x270], 0
je 0x14007ace3
call fcn.140083fd0
mov rcx, rbx
mov edx, 1
mov edi, eax
call fcn.14008afe0
mov edx, esi
mov rcx, rbx
mov r9, r12
mov rax, qword [rbx + 0x1e8]
mov r8, rbp
mov qword [rsp + 0x20], rax
call qword [rbx + 0x270]
movzx edx, dil
mov rcx, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14008afe0
cmp edx, 2
ja 0x14007ad31
mov ecx, edx
mov r9, qword [rbx + 0x1e0]
mov edx, 2
lea rax, [0x14013f000]
lea rcx, [rcx + rcx*2]
mov r8d, 1
add rcx, rax
call sub.msvcrt.dll_fwrite
mov r9, qword [rbx + 0x1e0]
mov rdx, r12
mov rcx, rbp
mov r8d, 1
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sub.msvcrt.dll_fwrite
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14007d630
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, r9
mov qword [rsp + 0x98], r9
xor r9d, r9d
mov qword [rax], r9
lea r9, [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r14d, eax
test eax, eax
jne 0x14007d78a
mov rbx, qword [rsp + 0x28]
xor r13d, r13d
xor r12d, r12d
test rbx, rbx
je 0x14007d741
mov rcx, qword [rbx + 0x18]
xor ebp, ebp
test rcx, rcx
je 0x14007d68f
call sub.msvcrt.dll_strlen
lea rbp, [rax + 1]
mov eax, dword [rbx + 4]
cmp eax, 2
je 0x14007d6a7
mov r15d, 0x1c
cmp eax, 0x17
je 0x14007d6ad
jmp 0x14007d732
mov r15d, 0x10
cmp qword [rbx + 0x20], 0
je 0x14007d732
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14007d732
cmp rax, r15
jb 0x14007d732
mov rax, qword [0x140135e80]
lea rcx, [r15 + rbp + 0x30]
call qword [rax]
test rax, rax
je 0x14007d73b
mov edx, dword [rbx]
mov rsi, qword [rbx + 0x20]
mov rcx, r15
mov dword [rax], edx
mov edx, dword [rbx + 4]
mov dword [rax + 4], edx
mov edx, dword [rbx + 8]
mov dword [rax + 8], edx
mov edx, dword [rbx + 0xc]
mov dword [rax + 0x10], r15d
mov dword [rax + 0xc], edx
xor edx, edx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x28], rdx
lea rdx, [rax + 0x30]
mov qword [rax + 0x20], rdx
mov rdi, rdx
rep movsb byte [rdi], byte [rsi]
test rbp, rbp
je 0x14007d71f
mov qword [rax + 0x18], rdi
mov rsi, qword [rbx + 0x18]
mov rcx, rbp
rep movsb byte [rdi], byte [rsi]
test r12, r12
cmove r12, rax
test r13, r13
je 0x14007d72f
mov qword [r13 + 0x28], rax
mov r13, rax
mov rbx, qword [rbx + 0x28]
jmp 0x14007d672
mov r14d, 8
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14007d751
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r14d, r14d
je 0x14007d769
mov rcx, r12
mov r14d, 8
xor r12d, r12d
call fcn.14007d460
jmp 0x14007d77f
test r12, r12
jne 0x14007d77f
mov ecx, 0x2af9
mov r14d, 0x2af9
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rax, qword [rsp + 0x98]
mov qword [rax], r12
mov eax, r14d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14007eec0
Capabilities:
Convert ip address from string

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov rsi, qword [sym.imp.WS2_32.dll_inet_pton]
mov rdx, rcx
mov rbx, rcx
lea r8, [rsp + 0x2c]
mov ecx, 2
call rsi
mov edx, eax
mov al, 1
test edx, edx
jg 0x14007eefb
lea r8, [rsp + 0x30]
mov rdx, rbx
mov ecx, 0x17
call rsi
test eax, eax
setg al
add rsp, 0x48
pop rbx
pop rsi
ret

Function at 0x1400840f0
Capabilities:
Get common file path

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rcx
lea rcx, str.kernel32
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
jne 0x14008411b
xor ebx, ebx
jmp 0x14008423d
lea rdx, str.LoadLibraryExA
mov rcx, rax
mov r12, qword [sym.imp.kernel32.dll_GetProcAddress]
call r12
lea rdx, [0x140130a38]
mov rcx, rbp
mov rdi, rax
call sub.msvcrt.dll_strpbrk
mov rbx, rax
test rax, rax
je 0x14008416a
mov r8d, 8
test rdi, rdi
jne 0x140084187
mov rcx, rbp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp qword [sym.imp.kernel32.dll_LoadLibraryA]
test rdi, rdi
je 0x14008419e
lea rdx, str.AddDllDirectory
mov rcx, rsi
call r12
test rax, rax
je 0x14008419e
mov r8d, 0x800
xor edx, edx
mov rcx, rbp
mov rax, rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp rax
mov r13, qword [sym.imp.kernel32.dll_GetSystemDirectoryA]
xor edx, edx
xor ecx, ecx
call r13
mov r12d, eax
test eax, eax
je 0x140084114
mov rcx, rbp
call sub.msvcrt.dll_strlen
lea ecx, [r12 + 1]
add rcx, rax
mov rax, qword [0x140135e80]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x140084231
mov edx, r12d
mov rcx, rax
call r13
test eax, eax
je 0x140084231
mov rcx, rsi
call sub.msvcrt.dll_strlen
lea rdx, [0x140130a4b]
lea rcx, [rsi + rax]
call sub.msvcrt.dll_strcpy
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov rdx, rbp
lea rcx, [rsi + rax]
call sub.msvcrt.dll_strcpy
test rdi, rdi
je 0x140084225
mov r8d, 8
xor edx, edx
mov rcx, rsi
call rdi
jmp 0x14008422e
mov rcx, rsi
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rbx, rax
mov rax, qword [0x140135e70]
mov rcx, rsi
call qword [rax]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140089340
Capabilities:
Move file

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
lea rdi, [rsp + 0x30]
mov rbx, rcx
lea r12, [rsp + 0x20]
mov rsi, rdx
mov rcx, rdi
call fcn.140085c20
mov rcx, rbx
movups xmm6, xmmword [rsp + 0x30]
call sub.msvcrt.dll__strdup
mov rcx, rsi
mov rbx, rax
call sub.msvcrt.dll__strdup
mov rbp, qword [sym.imp.kernel32.dll_MoveFileExA]
mov rsi, rax
mov r8d, 1
mov rdx, rsi
mov rcx, rbx
call rbp
test eax, eax
je 0x1400893b9
test rbx, rbx
je 0x1400893a8
mov rcx, rbx
call fcn.14005a988
test rsi, rsi
je 0x1400893b5
mov rcx, rsi
call fcn.14005a988
xor eax, eax
jmp 0x140089407
mov rcx, rdi
call fcn.140085c20
mov rdx, r12
mov rcx, rdi
movaps xmmword [rsp + 0x20], xmm6
call fcn.14008df00
cmp rax, 0x3e8
jbe 0x1400893f5
test rbx, rbx
je 0x1400893e6
mov rcx, rbx
call fcn.14005a988
test rsi, rsi
je 0x140089402
mov rcx, rsi
call fcn.14005a988
jmp 0x140089402
mov ecx, 1
call qword [sym.imp.kernel32.dll_Sleep]
jmp 0x140089389
mov eax, 1
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140089fe0
Capabilities:
Convert ip address from string

Disassembly:
xor eax, eax
cmp qword [rsp + 0x28], 0
mov qword [r9], rax
js 0x140089ffd
mov qword [rsp + 0x28], r9
mov r9d, 1
jmp fcn.140089a60
mov eax, 0xfffffffe
ret

Function at 0x14008b470
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov dword [rsp + 0x38], eax
mov eax, dword [0x1400d9710]
mov rbx, rcx
mov dword [rsp + 0x34], 0x4020
mov dword [rsp + 0x3c], 4
test eax, eax
jne 0x14008b4d1
xor r8d, r8d
xor edx, edx
mov r9d, 2
mov ecx, 6
mov dword [rsp + 0x20], 3
call fcn.1400b8aa0
test al, al
je 0x14008b4c5
mov dword [0x1400d9710], 2
jmp 0x14008b529
mov dword [0x1400d9710], 1
jmp 0x14008b4d6
cmp eax, 2
je 0x14008b529
lea rax, [rsp + 0x3c]
lea r9, [rsp + 0x38]
mov edx, 0xffff
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x14008b507
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
jg 0x14008b529
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov rcx, rbx
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
add rsp, 0x40
pop rbx
ret
Function at 0x14008cc70
Capabilities:
Convert ip address from string

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov dword [rcx + 0x20], r8d
mov rbx, rcx
mov rcx, rdx
call fcn.14008c0d0
mov ecx, eax
mov rax, qword [rdx + 0x18]
test cl, cl
je 0x14008cca9
mov rdi, qword [rax + 0xf0]
mov rbp, qword [rax + 0xf8]
mov eax, dword [rax + 0x100]
jmp 0x14008ccb7
mov rdi, qword [rax + 0x68]
mov rbp, qword [rax + 0x70]
mov eax, dword [rax + 0x5ac]
mov dword [rbx + 0x1c], eax
test rdi, rdi
je 0x14008cdd1
cmp byte [rdi], 0
je 0x14008cdd1
mov r12, qword [0x140135ea0]
mov rcx, rdi
call qword [r12]
mov qword [rbx], rax
mov rsi, rax
test rax, rax
jne 0x14008ccef
mov esi, 0x1b
jmp 0x14008cdd6
test rbp, rbp
je 0x14008cd03
mov rdx, rbp
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14008cd09
mov qword [rbx + 8], rsi
jmp 0x14008cd19
mov rcx, rbp
call qword [r12]
mov qword [rbx + 8], rax
test rax, rax
je 0x14008cce5
mov rsi, qword [rbx]
test rsi, rsi
je 0x14008cd6b
cmp byte [rsi], 0
je 0x14008cd6b
lea r8, [rsp + 0x30]
mov rdx, rsi
mov ecx, 2
mov rdi, qword [sym.imp.WS2_32.dll_inet_pton]
mov qword [rsp + 0x28], r8
call rdi
mov edx, eax
mov eax, 1
test edx, edx
jne 0x14008cd64
mov r8, qword [rsp + 0x28]
mov rdx, rsi
mov ecx, 0x17
call rdi
test eax, eax
je 0x14008cd6b
mov eax, 2
mov dword [rbx + 0x18], eax
xor esi, esi
jmp 0x14008cdde
xor eax, eax
mov rdi, qword [rbx]
mov dword [rbx + 0x18], eax
mov rcx, rdi
call sub.msvcrt.dll_strlen
test rax, rax
je 0x14008cd98
lea rsi, [rax - 1]
cmp byte [rdi + rax - 1], 0x2e
cmovne rsi, rax
cmp rsi, 0xfffe
ja 0x14008cd67
jmp 0x14008cd9a
xor esi, esi
mov rax, qword [0x140135e40]
mov ecx, 1
lea rdx, [rsi + 1]
call qword [rax]
mov qword [rbx + 0x10], rax
mov rcx, rax
test rax, rax
je 0x14008cce5
mov rdx, qword [rbx]
mov r8, rsi
call fcn.14008de10
mov rax, qword [rbx + 0x10]
mov byte [rax + rsi], 0
jmp 0x14008cd67
mov esi, 2
mov rcx, rbx
call fcn.14008cc30
mov eax, esi
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14008d9a0
Capabilities:
Convert ip address from string

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, qword [sym.imp.WS2_32.dll_inet_pton]
lea rsi, [rsp + 0x2c]
mov dword [rsp + 0x68], edx
mov rbx, rcx
mov rdx, rcx
mov r8, rsi
mov ecx, 2
call rdi
mov r9d, dword [rsp + 0x68]
test eax, eax
jle 0x14008d9dd
mov r8, rbx
mov rdx, rsi
mov ecx, 2
jmp 0x14008da0c
lea rsi, [rsp + 0x30]
mov rdx, rbx
mov dword [rsp + 0x68], r9d
mov ecx, 0x17
mov r8, rsi
call rdi
mov edx, eax
xor eax, eax
test edx, edx
jle 0x14008da11
mov r9d, dword [rsp + 0x68]
mov r8, rbx
mov rdx, rsi
mov ecx, 0x17
call fcn.140083d00
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret

Function at 0x14008de70
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
mov r9, rdx
xor edx, edx
mov r8, rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.msvcrt.dll__beginthreadex]
lea rdx, [rax - 1]
cmp rdx, 0xfffffffffffffffe
mov edx, 0
cmovae rax, rdx
add rsp, 0x38
ret
Function at 0x140090c70
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1d0
and cl, 2
je 0x140090cb0
lea rdx, [rsp + 0x38]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140090ca9
mov eax, dword [rsp + 0x38]
cmp al, 2
jne 0x140090ca3
shr ax, 8
cmp ax, 2
je 0x140090cb0
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ebx, 2
jmp 0x140090d1f
call fcn.14008d380
mov ebx, eax
test eax, eax
jne 0x140090d1f
lea rcx, str.iphlpapi.dll
call fcn.1400840f0
mov qword [0x1400d9820], rax
mov rcx, rax
test rax, rax
je 0x140090cef
lea rdx, str.if_nametoindex
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140090cef
mov qword [0x1400d9590], rax
mov ecx, 6
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 3
call fcn.1400b8aa0
lea rcx, [0x1400d9570]
mov byte [0x1400d95a0], al
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
mov eax, ebx
add rsp, 0x1d0
pop rbx
ret
Function at 0x140091680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x18
mov r11d, 1
mov eax, r8d
mov r10, rcx
mov r15, rdx
mov ecx, r9d
inc rax
shl r11, cl
mov edx, eax
add rdx, rdx
lea rdx, [rdx + r11 + 8]
cmp qword [rsp + 0x88], rdx
mov rdx, 0xffffffffffffffd2
setb dil
cmp r8d, 0xff
seta cl
or dil, cl
jne 0x1400918af
mov rdx, 0xffffffffffffffd4
cmp r9d, 0xc
ja 0x1400918af
mov edx, 1
lea esi, [r8 + 1]
lea rbx, [r10 + 4]
mov ecx, r9d
mov r8d, edx
mov dword [rsp + 8], esi
mov esi, 1
shl r8d, cl
movzx ecx, r9w
or ecx, 0x10000
lea ebp, [r8 - 1]
mov r14d, ecx
mov r12d, ecx
lea ecx, [r9 - 1]
shl edx, cl
xor ecx, ecx
mov dword [rsp + 0xc], edx
mov edx, ebp
mov r11w, word [r15 + rcx*2]
cmp r11w, 0xffff
jne 0x140091748
mov r11d, edx
dec edx
mov byte [rbx + r11*4 + 2], cl
mov r11d, 1
jmp 0x140091756
xor edi, edi
cmp r11w, word [rsp + 0xc]
cmovge esi, edi
mov dil, 1
mov r13, qword [rsp + 0x80]
mov word [r13 + rcx*2], r11w
mov r11d, dword [rsp + 8]
inc rcx
cmp ecx, r11d
jb 0x14009172a
test dil, dil
je 0x140091783
shl esi, 0x10
movzx r14d, r14w
or r14d, esi
mov r12d, r14d
mov r11d, r8d
mov ecx, r8d
mov dword [r10], r12d
shr r11d, 1
shr ecx, 3
lea ecx, [r11 + rcx + 3]
cmp edx, ebp
jne 0x140091836
add rax, rax
xor r11d, r11d
xor ebp, ebp
add rax, qword [rsp + 0x80]
movabs r14, 0x101010101010101
mov r13, r11
lea r12, [rax + rbp]
movsx rdi, word [r15 + r11*2]
imul r13, r14
mov dword [rsp + 0xc], edi
mov rsi, rdi
mov edi, 8
mov qword [r12], r13
cmp dword [rsp + 0xc], edi
jle 0x1400917e9
mov qword [r12 + rdi], r13
add rdi, 8
jmp 0x1400917d9
mov edi, dword [rsp + 8]
inc r11
add rbp, rsi
cmp r11d, edi
jb 0x1400917b9
movsxd rdi, r8d
xor esi, esi
xor r11d, r11d
mov r12b, byte [rax + rsi]
mov rbp, rdx
and rbp, r11
add r11, rcx
mov byte [rbx + rbp*4 + 2], r12b
mov rbp, rdx
mov r12b, byte [rax + rsi + 1]
add rsi, 2
and rbp, r11
add r11, rcx
mov byte [rbx + rbp*4 + 2], r12b
and r11, rdx
cmp rsi, rdi
jb 0x140091800
xor r11d, r11d
jmp 0x140091870
xor r11d, r11d
xor eax, eax
movsx edi, word [r15 + r11*2]
xor esi, esi
cmp edi, esi
jle 0x14009185a
mov r12d, eax
mov byte [rbx + r12*4 + 2], r11b
add eax, ecx
and eax, ebp
cmp edx, eax
jb 0x14009184e
inc esi
jmp 0x140091842
mov edi, dword [rsp + 8]
inc r11
cmp r11d, edi
jb 0x14009183b
or rdx, 0xffffffffffffffff
test eax, eax
je 0x140091831
jmp 0x1400918af
movzx edx, byte [r10 + r11*4 + 6]
add rdx, rdx
add rdx, qword [rsp + 0x80]
movzx eax, word [rdx]
lea ecx, [rax + 1]
mov word [rdx], cx
bsr ecx, eax
xor ecx, 0x1f
lea ecx, [r9 + rcx - 0x1f]
shl eax, cl
mov byte [r10 + r11*4 + 7], cl
sub eax, r8d
mov word [r10 + r11*4 + 4], ax
inc r11
cmp r11d, r8d
jb 0x140091870
xor edx, edx
mov rax, rdx
add rsp, 0x18
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400af830
Capabilities:
Hash data using djb2

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1400af846
xor edx, edx
jmp 0x1400af8cb
call fcn.14007eec0
test al, al
jne 0x1400af83f
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov edx, 0x2e
mov rcx, rsi
mov r8, rax
mov rdi, rax
call fcn.1400847c0
mov r8, rax
test rax, rax
jne 0x1400af877
mov rbx, rsi
jmp 0x1400af899
sub r8, rsi
mov edx, 0x2e
mov rcx, rsi
call fcn.1400847c0
test rax, rax
je 0x1400af872
lea rbx, [rax + 1]
mov rax, rbx
sub rax, rsi
sub rdi, rax
add rdi, rbx
mov esi, 0x1505
cmp rbx, rdi
jae 0x1400af8be
movsx ecx, byte [rbx]
imul rsi, rsi, 0x21
inc rbx
call fcn.140089330
movsx rax, al
xor rsi, rax
jmp 0x1400af8a1
mov ecx, 0x3f
mov rax, rsi
xor edx, edx
div rcx
mov rax, rdx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x1400b2b80
Capabilities:
Hash data with crc32

Disassembly:
vmovdqa xmm1, xmmword [0x140128800]
vmovdqa xmm0, xmmword [rcx]
vpclmulqdq xmm3, xmm0, xmm1, 0x10
vpclmulqdq xmm2, xmm0, xmm1, 1
vmovdqa xmm0, xmmword [rcx + 0x10]
vpternlogq xmm0, xmm3, xmm2, 0x96
vpclmulqdq xmm3, xmm0, xmm1, 0x10
vpclmulqdq xmm2, xmm0, xmm1, 1
vmovdqa xmm0, xmmword [rcx + 0x20]
vpternlogq xmm0, xmm3, xmm2, 0x96
vmovdqa xmm3, xmmword [0x140128810]
vpclmulqdq xmm2, xmm0, xmm1, 0x10
vpclmulqdq xmm1, xmm0, xmm1, 1
vmovdqa xmm0, xmmword [rcx + 0x30]
vpternlogq xmm0, xmm2, xmm1, 0x96
vpclmulqdq xmm1, xmm0, xmm3, 0
vpsrldq xmm0, xmm0, 8
vpxor xmm0, xmm1, xmm0
vmovdqa xmm1, xmmword [0x140128820]
vpslldq xmm2, xmm0, 4
vpclmulqdq xmm2, xmm2, xmm3, 0x10
vpternlogq xmm1, xmm0, xmm2, 0x60
vmovdqa xmm2, xmmword [0x140128830]
vmovdqa xmm0, xmmword [0x140128840]
vpclmulqdq xmm3, xmm1, xmm2, 0
vpternlogq xmm0, xmm1, xmm3, 0x60
vpclmulqdq xmm2, xmm0, xmm2, 0x10
vpternlogq xmm0, xmm1, xmm2, 0x96
vpextrd eax, xmm0, 2
not eax
mov dword [rcx + 0x40], eax
ret
Function at 0x1400b3010
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, 8
lea r8, [0x14013c160]
mov rax, rcx
mov rcx, rax
movzx eax, al
mov eax, dword [r8 + rax*4]
shr rcx, 8
xor rax, rcx
dec edx
jne 0x1400b301f
ret

Function at 0x1400b3040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, 8
lea r8, [0x14013c560]
mov rax, rcx
mov rcx, rax
movzx eax, al
mov eax, dword [r8 + rax*4]
shr rcx, 8
xor rax, rcx
dec edx
jne 0x1400b304f
ret

Function at 0x1400b4ca0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, 1
xor ebx, ebx
mov rdi, rcx
mov rax, qword [0x140135e90]
mov rcx, rbx
mov edx, esi
mov rbp, rbx
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x1400b4cd0
mov rcx, rbp
jmp 0x1400b4cf1
mov rdx, rax
mov r8d, esi
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
lea edx, [rax - 1]
cmp edx, 0x7fff
ja 0x1400b4cee
cmp esi, eax
jne 0x1400b4cfe
mov rcx, rbx
mov rax, qword [0x140135e70]
xor ebx, ebx
call qword [rax]
jmp 0x1400b4d06
cmp eax, esi
jb 0x1400b4d06
mov esi, eax
jmp 0x1400b4cb2
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x1400b88b0
Capabilities:
Set socket configuration

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

Function at 0x1400b88e0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call sub.msvcrt.dll__read
cdqe
add rsp, 0x28
ret
Function at 0x1400c9010
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push rbx
sub rsp, 0x30
xor edx, edx
mov r9d, 0x18
xor r8d, r8d
mov dword [rsp + 0x20], 0xf0000040
mov rbx, rcx
call qword [sym.imp.advapi32.dll_CryptAcquireContextA]
mov edx, eax
mov eax, 0x1b
test edx, edx
je 0x1400c9074
lea rax, [rbx + 8]
mov edx, 0x800c
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, qword [rbx]
call qword [sym.imp.advapi32.dll_CryptCreateHash]
mov edx, eax
xor eax, eax
test edx, edx
jne 0x1400c9074
mov rcx, qword [rbx]
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
xor eax, eax
mov qword [rbx], rax
mov eax, 2
add rsp, 0x30
pop rbx
ret