joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005c20
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x89e39547
call fcn.140005640
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400077b8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007802
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007802
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007802
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007802
cmp dword [rcx + 0x84], 0xe
jbe 0x140007802
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140007804
xor al, al
add rsp, 0x28
ret

Function at 0x14000c020
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000c168

Function at 0x14000c168
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000c168
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000c1d7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c1d7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c1d7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c1d7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c1d7
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c1d7
cmp dword [rcx + 0xf8], 0
je 0x14000c1d7
mov ecx, ebx
call fcn.14000c0a0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000c2fc
nop
cmp dword [rbp + 0x20], 0
je 0x14000c225
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000c134
int3

Function at 0x1400119f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140011a18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140011a18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001bde4
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.1400158e4
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 0x14001be85
cmp ebx, dword [rsp + 0x30]
je 0x14001be7e
test esi, esi
je 0x14001be7e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14001be59
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14001be66
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14001be43
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14001be6a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14001be87
mov eax, 1
jmp 0x14001be87
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ce04
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140006110
sub rsp, rax
mov rax, qword [0x140052540]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140019338
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001ce53
mov rax, rbp
jmp 0x14001cf5b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x56330]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001cb34
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x56330]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001cf57
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001cf57
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001cb34
test rax, rax
js 0x14001cf57
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001cf57
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14001cf49
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14001cf49
cmp byte [rcx], 0xd
jne 0x14001cf2f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001cf3e
cmp byte [rcx + 1], 0xa
jne 0x14001cf3e
inc rcx
jmp 0x14001cf3e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x52f30]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001cf11
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14001cf5b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140006170
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001d88c
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 0x14001d8bc
xor eax, eax
jmp 0x14001d97f
mov rbp, rbx
cmp word [rax], si
je 0x14001d8e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001d8c8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001d8c4
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.14001d7ac
movsxd r14, eax
test eax, eax
jne 0x14001d91f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001d8b5
mov rcx, r14
call fcn.140017e8c
mov rdi, rax
test rax, rax
jne 0x14001d938
xor ecx, ecx
call fcn.140014fa8
jmp 0x14001d914
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.14001d7ac
test eax, eax
jne 0x14001d969
mov rcx, rdi
call fcn.140014fa8
jmp 0x14001d973
xor ecx, ecx
call fcn.140014fa8
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 0x14001f610
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001f626
mov al, 1
jmp 0x14001f686
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001f637
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001f684
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001dde4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001f684
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001f684
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001f684
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001f686
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001ffbc
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, [0x140056330]
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 0x140020013
cmp word [rdx], r13w
jne 0x140020013
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140020018
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14002013d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14002015e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140020051
mov rdx, r9
mov word [rbx], cx
jmp 0x140020078
cmp r9, r8
jae 0x140020088
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 0x140020032
jmp 0x14002013d
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 0x140020132
cmp dword [rsp + 0x80], esi
je 0x140020132
lea r8, [0x140056330]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14002010a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400200da
mov word [rbx], r13w
jmp 0x14002013a
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 0x1400200e7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14002013a
cmp word [rsp + 0x70], r13w
jne 0x140020117
cmp rbx, r14
je 0x1400200d4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001ca90
cmp word [rsp + 0x70], r13w
je 0x14002013d
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, [0x140056330]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140020137
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14002013d
Function at 0x1400267e8
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.140011070
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140026872
cmp byte [rbp - 0x21], r15b
je 0x14002686d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400268a8
call fcn.14001609c
test eax, eax
jne 0x140026894
cmp byte [rbp - 0x21], r15b
je 0x14002688c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400268a8
cmp byte [rbp - 0x21], r15b
je 0x1400268a5
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.140011750
test eax, eax
jne 0x140026948
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140011070
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400268e7
cmp byte [rbp - 0x21], r15b
je 0x14002691c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002691c
call fcn.14001609c
test eax, eax
jne 0x140026908
cmp byte [rbp - 0x21], r15b
je 0x140026901
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002691c
cmp byte [rbp - 0x21], r15b
je 0x140026919
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.140011750
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140026948
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002694b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140026959
mov rcx, rdi
call fcn.140014fa8
cmp byte [rbp + 0x3f], r15b
je 0x140026968
mov rcx, qword [rbp + 0x27]
call fcn.140014fa8
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 0x14002794c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001ca90
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ca90
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027a9c
cmp rax, 0xffffffffffffffff
je 0x140027a9c
xor edi, edi
test rbp, rbp
jle 0x140027a47
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140014f30
mov rbx, rax
test rax, rax
jne 0x1400279d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027a3d
mov edx, 0x8000
mov ecx, r14d
call fcn.14000f548
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001e780
cmp eax, 0xffffffff
je 0x140027a1d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400279e4
mov edx, r15d
mov ecx, r14d
call fcn.14000f548
jmp 0x140027a3d
cmp byte [rsi + 0x38], dil
je 0x140027a34
cmp dword [rsi + 0x34], 5
jne 0x140027a34
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027a3d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140014fa8
jmp 0x140027ab0
jns 0x140027ab0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ca90
cmp rax, 0xffffffffffffffff
jne 0x140027a68
cmp byte [rsi + 0x30], dil
je 0x140027ab0
mov edi, dword [rsi + 0x2c]
jmp 0x140027ab0
mov ecx, r14d
call fcn.14001dde4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027ab0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027ab0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027aa9
mov eax, dword [rsi + 0x2c]
jmp 0x140027aae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ca90
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14000b0e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r10, r9
mov r11d, edx
mov rbx, rcx
test edx, edx
jne 0x14000b0fa
xor eax, eax
mov rbx, qword [rsp + 8]
ret
mov r9, qword [r8]
movzx eax, r9b
mov rdx, r9
xor eax, 0x811c9dc5
shr rdx, 8
movzx ecx, dl
shr rdx, 8
imul eax, eax, 0x1000193
xor ecx, eax
movzx eax, dl
shr rdx, 8
imul ecx, ecx, 0x1000193
xor eax, ecx
movzx ecx, dl
shr rdx, 8
imul eax, eax, 0x1000193
xor ecx, eax
movzx eax, dl
shr rdx, 8
imul ecx, ecx, 0x1000193
xor eax, ecx
movzx ecx, dl
shr rdx, 8
imul eax, eax, 0x1000193
xor ecx, eax
movzx eax, dl
shr rdx, 8
imul ecx, ecx, 0x1000193
xor eax, ecx
movzx ecx, dl
shr rdx, 8
movzx r8d, dl
xor edx, edx
imul eax, eax, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
xor r8d, ecx
imul r8d, r8d, 0x1000193
mov eax, r8d
div r11d
mov rax, qword [rbx + rdx*8]
lea rdx, [rbx + rdx*8]
test rax, rax
je 0x14000b1b1
nop
cmp qword [rax + 8], r9
je 0x14000b1b1
mov rdx, rax
mov rax, qword [rax]
test rax, rax
jne 0x14000b1a0
test r10, r10
je 0x14000b1b9
mov dword [r10], r8d
mov rbx, qword [rsp + 8]
mov rax, rdx
ret
Function at 0x14000d960
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, 0x28
call fcn.1401bb880
sub rsp, rax
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x14000d9a0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1401bb880
sub rsp, rax
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14000d9c0
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1401bb880
sub rsp, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
neg eax
sbb eax, eax
neg eax
dec eax
add rsp, 0x28
ret

Function at 0x14000f260
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x40
call fcn.1401bb880
sub rsp, rax
mov rdx, qword [rcx + 0x18]
mov eax, dword [rcx + 8]
xor ebx, ebx
lea r8, [rdx + rax*8]
mov rsi, rcx
cmp rdx, r8
je 0x14000f2a3
nop dword [rax]
cmp qword [rdx], rbx
jne 0x14000f2a0
add rdx, 8
cmp rdx, r8
jne 0x14000f290
jmp 0x14000f2a3
mov rbx, qword [rdx]
test rbx, rbx
je 0x14000f40f
mov rbx, qword [rbx + 8]
mov rax, qword [rsi]
mov rdx, rsi
mov rcx, qword [rbx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov dl, 1
mov rcx, rbx
call fcn.14000c520
test eax, eax
jne 0x14000f411
mov rcx, rbx
call fcn.14000b020
mov rcx, rbx
call fcn.14000db80
mov r11d, dword [rsi + 8]
mov r9, qword [rsi + 0x18]
test r11d, r11d
je 0x14000f3cd
movzx ecx, bl
mov r8, rbx
xor ecx, 0x811c9dc5
shr r8, 8
movzx eax, r8b
shr r8, 8
imul ecx, ecx, 0x1000193
xor eax, ecx
movzx ecx, r8b
shr r8, 8
imul eax, eax, 0x1000193
xor ecx, eax
movzx eax, r8b
shr r8, 8
imul ecx, ecx, 0x1000193
xor eax, ecx
movzx ecx, r8b
shr r8, 8
imul eax, eax, 0x1000193
xor ecx, eax
movzx eax, r8b
shr r8, 8
imul ecx, ecx, 0x1000193
xor eax, ecx
movzx ecx, r8b
shr r8, 8
movzx edx, r8b
shr r8, 8
imul eax, eax, 0x1000193
xor ecx, eax
movzx eax, r8b
imul ecx, ecx, 0x1000193
xor edx, ecx
imul edx, edx, 0x1000193
xor eax, edx
xor edx, edx
imul eax, eax, 0x1000193
div r11d
mov rax, qword [r9 + rdx*8]
lea rdx, [r9 + rdx*8]
test rax, rax
je 0x14000f3a4
cmp qword [rax + 8], rbx
je 0x14000f3a4
mov rdx, rax
mov rax, qword [rax]
test rax, rax
jne 0x14000f393
test rdx, rdx
je 0x14000f3cd
mov rcx, qword [rdx]
test rcx, rcx
je 0x14000f3cd
mov rax, qword [rcx]
mov qword [rdx], rax
call fcn.14000db80
dec qword [rsi + 0x10]
mov rdx, qword [rsi + 0x10]
lea rcx, [rsi + 8]
call fcn.14000eb40
mov rcx, qword [rsi + 0x18]
mov eax, dword [rsi + 8]
xor ebx, ebx
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x14000f400
nop
cmp qword [rcx], rbx
jne 0x14000f3fd
add rcx, 8
cmp rcx, rdx
jne 0x14000f3e0
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], rdx
jmp 0x14000f2a3
mov rbx, qword [rcx]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], rdx
jmp 0x14000f2a3
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140010040
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
mov eax, 0x20
call fcn.1401bb880
sub rsp, rax
xor ebx, ebx
mov rsi, rcx
mov ebp, ebx
test rcx, rcx
je 0x140010127
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or rcx, 0xffffffffffffffff
mov rdi, rsi
mov r12d, eax
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rdx, [rcx - 1]
lea ecx, [r12 + 1]
add rdx, rcx
lea ecx, [rbx + 0x40]
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbp, rax
test rax, rax
je 0x14001012a
mov edx, r12d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [rax - 1]
cmp word [rbp + rcx*2], 0x5c
je 0x1400100d4
mov ecx, eax
mov edx, 0x5c
inc eax
mov word [rbp + rcx*2], dx
or rcx, 0xffffffffffffffff
movsxd r8, eax
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x140010127
add r8, r8
mov rdx, rsi
sub r8, rsi
add r8, rbp
nop word [rax + rax]
movzx eax, word [rdx]
or rcx, 0xffffffffffffffff
inc ebx
mov word [r8 + rdx], ax
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
mov eax, ebx
add rdx, 2
not rcx
dec rcx
cmp rax, rcx
jb 0x140010100
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x140017f50
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 8
call fcn.140017fc0
shl edx, 4
test eax, eax
jne 0x140017fae
lea rcx, [r8 + rdx + 0x10]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [rcx]
movups xmmword [rcx], xmm0
movups xmmword [r8], xmm1
lea r8, [r8 + 0x10]
lea rcx, [rcx - 0x10]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [rcx]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea r8, [r8 + 0x10]
lea rcx, [rcx - 0x10]
movups xmmword [rcx + 0x10], xmm0
movups xmmword [r8 - 0x10], xmm1
cmp rcx, r8
ja 0x140017f7b
movups xmm0, xmmword [r8]
aesimc xmm0, xmm0
movups xmmword [rcx], xmm0
add rsp, 8
repz ret

Function at 0x140017fc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 8
mov rax, 0xffffffffffffffff
test rcx, rcx
je 0x1400181c7
test r8, r8
je 0x1400181c7
movups xmm0, xmmword [rcx]
xorps xmm4, xmm4
lea rax, [r8 + 0x10]
cmp edx, 0x100
je 0x140018110
cmp edx, 0xc0
je 0x140018090
cmp edx, 0x80
jne 0x1400181c0
mov edx, 9
movups xmmword [r8], xmm0
aeskeygenassist xmm1, xmm0, 1
call fcn.1400181d7
aeskeygenassist xmm1, xmm0, 2
call fcn.1400181d0
aeskeygenassist xmm1, xmm0, 4
call fcn.1400181d0
aeskeygenassist xmm1, xmm0, 8
call fcn.1400181d0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.1400181d0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.1400181d0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.1400181d0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.1400181d0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.1400181d0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.1400181d0
movups xmmword [rax], xmm0
mov dword [rax + 0x50], edx
xor eax, eax
jmp 0x1400181c7
movq xmm2, qword [rcx + 0x10]
mov edx, reloc.WS2_32.dll_inet_addr
movups xmmword [r8], xmm0
aeskeygenassist xmm1, xmm2, 1
call fcn.1400181f7
aeskeygenassist xmm1, xmm2, 2
call fcn.140018230
aeskeygenassist xmm1, xmm2, 4
call fcn.1400181f0
aeskeygenassist xmm1, xmm2, 8
call fcn.140018230
aeskeygenassist xmm1, xmm2, 0x10
call fcn.1400181f0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.140018230
aeskeygenassist xmm1, xmm2, 0x40
call fcn.1400181f0
aeskeygenassist xmm1, xmm2, 0x80
call fcn.140018230
movups xmmword [rax], xmm0
mov dword [rax + 0x30], edx
xor rax, rax
jmp 0x1400181c7
movups xmm2, xmmword [rcx + 0x10]
mov edx, reloc.WS2_32.dll_listen
lea rax, [rax + 0x10]
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm2
aeskeygenassist xmm1, xmm2, 1
call fcn.140018257
aeskeygenassist xmm1, xmm0, 1
call fcn.140018270
aeskeygenassist xmm1, xmm2, 2
call fcn.140018250
aeskeygenassist xmm1, xmm0, 2
call fcn.140018270
aeskeygenassist xmm1, xmm2, 4
call fcn.140018250
aeskeygenassist xmm1, xmm0, 4
call fcn.140018270
aeskeygenassist xmm1, xmm2, 8
call fcn.140018250
aeskeygenassist xmm1, xmm0, 8
call fcn.140018270
aeskeygenassist xmm1, xmm2, 0x10
call fcn.140018250
aeskeygenassist xmm1, xmm0, 0x10
call fcn.140018270
aeskeygenassist xmm1, xmm2, 0x20
call fcn.140018250
aeskeygenassist xmm1, xmm0, 0x20
call fcn.140018270
aeskeygenassist xmm1, xmm2, 0x40
call fcn.140018250
movups xmmword [rax], xmm0
mov dword [rax + 0x10], edx
xor rax, rax
jmp 0x1400181c7
mov rax, 0xfffffffffffffffe
add rsp, 8
repz ret