joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fb510
Capabilities:
Encode data using xor

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
movabs rax, 0x27d4eb2f165667c5
mov r10d, dword [rcx + 0x48]
mov r11, qword [rcx + 0x18]
mov rbx, qword [rcx]
add rax, r11
lea r9, [rcx + 0x28]
add r10, r9
cmp rbx, 0x1f
jbe 0x4fb5f1
mov rax, qword [rcx + 8]
mov r12, qword [rcx + 0x10]
movabs rdx, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
mov r8, qword [rcx + 0x20]
mov rbp, rax
mov rdi, r12
rol rax, 1
imul rbp, rdx
rol rdi, 7
add rax, rdi
imul r12, rdx
mov rdi, r11
rol rdi, 0xc
imul r11, rdx
rol rbp, 0x1f
imul rdx, r8
add rax, rdi
mov rdi, r8
imul rbp, rsi
rol rdi, 0x12
add rdi, rax
rol r11, 0x1f
movabs rax, 0x85ebca77c2b2ae63
imul r11, rsi
rol rdx, 0x1f
xor rdi, rbp
imul rdx, rsi
imul rdi, rsi
mov rbp, rdi
mov rdi, r12
rol rdi, 0x1f
imul rdi, rsi
mov r12, rdi
lea rdi, [rbp + rax]
xor rdi, r12
imul rdi, rsi
add rdi, rax
xor r11, rdi
imul r11, rsi
lea r8, [r11 + rax]
xor rdx, r8
imul rdx, rsi
add rax, rdx
lea rsi, [rcx + 0x30]
lea rdx, [rbx + rax]
cmp r10, rsi
jb 0x4fb659
movabs rbx, 0xc2b2ae3d27d4eb4f
mov r8, rsi
movabs r9, 0x9e3779b185ebca87
movabs r11, 0x85ebca77c2b2ae63
nop
mov rax, qword [r8 - 8]
add r8, 8
imul rax, rbx
rol rax, 0x1f
imul rax, r9
xor rax, rdx
rol rax, 0x1b
imul rax, r9
lea rdx, [rax + r11]
cmp r10, r8
jae 0x4fb620
mov rax, r10
sub rax, rcx
lea r9, [rax - 0x30]
and r9, 0xfffffffffffffff8
add r9, rsi
lea rcx, [r9 + 4]
cmp r10, rcx
jb 0x4fb698
movabs r8, 0x9e3779b185ebca87
mov eax, dword [r9]
mov r9, rcx
imul rax, r8
xor rax, rdx
movabs rdx, 0xc2b2ae3d27d4eb4f
rol rax, 0x17
imul rax, rdx
movabs rdx, 0x165667b19e3779f9
add rdx, rax
cmp r10, r9
jbe 0x4fb6d7
movabs r8, 0x27d4eb2f165667c5
movabs rcx, 0x9e3779b185ebca87
nop dword [rax]
movzx eax, byte [r9]
add r9, 1
imul rax, r8
xor rax, rdx
rol rax, 0xb
imul rax, rcx
mov rdx, rax
cmp r10, r9
jne 0x4fb6b8
mov rax, rdx
shr rax, 0x21
xor rax, rdx
movabs rdx, 0xc2b2ae3d27d4eb4f
imul rax, rdx
mov rdx, rax
shr rdx, 0x1d
xor rax, rdx
movabs rdx, 0x165667b19e3779f9
imul rax, rdx
mov rdx, rax
shr rdx, 0x20
xor rax, rdx
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x4fd4c0
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov r13, rcx
mov rcx, rdx
mov edx, 1
mov rbx, r8
mov r9, r13
call sym.fread
mov r12, rax
cmp rbx, rax
je 0x4fd4f3
mov rcx, r13
call sym.ferror
test eax, eax
jne 0x4fd500
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
mov rcx, r13
call sym.checkErr__systemZio_141.part.0
nop
nop dword [rax]

Function at 0x4fdf00
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12, rcx
mov rcx, rdx
mov edx, 1
mov r9, r12
call sym.fwrite
mov rcx, r12
mov r13, rax
call sym.ferror
test eax, eax
jne 0x4fdf36
mov rax, r13
add rsp, 0x28
pop r12
pop r13
ret
mov rcx, r12
call sym.checkErr__systemZio_141.part.0
nop
nop
Function at 0x4fdf40
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, qword [dbg.__acrt_iob_func]
xor ebx, ebx
mov rbp, rcx
mov rsi, rdx
test rdx, rdx
jle 0x4fdf83
nop
mov r12, qword [rbp + rbx*8]
mov ecx, 1
add rbx, 1
call rdi
xor r8d, r8d
mov rcx, rax
mov rdx, r12
call sym.writeWindows__systemZio_205
cmp rsi, rbx
jg 0x4fdf60
mov ecx, 1
call rdi
mov r8d, 1
mov edx, 1
lea rcx, [0x0056a541]
mov r9, rax
call sym.fwrite
mov ecx, 1
call rdi
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.fflush

Function at 0x4fe020
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0x20
xor r12d, r12d
mov r15, rcx
mov ecx, 0xfa0
call sym.mnewString
mov r14, rax
lea rbx, [rax + 0x10]
test rax, rax
je 0x4fe130
nop dword [rax]
mov rdx, qword [r14]
test rdx, rdx
jg 0x4fe063
sub rdx, 1
xor ecx, ecx
call sym.raiseIndexError2
mov r9, r15
mov r8d, 0xfa0
mov edx, 1
mov rcx, rbx
call sym.fread
mov r13, rax
cmp rax, 0xfa0
je 0x4fe0f8
mov rcx, r15
call sym.ferror
test eax, eax
jne 0x4fe1b9
test r13, r13
js 0x4fe1a0
mov rdx, r13
mov rcx, r14
call sym.setLengthStr
mov rbx, rax
test rax, rax
je 0x4fe180
mov rdx, qword [rax]
mov rcx, r12
call sym.resizeString
lea rdx, [rbx + 0x10]
mov r12, rax
mov rax, qword [rax]
lea rcx, [r12 + rax + 0x10]
mov rax, qword [rbx]
lea r8, [rax + 1]
call sym.memcpy
mov rax, qword [rbx]
add qword [r12], rax
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [r14]
mov rcx, r12
call sym.resizeString
mov r8, qword [r14]
mov rdx, rbx
mov r12, rax
mov rax, qword [rax]
add r8, 1
lea rcx, [r12 + rax + 0x10]
call sym.memcpy
mov rax, qword [r14]
add qword [r12], rax
jmp 0x4fe050
mov r12, rax
jmp 0x4fe145
mov rcx, r12
xor edx, edx
call sym.resizeString
mov r12, rax
mov rdx, 0xffffffffffffffff
xor ecx, ecx
call sym.raiseIndexError2
mov r9, r15
mov edx, 1
mov rcx, rbx
mov r8d, 0xfa0
call sym.fread
mov r13, rax
cmp rax, 0xfa0
jne 0x4fe084
jmp 0x4fe138
xor edx, edx
mov rcx, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
pop r14
pop r15
jmp sym.resizeString
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r13
call sym.raiseRangeErrorI
jmp 0x4fe09d
mov rcx, r15
call sym.checkErr__systemZio_141.part.0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x4fe1d0
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x20
mov r13, rcx
mov rbx, rdx
test rdx, rdx
js 0x4fe338
mov rcx, rbx
call sym.mnewString
mov r12, rax
test rax, rax
je 0x4fe328
mov rdx, qword [rax]
test rdx, rdx
jle 0x4fe290
test rbx, rbx
js 0x4fe2a4
lea rcx, [r12 + 0x10]
mov r9, r13
mov r8, rbx
mov edx, 1
call sym.fread
mov rcx, r13
mov r14, rax
cmp rbx, rax
je 0x4fe2c0
call sym.ferror
mov rcx, r13
test eax, eax
jne 0x4fe389
call sym.fgetc
mov rdx, r13
mov esi, eax
mov ecx, eax
call sym.ungetc
test esi, esi
jns 0x4fe2d5
cmp rbx, r14
jle 0x4fe312
test r14, r14
js 0x4fe370
mov rdx, r14
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
pop r13
pop r14
jmp sym.setLengthStr
sub rdx, 1
xor ecx, ecx
call sym.raiseIndexError2
test rbx, rbx
jns 0x4fe214
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call sym.raiseRangeErrorI
jmp 0x4fe214
call sym.fgetc
mov rdx, r13
mov ebx, eax
mov ecx, eax
call sym.ungetc
test ebx, ebx
js 0x4fe312
mov rcx, r13
call sym.readAllBuffer__systemZio_421
mov rbx, rax
test rax, rax
je 0x4fe358
mov rdx, qword [rax]
mov rcx, r12
call sym.resizeString
lea rdx, [rbx + 0x10]
mov r12, rax
mov rax, qword [rax]
lea rcx, [r12 + rax + 0x10]
mov rax, qword [rbx]
lea r8, [rax + 1]
call sym.memcpy
mov rax, qword [rbx]
add qword [r12], rax
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret
mov rdx, 0xffffffffffffffff
jmp 0x4fe294
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call sym.raiseRangeErrorI
jmp 0x4fe1eb
xor edx, edx
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
pop r13
pop r14
jmp sym.resizeString
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r14
call sym.raiseRangeErrorI
jmp 0x4fe26f
call sym.checkErr__systemZio_141.part.0
nop
nop

Function at 0x4fe390
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
xor ecx, ecx
call qword [dbg.__acrt_iob_func]
cmp r12, rax
je 0x4fe3e8
mov r13, qword [dbg._ftelli64]
mov rcx, r12
call r13
xor edx, edx
mov r8d, 2
mov rcx, r12
mov r14, rax
mov rbx, qword [dbg._fseeki64]
call rbx
mov rcx, r12
call r13
xor r8d, r8d
mov rdx, r14
mov rcx, r12
mov r13, rax
call rbx
test r13, r13
jg 0x4fe400
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
jmp sym.readAllBuffer__systemZio_421
mov rdx, r13
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
jmp sym.readAllFile__systemZio_434

Function at 0x4fea20
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x4fea41
mov rcx, rdx
call sym.strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sym.fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sym.fflush

Function at 0x4feab0
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov r12, rax
mov r9, rax
call sym.fwrite
mov rcx, r12
call sym.fflush
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x5048c0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r13, rcx
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov rcx, r13
mov r8, rbx
mov edx, 1
mov r12, rax
mov r9, rax
call sym.fwrite
mov rcx, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
jmp sym.fflush

Function at 0x508580
Capabilities:
Write file on windows

Disassembly:
push rbp
push r12
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x148
cmp qword [0x005b68a0], 0
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rdx
mov byte [rbp - 0x119], 1
je 0x508677
mov rax, qword [0x005af480]
lea rcx, [rbp - 0x108]
mov rdx, rbp
mov qword [rbp - 0x118], rax
lea rax, [rbp - 0x118]
mov qword [0x005af480], rax
call sym._setjmp
cdqe
mov qword [rbp - 0x110], rax
test rax, rax
jne 0x508698
xor r12d, r12d
cmp qword [rbp + 0x28], 0
je 0x508648
mov rcx, qword [rbp + 0x28]
mov esi, 7
call sym.strlen
lea r8, [0x005b68c0]
lea rcx, [0x00562040]
cmp rax, 7
mov rbx, rax
cmovge rsi, rax
lea rdx, [rsi + 0x11]
call sym.rawNewObj__system_5699
movq xmm0, rbx
movq xmm1, rsi
mov rdx, qword [rbp + 0x28]
punpcklqdq xmm0, xmm1
lea rcx, [rax + 0x10]
lea r8, [rbx + 1]
mov r12, rax
movups xmmword [rax], xmm0
call sym.memcpy
mov rcx, r12
call qword [0x005b68a0]
mov rax, qword [0x005af480]
cmp qword [rbp - 0x110], 0
mov byte [rbp - 0x119], 0
mov rax, qword [rax]
mov qword [0x005af480], rax
jne 0x508705
movzx eax, byte [rbp - 0x119]
test al, al
jne 0x508720
add rsp, 0x148
pop rbx
pop rsi
pop r12
pop rbp
ret
mov rax, qword [0x005af480]
mov rax, qword [rax]
mov qword [rbp - 0x110], 0
mov qword [0x005af480], rax
mov rax, qword [0x005b66c8]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x5086d5
add qword [rbx - 0x10], 8
mov rax, qword [0x005b66c8]
test rax, rax
je 0x5086f0
mov rsi, qword [rax - 0x10]
lea rcx, [rax - 0x10]
lea rdx, [rsi - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x5086f0
call sym.addZCT__system_5316.constprop.0
cmp qword [rbp - 0x110], 0
mov qword [0x005b66c8], rbx
je 0x508677
mov rcx, qword [0x005b66c8]
test rcx, rcx
je 0x508750
call sym.raiseExceptionAux__system_2868
jmp 0x508677
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov rcx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x30]
mov edx, 1
mov r12, rax
mov r9, rax
call sym.fwrite
mov rcx, r12
call sym.fflush
jmp 0x508686
call sym.sysFatal__system_2900.constprop.0
nop
nop word cs:[rax + rax]
Function at 0x51ba50
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [r8]
mov rbx, qword [r8 + 8]
mov rdi, rcx
mov rbp, rdx
test rcx, rcx
je 0x51ba81
mov rcx, qword [rcx]
lea rdx, [0x005c0e20]
call sym.isObj
test al, al
je 0x51bb20
mov rax, qword [rbp]
test rsi, rsi
js 0x51bae8
test rax, rax
je 0x51bad0
mov rdx, qword [rax]
cmp rdx, rsi
jle 0x51baf0
add rbx, 1
jo 0x51bb34
sub rbx, rsi
jo 0x51bb2a
test rbx, rbx
js 0x51bb00
mov rax, qword [rbp]
mov rcx, qword [rdi + 0x58]
mov r8, rbx
lea rdx, [rax + rsi + 0x10]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.readBuffer__systemZio_144
mov rdx, 0xffffffffffffffff
mov rcx, rsi
call sym.raiseIndexError2
jmp 0x51ba97
test rax, rax
je 0x51bad0
mov rdx, qword [rax]
sub rdx, 1
jmp 0x51bad7
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call sym.raiseRangeErrorI
jmp 0x51baaf
call sym.raiseObjectConversionError
jmp 0x51ba81
call sym.raiseOverflow
jmp 0x51baaa
call sym.raiseOverflow
jmp 0x51baa1

Function at 0x51bb40
Capabilities:
Read file on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r12, rdx
mov rsi, r8
test rcx, rcx
je 0x51bb69
mov rcx, qword [rcx]
lea rdx, [0x005c0e20]
call sym.isObj
test al, al
je 0x51bba0
test rsi, rsi
js 0x51bb88
mov rcx, qword [rbx + 0x58]
mov r8, rsi
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.readBuffer__systemZio_144
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call sym.raiseRangeErrorI
jmp 0x51bb6e
call sym.raiseObjectConversionError
jmp 0x51bb69
Function at 0x51d400
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rsi, [rdx + 3]
test rdx, rdx
mov rbx, rcx
mov rdi, rdx
cmovns rsi, rdx
and rsi, 0xfffffffffffffffc
jle 0x51d560
test rdx, rdx
jle 0x51d550
cmp rdx, rsi
mov rax, rsi
cmovle rax, rdx
xor r12d, r12d
xor r13d, r13d
nop dword [rax]
mov edx, dword [rbx + r12]
add r12, 4
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
imul edx, edx, 0x1b873593
xor edx, r13d
rol edx, 0xd
lea r13d, [rdx + rdx*4 - 0x19ab949c]
cmp r12, rax
jl 0x51d448
cmp rsi, r12
jle 0x51d4b5
lea rbp, [rdi - 1]
nop dword [rax + rax]
mov rdx, rbp
mov rcx, r12
call sym.raiseIndexError2
mov edx, dword [rbx + r12]
add r12, 4
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
imul edx, edx, 0x1b873593
xor edx, r13d
rol edx, 0xd
lea r13d, [rdx + rdx*4 - 0x19ab949c]
cmp rsi, r12
jg 0x51d480
mov rax, rdi
xor ebp, ebp
sar rax, 0x3f
shr rax, 0x3e
lea r14, [rdi + rax]
and r14d, 3
sub r14, rax
test r14, r14
jle 0x51d516
lea r12, [rdi - 1]
nop word cs:[rax + rax]
sub r14, 1
lea r15, [rsi + r14]
cmp rdi, r15
jg 0x51d4f8
mov rdx, r12
mov rcx, r15
call sym.raiseIndexError2
movzx eax, byte [rbx + r15]
shl ebp, 8
or ebp, eax
test r14, r14
jne 0x51d4e0
imul ebp, ebp, 0xcc9e2d51
rol ebp, 0xf
imul ebp, ebp, 0x1b873593
mov edx, r13d
xor edx, edi
xor edx, ebp
mov ebp, edx
shr ebp, 0x10
xor ebp, edx
imul ebp, ebp, 0x85ebca6b
mov eax, ebp
shr eax, 0xd
xor eax, ebp
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r12d, r12d
xor r13d, r13d
jmp 0x51d477
xor esi, esi
xor r13d, r13d
jmp 0x51d4b5

Function at 0x51d570
Capabilities:
Hash data using murmur3

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
mov r12, rcx
test rcx, rcx
je 0x51d58c
mov rdx, qword [rcx]
test rdx, rdx
js 0x51d5a0
add r12, 0x10
mov rcx, r12
add rsp, 0x20
pop r12
jmp sym.murmurHash__pureZhashes_192
lea r9, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, r9
call sym.raiseIndexError4
mov rdx, qword [r12]
jmp 0x51d588

Function at 0x52f2a0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdx
test rdx, rdx
je 0x52f306
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
cmp rdx, 0xffffffffffffffff
je 0x52f310
mov rax, 0xffffffffffffffff
xor edx, edx
div r10
not rdx
nop dword [rax]
lea rax, [r8 + r9]
xor r9, r8
ror r8, 9
mov r11, r9
xor r8, r9
ror r9, 0x1c
shl r11, 0xe
xor r8, r11
cmp rdx, rax
jb 0x52f2c8
movq xmm0, r8
movq xmm1, r9
xor edx, edx
punpcklqdq xmm0, xmm1
movups xmmword [rcx], xmm0
lea rcx, [r10 + 1]
div rcx
mov r10, rdx
mov rax, r10
ret
lea r10, [r8 + r9]
xor r9, r8
ror r8, 9
mov rax, r9
xor r8, r9
ror r9, 0x1c
shl rax, 0xe
mov qword [rcx + 8], r9
xor r8, rax
mov rax, r10
mov qword [rcx], r8
ret
Function at 0x52f340
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r10, rdx
test rdx, rdx
je 0x52f3ae
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
cmp rdx, 0xffffffffffffffff
je 0x52f3b8
mov rax, 0xffffffffffffffff
xor edx, edx
div r10
not rdx
nop word [rax + rax]
lea rax, [r9 + r8]
xor r9, r8
ror r8, 9
mov r11, r9
xor r8, r9
ror r9, 0x1c
shl r11, 0xe
xor r8, r11
cmp rax, rdx
ja 0x52f370
movq xmm0, r8
movq xmm1, r9
xor edx, edx
punpcklqdq xmm0, xmm1
movups xmmword [rcx], xmm0
lea rcx, [r10 + 1]
div rcx
mov r8, rdx
mov rax, r8
ret
mov rax, r8
mov rdx, r8
add r8, r9
xor rax, r9
ror rdx, 9
mov r10, rax
xor rdx, rax
ror rax, 0x1c
shl r10, 0xe
mov qword [rcx + 8], rax
mov rax, r8
xor rdx, r10
mov qword [rcx], rdx
ret

Function at 0x533bf0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov edx, 0x14
jmp sym.hash__neverwinterZresnwsync_56

Function at 0x560260
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x5602d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x005aedb4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x560478
mov rax, qword [0x005aedb8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x56031c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x5603a7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x560300
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x5604b2
mov rax, qword [0x005aedb8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x005aedb8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x5604c1
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x5603a0
sub eax, 4
and eax, 0xfffffffb
jne 0x560430
add dword [0x005aedb4], 1
cmp ebx, 8
jae 0x5603d8
test bl, 4
jne 0x560480
test ebx, ebx
je 0x5603c9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x5604a0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x5603c9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x56040a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x005aedb8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x5603a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor edi, edi
jmp 0x560327
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x5603c9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x5603c9
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
mov rax, qword [0x005aedb8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
nop
nop dword [rax]
Function at 0x560ca0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x005af0a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x005af080]
test rbx, rbx
je 0x560cf4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x560ceb
test r12, r12
je 0x560ceb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x560cd0
lea rcx, [0x005af0a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x560f20
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x560f30
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x560f40
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x560f85
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x560f7c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x560f87
add rax, 0x28
cmp rax, r9
jne 0x560f68
xor eax, eax
ret

Function at 0x561030
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x0059ae20]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x5610a9
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x5610a9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x5610a6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x56109d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x5610a9
add r8, 0x28
cmp r8, r9
jne 0x561088
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x561190
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x0059ae20]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x5611ff
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x5611ff
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x5611fd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x5611f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x561208
add rax, 0x28
cmp rax, r9
jne 0x5611e0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x561220
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x0059ae20]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x561298
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x561298
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x561298
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x561298
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x56128c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x5612a0
add rdx, 0x28
cmp rdx, r10
jne 0x561278
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x5612b0
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x5612be
mov edx, dword [rax + 0xc]
test edx, edx
je 0x561295
test r8d, r8d
jg 0x5612a8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret