joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002c920
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x20
cmp byte [rcx + 0x20], 0
mov rbx, rdx
mov rsi, rcx
jne 0x14002c9f0
cmp qword [rdx + 0x18], 8
mov rcx, rdx
mov dword [rsp + 0x50], 0
jb 0x14002c94d
mov rcx, qword [rdx]
lea rdx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
je 0x14002c9f0
mov r9, qword [rsi + 0x10]
mov edx, ebp
mov r8, qword [rsi + 8]
mov rcx, r9
sub rcx, r8
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x40], 0
cmp rbp, rcx
jae 0x14002c986
lea rax, [r8 + rbp]
jmp 0x14002c9b3
jbe 0x14002c9b7
mov rax, qword [rsi + 0x18]
sub rax, r8
cmp rdx, rax
jbe 0x14002c9a4
lea r8, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.14002c100
jmp 0x14002c9b7
sub rdx, rcx
lea r8, [rsi + 8]
mov rcx, r9
call fcn.14002c210
mov qword [rsi + 0x10], rax
mov rcx, qword [rsi + 8]
call fcn.140017750
cmp qword [rbx + 0x18], 8
mov rdi, qword [rsp + 0x48]
jb 0x14002c9cf
mov rbx, qword [rbx]
mov r9, rax
mov r8d, ebp
xor edx, edx
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, 1
sete al
mov byte [rsi + 0x20], al
add rsp, 0x20
pop rsi
pop rbp
pop rbx
ret
xor al, al
add rsp, 0x20
pop rsi
pop rbp
pop rbx
ret
Function at 0x140075b5c
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140075882
call fcn.140061cc0
mov dword [rax], 0x16
call fcn.140061570
jmp 0x1400759cd
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400759cd
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400759cd
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400758b1
lock or dword [rcx + 0x14], 0x10
jmp 0x1400759cd
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400758c5
call fcn.140075f84
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1400758d5
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1400758d8
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.140073330
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.14007f4b0
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1400759bb
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140075969
mov rcx, rbx
call fcn.140073330
cmp eax, 0xffffffff
je 0x140075954
mov rcx, rbx
call fcn.140073330
cmp eax, 0xfffffffe
je 0x140075954
mov rcx, rbx
call fcn.140073330
movsxd rdi, eax
lea r14, [0x1400c9000]
mov rcx, rbx
sar rdi, 6
call fcn.140073330
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14007595b
lea rdx, [0x1400bf5e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140075969
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14007598d
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14007598d
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14007598d
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x1400759ab
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1400759b6
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1400759d2
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14007584c
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xchg ebp, eax
add byte [r8], r8b
cwde
add byte [rax], al
xchg edi, eax
add byte [rax], al
pushfq
add byte [r8], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
cwde
add byte [rax], al
cwde
add byte [rax], al
cwde
add byte [rsi - 0x68], al
add cl, sil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
add bh, bh
add bh, bh
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
add bh, bh
add bh, bh
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
add bh, bh
add bh, bh
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
add dil, dil
cwde
invalid

Function at 0x140007284
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x14000734a
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x14000730e
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000730b
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x1400205b8]
mov rdx, rsi
call fcn.140011c68
jmp 0x14000730e
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400072db
mov rdx, qword [0x14001f118]
lea rcx, [0x1400205b8]
mov rdi, rdx
inc rdx
mov qword [0x14001f118], rdx
lea edx, [rbx + 0x20]
call fcn.140011cb0
lea rcx, [0x140021170]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x1400074e0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0x28
xor r15d, r15d
mov r13d, r9d
mov r12d, edx
mov ebp, r15d
cmp edx, 1
jl 0x140007644
mov qword [rsp + 0x50], rbx
test rcx, rcx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], r14
lea r14, [0x140019628]
mov rbx, r14
mov edi, r15d
cmovne rbx, rcx
test r8, r8
cmovne r14, r8
mov rsi, rbx
movzx ecx, word [r14]
test cx, cx
je 0x140007610
cmp word [r14 + 2], di
je 0x140007610
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [r14 + rax*2], di
jne 0x140007550
movsxd r15, eax
nop dword [rax]
mov r8, r15
mov rdx, r14
mov rcx, rbx
call sub.msvcrt.dll_wcsncmp
test eax, eax
je 0x14000757d
cmp word [rbx], bp
je 0x14000757d
add rbx, 2
jmp 0x140007560
inc edi
cmp edi, r12d
je 0x140007592
cmp word [rbx], bp
je 0x14000759b
lea rbx, [rbx + r15*2]
mov rsi, rbx
jmp 0x140007560
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
xor r15d, r15d
mov rcx, rbx
call fcn.140012630
mov r14, qword [rsp + 0x20]
mov edi, eax
test eax, eax
je 0x1400075ca
mov ecx, r13d
call fcn.1400126a0
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
add r8, r8
call sub.msvcrt.dll_memmove
mov edx, r13d
mov ecx, ebp
call fcn.1400126d0
test edi, edi
mov rdi, qword [rsp + 0x60]
mov rbx, rax
jne 0x1400075ee
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
call sub.msvcrt.dll_wcsncpy
mov rsi, qword [rsp + 0x58]
movsxd rcx, ebp
mov word [rbx + rcx*2], r15w
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
ret
movzx eax, word [rbx]
cmp ax, cx
je 0x14000761d
test ax, ax
jne 0x140007630
inc edi
cmp edi, edx
je 0x140007636
test ax, ax
je 0x14000759e
lea rsi, [rbx + 2]
add rbx, 2
jmp 0x140007610
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
jmp 0x14000759e
mov ecx, r9d
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
jmp fcn.1400127b0

Function at 0x140008010
Capabilities:
Get thread local storage value

Disassembly:
mov r10, rcx
test rcx, rcx
je 0x140008041
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008020
mov ecx, 1
mov r9d, r8d
sub ecx, edx
add eax, ecx
mov rcx, r10
mov r8d, eax
jmp 0x140008050
mov ecx, r8d
jmp fcn.1400127b0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov ebp, r8d
test r8d, r8d
mov edi, r9d
mov esi, edx
mov rbx, rcx
cmovs ebp, r15d
call fcn.140012630
mov edx, edi
mov ecx, ebp
mov r14d, eax
call fcn.1400126d0
mov rdi, rax
test r14d, r14d
je 0x1400080a1
mov ecx, r14d
call fcn.1400127f0
mov rbx, rax
test rbx, rbx
je 0x1400080e7
cmp esi, 1
jle 0x1400080c1
nop dword [rax + rax]
cmp word [rbx], r15w
je 0x1400080e7
dec esi
add rbx, 2
cmp esi, 1
jg 0x1400080b0
movzx eax, word [rbx]
test ax, ax
je 0x1400080e7
sub rbx, rdi
nop dword [rax]
test ebp, ebp
je 0x1400080e7
mov word [rdi], ax
movzx eax, word [rbx + rdi + 2]
add rdi, 2
dec ebp
test ax, ax
jne 0x1400080d0
mov ecx, ebp
call fcn.1400128a0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov word [rdi], r15w
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x421be0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x006260d4], 0
jne 0x421d45
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub rdx, qword [rbx + 0x18]
nop
test rdx, rdx
jne 0x421cee
xor eax, eax
nop
nop
nop
mov rcx, rax
shr rax, 3
and rcx, 7
mov edx, 1
shl edx, cl
nop
add rax, qword [rbx + 0x50]
lock or byte [rax], dl
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x421d3a
lea rbx, [0x0061d6a0]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and rdx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and rax, 7
mov rcx, rax
mov esi, 1
shl esi, cl
test sil, bl
jne 0x421caf
lock or byte [rdx], sil
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
mov rcx, qword [rsp + 0x30]
add qword [rax + 0x16a8], rcx
mov rcx, qword [rsp + 0x38]
add qword [rax + 0x16b0], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
cmp word [rbx + 0x5e], 0
je 0x421d0a
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
shr rdx, cl
and rax, rdx
jmp 0x421c15
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
movzx esi, byte [rbx + 0x66]
cmp sil, 0x40
sbb rdi, rdi
shr rdx, cl
and rax, rdx
movzx edx, word [rbx + 0x5c]
imul rax, rdx
mov ecx, esi
shr rax, cl
and rax, rdi
jmp 0x421c15
mov ecx, 0x40
nop
call fcn.004692e0
lea rax, [0x0052cca3]
mov qword [rsp], rax
mov qword [rsp + 8], 0x2c
call fcn.00437c20
nop
int3
Function at 0x4294e0
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x42974e
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
nop
lea rax, [0x00626050]
mov qword [rsp], rax
call fcn.0040ba20
lea rax, [0x00625fc0]
mov qword [rsp], rax
call fcn.00419e60
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
nop
nop
lea rcx, [0x00626050]
mov qword [rsp], rcx
call fcn.0040bc80
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xa], 1
lea rdi, [rax + 0x10]
cmp dword [0x00626380], 0
jne 0x42973f
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x18], rcx
cmp dword [0x00626380], 0
nop dword [rax]
jne 0x429718
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00429040
cmp byte [rsp + 0x10], 0
je 0x4296b6
cmp dword [0x00626110], 0
jne 0x4295d4
mov byte [rsp + 0x88], 1
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 8], xmm0
call fcn.00414ec0
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x18]
nop
inc dword [rcx + 0xd8]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x30], rcx
mov rbx, qword [rcx + 0xa0]
test byte [rbx], al
test byte [rax], al
mov qword [rsp], rdx
lea rax, [rbx + 0x1698]
mov qword [rsp + 0x38], rax
mov qword [rsp + 8], rax
call fcn.00420a00
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], 8
lea rax, [0x005db181]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], 0
call fcn.00420860
nop
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx + 0xd8]
lea ebx, [rdx - 1]
mov dword [rcx + 0xd8], ebx
cmp edx, 1
jne 0x4295c2
cmp byte [rax + 0xb1], 0
je 0x4295c2
mov qword [rax + 0x10], 0xfffffffffffffade
jmp 0x4295c2
nop
nop
lea rax, [0x00626050]
mov qword [rsp], rax
call fcn.0040ba20
nop
mov rax, qword [0x00625ff0]
sub rax, qword [0x00625fc0]
mov qword [0x00625ff0], rax
mov rax, qword [0x00625fd8]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov qword [0x00625fd8], rcx
nop
nop
lea rax, [0x00626050]
mov qword [rsp], rax
call fcn.0040bc80
mov byte [rsp + 0x88], 0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
lea rcx, [rax + 0x20]
mov rdi, rcx
mov rbx, qword [rsp + 0x78]
call fcn.00468f60
lea rdi, [rax + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.00468f20
jmp 0x42959b
mov rcx, qword [rsp + 0x68]
call fcn.00468f20
jmp 0x429568
call fcn.004671c0
jmp fcn.004294e0
Function at 0x45a8c0
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x45a9a1
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x00462700]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00467060
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
nop
ret
call fcn.004671c0
jmp fcn.0045a8c0
Function at 0x468cc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x402f40
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.00409e60
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.004671c0
jmp 0x402ee0
cmp byte [0x006260d3], 0
je 0x468cdf
mov rax, qword [rsp + 8]
mov rcx, qword [rax + 8]
mov rax, qword [rax]
lea rdx, [rsp + 0x18]
jmp 0x4661e0
jmp 0x402ee0

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

Disassembly:
mov rax, qword [0x00626400]
nop
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*4]
xor rax, rcx
shl rcx, 0x20
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rcx, rax
mov qword [rsp + 0x18], rcx
ret
cmp byte [0x006260d3], 0
je 0x468d3c
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00626660]
aesenc xmm0, xmmword [0x00626670]
aesenc xmm0, xmmword [0x00626680]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x40a0e0

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

Disassembly:
mov rax, qword [0x00626400]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*8]
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x006260d3], 0
je 0x468d9d
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00626660]
aesenc xmm0, xmmword [0x00626670]
aesenc xmm0, xmmword [0x00626680]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x40a160

Function at 0x46a600
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x006265e0]
mov qword [rsp + 8], rdx
lea r8d, [0x006260ec]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
add rsp, 0x30
ret
Function at 0x472bc0
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 0x2e]
imul rsi, rsi, 0xffffffffffffffe4
movabs rax, 0x5816058160581606
mov rcx, rdx
imul rsi
sar rdx, 5
sar rsi, 0x3f
sub rdx, rsi
lea rsi, [rdx + 0x15c]
sar rsi, 0x3f
shr rsi, 0x3d
lea rdx, [rsi + rdx]
lea rdx, [rdx + 0x15c]
sar rdx, 3
cmp rdx, 0x57
jae 0x472c99
lea rsi, [rdx + rdx*2]
lea rdi, [0x005e81c0]
mov r8, qword [rdi + rsi*8 + 8]
lea r9, [r8 + rbx]
lea r9, [r9 + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x472c42
inc rdx
nop
jmp 0x472c18
cmp r9, 0xffffffffffffffe0
jle 0x472c4d
dec rdx
jmp 0x472c18
mov rbx, qword [rdi + rsi*8]
mov rax, qword [rcx]
mov rsi, rdx
mul rbx
shr rax, 0x3f
add rdx, rax
mov qword [rcx], rdx
mov rdx, qword [rcx + 8]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x40]
mov qword [rcx + 8], rdx
mov rcx, rsi
shl rsi, 3
lea rdx, [rsi - 0x15c]
neg rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, rdx
mov ecx, 0x57
call fcn.004692c0
nop
int3
Function at 0x485980
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edx, dword [rsp + 8]
xor ebx, ebx
jmp 0x4859a1
movzx esi, byte [rax + rbx]
inc rbx
imul edx, edx, 0x1000193
xor edx, esi
cmp rbx, rcx
jl 0x485992
mov dword [rsp + 0x28], edx
ret
Function at 0x140001060
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0xb
mov qword [rsp + 0x40], 0xf
movsd xmm0, qword [str.notepad.exe]
movsd qword [rsp + 0x28], xmm0
movzx eax, word [0x1400032a8]
mov word [rsp + 0x30], ax
movzx eax, byte [0x1400032aa]
mov byte [rsp + 0x32], al
mov byte [rsp + 0x33], 0
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, 0x81e3778e
call fcn.140001340
mov qword [rsp + 0x20], rax
mov r8d, 0xf10e27ca
lea rdx, [rsp + 0x20]
call fcn.140001190
mov rbx, rax
mov edx, 0x367dc15a
call fcn.140001340
mov r9d, 0x30
lea r8, [0x1400032bc]
lea rdx, [0x1400032bc]
xor ecx, ecx
call rbx
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400014a0
add rsp, 0x50
pop rbx
ret
Function at 0x140001190
Capabilities:
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xf0
mov r10, qword [rdx]
mov ebp, r8d
test r10, r10
je 0x140001310
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x140001310
movsxd rax, dword [r10 + 0x3c]
add rax, r10
cmp dword [rax], 0x4550
jne 0x140001310
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp]
xor r11d, r11d
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov eax, dword [rsp + 0x70]
add rax, r10
mov ebx, dword [rax + 0x20]
mov r15d, dword [rax + 0x1c]
add rbx, r10
mov edi, dword [rax + 0x24]
add r15, r10
mov r14d, dword [rax + 0x14]
add rdi, r10
test r14d, r14d
je 0x140001310
nop
movzx eax, word [rdi]
mov r9d, dword [rbx]
mov esi, dword [r15 + rax*4]
add rsi, r10
add r9, r10
jne 0x1400012a6
xor eax, eax
jmp 0x1400012fc
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [r9 + rdx], 0
jne 0x1400012b0
xor eax, eax
xor r8d, r8d
test rdx, rdx
je 0x1400012ec
nop dword [rax]
nop dword [rax + rax]
movsx ecx, byte [r8 + r9]
inc r8
add ecx, eax
imul eax, ecx, 0x81
mov ecx, eax
shr ecx, 6
xor eax, ecx
cmp r8, rdx
jne 0x1400012d0
lea ecx, [rax + rax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
cmp ebp, eax
je 0x14000132f
inc r11d
add rbx, 4
add rdi, 2
cmp r11d, r14d
jb 0x140001290
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rax, rsi
jmp 0x140001312