joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1277c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x00015d08]
xor esi, esi
mov dword [rsp + 0x48], esi
cmp rax, rsi
jne 0x128cb
lea r9, [0x00013ad0]
mov ecx, 0x7fff
mov word [rsp + 0x20], si
mov word [rsp + 0x22], si
mov qword [rsp + 0x28], rsi
lea r8d, [rsi + 2]
mov rdx, r9
mov rax, rcx
cmp word [rdx], si
je 0x127d4
add rdx, r8
sub rax, 1
jne 0x127c6
cmp rax, rsi
je 0x127f3
sub rcx, rax
mov qword [rsp + 0x28], r9
lea rax, [rcx + rcx]
mov word [rsp + 0x20], ax
add ax, r8w
mov word [rsp + 0x22], ax
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov rdi, rax
cmp rax, rsi
jne 0x1280d
xor eax, eax
jmp 0x128cb
mov r8d, dword [rsp + 0x48]
xor edx, edx
lea r9, [rsp + 0x48]
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov r11d, dword [rsp + 0x48]
cmp r11d, esi
je 0x12806
mov rdx, r11
xor ecx, ecx
mov r8d, 0x656e6f42
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.000134b0
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x48]
mov rdx, rbx
mov ecx, 0xb
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp eax, esi
jl 0x128b1
mov ecx, esi
cmp dword [rbx], esi
jbe 0x128b1
lea rdx, [rbx + 0x18]
cmp rdi, qword [rdx]
jb 0x12885
mov eax, dword [rdx + 8]
add rax, qword [rdx]
cmp rdi, rax
jb 0x12894
inc ecx
add rdx, 0x128
cmp ecx, dword [rbx]
jae 0x128b1
jmp 0x12875
imul rcx, rcx, 0x128
mov rax, qword [rcx + rbx + 0x18]
mov qword [0x00015d08], rax
mov eax, dword [rcx + rbx + 0x20]
mov dword [0x00015d04], eax
cmp rbx, rsi
je 0x128c4
mov edx, 0x656e6f42
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [0x00015d08]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180002d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0x90]
sub eax, 0x1b76
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x80]
sub eax, 0x19b1
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x19b1
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x98]
add eax, 0xcd4
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x98]
add eax, 0x3ff
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x70]
xor eax, 0xfae
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x90]
add eax, 0xb5d
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x88]
sub eax, 0x1d1
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x88]
xor eax, 0x1b76
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x80]
add eax, 0x8ea
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x2c]
xor eax, 0x19b1
cmp dword [rsp + 0x28], eax
jg 0x180002e49
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x9c]
sub eax, 0x962ff
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x28]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x78]
mov dword [rcx + 0x28], eax
mov eax, dword [rsp + 0x24]
add eax, 0x2540
mov dword [rsp + 0x24], eax
jmp 0x180002ee7
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x90]
mov dword [rsp + 0x20], eax
jmp 0x180002e64
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x20], eax
jge 0x180002ee7
mov eax, dword [rsp + 0x38]
sub eax, 0x26d3
sub eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x78]
mov eax, dword [rdx + rax + 0x3c]
mov ecx, dword [rcx + 0x38]
sub ecx, eax
mov eax, ecx
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x78]
and eax, dword [rdx + rcx + 0xa4]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x48]
sub eax, 0x15b2
mov dword [rsp + 0x3c], eax
mov r8d, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_OpenThread]
jmp 0x180002e5a
mov eax, dword [rsp + 0x2c]
add eax, 0x2540
add rsp, 0x68
ret
Function at 0x180004660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0x98]
sub eax, 0x192e
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xa0]
sub eax, 0x1f55
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x70]
sub eax, 0x958
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x70]
sub eax, 0x2286
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x2d13
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xa0]
xor eax, 0x3787
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x98]
add eax, 0xfa4
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x88]
add eax, 0x346
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x98]
xor eax, 0x3c6e
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x24]
sub eax, 0x8f6
cmp dword [rsp + 0x2c], eax
jle 0x1800047f7
mov eax, dword [rsp + 0x24]
sub eax, 0x8f6
cmp dword [rsp + 0x2c], eax
jle 0x180004745
mov rax, qword [rsp + 0x78]
lea rcx, [0x1800b00e0]
mov qword [rax + 0x70], rcx
mov eax, dword [rsp + 0x20]
add eax, 0x16b3
mov dword [rsp + 0x20], eax
jmp 0x1800047f7
mov eax, dword [rsp + 0x30]
or eax, 0x21d2
mov rcx, qword [rsp + 0x78]
sub eax, dword [rcx + 0x2c]
cmp dword [rsp + 0x20], eax
jb 0x1800047f7
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
jmp 0x180004775
mov eax, dword [rsp + 0x28]
add eax, 2
mov dword [rsp + 0x28], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax + 0xa4]
add eax, dword [rsp + 0x34]
and eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jbe 0x1800047f7
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x78]
mov eax, dword [rdx + rax + 0xa4]
mov ecx, dword [rcx + 0x98]
xor ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x98]
mov ecx, dword [rsp + 0x38]
or ecx, eax
mov eax, ecx
sub eax, 0x2540
mov eax, eax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x18000476a
mov eax, dword [rsp + 0x3c]
add eax, 0x1b16
add rsp, 0x68
ret
Function at 0x180008240
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x78]
xor eax, 0x3aa4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
add eax, 0xbd3
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x88]
sub eax, 0xb55
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
sub eax, 0x9ca
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x68]
sub eax, 0x2ba
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x78]
sub eax, 0x1b76
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
sub eax, 0x36e
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
xor eax, 0x354
cmp dword [rsp + 0x20], eax
jg 0x1800082dd
mov eax, dword [rsp + 0x20]
xor eax, 0x492
mov dword [rsp + 0x20], eax
jmp 0x180008330
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
jmp 0x1800082f2
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x34]
and eax, 0x1f55
mov rcx, qword [rsp + 0x70]
or eax, dword [rcx + 0x90]
cmp dword [rsp + 0x24], eax
jb 0x180008330
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x2c]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x1800082e7
mov eax, dword [rsp + 0x28]
add eax, 0xc09
add rsp, 0x58
ret
Function at 0x180021580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0xa8]
sub eax, 0x19a5
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xb0]
xor eax, 0x38fc
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xa8]
xor eax, 0x19a5
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x90]
add eax, 0x509
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x98]
add eax, 0xb4
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x98]
sub eax, 0x8a4
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x80]
xor eax, 0x3c6e
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x90]
sub eax, 0xc73
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
xor eax, 0x38fc
cmp dword [rsp + 0x2c], eax
jle 0x1800217d1
mov eax, dword [rsp + 0x20]
xor eax, 0x7db
cmp dword [rsp + 0x34], eax
jg 0x1800216a1
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0x88]
xor eax, 0x1663b7
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xa0]
imul ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xa0], eax
mov eax, dword [rsp + 0x20]
sub eax, 0xa2a
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xa0]
mov dword [rax + 0x64], ecx
jmp 0x1800217d1
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rax + 0x44]
imul eax, dword [rcx + 0x48]
add eax, dword [rsp + 0x20]
cmp dword [rsp + 0x30], eax
jb 0x1800217d1
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
jmp 0x1800216da
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x2c]
add eax, 0x31c9
cmp dword [rsp + 0x24], eax
jae 0x1800217d1
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 0xb8]
mov dword [rsp + 0x28], eax
jmp 0x18002171d
mov eax, dword [rsp + 0x28]
add eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x90]
sub eax, 0x159e
cmp dword [rsp + 0x28], eax
jae 0x1800217cc
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
or ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x50], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x88]
mov edx, dword [rdx + 0x18]
mov eax, dword [rcx + rax + 0xb8]
xor eax, edx
mov eax, eax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov eax, dword [rsp + 0x2c]
xor eax, 0x192e
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x88]
add eax, dword [rdx + rcx + 8]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0xb4]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xb4], eax
jmp 0x180021712
jmp 0x1800216d0
mov eax, dword [rsp + 0x30]
add eax, 0x28d2
add rsp, 0x68
ret
Function at 0x485030
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
je 0x485040
jne 0x485040
sub rsp, 0x28
mov rax, qword [rdx]
cmp dword [rax + 0x8c], 0
je 0x4850eb
mov rsi, qword [rdx + 8]
mov edi, dword [rax + 0x88]
cmp dword [rdi + rsi + 0x18], 0
je 0x485088
jne 0x485088
je 0x493c51b6
add r12, rsi
add rbx, rsi
je 0x4850eb
cmp dword [rsi + rdi + 0x14], 0
je 0x4850eb
mov r15, r8
mov r13, rcx
mov ebx, dword [rsi + rdi + 0x20]
mov r12d, dword [rsi + rdi + 0x24]
je 0x485069
jne 0x485069
je 0x750bafeb
and eax, 0x44e92375
mov esi, dword [rcx + rax]
Function at 0x492790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4927c0
mov eax, dword [rax + 0x20]
mov dword [rdi + 0x38], eax
mov rcx, rbx
mov rdx, rsi
call r15
mov rcx, rdi
jmp 0x492870
xor r14d, r14d
xor edx, edx
jmp 0x4928ff
mov rax, qword [rcx]
jmp 0x49280b
push r15
je 0x4928f6
jne 0x4928f6
add byte [rax], al
add byte [rax], al
nop word cs:[rax + rax]
nop dword [rax]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
jmp 0x4928de
mov rcx, rbp
jmp 0x4928b1
mov r15, qword [sym.imp.itmkl_beo_UteNpt2HgazewrUmZvtjloS]
je 0x4927d2
jne 0x4927d2
jmp 0xffffffffff4ab34d
mov rax, qword [rcx]
call qword [rax + 0x30]
jmp 0x492796
call qword [rax + 8]
je 0x492914
jne 0x492914
jmp 0x49d508
jmp 0x4928cc
call qword [rax + 0x20]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + 8]
test eax, eax
je 0x49287d
jne 0x49287d
por mm3, qword [rdx - 0x17]
je 0x4927ed
jne 0x4927ed
je 0xffffffff8458d62d
jmp 0x492821
sub rsp, 0x28
mov rdi, rcx
je 0x49290b
jmp 0x492932
push rdi
push rbp
push rbx
jmp 0x492845
je 0x492920
mov rax, qword [rcx]
jmp 0x4927ad
call fcn.00493060
jmp 0x49295e
jmp 0x101ac90
je 0x49293b
je 0x49294f
jne 0x49294f
je 0xffffffff8dcd3819
je 0x492925
add byte [rax], al
add byte [rax - 0x75], cl
outsd dx, dword [rsi]
adc byte [rdi], cl
test ch, cl
add byte [rax], al
add byte [rdi], cl
test edi, eax
add byte [rax], al
add byte [rax - 0x7b], cl
leave
mov rbp, qword [rdi + 0x10]
je 0x49296f
jne 0x49296f
test rcx, rcx
jmp 0x49285e
call qword [rax + 0x18]
lea edx, [rax + 1]
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x20]
mov rcx, qword [rdi + 0x10]
jmp 0x4927bb
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [rax + 0x30]
test rax, rax
je 0x49293b
mov rcx, qword [rdi + 0x10]
je 0x492801
jne 0x492801
push r14
push rsi
jmp 0x492857
je 0x492842
jne 0x492842
mov rcx, qword [rcx + 0x10]
je 0x4928a8
jne 0x4928a8
jmp 0x134e99d
test eax, eax
jmp 0x492918
jne 0x4927e0
jmp 0x49293b
xor r14d, r14d
jmp 0x49293b
je 0x492935
jne 0x492935
jmp 0x49287c
jne 0x49290b
jmp 0x4ae77a
mov r14d, 1
mov eax, r14d
jmp 0x492942
je 0x49281b
jne 0x49281b
jmp 0x38a8b69b
lea rbx, [rdi + 0x38]
lea rsi, [rdi + 0x3c]
jmp 0x4927f5
cmp eax, 1
je 0x492892
jne 0x492892
je 0x8eb4bb
mov rax, qword [rbp]
jmp 0x492838
invalid
add al, ah
dec dword [rbp + 0x29]
imul r9, rbx, 0xa2c13
Function at 0x4a8de0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
lea rax, [rdx + 0x10]
cmp r8d, 0x100
cmovne rax, rdx
lea r8, str.expand_32_byte_kexpand_16_byte_k
lea r9, [0x004bfbe0]
cmove r9, r8
mov edx, dword [rax]
mov dword [rcx + 0x20], edx
mov edx, dword [rax + 4]
mov dword [rcx + 0x24], edx
mov edx, dword [rax + 8]
mov dword [rcx + 0x28], edx
mov eax, dword [rax + 0xc]
mov dword [rcx + 0x2c], eax
mov dword [rcx], 0x61707865
mov rax, qword [r9 + 4]
mov qword [rcx + 4], rax
mov eax, dword [r9 + 0xc]
mov dword [rcx + 0xc], eax
ret
Function at 0x4aee90
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x4aef1b
mov qword [rcx + 0x48], 0
mov qword [rcx], 0
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x10], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x18], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x20], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x28], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x38], rax
mov eax, 1
ret
Function at 0x4af940
Capabilities:
Encrypt data using curve25519

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov edx, 0x20
mov rcx, r8
mov r8, rsi
call fcn.004af6b0
and byte [rsi], 0xf8
mov al, byte [rsi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rsi + 0x1f], al
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
call fcn.004ac300
mov rcx, rdi
mov rdx, rbx
call fcn.004ac280
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x4af9a0
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rsp + rax + 0x30], cl
add rax, 1
cmp rax, 0x20
jne 0x4af9c0
and byte [rsp + 0x30], 0xf8
mov al, byte [rsp + 0x4f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x4f], al
lea rbp, [rsp + 0x140]
mov rcx, rbp
call fcn.004a9700
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.004a9390
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.004a93b0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.004ab630
mov rcx, rbx
mov rdx, rbx
call fcn.004a9990
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.004aa130
lea rcx, [rsp + 0x80]
call fcn.004a9390
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.004a9370
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.004a96e0
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.004a9390
mov r13d, 0xfe
xor r15d, r15d
nop word cs:[rax + rax]
nop
mov ebp, r15d
mov eax, r13d
shr rax, 3
movzx r15d, byte [rsp + rax + 0x30]
mov ecx, r13d
and cl, 7
shr r15d, cl
and r15d, 1
xor ebp, r15d
lea rsi, [rsp + 0x80]
mov rcx, rsi
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8d, ebp
call fcn.004a9540
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.004a9540
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.004ab630
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.004ab630
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.004a93b0
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.004a93b0
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.004aa130
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.004aa130
mov rcx, rbp
mov rdx, rbx
call fcn.004a9c20
mov rcx, rbx
mov rdx, rsi
call fcn.004a9c20
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.004a93b0
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.004ab630
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.004aa130
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.004ab630
mov rcx, rdi
mov rdx, rdi
call fcn.004a9c20
mov rcx, r14
mov rdx, rbx
call fcn.004aac70
mov rcx, r12
mov rdx, r12
call fcn.004a9c20
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.004a93b0
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.004aa130
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.004aa130
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x4afa90
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.004a9540
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.004a9540
mov rcx, rdi
mov rdx, rdi
call fcn.004a9990
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.004aa130
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.004aa9a0
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x18001bd98
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov dil, dl
mov ecx, dword [0x18004d9f0]
test ecx, ecx
je 0x18001befa
sub ecx, 1
je 0x18001becf
sub ecx, 1
je 0x18001be4d
cmp ecx, 1
jne 0x18001bf1c
cmp r8, qword [0x18004d9e8]
je 0x18001bf1c
cmp r8, qword [0x18004d9e0]
je 0x18001bf1c
call fcn.18001ba8c
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [rbx - 8], 0
jne 0x18001be15
lea rcx, str.Attempted_double_free_of_pointer_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
int3
mov rcx, rdi
mov byte [rbx - 8], 0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lock dec dword [0x18004da10]
mov rax, qword [0x18004da00]
cmp qword [rbx - 0x10], rax
jne 0x18001bf1c
lea rcx, str.Object_matching_Heap::BreakOnFreeId_value_is_being_freed_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
int3
cmp r8, qword [0x18004d9e8]
je 0x18001befa
cmp r8, qword [0x18004d9e0]
je 0x18001befa
add rbx, 0xffffffffffffffd8
call fcn.18001ba8c
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x18004d9f8], rbx
mov rcx, qword [rbx + 8]
jne 0x18001be90
mov qword [0x18004d9f8], rcx
test rcx, rcx
je 0x18001be9b
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x18001beab
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [0x18004da00]
cmp qword [rbx + 0x18], rax
jne 0x18001becf
lea rcx, str.Object_matching_Heap::BreakOnFreeId_value_is_being_freed_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
int3
test dil, dil
je 0x18001bedf
mov rcx, rbx
call qword [0x18002a2b8]
jmp 0x18001bef1
mov rcx, qword [0x18004da20]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lock dec dword [0x18004da10]
jmp 0x18001bf1c
test dil, dil
je 0x18001bf0a
mov rcx, rbx
call qword [0x18002a2b8]
jmp 0x18001bf1c
mov rcx, qword [0x18004da20]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18001bf30
Capabilities:
Print debug messages

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.18001bb10

Function at 0x18001c210
Capabilities:
Print debug messages

Disassembly:
mov r8, rcx
xor edx, edx
jmp fcn.18001bd98

Function at 0x18001c220
Capabilities:
Print debug messages

Disassembly:
mov rax, rdx
mov edx, 1
test rax, rax
cmovne rdx, rax
xor r8d, r8d
jmp fcn.18001bb10

Function at 0x18001c240
Capabilities:
Print debug messages

Disassembly:
mov r8, rcx
mov dl, 1
jmp fcn.18001bd98

Function at 0x18001c270
Capabilities:
Print debug messages

Disassembly:
mov r8, rcx
xor edx, edx
add rcx, 0xfffffffffffffff0
jmp fcn.18001bd98

Function at 0x18001c2b0
Capabilities:
Print debug messages

Disassembly:
mov r8, rcx
mov dl, 1
add rcx, 0xfffffffffffffff8
jmp fcn.18001bd98
Function at 0x180025460
Capabilities:
Encode data using xor
Hash data using fnv

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
mov rsi, r9
mov rbp, r8
mov rdi, rcx
xor r14d, r14d
mov qword [r9], r14
mov byte [rax - 0x28], r14b
mov qword [rax - 0x20], rdx
movabs r9, 0xcbf29ce484222325
or r10, 0xffffffffffffffff
inc r10
cmp word [rdx + r10*2], r14w
jne 0x18002549e
add r10, r10
mov rcx, r14
je 0x1800254cd
movzx eax, byte [rcx + rdx]
xor r9, rax
movabs r8, 0x100000001b3
imul r9, r8
inc rcx
cmp rcx, r10
jb 0x1800254b0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x38]
call fcn.180026fa0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1800254ed
mov rcx, qword [rdi + 0x40]
cmp rcx, qword [rdi + 0x40]
je 0x180025504
mov rcx, qword [rcx + 0x20]
test rcx, rcx
jne 0x180025524
mov rax, qword [rsp + 0x70]
mov byte [rax], r14b
mov eax, 0x80004005
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
mov rax, qword [rcx]
mov r8, rsi
mov rdx, rbp
mov rax, qword [rax]
call qword [0x18002a410]
jmp 0x180025509