joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f4c0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x14000f550
jmp 0x14000f53f
jae 0x14000f610
cmp r8, 0x201
jae 0x14000f550
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x14000f5a8
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14000f57f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14003c610
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14000f5d1
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14000f678
mov r8d, r14d
cmp r15, r8
jne 0x14000f530
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000f69b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000f53f
jmp 0x14000f550
cmp rsi, r8
jb 0x14000f6b5
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140012b80
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x14000f661
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140007820
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x14000f649
jmp 0x14000f661
lea rcx, str.internal_error:_entered_unreachable_code_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14003d280
jmp 0x14000f6ca
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14003d670
ud2
Function at 0x1400188a0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14004a040]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x1400188e4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x140018943
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x140018952
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14001898a
cmp eax, 0x103
je 0x140018994
test eax, eax
js 0x14001896f
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14001898a
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.14000cca0
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.140012890
mov rcx, rax
call fcn.14000d2a0
mov ecx, 7
int 0x29
ud2

Function at 0x1400189f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14004a040]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140018a34
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140018a9a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140018ad1
test eax, eax
js 0x140018aab
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140018ac4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.14000cca0
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.140012890
mov rcx, rax
call fcn.14000d2a0
mov ecx, 7
int 0x29
ud2
Function at 0x140027fe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14002805a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140028050
cmp r11, r10
ja 0x1400280f3
cmp r10, rdx
ja 0x140028107
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140028052
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140028030
jmp 0x1400280c7
ja 0x14002805a
mov r11, r10
cmp rax, r8
jne 0x140028002
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400280cb
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400280a0
mov r8, r10
sub ecx, r9d
jns 0x1400280be
jmp 0x1400280cd
cmp r10, rdx
je 0x1400280d9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400280cd
xor al, 1
cmp r8, rdx
jne 0x140028080
jmp 0x1400280cd
xor eax, eax
jmp 0x1400280cd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuelibrarycore_src_nummod.rsfrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14003d280
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14003d6e0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14003d670
ud2
Function at 0x14002bce0
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x30
mov dword [rcx], 0x4000400
mov r10, rcx
mov ecx, edx
mov r9d, 0x400
mov qword [rsp + 0x40], rcx
test edx, edx
je 0x14002bd5d
lea rax, [r10 + 8]
nop dword [rax]
nop dword [rax + rax]
mov dword [rax - 4], 0x4000400
mov dword [rax], 0x4000400
mov dword [rax + 4], 0x4000400
mov dword [rax + 8], 0x4000400
mov dword [rax + 0xfc], 0x4000400
mov dword [rax + 0x100], 0x4000400
mov dword [rax + 0x104], 0x4000400
mov dword [rax + 0x108], 0x4000400
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14002bd10
movzx eax, r9w
lea rdi, [r10 + 0x204]
mov ecx, 0x100
rep stosw word [rdi], ax
test r8b, r8b
jne 0x14002becc
test edx, edx
je 0x14002becc
mov qword [rsp + 0x48], rbx
xor ebx, ebx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rsi
lea rsi, [0x140041450]
mov qword [rsp + 0x18], r12
mov qword [rsp + 0x10], r13
lea r13, [r10 + 0x4808]
mov qword [rsp + 8], r14
mov qword [rsp], r15
lea r15, [r10 + 0x404]
nop word [rax + rax]
mov ebp, dword [r10 + 0x4804]
lea rdi, [0x140041450]
mov dword [r13], ebp
movzx ecx, word [r10]
mov eax, ecx
xor rcx, 0x7f0
shr rcx, 4
shr rax, 4
movzx edx, byte [rcx + rdi]
movzx esi, byte [rax + rsi]
movzx ecx, word [r10 + 2]
mov eax, ecx
mov dword [rsp + 0x50], esi
shr rax, 4
xor rcx, 0x7f0
shr rcx, 4
movzx r14d, byte [rax + rdi]
xor eax, eax
movzx r12d, byte [rcx + rdi]
add r14d, edx
add r12d, edx
test ebp, ebp
je 0x14002be88
mov r11, r15
cmp eax, 8
jae 0x14002bed2
xor r9d, r9d
lea r8d, [rax + 8]
lea rsi, [0x140041450]
nop dword [rax]
mov edx, r8d
shr r8d, 1
and edx, 1
mov ecx, r8d
add rcx, rbx
movzx edi, word [r10 + rcx*2 + 4]
mov ecx, edx
neg ecx
shr rdi, 4
shr rcx, 4
and ecx, 0x7f
xor rdi, rcx
movzx ecx, byte [rdi + rsi]
add r9d, ecx
cmp r8d, 1
jne 0x14002be40
mov ecx, dword [rsp + 0x50]
inc eax
add ecx, r9d
mov dword [r11], ecx
add r11, 4
cmp eax, ebp
jb 0x14002be22
lea rsi, [0x140041450]
add r13, 4
add r15, 0x440
add rbx, 8
sub qword [rsp + 0x40], 1
jne 0x14002bdc0
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r13, qword [rsp + 0x10]
mov r12, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp eax, ebp
jae 0x14002be88
lea r11, [r15 + rax*4]
lea rsi, [0x140041450]
cmp eax, 0x10
jae 0x14002bf3d
xor r9d, r9d
mov r8d, eax
nop dword [rax]
mov edx, r8d
shr r8d, 1
and edx, 1
mov ecx, r8d
add rcx, rbx
movzx edi, word [r10 + rcx*2 + 0x104]
mov ecx, edx
neg ecx
shr rdi, 4
shr rcx, 4
and ecx, 0x7f
xor rdi, rcx
movzx ecx, byte [rdi + rsi]
add r9d, ecx
cmp r8d, 1
jne 0x14002bef0
lea ecx, [r9 + r14]
inc eax
mov dword [r11], ecx
add r11, 4
cmp eax, ebp
jb 0x14002bee1
jmp 0x14002be8f
lea r9, [r15 + rax*4]
nop dword [rax]
nop word [rax + rax]
xor r8d, r8d
lea edi, [rax + 0xf0]
nop dword [rax]
mov edx, edi
shr edi, 1
and edx, 1
neg edx
shr rdx, 4
movzx ecx, word [r10 + rdi*2 + 0x204]
and edx, 0x7f
shr rcx, 4
xor rcx, rdx
movzx ecx, byte [rcx + rsi]
add r8d, ecx
cmp edi, 1
jne 0x14002bf60
lea ecx, [r8 + r12]
inc eax
mov dword [r9], ecx
add r9, 4
cmp eax, ebp
jb 0x14002bf50
jmp 0x14002be8f
Function at 0x14002bfb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
push r14
push r15
mov esi, dword [rcx + 0x4804]
lea r9, [0x140041450]
mov ebp, edx
mov r11, rcx
mov dword [rcx + rbp*4 + 0x4808], esi
lea r12, [r11 + 0x404]
movzx edx, word [rcx]
movzx ecx, word [rcx + 2]
mov eax, edx
shr rax, 4
xor rdx, 0x7f0
shr rdx, 4
movzx r14d, byte [rax + r9]
mov eax, ecx
movzx r8d, byte [rdx + r9]
xor rcx, 0x7f0
shr rax, 4
shr rcx, 4
mov dword [rsp + 0x38], r14d
movzx r15d, byte [rax + r9]
movzx r13d, byte [rcx + r9]
add r15d, r8d
imul rax, rbp, 0x440
add r13d, r8d
xor r9d, r9d
add r12, rax
test esi, esi
je 0x14002c199
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rdi
mov rdi, r12
cmp r9d, 8
jae 0x14002c0bf
xor r10d, r10d
lea r8d, [r9 + 8]
lea rbx, [rbp*8]
lea r14, [0x140041450]
nop dword [rax]
nop dword [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 4]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x14002c070
mov eax, dword [rsp + 0x38]
inc r9d
add eax, r10d
mov dword [rdi], eax
add rdi, 4
cmp r9d, esi
jb 0x14002c048
jmp 0x14002c18f
cmp r9d, esi
jae 0x14002c18f
lea rdi, [r12 + r9*4]
lea r14, [0x140041450]
cmp r9d, 0x10
jae 0x14002c13c
xor r10d, r10d
lea rbx, [rbp*8]
mov r8d, r9d
nop word [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 0x104]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x14002c0f0
lea eax, [r10 + r15]
inc r9d
mov dword [rdi], eax
add rdi, 4
cmp r9d, esi
jb 0x14002c0d3
jmp 0x14002c18f
lea rbx, [r12 + r9*4]
xor r10d, r10d
lea eax, [r9 + 0xf0]
nop word [rax + rax]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr rdx, 4
movzx r8d, word [r11 + rax*2 + 0x204]
and edx, 0x7f
shr r8, 4
xor r8, rdx
movzx ecx, byte [r8 + r14]
add r10d, ecx
cmp eax, 1
jne 0x14002c150
lea eax, [r10 + r13]
inc r9d
mov dword [rbx], eax
add rbx, 4
cmp r9d, esi
jb 0x14002c140
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x140034170
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
lea rdi, [0x140043690]
mov r11, rdx
mov r10, rcx
not r8d
cmp rdx, 8
jbe 0x140034274
mov qword [rsp + 0x10], rbx
test cl, 7
je 0x1400341bf
nop word [rax + rax]
movzx eax, byte [r10]
dec r11
movzx ecx, r8b
inc r10
xor rcx, rax
shr r8d, 8
xor r8d, dword [rdi + rcx*4]
test r10b, 7
jne 0x1400341a0
mov rbx, r11
and r11d, 7
and rbx, 0xfffffffffffffff8
add rbx, r10
cmp r10, rbx
jae 0x14003426f
nop word [rax + rax]
xor r8d, dword [r10]
mov r9d, dword [r10 + 4]
add r10, 8
mov edx, r8d
mov eax, r8d
shr rax, 0x10
movzx r8d, al
mov eax, edx
shr rax, 8
movzx ecx, al
mov eax, r9d
shr rax, 0x10
mov r8d, dword [rdi + r8*4 + 0x1400]
xor r8d, dword [rdi + rcx*4 + 0x1800]
movzx ecx, al
mov eax, r9d
shr rax, 8
xor r8d, dword [rdi + rcx*4 + 0x400]
movzx ecx, al
mov eax, edx
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x800]
xor r8d, dword [rdi + rax*4 + 0x1000]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rax*4]
movzx eax, dl
xor r8d, dword [rdi + rax*4 + 0x1c00]
movzx eax, r9b
xor r8d, dword [rdi + rax*4 + 0xc00]
cmp r10, rbx
jb 0x1400341e0
mov rbx, qword [rsp + 0x10]
test r11, r11
je 0x14003429d
nop dword [rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [rdi + rcx*4]
sub r11, 1
jne 0x140034280
not r8d
mov eax, r8d
pop rdi
ret

Function at 0x1400342b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
lea rsi, [0x140045690]
mov rbx, rdx
mov r11, rcx
not r8
cmp rdx, 4
jbe 0x14003437f
mov qword [rsp + 0x10], rdi
test cl, 3
je 0x1400342ff
nop word [rax + rax]
movzx eax, byte [r11]
dec rbx
movzx ecx, r8b
inc r11
xor rcx, rax
shr r8, 8
xor r8, qword [rsi + rcx*8]
test r11b, 3
jne 0x1400342e0
mov rdi, rbx
and ebx, 3
and rdi, 0xfffffffffffffffc
add rdi, r11
cmp r11, rdi
jae 0x14003437a
nop dword [rax]
nop word [rax + rax]
mov r10d, dword [r11]
add r11, 4
mov eax, r8d
xor r10, rax
mov rax, r10
shr rax, 0x10
movzx edx, al
mov rax, r10
shr rax, 8
movzx ecx, al
mov rax, r10
shr rax, 0x18
mov r9, qword [rsi + rdx*8 + 0x800]
xor r9, qword [rsi + rcx*8 + 0x1000]
xor r9, qword [rsi + rax*8]
movzx eax, r10b
xor r9, qword [rsi + rax*8 + 0x1800]
mov rax, r8
shr rax, 0x20
mov r8, r9
xor r8, rax
cmp r11, rdi
jb 0x140034320
mov rdi, qword [rsp + 0x10]
test rbx, rbx
je 0x1400343ad
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r11]
lea r11, [r11 + 1]
movzx ecx, r8b
xor rcx, rax
shr r8, 8
xor r8, qword [rsi + rcx*8]
sub rbx, 1
jne 0x140034390
mov rbx, qword [rsp + 0x18]
not r8
mov rax, r8
pop rsi
ret
Function at 0x140037520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov r12d, 4
lea rbx, [rcx + 0x10290]
mov ebp, r12d
lea rsi, [rcx + 0x10698]
mov r10, rcx
lea r13, [0x140041450]
xor edi, edi
nop
mov eax, dword [r10 + 0x10e90]
xor r11d, r11d
test eax, eax
je 0x1400375c7
nop
xor r9d, r9d
lea eax, [r11 + 0x40]
nop word [rax + rax]
mov edx, eax
shr eax, 1
and edx, 1
mov ecx, eax
add rcx, rdi
movzx r8d, word [r10 + rcx*2 + 0x6efc]
mov ecx, edx
neg ecx
shr r8, 4
shr rcx, 4
and ecx, 0x7f
xor r8, rcx
movzx ecx, byte [r8 + r13]
add r9d, ecx
cmp eax, 1
jne 0x140037580
mov dword [rbx + r11*4], r9d
inc r11d
mov eax, dword [r10 + 0x10e90]
cmp r11d, eax
jb 0x140037570
mov edx, 0xe
cmp eax, edx
jbe 0x1400375f0
mov eax, edx
lea rcx, [rbx + rax*4]
mov eax, edx
shr eax, 1
inc edx
shl eax, 4
sub eax, 0x50
add dword [rcx], eax
cmp edx, dword [r10 + 0x10e90]
jb 0x1400375d0
nop dword [rax]
mov eax, dword [rbx]
add rdi, 0x40
mov dword [rsi - 8], eax
mov eax, dword [rbx + 4]
mov dword [rsi - 4], eax
mov eax, dword [rbx + 8]
mov dword [rsi], eax
mov eax, dword [rbx + 0xc]
add rbx, 0x100
mov dword [rsi + 4], eax
add rsi, 0x200
sub rbp, 1
jne 0x140037560
mov r15, r12
lea r14, [0x1400414d4]
lea r11, [r10 + 0x10aa0]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r14]
mov ebx, r12d
mov edi, eax
mov r9d, eax
and eax, 1
shr edi, 1
dec edi
or eax, 2
mov ecx, edi
shl eax, cl
sub ebx, eax
mov ebp, eax
xor r8d, r8d
lea esi, [r8 + 1]
nop word [rax + rax]
mov eax, esi
mov edx, ebx
sub rax, r9
shr ebx, 1
add rax, rbp
and edx, 1
movzx ecx, word [r10 + rax*2 + 0x70fa]
lea esi, [rdx + rsi*2]
mov eax, edx
shr rcx, 4
neg eax
shr rax, 4
and eax, 0x7f
xor rcx, rax
movzx eax, byte [rcx + r13]
add r8d, eax
add edi, 0xffffffff
jne 0x140037670
mov ecx, dword [r10 + r9*4 + 0x10290]
inc r12d
add ecx, r8d
inc r15
mov dword [r11 - 0x400], ecx
inc r14
mov ecx, dword [r10 + r9*4 + 0x10390]
add ecx, r8d
mov dword [r11 - 0x200], ecx
mov ecx, dword [r10 + r9*4 + 0x10490]
add ecx, r8d
mov dword [r11], ecx
mov ecx, dword [r10 + r9*4 + 0x10590]
add ecx, r8d
mov dword [r11 + 0x200], ecx
add r11, 4
cmp r12d, 0x80
jb 0x140037640
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov dword [r10 + 0x10e94], edi
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140037730
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r10d, dword [rcx + 0xb94]
mov r11, rcx
mov ecx, 8
sub ecx, r10d
shr r8d, cl
mov ecx, r10d
mov eax, dword [r11 + 0xb98]
xor r10d, r10d
and eax, edx
shl eax, cl
mov ecx, dword [rsp + 0x30]
add r8d, eax
add ecx, 0x100
lea rbx, [r8 + r8*2]
shl rbx, 9
add rbx, r11
test r9b, r9b
lea r9, [0x140041450]
jne 0x1400377b6
nop
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
shr rdx, 4
movzx r8d, word [rbx + rcx*2 + 0xb9c]
and edx, 0x7f
shr r8, 4
xor r8, rdx
movzx edx, byte [r8 + r9]
add r10d, edx
cmp ecx, 1
jne 0x140037780
mov eax, r10d
mov rbx, qword [rsp + 8]
ret
mov r11d, dword [rsp + 0x28]
mov r8d, 0x100
add r11d, r11d
mov eax, r8d
and eax, r11d
mov edx, ecx
add eax, r8d
shr edx, 8
add edx, eax
mov eax, ecx
shr eax, 7
add ecx, ecx
and eax, 1
neg eax
movzx edx, word [rbx + rdx*2 + 0xb9c]
shr rax, 4
and eax, 0x7f
shr rdx, 4
xor rdx, rax
movzx eax, byte [rdx + r9]
add r10d, eax
mov eax, r11d
xor eax, ecx
not eax
and r8d, eax
cmp ecx, 0x10000
jb 0x1400377c1
mov rbx, qword [rsp + 8]
mov eax, r10d
ret
Function at 0x14003bc74
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14003bcbe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003bcbe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003bcbe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003bcbe
cmp dword [rcx + 0x84], 0xe
jbe 0x14003bcbe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003bcc0
xor al, al
add rsp, 0x28
ret
Function at 0x1400014de
Capabilities:
Hash data using crc32b

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp - 4], 0
mov dword [rbp - 0x10], 0xffffffff
jmp 0x140001552
mov eax, dword [rbp - 4]
cdqe
mov rdx, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, eax
call fcn.140001450
mov dword [rbp - 0xc], eax
mov dword [rbp - 8], 0
jmp 0x140001548
mov eax, dword [rbp - 0x10]
xor eax, dword [rbp - 0xc]
test eax, eax
jns 0x14000153e
mov eax, dword [rbp - 0x10]
add eax, eax
xor eax, 0x4c11db7
mov dword [rbp - 0x10], eax
jmp 0x140001541
shl dword [rbp - 0x10], 1
shl dword [rbp - 0xc], 1
add dword [rbp - 8], 1
cmp dword [rbp - 8], 7
jle 0x140001525
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
mov rdx, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
test al, al
jne 0x1400014fa
mov eax, dword [rbp - 0x10]
not eax
mov ecx, eax
call fcn.140001450
add rsp, 0x30
pop rbp
ret

Function at 0x140001768
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
cmp qword [rbp + 0x10], 0
je 0x140001784
cmp dword [rbp + 0x18], 0
jne 0x14000178e
mov eax, 0
jmp 0x140001889
mov qword [rbp - 0x28], 0
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov eax, dword [rax + 0x3c]
cdqe
mov rdx, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
add rax, 0x88
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x48]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x48]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], 0
mov rax, qword [rbp - 0x48]
mov eax, dword [rax + 0x18]
mov dword [rbp - 0x1c], eax
jmp 0x140001878
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400014de
cmp dword [rbp + 0x18], eax
jne 0x14000186e
mov rax, qword [rbp - 0x10]
movzx eax, word [rax]
movzx eax, ax
shl rax, 2
add qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x50]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp - 0x18], rax
jmp 0x140001885
add qword [rbp - 8], 4
add qword [rbp - 0x10], 2
mov eax, dword [rbp - 0x1c]
lea edx, [rax - 1]
mov dword [rbp - 0x1c], edx
test eax, eax
jne 0x140001823
mov rax, qword [rbp - 0x18]
sub rsp, 0xffffffffffffff80
pop rbp
ret