joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455440
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4554ef
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00455540]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045d900
xorps xmm15, xmm15
mov r14, qword [0x005a1788]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045da40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00455440
Function at 0x45f820
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403183
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00408b40
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045da40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403160
cmp byte [0x005a154c], 0
je 0x45f835
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45ca80
jmp 0x403160

Function at 0x45f840
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005a1820]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005a154c], 0
je 0x45f875
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005a1ae0]
aesenc xmm0, xmmword [0x005a1af0]
aesenc xmm0, xmmword [0x005a1b00]
movq rax, xmm0
ret
jmp 0x408d60

Function at 0x45f880
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005a1820]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005a154c], 0
je 0x45f8b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005a1ae0]
aesenc xmm0, xmmword [0x005a1af0]
aesenc xmm0, xmmword [0x005a1b00]
movq rax, xmm0
ret
jmp 0x408dc0

Function at 0x461560
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x461594
mov rcx, 0x28
jmp 0x46159f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005a1788], rcx
pop rbp
ret

Function at 0x468080
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x4680eb
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x4680a4
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x4680c1
cmp rdx, 0
je 0x46810d
test rdx, 0xf
je 0x46809d
test rdx, 7
jne 0x4680c1
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x46809d
ret
Function at 0x46a3a0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x46a3df
jb 0x46a3f4
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesdeclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x46a460
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x46a534
jb 0x46a593
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.0046a340
aeskeygenassist xmm1, xmm0, 1
call fcn.0046a360
aeskeygenassist xmm1, xmm2, 2
call fcn.0046a340
aeskeygenassist xmm1, xmm0, 2
call fcn.0046a360
aeskeygenassist xmm1, xmm2, 4
call fcn.0046a340
aeskeygenassist xmm1, xmm0, 4
call fcn.0046a360
aeskeygenassist xmm1, xmm2, 8
call fcn.0046a340
aeskeygenassist xmm1, xmm0, 8
call fcn.0046a360
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0046a340
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0046a360
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0046a340
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0046a360
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0046a340
jmp 0x46a601
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.0046a2a0
aeskeygenassist xmm1, xmm2, 2
call fcn.0046a300
aeskeygenassist xmm1, xmm2, 4
call fcn.0046a2a0
aeskeygenassist xmm1, xmm2, 8
call fcn.0046a300
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0046a2a0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0046a300
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0046a2a0
aeskeygenassist xmm1, xmm2, 0x80
call fcn.0046a300
jmp 0x46a601
aeskeygenassist xmm1, xmm0, 1
call fcn.0046a260
aeskeygenassist xmm1, xmm0, 2
call fcn.0046a260
aeskeygenassist xmm1, xmm0, 4
call fcn.0046a260
aeskeygenassist xmm1, xmm0, 8
call fcn.0046a260
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0046a260
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0046a260
aeskeygenassist xmm1, xmm0, 0x40
call fcn.0046a260
aeskeygenassist xmm1, xmm0, 0x80
call fcn.0046a260
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.0046a260
aeskeygenassist xmm1, xmm0, 0x36
call fcn.0046a260
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x46a60e
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x46ffa0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47006a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403080
xorps xmm15, xmm15
mov r14, qword [0x005a1788]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47004f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0048bfa0]
xor ebx, ebx
mov rcx, rdx
call fcn.00446de0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00470380
inc rbx
cmp rcx, rbx
jae 0x47003e
mov edi, 1
lea rsi, [0x0048bfa0]
call fcn.00446ec0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004bfe80]
lea rsi, [0x004bf9e0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045da40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0046ffa0
Function at 0x47a5e0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x47a5f7
inc rax
cmp rax, 4
jge 0x47a60f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x47a5f4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x47a620
inc rax
cmp rax, 4
jge 0x47a62e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x47a657
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x47a63b
jmp 0x47a61d
Function at 0x140002f00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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.140004c10
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140004c10
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002f70
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000a0a4]
mov rbx, rcx
test esi, esi
jle 0x1400030a0
mov rax, qword [0x14000a0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002fbb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003045
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002fa0
mov rcx, rbx
call fcn.1400039c0
mov rdi, rax
test rax, rax
je 0x1400030c2
mov rax, qword [0x14000a0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003b00
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000a0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400030a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000303e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140003050
add dword [0x14000a0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000a0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000303e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002f00
nop dword [rax]
xor esi, esi
jmp 0x140002fc8
mov rax, qword [0x14000a0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002f00
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002f00
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003630
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000a100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x14000368c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003683
test rsi, rsi
je 0x140003683
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003668
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400039c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006b00]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400039e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400039e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400039e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140003a3d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003a34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400039e0
add rax, 0x28
cmp rax, r9
jne 0x140003a20
xor eax, eax
ret

Function at 0x140003a40
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006b00]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140003a5f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003a68
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140003a5f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003b00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006b00]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003b1f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003b28
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140e651b8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140e6533f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e651e9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e651cf
add dl, dl
jne 0x140e651f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e65256
xor eax, eax
add dl, dl
jne 0x140e65205
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e6530d
add dl, dl
jne 0x140e65216
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e65223
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e65230
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e6523d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e6524a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e651de
mov eax, 1
add dl, dl
jne 0x140e65266
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e65273
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e6525b
sub eax, ebx
mov ebx, 1
jne 0x140e652ac
mov ecx, 1
add dl, dl
jne 0x140e6528e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e6529b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e65283
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e651de
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e652c8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e652d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e652bd
cmp eax, 0x7d00
jae 0x140e652fb
cmp eax, 0x500
jb 0x140e652f6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e651de
cmp eax, 0x7f
ja 0x140e652fe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e651de
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e65332
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e651de
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140005c00
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x100000
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
cmp r12d, 2
jl 0x140005cda
lea ebp, [r12 - 1]
cmp ebp, 2
jl 0x140005cae
add r12d, 0xfffffffe
mov ebx, 1
lea r13, [0x140066132]
mov rdi, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
lea r15, [0x14009ce50]
nop
nop
nop
nop
movsxd r14, ebx
mov rcx, qword [rsi + r14*8]
mov rdx, r13
call rdi
test eax, eax
je 0x140005ca0
mov rcx, qword [rsi + r14*8]
lea rdx, str.__force_use_module
call rdi
cmp r14d, r12d
jge 0x140005cda
test eax, eax
jne 0x140005cda
lea ebx, [r14 + 1]
mov rdx, qword [rsi + r14*8 + 8]
mov rcx, r15
call fcn.14000ad00
jmp 0x140005ca7
mov byte [0x14009ce48], 1
add ebx, 1
cmp ebx, ebp
jl 0x140005c60
movsxd rax, ebp
mov rdx, qword [rsi + rax*8]
lea rcx, [0x14009ce80]
call fcn.14000ad00
mov cl, byte [0x14009ce48]
call fcn.140002ef0
test al, al
je 0x140005cda
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
ud2
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
ud2

Function at 0x1400092f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x14006a010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x14000939c
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x14000939c
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000939a
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x1400093b3
cmp eax, 1
je 0x140009367
test eax, eax
jne 0x14000939a
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x140009390
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14000939a
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x14000939c
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004ed60
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
jmp 0x14000939c
Function at 0x14004d8d0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov r14, r9
mov rdi, r8
mov r15, rdx
mov rbx, rcx
mov rax, qword [0x14006a010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, qword [rcx]
mov rcx, qword [rbp + 8]
cmp byte [rcx + 0x19], 0
je 0x14004d960
mov qword [rsp + 0x30], rbp
mov rax, rbp
cmp rbp, qword [rax]
je 0x14004d9a1
lea rcx, [rsp + 0x30]
call fcn.14000ac90
mov r12b, 1
mov rsi, qword [rsp + 0x30]
lea rcx, [rsi + 0x20]
mov rdx, rdi
call fcn.14004b0f0
test al, al
je 0x14004d9bc
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, r15
mov r8d, r12d
mov r9, rbp
call fcn.14004d720
mov sil, 1
jmp 0x14004d9f2
mov rsi, rcx
lea rdx, [rcx + 0x20]
mov rcx, rdi
call fcn.14004b0f0
mov ecx, eax
xor cl, 1
movzx ecx, cl
shl rcx, 4
mov rcx, qword [rsi + rcx]
cmp byte [rcx + 0x19], 0
je 0x14004d960
mov qword [rsp + 0x30], rsi
test al, al
je 0x14004da15
mov rax, qword [rbx]
mov rbp, rsi
cmp rbp, qword [rax]
jne 0x14004d917
mov qword [rsp + 0x20], r14
mov sil, 1
mov rcx, rbx
mov rdx, r15
mov r8b, 1
mov r9, rbp
call fcn.14004d720
jmp 0x14004d9f2
lea rcx, [r14 + 0x30]
call fcn.14004a5b0
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x14004d9e0
mov eax, dword [r14 + 0x28]
and eax, 3
cmp eax, 1
jne 0x14004d9e0
call qword [sym.imp.mozglue.dll_free]
mov edx, 0x58
mov rcx, r14
call fcn.14004dce0
mov qword [r15], rsi
xor esi, esi
mov byte [r15 + 8], sil
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004ed60
mov rax, r15
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor r12d, r12d
mov rbp, rsi
jmp 0x14004d929
Function at 0x1400108c0
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
jne 0x1400108ca
mov eax, edx
ret
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.1400108c0
Function at 0x1400134d0
Capabilities:
Get common file path
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1409b0280]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [rax - 1]
mov rcx, qword [rbp - 0x20]
cmp rdi, rcx
ja 0x140013549
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rax, qword [rbp - 0x30]
mov qword [rbp - 0x20], rdi
mov byte [rax + rdi], 0
jmp 0x14001359d
sub rdi, rcx
mov rdx, qword [rbp - 0x18]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140013586
lea rax, [rcx + rdi]
mov qword [rbp - 0x20], rax
lea rbx, [rbp - 0x30]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x30]
add rbx, rcx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.140195d30
mov byte [rbx + rdi], 0
jmp 0x14001359d
mov byte [rsp + 0x20], 0
mov r9, rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.1400123c0
mov edx, dword [rbp - 0x20]
inc edx
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r8d, reloc.WS2_32.dll_listen
lea rdx, [0x1401bf8b8]
lea rcx, [rbp - 0x30]
call fcn.1400136e0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
mov ecx, eax
call fcn.14015a908
mov rsi, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.140195d30
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
mov r9, rsi
mov r8d, edi
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x38]
lea rdx, [0x1401bf892]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov dword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x38]
mov ecx, dword [rdx + 0x10]
mov eax, ecx
shr eax, 0x10
mov dword [rbp - 0x4c], eax
movzx eax, cx
mov dword [rbp - 0x48], eax
mov ecx, dword [rdx + 0x14]
mov eax, ecx
shr eax, 0x10
mov dword [rbp - 0x44], eax
movzx eax, cx
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [r14], xmm0
mov dword [r14 + 0x10], eax
mov rcx, rsi
call fcn.14015a48c
nop
lea rcx, [rbp - 0x30]
call fcn.140010b40
mov rax, r14
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14015a1f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret