joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400efd90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [0x140302060]
mov rdi, rax
test rax, rax
je 0x1400efe0d
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x1400efe38
cmp ebx, esi
je 0x1400efe38
cmp ebx, 0x8000
ja 0x1400efe38
cmp ebx, esi
jb 0x1400efe33
mov edx, ebx
mov rcx, rdi
call qword [0x140302060]
mov rdi, rax
test rax, rax
jne 0x1400efdd0
mov rcx, rbp
call qword [fcn.1402293c6]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x1400efe18
mov rcx, rdi
jmp 0x1400efe10

Function at 0x1400f6410
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x140302028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, qword [rcx + 0x18]
lea r8, [rsp + 0x20]
mov rdi, rcx
lea rdx, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov rbp, qword [rsi + 0x1f8]
mov rcx, rbp
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1400f648b
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.1400da7a0
mov rcx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x1400f64b3
lea rdx, str.Error_accept__ing_server_connect
call fcn.1400c9e60
lea eax, [rbx + 0x1f]
jmp 0x1400f652f
lea rdx, str.Connection_accepted_from_server_n
call fcn.1400c9fc0
mov edx, 1
mov byte [rsi + 0x3b2], 0
mov rcx, rbx
mov qword [rsi + 0x1f8], rbx
call fcn.1400e8960
mov byte [rsi + 0x3c4], 1
cmp qword [rdi + 0x298], 0
je 0x1400f652d
mov dl, 1
mov rcx, rdi
call fcn.1400ccc70
mov rcx, qword [rdi + 0x2a0]
mov r8d, 1
mov rdx, rbx
call qword [rdi + 0x298]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.1400ccc70
test ebx, ebx
je 0x1400f652d
mov rdx, rsi
mov rcx, rdi
call fcn.1400f6a30
mov eax, 0x2a
jmp 0x1400f652f
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14009f440
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400f7ea0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b8]
mov rbx, rcx
mov rdx, qword [rcx + 0x18]
cmp dword [rax + 0x10], 0
je 0x1400f7ed6
mov dword [rdx + 0x7a8], 0xd
mov r8d, reloc.WS2_32.dll_listen
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.1400f7fc0
cmp byte [rcx + 0xade], 0
je 0x1400f7eeb
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.1400f8a80
cmp byte [rcx + 0xae1], 0
je 0x1400f7f6c
mov r9, qword [rdx + 0x768]
test r9, r9
jne 0x1400f7f2e
mov r9, qword [rcx + 0x798]
test r9, r9
jne 0x1400f7f25
cmp byte [rbx + 0xadd], 0
lea rcx, str.NLST
lea r9, str.LIST
cmovne r9, rcx
lea r8, str.PRET__s
jmp 0x1400f7f45
cmp byte [rcx + 0xaed], 0
lea r8, str.PRET_STOR__s
jne 0x1400f7f45
lea r8, str.PRET_RETR__s
add rdx, 0x6d8
mov rcx, rbx
call fcn.14010c500
test eax, eax
jne 0x1400f7f76
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7a8], 0x1d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.1400f89d0
add rsp, 0x20
pop rbx
ret

Function at 0x1400f82d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b8]
add rdx, 0x6d8
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x1400f831e
cmp qword [rdx + 0x90], 0
je 0x1400f831e
xor r9d, r9d
lea r8, str.REST__d
call fcn.14010c500
test eax, eax
jne 0x1400f8328
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7a8], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.1400f7ea0
add rsp, 0x20
pop rbx
ret
Function at 0x1400f85f0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rcx + 0x18]
lea eax, [rdx - 0xc8]
xor edi, edi
mov esi, r8d
mov rbx, rcx
cmp eax, 0x64
jb 0x1400f862f
lea rdx, str.Couldnt_set_desired_mode
call fcn.1400c9e60
lea eax, [rdi + 0x11]
jmp 0x1400f879b
cmp edx, 0xc8
je 0x1400f8646
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.1400c9fc0
cmp esi, 0x13
jne 0x1400f865b
mov rdx, rbp
mov rcx, rbx
call fcn.1400f84f0
jmp 0x1400f8797
cmp esi, 0x14
jne 0x1400f8779
cmp dword [rbx + 0x730], 2
mov rbp, qword [rbx + 0x18]
jne 0x1400f86de
mov rax, qword [rbx + 0x1b8]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400f86de
mov dword [rsp + 0x28], 3
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov qword [rsp + 0x40], rdi
call fcn.1400c3680
test eax, eax
jne 0x1400f8797
mov rcx, qword [rsp + 0x40]
lea edx, [rsi + 0x1b]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400f86d3
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x1400f86de
mov rcx, qword [rsp + 0x40]
call qword [fcn.1402293c6]
mov rdx, qword [rbx + 0x798]
test rdx, rdx
jne 0x1400f8703
cmp byte [rbx + 0xadd], 0
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x140239590]
test rdi, rdi
mov r9, r8
lea rax, [0x14023a3ac]
cmovne r9, rdi
lea rcx, [0x140246aa8]
cmovne r8, rax
call fcn.1400cac50
mov rcx, rdi
mov rsi, rax
call qword [fcn.1402293c6]
test rsi, rsi
jne 0x1400f8741
lea edi, [rsi + 0x1b]
jmp 0x1400f8799
lea rdx, [rbp + 0x6d8]
mov r9, rsi
lea r8, [0x14024b3f0]
mov rcx, rbx
call fcn.14010c500
mov rcx, rsi
mov edi, eax
call qword [fcn.1402293c6]
test edi, edi
jne 0x1400f8799
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7a8], 0x1f
jmp 0x1400f8799
cmp esi, 0x15
jne 0x1400f8784
lea r8d, [rsi - 8]
jmp 0x1400f878d
cmp esi, 0x16
jne 0x1400f8799
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rbx
call fcn.1400f7fc0
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400fea40
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xaee], 0
movsxd r10, r9d
je 0x1400feb64
cmp r8d, 0xff
jne 0x1400feaa1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1400fea8b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x24d420]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1400c9fc0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1400c9fc0
cmp r8d, 0xfb
jne 0x1400feab3
lea r9, str.WILL
jmp 0x1400feaf1
cmp r8d, 0xfc
jne 0x1400feac5
lea r9, str.WONT
jmp 0x1400feaf1
cmp r8d, 0xfd
jne 0x1400fead7
lea r9, [0x14024de44]
jmp 0x1400feaf1
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1400feb4d
cmp r10d, 0x27
jg 0x1400feb24
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x24da40]
test r8, r8
jne 0x1400feb34
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1400c9fc0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1400feb0b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1400c9fc0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1400c9fc0
add rsp, 0x38
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov byte [rsp + 0x38], 0xff
mov rcx, qword [rcx + 0x18]
mov edi, r8d
mov esi, edx
mov byte [rsp + 0x3a], dil
xor r9d, r9d
mov byte [rsp + 0x39], sil
lea rdx, [rsp + 0x38]
mov rcx, qword [rcx + 0x1f0]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400fef0f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbx
mov r8d, eax
call fcn.1400c9e60
mov r9d, edi
lea rdx, str.SENT
mov r8d, esi
mov rcx, rbx
call fcn.1400fea40
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ff0b0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1400ff25e
push rbp
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x1b8]
mov rbp, rcx
mov r15, qword [rcx + 0x18]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
lea rsi, [rdi + 0x1cb8]
mov qword [rsp + 0x58], r14
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1400ff0ff
mov byte [rsi], 0xff
inc qword [rbx]
mov rax, qword [rbx]
jmp 0x1400ff102
mov rax, rsi
cmp rax, rbx
jae 0x1400ff11b
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400ff11b
mov byte [rax], 0x1f
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r14d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1400ff152
mov byte [r9], r14b
inc qword [rbx]
mov r9, qword [rbx]
mov r14, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400ff1a8
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400ff1a8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400ff1a8
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400ff1a8
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400ff1a8
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1400feb70
mov rcx, qword [r15 + 0x1f0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400ff20a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400c9e60
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, rbp
call fcn.1400fef40
mov rcx, qword [r15 + 0x1f0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400ff256
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400c9e60
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret
Function at 0x140100960
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140302028]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx + 0x18]
mov rsi, rcx
xor r9d, r9d
mov rdi, qword [rax + 0x6d8]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x80
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, dword [rdi + 0x154]
mov rdx, qword [rdi + 0x160]
add r8d, 4
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rdi + 0x148], 0
mov dword [rdi + 0x14c], eax
jne 0x1401009f7
movsxd r8, dword [rsp + 0x30]
lea rcx, [rdi + 0xc8]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rdi + 0x148], eax
mov r8d, dword [rdi + 0x14c]
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbp
cmp r8d, 4
jge 0x140100a5d
lea rdx, str.Received_too_short_packet
mov rcx, rsi
call fcn.1400c9e60
mov dword [rdi + 0xc], 7
xor eax, eax
mov rbp, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14009f440
mov rsi, qword [rsp + 0xf8]
add rsp, 0xd0
pop rdi
ret
mov rax, qword [rdi + 0x160]
movzx ecx, byte [rax]
movzx edx, byte [rax + 1]
shl ecx, 8
or edx, ecx
mov dword [rdi + 0xc], edx
sub edx, 3
je 0x140100b0d
sub edx, 1
je 0x140100b86
sub edx, 1
je 0x140100ac7
cmp edx, 1
je 0x140100aaa
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rsi
lea rdx, [0x14024b3f0]
call fcn.1400c9e60
jmp 0x140100b86
add r8d, 0xfffffffe
lea rdx, [rax + 2]
mov rcx, rdi
call fcn.140100690
test eax, eax
je 0x140100b86
jmp 0x140100a2c
mov rdx, rax
lea rbp, [rax + 4]
lea eax, [r8 - 4]
movsxd rbx, eax
movzx ecx, byte [rdx + 2]
movzx eax, byte [rdx + 3]
mov rdx, rbx
shl ecx, 8
or ecx, eax
mov dword [rdi + 8], ecx
mov rcx, rbp
call fcn.1401016b0
cmp rax, rbx
jae 0x140100b86
mov r8, rbp
lea rdx, str.TFTP_error:__s_n
mov rcx, rsi
call fcn.1400c9fc0
jmp 0x140100b86
cmp r8d, 4
jle 0x140100b86
movzx ecx, byte [rax + 2]
mov rdx, rax
movzx eax, byte [rax + 3]
shl ecx, 8
or ecx, eax
movzx eax, word [rdi + 0x15c]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140100b86
lea eax, [r8 - 4]
mov rcx, rsi
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400c9d70
mov ebx, eax
test eax, eax
je 0x140100b65
mov edx, 5
mov rcx, rdi
call fcn.140101630
mov eax, ebx
jmp 0x140100a2c
mov eax, dword [rdi + 0x14c]
mov rcx, rsi
sub eax, 4
cdqe
add qword [rsi + 0x100], rax
mov rdx, qword [rsi + 0x100]
call fcn.1400e8bd0
mov rcx, rsi
call fcn.1400e8ee0
test eax, eax
je 0x140100a2a
mov edx, 5
mov rcx, rdi
call fcn.140101630
mov eax, 0x2a
jmp 0x140100a2c
Function at 0x14010f020
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
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 [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14010f062
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 0x14010f0a9
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 0x14010f102
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 0x14010f0c0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14010f143
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140250914]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140250915]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14010f110
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 0x140111060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, r9
mov rsi, r8
mov r12, rdx
mov r15, rcx
mov r14, qword [r8 + 0x10]
mov r9, qword [r8 + 0x18]
cmp r9, 0x10
jb 0x14011109f
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test r14, r14
je 0x1401110d4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r14
jb 0x1401110c0
mov r8, qword [r15 + 0x30]
and r8, rdx
shl r8, 4
mov qword [rsp + 0x80], r8
mov r13, qword [r15 + 0x18]
add r13, r8
mov rbx, qword [r15 + 8]
cmp rbx, qword [r13]
je 0x140111183
mov rbx, qword [r13 + 8]
mov rbx, qword [rbx]
cmp rbx, qword [r13]
je 0x140111183
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14011111f
mov rdx, qword [rdx]
mov rcx, rsi
cmp r9, 0x10
jb 0x14011112b
mov rcx, qword [rsi]
cmp r14, rax
jne 0x140111103
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov r9, qword [rsi + 0x18]
jne 0x140111103
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [r15 + 0x10]
lea rcx, [rdi + 0x10]
call fcn.1400742f0
nop
mov edx, 0x30
mov rcx, rdi
call fcn.14009f0ec
nop
mov qword [r12], rbx
mov byte [r12 + 8], 0
mov rax, r12
jmp 0x140111220
mov rax, qword [rdi]
cmp rbx, rax
je 0x1401111b8
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r15 + 0x18]
mov r8, qword [rsp + 0x80]
add rdx, r8
mov rax, qword [rdx]
cmp rax, qword [r15 + 8]
jne 0x1401111de
mov qword [rdx], rdi
mov rax, qword [r15 + 0x18]
mov qword [rax + r8 + 8], rdi
jmp 0x14011120a
cmp rax, rbx
jne 0x1401111e8
mov qword [rdx], rdi
jmp 0x14011120a
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x14011120a
mov rdx, qword [r15 + 0x18]
mov rax, qword [rdx + r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8 + 8], rcx
mov rcx, r15
call fcn.140111520
nop
mov qword [r12], rdi
mov byte [r12 + 8], 1
mov rax, r12
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140111a20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
mov rdi, r8
mov r15, rdx
mov rsi, rcx
mov r11, qword [r8 + 0x20]
lea r10, [r8 + 0x10]
cmp qword [r8 + 0x28], 0x10
jb 0x140111a5f
mov r10, qword [r8 + 0x10]
movabs r9, 0xcbf29ce484222325
xor r8d, r8d
test r11, r11
je 0x140111a94
movabs rcx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [r8 + r10]
xor r9, rax
imul r9, rcx
inc r8
cmp r8, r11
jb 0x140111a80
mov rdx, qword [rsi + 0x30]
and rdx, r9
shl rdx, 4
mov rcx, qword [rsi + 0x18]
add rcx, rdx
cmp qword [rcx + 8], rdi
jne 0x140111ad1
cmp qword [rcx], rdi
jne 0x140111ac7
mov rax, qword [rsi + 8]
mov qword [rcx], rax
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x18]
mov qword [rdx + rcx + 8], rax
jmp 0x140111adc
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x140111adc
cmp qword [rcx], rdi
jne 0x140111adc
mov rax, qword [rdi]
mov qword [rcx], rax
mov rbx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [rsi + 0x10]
lea rcx, [rdi + 0x10]
call fcn.1400742f0
nop
mov edx, 0x30
mov rcx, rdi
call fcn.14009f0ec
nop
mov qword [r15], rbx
mov rax, r15
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x140117430
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r11, qword [r8 + 0x18]
mov rdi, r8
mov r14, qword [r8 + 0x10]
mov r12, rdx
mov rsi, rcx
mov r10, r8
cmp r11, 0x10
jb 0x14011745e
mov r10, qword [r8]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r14, r14
je 0x140117494
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rcx
cmp r8, r14
jb 0x140117480
mov rax, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x30]
mov rsi, qword [rsi + 8]
and rcx, r9
shl rcx, 4
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r15
mov r13, qword [rcx + rax]
add rax, 8
add rax, rcx
mov rbx, r13
mov qword [rsp + 0x50], rax
cmp r13, rsi
jne 0x1401174ce
mov rax, rsi
jmp 0x1401174d4
mov rax, qword [rax]
mov rax, qword [rax]
cmp rbx, rax
je 0x14011754d
lea rcx, [rbx + 0x10]
mov rdx, rdi
cmp r11, 0x10
jb 0x1401174e9
mov rdx, qword [rdi]
mov r15, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
cmp r15, 0x10
jb 0x1401174fa
mov rcx, qword [rcx]
cmp rbp, r14
jne 0x14011750f
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140117519
mov r11, qword [rdi + 0x18]
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x50]
jmp 0x1401174c4
lea rdx, [rbx + 0x10]
cmp r15, 0x10
jb 0x140117526
mov rdx, qword [rdx]
cmp qword [rdi + 0x18], 0x10
jb 0x140117530
mov rdi, qword [rdi]
cmp r14, rbp
jne 0x140117544
mov r8, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140117547
mov rbx, rsi
mov qword [r12], rbx
jmp 0x140117551
mov qword [r12], rsi
mov r15, qword [rsp + 0x60]
mov rax, r12
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140128470
Capabilities:
Get hostname

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x2c0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x140302028]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x20], rdx
xor esi, esi
mov dword [rsp + 0x28], esi
mov rax, qword [rcx]
cmp qword [rax + 0x10], rsi
je 0x1401285f1
mov dword [rsp + 0x20], 0x20
lea rdx, [rsp + 0x20]
lea rcx, [r11 - 0x48]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x140128543
xor r8d, r8d
lea edx, [rsi + 2]
lea rcx, [rsp + 0x60]
call fcn.140222360
nop
lea rcx, [rsp + 0x60]
call fcn.140222fc0
test al, al
je 0x14012851a
lea rdx, str.device:_GetComputerName_failed:
lea rcx, [rsp + 0x60]
call fcn.140219e60
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140219d50
nop
lea rcx, [rsp + 0x60]
call fcn.140219710
movdqa xmm0, xmmword [0x140239780]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], si
xor r8d, r8d
lea rdx, [0x14023a2d8]
jmp 0x140128577
movdqa xmm0, xmmword [0x140239780]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], si
lea rax, [rsp + 0x290]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x140128565
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x38]
call fcn.140074a60
mov esi, 5
mov r9, qword [r14]
lea rax, [rsp + 0x38]
mov r10, qword [rsp + 0x38]
mov r11, qword [rsp + 0x50]
cmp r11, 8
cmovae rax, r10
mov rcx, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x1401285ae
mov r9, qword [r9]
cmp rcx, qword [rsp + 0x48]
jne 0x1401285ed
test rcx, rcx
je 0x1401285fb
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x1401285ed
sub r9, rax
cmp dx, r8w
ja 0x1401285ed
cmp rcx, 1
je 0x1401285fb
dec rcx
add rax, 2
movzx edx, word [r9 + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x1401285cf
mov bl, 1
jmp 0x1401285fd
mov r11, qword [rsp + 0x50]
mov r10, qword [rsp + 0x38]
xor bl, bl
test sil, 1
je 0x140128642
cmp r11, 8
jb 0x140128642
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140128639
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140128639
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.14009f0ec
nop
test bl, bl
je 0x140128664
mov rdx, qword [r14]
mov r8, qword [rdx + 0x10]
add r8, r8
cmp qword [rdx + 0x18], 8
jb 0x14012865a
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.14012a740
jmp 0x140128674
mov r8b, 0x78
mov edx, 0x20
mov rcx, rdi
call fcn.14007ef70
mov rax, rdi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14009f440
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2c0
pop r14
pop rdi
pop rsi
ret