joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402d20
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, qword [fcn.004804f0]
xor ebx, ebx
mov rbp, rcx
mov rsi, rdx
test rdx, rdx
jle 0x402d63
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 fcn.00402bc0
cmp rsi, rbx
jg 0x402d40
mov ecx, 1
call rdi
mov r8d, 1
mov edx, 1
lea rcx, [0x0048219c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rdi
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sub.msvcrt.dll_fflush

Function at 0x402fd0
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 fcn.0040c610
mov r14, rax
lea rbx, [rax + 0x10]
test rax, rax
je 0x4030e0
nop dword [rax]
mov rdx, qword [r14]
test rdx, rdx
jg 0x403013
sub rdx, 1
xor ecx, ecx
call fcn.0040d770
mov r9, r15
mov r8d, 0xfa0
mov edx, 1
mov rcx, rbx
call sub.msvcrt.dll_fread
mov r13, rax
cmp rax, 0xfa0
je 0x4030a8
mov rcx, r15
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x403169
test r13, r13
js 0x403150
mov rdx, r13
mov rcx, r14
call fcn.0040d0c0
mov rbx, rax
test rax, rax
je 0x403130
mov rdx, qword [rax]
mov rcx, r12
call fcn.0040b580
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 sub.msvcrt.dll_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 fcn.0040b580
mov r8, qword [r14]
mov rdx, rbx
mov r12, rax
mov rax, qword [rax]
add r8, 1
lea rcx, [r12 + rax + 0x10]
call sub.msvcrt.dll_memcpy
mov rax, qword [r14]
add qword [r12], rax
jmp 0x403000
mov r12, rax
jmp 0x4030f5
mov rcx, r12
xor edx, edx
call fcn.0040b580
mov r12, rax
mov rdx, 0xffffffffffffffff
xor ecx, ecx
call fcn.0040d770
mov r9, r15
mov edx, 1
mov rcx, rbx
mov r8d, 0xfa0
call sub.msvcrt.dll_fread
mov r13, rax
cmp rax, 0xfa0
jne 0x403034
jmp 0x4030e8
xor edx, edx
mov rcx, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
pop r14
pop r15
jmp fcn.0040b580
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r13
call fcn.0040d5c0
jmp 0x40304d
mov rcx, r15
call fcn.00402a30
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x403180
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 0x4032e8
mov rcx, rbx
call fcn.0040c610
mov r12, rax
test rax, rax
je 0x4032d8
mov rdx, qword [rax]
test rdx, rdx
jle 0x403240
test rbx, rbx
js 0x403254
lea rcx, [r12 + 0x10]
mov r9, r13
mov r8, rbx
mov edx, 1
call sub.msvcrt.dll_fread
mov rcx, r13
mov r14, rax
cmp rbx, rax
je 0x403270
call sub.msvcrt.dll_ferror
mov rcx, r13
test eax, eax
jne 0x403339
call sub.msvcrt.dll_fgetc
mov rdx, r13
mov esi, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test esi, esi
jns 0x403285
cmp rbx, r14
jle 0x4032c2
test r14, r14
js 0x403320
mov rdx, r14
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
pop r13
pop r14
jmp fcn.0040d0c0
sub rdx, 1
xor ecx, ecx
call fcn.0040d770
test rbx, rbx
jns 0x4031c4
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.0040d5c0
jmp 0x4031c4
call sub.msvcrt.dll_fgetc
mov rdx, r13
mov ebx, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test ebx, ebx
js 0x4032c2
mov rcx, r13
call fcn.00402fd0
mov rbx, rax
test rax, rax
je 0x403308
mov rdx, qword [rax]
mov rcx, r12
call fcn.0040b580
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 sub.msvcrt.dll_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 0x403244
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.0040d5c0
jmp 0x40319b
xor edx, edx
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
pop r13
pop r14
jmp fcn.0040b580
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r14
call fcn.0040d5c0
jmp 0x40321f
call fcn.00402a30
nop
nop
push r14
push r13
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
xor ecx, ecx
call qword [fcn.004804f0]
cmp r12, rax
je 0x403398
mov r13, qword [fcn.00480530]
mov rcx, r12
call r13
xor edx, edx
mov r8d, 2
mov rcx, r12
mov r14, rax
mov rbx, qword [0x00481168]
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 0x4033b0
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
jmp fcn.00402fd0
mov rdx, r13
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
jmp fcn.00403180
Function at 0x403340
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 0x4032e8
mov rcx, rbx
call fcn.0040c610
mov r12, rax
test rax, rax
je 0x4032d8
mov rdx, qword [rax]
test rdx, rdx
jle 0x403240
test rbx, rbx
js 0x403254
lea rcx, [r12 + 0x10]
mov r9, r13
mov r8, rbx
mov edx, 1
call sub.msvcrt.dll_fread
mov rcx, r13
mov r14, rax
cmp rbx, rax
je 0x403270
call sub.msvcrt.dll_ferror
mov rcx, r13
test eax, eax
jne 0x403339
call sub.msvcrt.dll_fgetc
mov rdx, r13
mov esi, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test esi, esi
jns 0x403285
cmp rbx, r14
jle 0x4032c2
test r14, r14
js 0x403320
mov rdx, r14
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
pop r13
pop r14
jmp fcn.0040d0c0
sub rdx, 1
xor ecx, ecx
call fcn.0040d770
test rbx, rbx
jns 0x4031c4
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.0040d5c0
jmp 0x4031c4
call sub.msvcrt.dll_fgetc
mov rdx, r13
mov ebx, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test ebx, ebx
js 0x4032c2
mov rcx, r13
call fcn.00402fd0
mov rbx, rax
test rax, rax
je 0x403308
mov rdx, qword [rax]
mov rcx, r12
call fcn.0040b580
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 sub.msvcrt.dll_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 0x403244
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.0040d5c0
jmp 0x40319b
xor edx, edx
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
pop r13
pop r14
jmp fcn.0040b580
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r14
call fcn.0040d5c0
jmp 0x40321f
call fcn.00402a30
nop
nop
push r14
push r13
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
xor ecx, ecx
call qword [fcn.004804f0]
cmp r12, rax
je 0x403398
mov r13, qword [fcn.00480530]
mov rcx, r12
call r13
xor edx, edx
mov r8d, 2
mov rcx, r12
mov r14, rax
mov rbx, qword [0x00481168]
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 0x4033b0
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
jmp fcn.00402fd0
mov rdx, r13
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
jmp fcn.00403180
Function at 0x403d90
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 0x403db1
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sub.msvcrt.dll_fflush

Function at 0x403e20
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [fcn.004804f0]
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 sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop word cs:[rax + rax]
nop dword [rax]
ret

Function at 0x412280
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
test rcx, rcx
je 0x4122db
mov rdx, qword [rcx]
add rcx, 0x10
xor eax, eax
lea r8, [rcx + rdx]
test rdx, rdx
jle 0x4122db
nop word [rax + rax]
movzx edx, byte [rcx]
add rcx, 1
add rdx, rax
mov rax, rdx
shl rax, 0xa
add rax, rdx
mov rdx, rax
shr rdx, 6
xor rax, rdx
cmp r8, rcx
jne 0x4122a0
lea r9, [rax + rax*8]
mov rax, r9
shr rax, 0xb
xor rax, r9
mov r9, rax
shl r9, 0xf
add r9, rax
mov rax, r9
ret

Function at 0x413d20
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 0x413e80
test rdx, rdx
jle 0x413e70
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 0x413d68
cmp rsi, r12
jle 0x413dd5
lea rbp, [rdi - 1]
nop dword [rax + rax]
mov rdx, rbp
mov rcx, r12
call fcn.0040d770
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 0x413da0
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 0x413e36
lea r12, [rdi - 1]
nop word cs:[rax + rax]
sub r14, 1
lea r15, [rsi + r14]
cmp rdi, r15
jg 0x413e18
mov rdx, r12
mov rcx, r15
call fcn.0040d770
movzx eax, byte [rbx + r15]
shl ebp, 8
or ebp, eax
test r14, r14
jne 0x413e00
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 0x413d97
xor esi, esi
xor r13d, r13d
jmp 0x413dd5
sub rsp, 0x38
xor edx, edx
test rcx, rcx
je 0x413ea7
mov rdx, qword [rcx]
test rdx, rdx
js 0x413eb0
add rcx, 0x10
add rsp, 0x38
jmp 0x413d20
mov qword [rsp + 0x28], rcx
call fcn.00410790
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx]
jmp 0x413ea3
Function at 0x413e90
Capabilities:
Encode data using xor
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 0x413e80
test rdx, rdx
jle 0x413e70
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 0x413d68
cmp rsi, r12
jle 0x413dd5
lea rbp, [rdi - 1]
nop dword [rax + rax]
mov rdx, rbp
mov rcx, r12
call fcn.0040d770
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 0x413da0
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 0x413e36
lea r12, [rdi - 1]
nop word cs:[rax + rax]
sub r14, 1
lea r15, [rsi + r14]
cmp rdi, r15
jg 0x413e18
mov rdx, r12
mov rcx, r15
call fcn.0040d770
movzx eax, byte [rbx + r15]
shl ebp, 8
or ebp, eax
test r14, r14
jne 0x413e00
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 0x413d97
xor esi, esi
xor r13d, r13d
jmp 0x413dd5
sub rsp, 0x38
xor edx, edx
test rcx, rcx
je 0x413ea7
mov rdx, qword [rcx]
test rdx, rdx
js 0x413eb0
add rcx, 0x10
add rsp, 0x38
jmp 0x413d20
mov qword [rsp + 0x28], rcx
call fcn.00410790
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx]
jmp 0x413ea3
Function at 0x427900
Capabilities:
Encode data using xor

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx]
mov rbx, qword [rcx + 8]
mov r12, rsi
cmp rbx, rsi
jge 0x427923
lea rcx, [0x00487820]
call fcn.00401e70
sub rbx, rsi
je 0x427993
mov r8, qword [0x004cd910]
mov rcx, qword [0x004cd918]
cmp rbx, 0xffffffffffffffff
je 0x4279a0
mov rax, 0xffffffffffffffff
xor edx, edx
div rbx
not rdx
nop dword [rax + rax]
lea rax, [rcx + r8]
xor rcx, r8
ror r8, 9
mov r12, rcx
xor r8, rcx
ror rcx, 0x1c
shl r12, 0xe
xor r8, r12
cmp rax, rdx
ja 0x427950
add rbx, 1
movq xmm0, r8
movq xmm1, rcx
xor edx, edx
div rbx
punpcklqdq xmm0, xmm1
movups xmmword [0x004cd910], xmm0
lea r12, [rdx + rsi]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
mov rax, r8
mov rdx, r8
xor rax, rcx
ror rdx, 9
add rcx, r8
mov r9, rax
xor rdx, rax
lea r12, [rcx + rsi]
ror rax, 0x1c
shl r9, 0xe
mov qword [0x004cd918], rax
mov rax, r12
xor rdx, r9
mov qword [0x004cd910], rdx
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
Function at 0x449000
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
push rsi
push rbx
lea r10, [0x0048c0c0]
test rdx, rdx
lea r11, [rdx + 7]
mov rdi, rdx
mov eax, r8d
cmovns r11, rdx
xor ebx, ebx
sar r11, 3
cmp rdx, 7
jle 0x4490f0
nop dword [rax + rax]
mov r9d, dword [rcx + rbx*8 + 4]
xor eax, dword [rcx + rbx*8]
add rbx, 1
mov esi, r9d
movzx r8d, r9b
mov edx, r9d
shr r9d, 0x10
shr esi, 0x18
mov r8d, dword [r10 + r8*4 + 0xc00]
movzx r9d, r9b
xor r8d, dword [r10 + rsi*4]
movzx esi, al
xor r8d, dword [r10 + rsi*4 + 0x1c00]
mov esi, eax
shr esi, 0x18
xor r8d, dword [r10 + rsi*4 + 0x1000]
movzx esi, dh
movzx edx, ah
shr eax, 0x10
xor r8d, dword [r10 + rsi*4 + 0x800]
xor r8d, dword [r10 + r9*4 + 0x400]
movzx r9d, al
mov eax, dword [r10 + r9*4 + 0x1400]
xor r8d, dword [r10 + rdx*4 + 0x1800]
xor eax, r8d
cmp r11, rbx
jg 0x449030
shl r11, 3
mov r8d, 8
cmp rdi, 7
cmovle r11, r8
cmp rdi, r11
jle 0x4490eb
add r11, rcx
lea r10, [0x0048c0c0]
add rcx, rdi
nop
movzx r8d, byte [r11]
add r11, 1
xor r8d, eax
shr eax, 8
movzx r8d, r8b
xor eax, dword [r10 + r8*4]
cmp rcx, r11
jne 0x4490d0
pop rbx
pop rsi
pop rdi
ret
xor r11d, r11d
jmp 0x4490bc
Function at 0x464a00
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
movups xmmword [rsp + 0x60], xmm6
movups xmmword [rsp + 0x70], xmm7
movups xmmword [rsp + 0x80], xmm8
movdqu xmm5, xmmword [0x004a0f60]
movdqu xmm6, xmmword [rcx]
movdqu xmm2, xmmword [rcx + 0x10]
movdqu xmm1, xmmword [rcx + 0x20]
movdqu xmm3, xmmword [rcx + 0x30]
movd xmm0, r8d
lea rax, [rdx - 0x40]
mov qword [rsp], 0
mov qword [rsp + 8], 0
pxor xmm0, xmm6
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
cmp rax, 0x3f
jle 0x464cb8
add rdx, 0xffffffffffffff80
lea rax, [rcx + 0x40]
mov r8, rdx
and r8, 0xffffffffffffffc0
lea r8, [rcx + r8 + 0x80]
nop
movdqu xmm7, xmm2
movdqu xmm6, xmm1
movdqu xmm4, xmm3
add rax, 0x40
movdqu xmm8, xmm0
pclmulqdq xmm7, xmm5, 0
pclmulqdq xmm6, xmm5, 0
pclmulqdq xmm8, xmm5, 0
pclmulqdq xmm4, xmm5, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pxor xmm0, xmm8
pxor xmm2, xmm7
pxor xmm1, xmm6
movdqu xmm8, xmmword [rax - 0x40]
pxor xmm3, xmm4
movdqu xmm7, xmmword [rax - 0x30]
movdqu xmm6, xmmword [rax - 0x20]
movdqu xmm4, xmmword [rax - 0x10]
pxor xmm0, xmm8
pxor xmm2, xmm7
pxor xmm1, xmm6
pxor xmm3, xmm4
cmp r8, rax
jne 0x464ad0
mov rax, rdx
shr rax, 6
lea r8, [rax + 2]
shl rax, 6
sub rdx, rax
shl r8, 6
mov rax, rdx
movdqu xmm4, xmmword [0x004a0f50]
movdqu xmm5, xmm0
pclmulqdq xmm0, xmm4, 0x11
pclmulqdq xmm5, xmm4, 0
pxor xmm2, xmm0
pxor xmm2, xmm5
movdqu xmm0, xmm2
pclmulqdq xmm2, xmm4, 0x11
pclmulqdq xmm0, xmm4, 0
pxor xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm2, xmm1
pclmulqdq xmm1, xmm4, 0x11
pxor xmm3, xmm1
pclmulqdq xmm2, xmm4, 0
movdqu xmm0, xmm3
pxor xmm0, xmm2
cmp rax, 0xf
jle 0x464c35
movdqu xmm1, xmm0
movdqu xmm7, xmmword [rcx + r8]
pclmulqdq xmm0, xmm4, 0x11
lea rdx, [rax - 0x10]
pclmulqdq xmm1, xmm4, 0
pxor xmm0, xmm1
pxor xmm0, xmm7
cmp rdx, 0xf
jle 0x464c35
movdqu xmm1, xmm0
movdqu xmm7, xmmword [rcx + r8 + 0x10]
pclmulqdq xmm0, xmm4, 0x11
pclmulqdq xmm1, xmm4, 0
pxor xmm0, xmm1
pxor xmm0, xmm7
cmp rax, 0x2f
jle 0x464c35
movdqu xmm1, xmm0
movdqu xmm2, xmmword [rcx + r8 + 0x20]
pclmulqdq xmm0, xmm4, 0x11
pclmulqdq xmm1, xmm4, 0
pxor xmm0, xmm1
pxor xmm0, xmm2
movdqu xmm1, xmm0
psrldq xmm0, 8
movups xmm6, xmmword [rsp + 0x60]
movdqu xmm3, xmmword [0x004a0f70]
pclmulqdq xmm1, xmm4, 0x10
movups xmm7, xmmword [rsp + 0x70]
movq xmm2, qword [0x004a0f40]
movups xmm8, xmmword [rsp + 0x80]
pxor xmm0, xmm1
movdqu xmm1, xmm0
pand xmm0, xmm3
pclmulqdq xmm0, xmm2, 0
psrldq xmm1, 4
movdqu xmm2, xmmword [0x004a0f30]
pxor xmm1, xmm0
movdqu xmm0, xmm1
pand xmm0, xmm3
pclmulqdq xmm0, xmm2, 0x10
pand xmm0, xmm3
pclmulqdq xmm0, xmm2, 0
pxor xmm0, xmm1
pextrd eax, xmm0, 1
add rsp, 0x98
ret
mov r8d, 0x40
jmp 0x464b6f
Function at 0x464cd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
push rsi
push rbx
lea r10, [0x004a0f80]
test rdx, rdx
lea r11, [rdx + 7]
mov rdi, rdx
mov eax, r8d
cmovns r11, rdx
xor ebx, ebx
sar r11, 3
cmp rdx, 7
jle 0x464dc0
nop dword [rax + rax]
mov r9d, dword [rcx + rbx*8 + 4]
xor eax, dword [rcx + rbx*8]
add rbx, 1
mov esi, r9d
movzx r8d, r9b
mov edx, r9d
shr r9d, 0x10
shr esi, 0x18
mov r8d, dword [r10 + r8*4 + 0xc00]
movzx r9d, r9b
xor r8d, dword [r10 + rsi*4]
movzx esi, al
xor r8d, dword [r10 + rsi*4 + 0x1c00]
mov esi, eax
shr esi, 0x18
xor r8d, dword [r10 + rsi*4 + 0x1000]
movzx esi, dh
movzx edx, ah
shr eax, 0x10
xor r8d, dword [r10 + rsi*4 + 0x800]
xor r8d, dword [r10 + r9*4 + 0x400]
movzx r9d, al
mov eax, dword [r10 + r9*4 + 0x1400]
xor r8d, dword [r10 + rdx*4 + 0x1800]
xor eax, r8d
cmp r11, rbx
jg 0x464d00
shl r11, 3
mov r8d, 8
cmp rdi, 7
cmovle r11, r8
cmp rdi, r11
jle 0x464dbb
add r11, rcx
lea r10, [0x004a0f80]
add rcx, rdi
nop
movzx r8d, byte [r11]
add r11, 1
xor r8d, eax
shr eax, 8
movzx r8d, r8b
xor eax, dword [r10 + r8*4]
cmp rcx, r11
jne 0x464da0
pop rbx
pop rsi
pop rdi
ret
xor r11d, r11d
jmp 0x464d8c
Function at 0x47a410
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 fcn.004804f0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.004804f0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x47a480
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x004bb134]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x47a628
mov rax, qword [0x004bb138]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x47a4cc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x47a557
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x47a4b0
mov rcx, r12
call fcn.0047b1e0
mov rbp, rax
test rax, rax
je 0x47a662
mov rax, qword [0x004bb138]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.0047b310
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x004bb138]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x47a671
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x47a550
sub eax, 4
and eax, 0xfffffffb
jne 0x47a5e0
add dword [0x004bb134], 1
cmp ebx, 8
jae 0x47a588
test bl, 4
jne 0x47a630
test ebx, ebx
je 0x47a579
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x47a650
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 0x47a579
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 0x47a5ba
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 [0x004bb138]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x47a550
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.0047a410
nop dword [rax]
xor edi, edi
jmp 0x47a4d7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x47a579
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x47a579
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.0047a410
mov rax, qword [0x004bb138]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.0047a410
nop
nop dword [rax]
Function at 0x47ae50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004bb420]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004bb400]
test rbx, rbx
je 0x47aea4
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 0x47ae9b
test r12, r12
je 0x47ae9b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x47ae80
lea rcx, [0x004bb420]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x47b1e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x004a9be0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x47b259
mov rcx, r10
call fcn.0047b0b0
test eax, eax
je 0x47b259
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 0x47b256
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 0x47b24d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x47b259
add r8, 0x28
cmp r8, r9
jne 0x47b238
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret