joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d0e4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14003e260]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001d13b
cmp word [rdx], r13w
jne 0x14001d13b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001d140
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001d265
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001d286
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001d179
mov rdx, r9
mov word [rbx], cx
jmp 0x14001d1a0
cmp r9, r8
jae 0x14001d1b0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001d15a
jmp 0x14001d265
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001d25a
cmp dword [rsp + 0x80], esi
je 0x14001d25a
lea r8, [0x14003e260]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001d232
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001d202
mov word [rbx], r13w
jmp 0x14001d262
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001d20f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001d262
cmp word [rsp + 0x70], r13w
jne 0x14001d23f
cmp rbx, r14
je 0x14001d1fc
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001dd4c
cmp word [rsp + 0x70], r13w
je 0x14001d265
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14003e260]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001d25f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001d265
Function at 0x140020d44
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140020d74
xor eax, eax
jmp 0x140020e37
mov rbp, rbx
cmp word [rax], si
je 0x140020d99
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140020d80
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140020d7c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001f454
movsxd r14, eax
test eax, eax
jne 0x140020dd7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140020d6d
mov rcx, r14
call fcn.14001a118
mov rdi, rax
test rax, rax
jne 0x140020df0
xor ecx, ecx
call fcn.14001a0dc
jmp 0x140020dcc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001f454
test eax, eax
jne 0x140020e21
mov rcx, rdi
call fcn.14001a0dc
jmp 0x140020e2b
xor ecx, ecx
call fcn.14001a0dc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140023dac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140019c2c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140023e4d
cmp ebx, dword [rsp + 0x30]
je 0x140023e46
test esi, esi
je 0x140023e46
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140023e21
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140023e2e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140023e0b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140023e32
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140023e4f
mov eax, 1
jmp 0x140023e4f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400254f4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000f7e8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002557e
cmp byte [rbp - 0x21], r15b
je 0x140025579
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400255b4
call fcn.14001afb0
test eax, eax
jne 0x1400255a0
cmp byte [rbp - 0x21], r15b
je 0x140025598
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400255b4
cmp byte [rbp - 0x21], r15b
je 0x1400255b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400158a8
test eax, eax
jne 0x140025654
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000f7e8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400255f3
cmp byte [rbp - 0x21], r15b
je 0x140025628
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140025628
call fcn.14001afb0
test eax, eax
jne 0x140025614
cmp byte [rbp - 0x21], r15b
je 0x14002560d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140025628
cmp byte [rbp - 0x21], r15b
je 0x140025625
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400158a8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140025654
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140025657
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140025665
mov rcx, rdi
call fcn.14001a0dc
cmp byte [rbp + 0x3f], r15b
je 0x140025674
mov rcx, qword [rbp + 0x27]
call fcn.14001a0dc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140026de0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140026e08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140026e08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub rsp, 0x308
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x150]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400011d8
mov qword [rsp + 0x310], rbx
lea r8d, [rax + 0x11]
mov qword [rsp + 0x300], rdi
mov edi, 2
mov edx, edi
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400011c8
lea ecx, [rdi + 0x79]
mov word [rsp + 0x38], di
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, str.216.239.35.4
mov word [rsp + 0x3a], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
xorps xmm0, xmm0
mov dword [rsp + 0x28], socket
mov dword [rsp + 0x3c], eax
lea r8d, [rdi + 0x2e]
lea rax, [rsp + 0x38]
xor r9d, r9d
movups xmmword [0x140003668], xmm0
lea rdx, [0x140003668]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov byte [0x140003668], 0x1b
movups xmmword [0x140003678], xmm0
movups xmmword [0x140003688], xmm0
call qword [sym.imp.WS2_32.dll_sendto]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x80
mov qword [rsp + 0x28], rax
lea r8d, [rdi + 0x2e]
lea rax, [rsp + 0x50]
xor r9d, r9d
lea rdx, [0x140003668]
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, dword [0x140003690]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x140003694]
mov dword [0x140003690], eax
call qword [sym.imp.WS2_32.dll_ntohl]
xorps xmm0, xmm0
mov dword [rsp + 0x28], socket
xor r9d, r9d
lea rax, [rsp + 0x38]
movups xmmword [0x140003668], xmm0
lea rdx, [0x140003668]
mov byte [0x140003668], 0x1b
mov rcx, rbx
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x30]
movups xmmword [0x140003678], xmm0
movups xmmword [0x140003688], xmm0
call qword [sym.imp.WS2_32.dll_sendto]
xor r9d, r9d
mov dword [rsp + 0x34], 0x80
lea rax, [rsp + 0x34]
mov rcx, rbx
mov qword [rsp + 0x28], rax
lea rdx, [0x140003668]
lea rax, [rsp + 0xd0]
lea r8d, [r9 + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, dword [0x140003690]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x140003694]
mov dword [0x140003690], eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [0x140003694], eax
jmp 0x140001121
mov rbx, qword [rsp + 0x310]
mov rdi, qword [rsp + 0x300]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140001210
add rsp, 0x308
ret

Function at 0x140001ad8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b22
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b22
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b22
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b22
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b22
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b24
xor al, al
add rsp, 0x28
ret
Function at 0x14001a06c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov rsi, r8
mov rdi, rcx
call fcn.14001a914
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x14001a0a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x14001a12d
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14001a0dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rdi
mov ebx, eax
call fcn.14001a144
mov eax, ebx
jmp 0x14001a12d
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x14001a0c3
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
nop dword [rax + rax]
mov dword [rdi + 0x18], eax
test eax, eax
je 0x14001a0c3
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_LockResource]
nop dword [rax + rax]
mov qword [rdi], rax
test rax, rax
je 0x14001a0c3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140b51058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140b511df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b51089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b5106f
add dl, dl
jne 0x140b51096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b510f6
xor eax, eax
add dl, dl
jne 0x140b510a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b511ad
add dl, dl
jne 0x140b510b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b510c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b510d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b510dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b510ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b5107e
mov eax, 1
add dl, dl
jne 0x140b51106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b51113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b510fb
sub eax, ebx
mov ebx, 1
jne 0x140b5114c
mov ecx, 1
add dl, dl
jne 0x140b5112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b5113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b51123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b5107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b51168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b51175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b5115d
cmp eax, 0x7d00
jae 0x140b5119b
cmp eax, 0x500
jb 0x140b51196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b5107e
cmp eax, 0x7f
ja 0x140b5119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b5107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b511d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b5107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180009a0c
Capabilities:
Hash data using fnv

Disassembly:
mov r10, qword [0x18019fa60]
movabs rcx, 0xcbf29ce484222325
mov dword [rsp + 0x10], edx
xor r8d, r8d
mov r9, qword [r10 + 0x1c0]
movzx eax, byte [rsp + r8 + 0x10]
movabs r11, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r11
cmp r8, 4
jb 0x180009a2b
mov r8, qword [r10 + 0x1e8]
and r8, rcx
mov rcx, qword [r10 + 0x1d0]
add r8, r8
mov rax, qword [rcx + r8*8 + 8]
cmp rax, r9
je 0x180009a7f
mov rcx, qword [rcx + r8*8]
jmp 0x180009a78
cmp rax, rcx
je 0x180009a7f
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x180009a6f
jmp 0x180009a81
xor eax, eax
test rax, rax
cmove rax, r9
cmp rax, r9
setne al
ret
Function at 0x18000f9b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x18000f9e0
cvtsi2ss xmm0, rdx
jmp 0x18000f9f5
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.msvcrt.dll_ceilf
movss xmm1, dword [0x1800d229c]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18000fa23
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18000fa23
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x18000fa51
cmp rbx, 0x200
jae 0x18000fa4e
shl rbx, 3
cmp rbx, rcx
jae 0x18000fa51
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x18000fbbe
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18000dacc
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18000fb82
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [rax + r9 + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x18000fac9
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18000fb08
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18000fb76
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x18000fb4b
mov r10, qword [r10]
cmp r10, rax
je 0x18000fb01
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18000fb01
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x18000fb98
cmp qword [rdi + r11*8], r10
jne 0x18000fb41
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18000fab9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18000fb76
lea rcx, [0x1800c7240]
call fcn.18008b460
int3
Function at 0x180010474
Capabilities:
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x1800104a4
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x180010486
mov rax, r8
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1801a0770]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x1801a0798]
js 0x180010648
cvtsi2ss xmm0, rcx
jmp 0x18001065d
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1801a0760]
call sub.msvcrt.dll_ceilf
movss xmm1, dword [0x1800d229c]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18001068f
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18001068f
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1800106bd
cmp rbx, 0x200
jae 0x1800106ba
shl rbx, 3
cmp rbx, rcx
jae 0x1800106bd
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x180010835
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [0x1801a0768]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1801a0778]
lea rdx, [rdi + rdi]
call fcn.18000dacc
mov rax, qword [0x1801a0768]
lea r9, [rdi - 1]
mov qword [0x1801a0790], r9
mov qword [0x1801a0798], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18001082a
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x180010744
mov rdi, qword [0x1801a0778]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x180010782
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x1800107f0
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x1800107c5
mov r10, qword [r10]
cmp r10, rax
je 0x18001077b
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18001077b
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x180010804
cmp qword [rdi + r11*8], r10
jne 0x1800107bb
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x18001082a
mov r9, qword [0x1801a0790]
jmp 0x180010734
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800107f0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1800c7240]
call fcn.18008b460
int3
Function at 0x1800108c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1800108f2
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1800108d5
mov rax, r8
ret
Function at 0x180011c68
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rdi, qword [0x18019fa68]
xor ebx, ebx
mov byte [rbp - 0x1e], 0x45
mov ecx, ebx
mov byte [rbp - 0x1d], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x1c], 0x67
mov byte [rbp - 0x1b], 0x63
mov byte [rbp - 0x1a], 0x76
mov byte [rbp - 0x19], 0x67
mov byte [rbp - 0x18], 0x52
mov byte [rbp - 0x17], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x16], WSACleanup
mov byte [rbp - 0x15], 0x65
mov byte [rbp - 0x14], 0x67
mov byte [rbp - 0x13], 0x75
mov byte [rbp - 0x12], 0x75
mov byte [rbp - 0x11], 0x43
mov byte [rbp - 0x10], bl
mov al, byte [rbp - 0x1e]
mov al, byte [rbp + rcx - 0x1e]
sub al, 2
mov byte [rbp + rcx - 0x1e], al
inc rcx
cmp rcx, 0xe
jb 0x180011cc3
mov byte [rbp - 0x30], WSACleanup
mov rcx, rbx
mov byte [rbp - 0x2f], 0x6b
mov byte [rbp - 0x2e], 0x78
mov byte [rbp - 0x2d], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x2c], 0x6b
mov byte [rbp - 0x2b], WSACleanup
mov byte [rbp - 0x2a], 0x39
mov byte [rbp - 0x29], 0x38
mov byte [rbp - 0x28], bl
mov al, byte [rbp - 0x30]
mov al, byte [rbp + rcx - 0x30]
sub al, 6
mov byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 8
jb 0x180011cff
lea r8, [rbp - 0x1e]
mov rcx, rdi
lea rdx, [rbp - 0x30]
call fcn.180078770
mov rdx, rax
mov byte [rsp + 0x20], 1
mov r9d, 0xa
lea r8, [0x1800119f4]
mov rcx, rdi
call fcn.18007384c
mov byte [rbp - 0xf], 0x44
mov rcx, rbx
mov byte [rbp - 0xe], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0xd], 0x66
mov byte [rbp - 0xc], 0x62
mov byte [rbp - 0xb], 0x75
mov byte [rbp - 0xa], 0x66
mov byte [rbp - 9], 0x51
mov byte [rbp - 8], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 7], reloc.WS2_32.dll_WSASetLastError
mov byte [rbp - 6], 0x64
mov byte [rbp - 5], 0x66
mov byte [rbp - 4], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 3], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 2], 0x58
mov byte [rbp - 1], bl
mov al, byte [rbp - 0xf]
mov al, byte [rbp + rcx - 0xf]
dec al
mov byte [rbp + rcx - 0xf], al
inc rcx
cmp rcx, 0xe
jb 0x180011d80
mov byte [rbp - 0x27], 0x75
mov byte [rbp - 0x26], WSASetLastError
mov byte [rbp - 0x25], 0x7c
mov byte [rbp - 0x24], 0x78
mov byte [rbp - 0x23], WSASetLastError
mov byte [rbp - 0x22], 0x76
mov byte [rbp - 0x21], 0x3d
mov byte [rbp - 0x20], 0x3c
mov byte [rbp - 0x1f], bl
mov al, byte [rbp - 0x27]
mov al, byte [rbp + rbx - 0x27]
sub al, 0xa
mov byte [rbp + rbx - 0x27], al
inc rbx
cmp rbx, 8
jb 0x180011db9
lea r8, [rbp - 0xf]
mov rcx, rdi
lea rdx, [rbp - 0x27]
call fcn.180078770
mov rdx, rax
mov byte [rsp + 0x20], 1
mov r9d, 0xa
lea r8, [0x180011a98]
mov rcx, rdi
call fcn.18007384c
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret