joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140053624
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140070a00
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140100028]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140100020]
call fcn.140070478
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140070a40
call qword [0x140126020]
jmp 0x140070a46
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400536e2
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400ea168
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.140051595
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400ea1f2
cmp byte [rbp - 0x21], r15b
je 0x1400ea1ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400ea228
call fcn.140053bba
test eax, eax
jne 0x1400ea214
cmp byte [rbp - 0x21], r15b
je 0x1400ea20c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400ea228
cmp byte [rbp - 0x21], r15b
je 0x1400ea225
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.140053e17
test eax, eax
jne 0x1400ea2c8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140051595
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400ea267
cmp byte [rbp - 0x21], r15b
je 0x1400ea29c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400ea29c
call fcn.140053bba
test eax, eax
jne 0x1400ea288
cmp byte [rbp - 0x21], r15b
je 0x1400ea281
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400ea29c
cmp byte [rbp - 0x21], r15b
je 0x1400ea299
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.140053e17
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400ea2c8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400ea2cb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400ea2d9
mov rcx, rdi
call fcn.1400501ae
cmp byte [rbp + 0x3f], r15b
je 0x1400ea2e8
mov rcx, qword [rbp + 0x27]
call fcn.1400501ae
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 0x1400537fa
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400bc938
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 0x1400bc713
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400bc713
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400bc713
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400bc713
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400bc713
cmp dword [rcx + 0x84], 0xe
jbe 0x1400bc713
cmp dword [rcx + 0xf8], 0
je 0x1400bc713
mov ecx, ebx
call fcn.1400bc87c
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.1400bc3fc
nop
cmp dword [rbp + 0x20], 0
je 0x1400bc761
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400bc79c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400bc6a4
Function at 0x1400e4e90
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400e4ea6
mov al, 1
jmp 0x1400e4f06
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400e4eb7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400e4f04
mov ecx, dword [rcx + 0x18]
nop
call fcn.140053b47
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400e4f04
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400e4f04
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400e4f04
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400e4f06
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400ecbc8
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, [0x140119de0]
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 0x1400ecc1f
cmp word [rdx], r13w
jne 0x1400ecc1f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400ecc24
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400ecd49
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400ecd6a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400ecc5d
mov rdx, r9
mov word [rbx], cx
jmp 0x1400ecc84
cmp r9, r8
jae 0x1400ecc94
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 0x1400ecc3e
jmp 0x1400ecd49
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 0x1400ecd3e
cmp dword [rsp + 0x80], esi
je 0x1400ecd3e
lea r8, [0x140119de0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400ecd16
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400ecce6
mov word [rbx], r13w
jmp 0x1400ecd46
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 0x1400eccf3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400ecd46
cmp word [rsp + 0x70], r13w
jne 0x1400ecd23
cmp rbx, r14
je 0x1400ecce0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140050924
cmp word [rsp + 0x70], r13w
je 0x1400ecd49
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, [0x140119de0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400ecd43
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400ecd49
Function at 0x1400059e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x10], edx
push rdi
push r14
push r15
sub rsp, 0x20
mov r15, rcx
mov r14d, edx
add rcx, 0x108
call sub.KERNEL32.dll_AcquireSRWLockExclusive
lea rcx, [r15 + 0x100]
call sub.KERNEL32.dll_AcquireSRWLockExclusive
movzx eax, byte [rsp + 0x49]
movabs r10, 0x100000001b3
mov r9, qword [r15 + 0xe8]
movabs r11, 0xcbf29ce484222325
mov rdx, qword [r15 + 0xc0]
movzx r8d, r14b
xor r8, r11
imul r8, r10
xor r8, rax
movzx eax, byte [rsp + 0x4a]
imul r8, r10
xor r8, rax
movzx eax, byte [rsp + 0x4b]
imul r8, r10
xor r8, rax
mov rax, r9
imul r8, r10
and rax, r8
mov r8, qword [r15 + 0xd0]
add rax, rax
mov rbx, qword [r8 + rax*8 + 8]
cmp rbx, rdx
je 0x140005ac6
mov rax, qword [r8 + rax*8]
cmp r14d, dword [rbx + 0x10]
je 0x140005a9f
nop
cmp rbx, rax
je 0x140005ac6
mov rbx, qword [rbx + 8]
cmp r14d, dword [rbx + 0x10]
jne 0x140005a90
test rbx, rbx
cmove rbx, rdx
cmp rbx, rdx
je 0x140005ac6
mov rdi, qword [r15 + 0x60]
mov rax, qword [r15 + 0x68]
cmp rdi, rax
je 0x140005ac6
cmp dword [rdi], r14d
je 0x140005afc
add rdi, 0x28
cmp rdi, rax
jne 0x140005ab8
xor bl, bl
lea rcx, [r15 + 0x100]
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
lea rcx, [r15 + 0x108]
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov rbp, qword [rsp + 0x50]
movzx eax, bl
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
movzx eax, byte [rbx + 0x11]
movzx ecx, byte [rbx + 0x10]
xor rcx, r11
imul rcx, r10
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, r10
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, r10
xor rcx, rax
imul rcx, r10
and r9, rcx
add r9, r9
mov rax, qword [r8 + r9*8]
cmp qword [r8 + r9*8 + 8], rbx
jne 0x140005b54
cmp rax, rbx
jne 0x140005b49
mov qword [r8 + r9*8], rdx
mov qword [r8 + r9*8 + 8], rdx
jmp 0x140005b60
mov rdx, qword [rbx + 8]
mov qword [r8 + r9*8 + 8], rdx
jmp 0x140005b60
cmp rax, rbx
jne 0x140005b60
mov rax, qword [rbx]
mov qword [r8 + r9*8], rax
mov rcx, qword [rbx]
dec qword [r15 + 0xc8]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x140005b8a
call fcn.140053564
lea rcx, [rbx + 0x68]
call fcn.140007f40
lea rcx, [rbx + 0x20]
call fcn.140007f40
mov edx, 0xd0
mov rcx, rbx
call fcn.140047cd4
mov rbx, qword [r15 + 0x68]
add rdi, 0x28
cmp rdi, rbx
je 0x140005bdf
nop word [rax + rax]
mov eax, dword [rdi]
lea rdx, [rdi + 8]
lea rcx, [rdi - 0x20]
mov dword [rdi - 0x28], eax
call fcn.140005460
add rdi, 0x28
cmp rdi, rbx
jne 0x140005bc0
mov rbx, qword [r15 + 0x68]
mov rdx, qword [rbx - 8]
cmp rdx, 8
jb 0x140005c1b
mov rcx, qword [rbx - 0x20]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140005c16
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005c39
mov rcx, r8
call fcn.140047cd4
xor eax, eax
mov qword [rbx - 8], 7
mov qword [rbx - 0x10], rax
mov word [rbx - 0x20], ax
mov bl, 1
add qword [r15 + 0x68], 0xffffffffffffffd8
jmp 0x140005ac8
call fcn.14005391c
int3
Function at 0x140008780
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140008942
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140007320
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140008907
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x140008873
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1400088f6
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x1400088b0
mov r10, qword [rax]
cmp r10, rcx
je 0x1400088aa
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1400088f6
mov r8, rax
cmp r10, rax
je 0x1400088d2
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x14000891c
cmp r10, rax
jne 0x1400088c0
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x140008820
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1400088f6
lea rcx, str.invalid_hash_bucket_count
call fcn.1400454b4
int3
Function at 0x14000e6c0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
mov rbx, rcx
cmp rax, qword [rcx + 0x18]
jae 0x14000e6e0
inc rax
mov qword [rcx + 0x20], rax
add rsp, 0x20
pop rbx
ret
cmp byte [rcx + 0x38], 0
jne 0x14000e72c
mov rax, qword [rcx + 0x28]
mov edx, 1
add qword [rcx + 0x30], rax
mov r9, qword [rcx]
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
call fcn.14005af3c
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], rdx
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbx + 0x18], rcx
cmp rax, qword [rbx + 0x10]
jae 0x14000e72c
mov byte [rdx + rax], 0
inc qword [rbx + 0x18]
mov byte [rbx + 0x38], 1
add rsp, 0x20
pop rbx
ret
Function at 0x140019470
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10d, r9d
mov r9d, dword [rsp + 0x70]
mov r11d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdx
mov eax, dword [rsp + 0x88]
mov r8d, r10d
mov dword [rsp + 0x30], eax
mov edx, r11d
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
add rsp, 0x40
pop rbx
ret
Function at 0x14001eef0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140007800
lea r12, [rsi + 0x150]
mov qword [rsp + 0x20], r12
mov byte [rsp + 0x28], 1
mov rcx, r12
call sub.KERNEL32.dll_AcquireSRWLockShared
nop
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001ef48
mov rdx, qword [rbx]
movabs r9, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
add r8, r8
je 0x14001ef83
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14001ef70
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x110]
call fcn.140015d30
mov r14, qword [rax + 8]
test r14, r14
jne 0x14001efa7
mov r14, qword [rsi + 0x118]
cmp r14, qword [rsi + 0x118]
je 0x14001f119
add r14, 0x30
cmp rdi, r14
je 0x14001effb
mov r15, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 8
jb 0x14001efcb
mov r14, qword [r14]
mov rbp, qword [rdi + 0x18]
cmp r15, rbp
ja 0x14001f00a
mov rsi, rdi
cmp rbp, 8
jb 0x14001efe0
mov rsi, qword [rdi]
mov qword [rdi + 0x10], r15
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.140049a30
mov word [rbx + rsi], r13w
mov rcx, r12
call sub.KERNEL32.dll_ReleaseSRWLockShared
mov al, 1
jmp 0x14001f123
movabs rbx, 0x7ffffffffffffffe
cmp r15, rbx
ja 0x14001f149
mov rcx, r15
or rcx, 7
cmp rcx, rbx
jbe 0x14001f032
mov rcx, 0xfffffffffffffffe
jmp 0x14001f07d
mov rdx, rbp
shr rdx, 1
mov rax, rbx
sub rax, rdx
cmp rbp, rax
jbe 0x14001f04c
mov rcx, 0xfffffffffffffffe
jmp 0x14001f07d
lea rax, [rdx + rbp]
mov rbx, rcx
cmp rcx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14001f143
add rcx, rcx
cmp rcx, 0x1000
jb 0x14001f0a9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001f143
mov rcx, rax
call fcn.140047a48
test rax, rax
je 0x14001f14f
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14001f0bb
test rcx, rcx
je 0x14001f0b8
call fcn.140047a48
mov rsi, rax
jmp 0x14001f0bb
mov rsi, r13
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.140049a30
mov word [rbx + rsi], r13w
cmp rbp, 8
jb 0x14001f111
mov rcx, qword [rdi]
lea rdx, [rbp*2 + 2]
cmp rdx, 0x1000
jb 0x14001f10c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001f14f
mov rcx, r8
call fcn.140047cd4
mov qword [rdi], rsi
jmp 0x14001effb
mov rcx, r12
call sub.KERNEL32.dll_ReleaseSRWLockShared
xor al, al
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140001964
nop
call fcn.1400019fc
int3
call fcn.14005391c
int3
Function at 0x14001f160
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x1400b0290]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.140007800
lea rbx, [rdi + 0x150]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
nop
mov rdx, qword [rsi + 0x10]
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001f1b7
mov r8, qword [rsi]
xor ebp, ebp
movabs r9, 0xcbf29ce484222325
mov ecx, ebp
add rdx, rdx
je 0x14001f1f4
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x14001f1e0
mov r8, rsi
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x110]
call fcn.140015d30
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14001f22b
cmp rcx, qword [rdi + 0x118]
je 0x14001f22b
add rcx, 0x30
mov rdx, r14
call fcn.140005460
mov dil, 1
jmp 0x14001f299
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x50], xmm1
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], 7
mov word [rsi], bp
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0x70], xmm1
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], 7
mov word [r14], bp
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x110]
call fcn.1400203f0
nop
lea rcx, [rsp + 0x40]
call fcn.140008cc0
cmp byte [rsp + 0x28], 0
jne 0x14001f226
xor dil, dil
mov rcx, rbx
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
movzx eax, dil
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140047790
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140027b5c
Capabilities:
Get file size

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1400b0290]
xor rax, rsp
mov qword [rsp + 0x68], rax
and qword [r11 - 0x40], 0
mov rsi, rdx
mov rdx, rcx
xorps xmm0, xmm0
lea rcx, [r11 - 0x40]
movdqu xmmword [rsp + 0x58], xmm0
call fcn.1400027b4
cmp qword [rsp + 0x60], 8
lea rcx, [rsp + 0x48]
mov edx, 0x80000000
cmovae rcx, qword [rsp + 0x48]
xor r9d, r9d
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000000
mov dword [rsp + 0x20], 3
lea r14d, [r9 + 1]
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140027c71
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140027c63
mov rbp, qword [rsp + 0x40]
test rbp, rbp
jle 0x140027c63
and qword [rsp + 0x28], 0
lea r8d, [r14 + 1]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
test rax, rax
je 0x140027c63
and qword [rsp + 0x20], 0
lea edx, [r14 + 3]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x140027c54
mov qword [rsi + 0x10], rbp
mov qword [rsi + 8], rax
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rbx
jmp 0x140027c74
cmp rbx, 0xffffffffffffffff
je 0x140027c63
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140027c71
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r14b, r14b
lea rcx, [rsp + 0x48]
call fcn.140002674
mov al, r14b
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140047790
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400284e4
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x20], rdx
mov word [rsp + 0x28], r8w
mov qword [rsp + 0x30], r9
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x38], eax
mov rdi, qword [rcx]
lea r13, [rdi + 0x10]
mov qword [r11 - 0x38], r13
xor esi, esi
mov qword [r11 - 0x30], rsi
lea ecx, [rsi + 0x30]
call fcn.140047a48
mov rbx, rax
mov qword [rsp + 0x48], rax
lea r15, [rax + 0x10]
movups xmm0, xmmword [rsp + 0x20]
movdqu xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x30]
movdqu xmmword [r15 + 0x10], xmm1
mov r14, qword [r15]
movzx eax, word [r15 + 8]
lea r12, [r14 + rax*2]
mov ebp, 0x811c9dc5
jmp 0x140028582
movzx ecx, word [r14]
call fcn.14005b734
movzx ecx, ax
imul rbp, rbp, 0x1000193
xor rbp, rcx
add r14, 2
cmp r14, r12
jne 0x140028568
mov r9, rbp
mov r8, r15
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140029964
cmp qword [rsp + 0x28], rsi
je 0x1400285bc
test rbx, rbx
je 0x1400286b1
mov edx, 0x30
mov rcx, rbx
call fcn.140047cd4
jmp 0x1400286b1
mov rdx, qword [rdi + 0x18]
movabs rax, 0x555555555555555
cmp rdx, rax
je 0x1400286d2
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400285e6
cvtsi2ss xmm0, rcx
jmp 0x1400285fb
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rdi + 0x40]
xorps xmm1, xmm1
test rcx, rcx
js 0x14002860e
cvtsi2ss xmm1, rcx
jmp 0x140028623
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rdi + 8]
seta al
test al, al
je 0x14002865a
mov rcx, rdi
call fcn.140029654
mov r9, rbp
mov r8, r15
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140029964
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
mov rdx, qword [rdi + 0x18]
mov r8, qword [rsp + 0x20]
mov r9, qword [r8 + 8]
lea rax, [rdx + 1]
mov qword [rdi + 0x18], rax
mov qword [rbx], r8
mov qword [rbx + 8], r9
mov qword [r9], rbx
mov qword [r8 + 8], rbx
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x38]
and rax, rbp
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [r13]
jne 0x140028697
mov qword [rcx + rax*8], rbx
jmp 0x1400286a9
cmp rdx, r8
jne 0x1400286a2
mov qword [rcx + rax*8], rbx
jmp 0x1400286ae
cmp qword [rcx + rax*8 + 8], r9
jne 0x1400286ae
mov qword [rcx + rax*8 + 8], rbx
mov sil, 1
mov al, sil
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400454b4
int3
Function at 0x1400287ec
Capabilities:
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov r14, rdx
mov rcx, qword [rcx + 0x10]
mov rdi, r8
lea rdx, [rcx + rcx]
movzx eax, dx
cmp rax, rdx
jne 0x14002888c
cmp qword [rbx + 0x18], 8
jb 0x140028821
mov rbx, qword [rbx]
movzx eax, cx
mov ebp, 0x811c9dc5
mov qword [rsp + 0x20], rbx
mov word [rsp + 0x28], ax
lea rsi, [rbx + rax*2]
jmp 0x140028852
movzx ecx, word [rbx]
call fcn.14005b734
imul rbp, rbp, 0x1000193
movzx ecx, ax
xor rbp, rcx
add rbx, 2
cmp rbx, rsi
jne 0x140028839
mov r9, rbp
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140029964
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14002888c
cmp rcx, qword [r14 + 0x10]
je 0x14002888c
mov rax, qword [rcx + 0x20]
mov qword [rdi], rax
mov eax, dword [rcx + 0x28]
mov dword [rdi + 8], eax
mov al, 1
jmp 0x14002888e
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret