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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x2e99a688f
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, [dbg.runtime.callers.func1]
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 dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword [0x2e9b11728]
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 dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp dbg.runtime.callers

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

Disassembly:
cmp byte [0x2e9b114e8], 0
je 0x2e99b110e
jmp dbg.aeshashbody
jmp dbg.runtime.memhashFallback

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

Disassembly:
cmp byte [0x2e9b114e8], 0
je 0x2e99b1135
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp dbg.aeshashbody
jmp dbg.runtime.strhashFallback

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

Disassembly:
cmp byte [0x2e9b114e8], 0
je 0x2e99b1175
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x2e9b11a80]
aesenc xmm0, xmmword [0x2e9b11a90]
aesenc xmm0, xmmword [0x2e9b11aa0]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

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

Disassembly:
cmp byte [0x2e9b114e8], 0
je 0x2e99b11b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x2e9b11a80]
aesenc xmm0, xmmword [0x2e9b11a90]
aesenc xmm0, xmmword [0x2e9b11aa0]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback

Function at 0x2e99b2ae0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rdx, 2
jmp dbg.sigtramp
Function at 0x2e99bab20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x2e99babea
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 dbg.internal/bytealg.IndexByteString
xorps xmm15, xmm15
mov r14, qword [0x2e9b11728]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x2e99babcf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x2e9a0bde0]
xor ebx, ebx
mov rcx, rdx
call dbg.runtime.makeslice
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 dbg.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x2e99babbe
mov edi, 1
lea rsi, [0x2e9a0bde0]
call dbg.runtime.growslice
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, [0x2e9a475d8]
lea rsi, [0x2e9a46f60]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.syscall.UTF16FromString
Function at 0x2e99dd2e0
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 0x2e99dd2f7
inc rax
cmp rax, 4
jge 0x2e99dd30f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x2e99dd2f4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x2e99dd320
inc rax
cmp rax, 4
jge 0x2e99dd32e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x2e99dd357
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 0x2e99dd33b
jmp 0x2e99dd31d

Function at 0x2e99e7210
Capabilities:
Create thread

Disassembly:
mov rdx, rcx
lea rcx, [dbg.threadentry]
jmp sym._cgo_beginthread

Function at 0x2e99ec270
Capabilities:
Write file on windows

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

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x2e9b16004]
test esi, esi
mov rbx, rcx
jle 0x2e99ec410
mov rax, qword [0x2e9b16008]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x2e99ec32b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2e99ec3b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x2e99ec310
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x2e99ec432
mov rax, qword [0x2e9b16008]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x2e9b16008]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2e99ec417
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x2e99ec3ae
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x2e99ec3c0
add dword [0x2e9b16004], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x2e9b16008]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2e99ec3ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x2e99ec338
mov rax, qword [0x2e9b16008]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x2e99ec7b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x2e9b16040]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2e9b16020]
test rbx, rbx
je 0x2e99ec80c
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 0x2e99ec803
test rsi, rsi
je 0x2e99ec803
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2e99ec7e8
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 0x2e99eca20
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x2e99eca38
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x2e99eca40
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x2e99eca50
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x2e99eca9d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x2e99eca94
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x2e99eca9f
add rax, 0x28
cmp rax, r9
jne 0x2e99eca80
xor eax, eax
ret

Function at 0x2e99ecaa0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x2e99ecb30
mov rdx, qword [0x2e9ab7750]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x2e99ecb1e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x2e99ecb1e
cmp word [rax + 0x18], 0x20b
jne 0x2e99ecb1e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x2e99ecb30
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x2e99ecb09
add rbx, 0x28
cmp rbx, rdi
je 0x2e99ecb30
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x2e99ecb00
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x2e99ecb40
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2e9ab7750]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2e99ecb60
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2e99ecb68
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2e99ecb60
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x2e99ecbbd
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]
cmp rcx, r8
mov rdx, r8
jb 0x2e99ecbb4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x2e99ecb60
add rax, 0x28
cmp rax, r9
jne 0x2e99ecba0
xor eax, eax
ret

Function at 0x2e99ecbc0
Capabilities:
Parse pe header

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

Function at 0x2e99ecc00
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x2e9ab7750]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x2e99ecc20
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x2e99ecc28
ret
cmp word [rdx + 0x18], 0x20b
jne 0x2e99ecc20
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x2e99ecc70
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x2e99ecc67
test rcx, rcx
je 0x2e99ecc20
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x2e99ecc58
xor eax, eax
ret
Function at 0x2e99ecc80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2e9ab7750]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2e99ecc9f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2e99ecca8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x2e99eccc0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2e9ab7750]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2e99ecce0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2e99ecce8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2e99ecce0
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x2e99ecce0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x2e99ecd34
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x2e99ecd40
add rdx, 0x28
cmp r9, rdx
jne 0x2e99ecd20
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x2e99ecd50
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x2e9ab7750]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x2e99ecd72
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x2e99ecd80
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2e99ecd72
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x2e99ecd72
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x2e99ecd72
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x2e99ecdd5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x2e99ecde8
add rdx, 0x28
cmp rdx, r10
jne 0x2e99ecdc0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x2e99ecdf7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x2e99ece07
mov edx, dword [rax + 0xc]
test edx, edx
je 0x2e99ecdde
test ecx, ecx
jg 0x2e99ecdf0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140003c60
Capabilities:
Encode data using xor

Disassembly:
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], al
nop word cs:[rax + rax]
or bl, byte [rcx + 0x341a906d]
xor bl, byte [r8]
xor al, 0x95
cmp eax, 0x7543f17b
push rdx
imul edx, dword [rcx - 0x4a2ea75a], 0x48
in eax, 0x28
push rax
and ah, 0x8b
movabs eax, dword [0x4b34188da23fbffe]
xor al, 0x9c
adc byte [rax], ch
fstp dword [rbx + rcx*2]
add dl, ch
xlatb
adc byte [rsi - 0x3e], ch
jbe 0x140003cb0
clc
ret 0x389a
Function at 0x140017518
Capabilities:
Encode data using xor

Disassembly:
mov esp, 0x27f58098
vpmulhuw xmm11, xmm1, xmm4
xor esi, dword [rcx + 0x4651542]
jmp 0x140017596
shl byte [rbx - 0x6acbb4d2], 1
sbb al, 0xf0
xchg edi, eax
sar dil, cl
xor bl, byte [rdx]
push rdx
or dl, byte [rax - 0x11922d7b]
shr byte [rbp - 0x12], cl
push 0xffffffffffffff80
test eax, 0x2b896168
pop rcx
mov dl, 0xfa
shl byte [rbx - 0x6acbb4fc], 1
mov esp, 0xb91a7c4c
std
nop
sub dword [rdx + 0x29], 0xffffffa3
add dword [rcx - 0x4ff722b8], edi
xor dh, byte [ecx - 0x77]
wait
sub al, 0xb2
cli
shl byte [rbx - 0x6acbb4fc], 1
mov esp, 0xd27d93f0
push qword [rdx]
sbb al, 0xd0
or al, byte [rsi - 0x4491081d]
invalid
imul dword [rsi - 0x45]
loopne 0x14001759e
mov ch, 0xa
sub dword [rsi], edx
out 0x85, al
jp 0x140017621
jo 0x1400175e6
adc al, 0xa9
xor al, 0x93
rcr dword [rdi + 0x77ba4c5e], 0xff
lahf
push rsi
sbb edx, edi
or byte [rax - 0x21ff30e0], al
mov ecx, ebp
jg 0x140017584
loop 0x140017663
xor eax, 0x341ada03
xchg ebx, eax
mov edi, 0xb0e7a9e2
mov ah, 0x84
and ch, byte [rcx]
and dword [rcx + 0x3899d1f4], edi
test eax, 0xa189e192
mov ch, 0xbb
neg byte [rdx]
shl byte [rbp - 0x2c10dc77], 1
mov edx, 0xd27de7f0
hlt
mov ebx, 0xa5d01af6
mov dword [rbx], esp
out dx, eax
sar dword [rdx - 0x2d821810], cl
push qword [rdx]
sbb al, 0xd0
xacquire xchg byte [rdi - 0x34449200], ah
or dh, byte [rax + 0x2c592a67]
lea ebx, [rdx]
test dword [rax], esp
mov dword [rax], ebx
jl 0x1400175d6
ja 0x1400175d6
ja 0x140017617
cmp edx, esp
lahf
out 0xbc, eax
mov ch, 0x84
and ah, dh
jrcxz 0x140017675
cmp eax, 0x695ea1a3
fisub dword [0x15ae76478]
jmp 0x1bc1a004f
call 0xce7d8ef1
add ebp, dword [rsp + riz*2 + 0x50]
jl 0x14001768b
sbb dword [rdx - 0x7f1d2052], eax
sti
sbb dword [rcx], ebx
not byte [rdi]
mov esp, 0x5963b040
lodsd eax, dword [rsi]
mov cl, 0xa
jp 0x1400176bf
out 0xd0, al
cdq
and byte [rbx + 0x50ec48a7], al
push rax
jl 0x1400176de
sbb dword [rdx - 0x13f1283c], ecx
xchg byte [rdi + 0x1cbb6efb], ch
clc
fisttp qword [rsi]
and eax, 0xbffd7414
invalid
mov edi, ecx
pop rsp
mov dl, 0xfa
ret
adc al, 0x70
popfq
fcmovnbe st(0), st(5)
sti
mov byte [rax - 0x3f], ah
push rax
invalid

Function at 0x1400184a4
Capabilities:
Encode data using xor

Disassembly:
insd dword [rdi], dx
mov ebx, 0x1acbbbe0
fst st(1)
add byte cs:[rdx - 0x67], al
mov ch, 0xea
sbb dword [rbx + rcx*2], esi
xor byte [rbx + 0x7b4d9334], al
add dword [rdi + 0x6d], eax
push rbx
movabs dword [0x40bc17f619226181], eax
mov edi, 0xc1756022
or al, 0xf9
test dword [rcx - 0x59fd9400], eax
loop 0x140018478
bnd retf
Function at 0x140059040
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
lea rax, [fcn.140059040]
mov ecx, dword [rsp + 0x24]
mov dword [rsp + 0x14], ecx
mov qword [rsp + 8], rax
jmp 0x140059070
mov rax, qword [rsp + 0x18]
and rax, rax
mov qword [rsp + 0x18], rax
mov rax, qword [rsp]
add rsp, 0x28
ret
mov rax, qword [rsp + 8]
mov ecx, 0x2196f762
mov edx, 0x3e9b0cec
mov r8d, edx
sub r8, qword [rsp + 0x18]
mov qword [rsp + 0x18], r8
mov edx, dword [rsp + 0x14]
shr edx, cl
mov dword [rsp + 0x24], edx
cmp word [rax], 0x5a4d
mov qword [rsp], rax
je 0x1400590d2
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp]
add rcx, 0xfffffffffffff000
xor rax, 0x6c63ea94
mov qword [rsp + 0x18], rax
and rcx, 0xfffffffffffff000
mov edx, dword [rsp + 0x14]
mov dword [rsp + 0x24], edx
mov qword [rsp + 8], rcx
jmp 0x140059070
mov ecx, 0x6256de80
mov rax, qword [rsp]
mov edx, dword [rax + 0x3c]
mov dword [rsp + 0x24], 0x16020ebe
movsxd r8, edx
mov edx, dword [rsp + 0x14]
shr edx, cl
mov r9d, dword [rax + r8]
mov dword [rsp + 0x24], edx
cmp r9d, 0x4550
je 0x14005905a
jmp 0x1400590a1
Function at 0x10000339c
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x100003548
lea rcx, [0x100001b00]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov qword [0x10000ae48], rax
jne 0x1000033eb
lea r8, [0x100001b10]
lea rdx, [0x100001840]
lea rcx, [0x100001b38]
call fcn.100007a84
xor eax, eax
jmp 0x10000354d
lea rdx, [0x100001b50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x10000ae48]
lea rdx, [0x100001b60]
mov qword [0x10000ae60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x10000ae48]
lea rdx, [0x100001b70]
mov qword [0x10000ae68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x10000ae48]
lea rdx, [0x100001b88]
mov qword [0x10000ae70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x10000ae48]
lea rdx, [0x100001ba0]
mov qword [0x10000ae78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x10000ae48]
lea rdx, [0x100001bb0]
mov qword [0x10000ae80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x10000ae48]
lea rdx, [0x100001bc0]
mov qword [0x10000ae88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x10000ae48]
lea rdx, [0x100001bd0]
mov qword [0x10000ae90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x10000ae48]
lea rdx, [0x100001be8]
mov qword [0x10000ae98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x10000ae60], 0
mov qword [0x10000aea0], rax
je 0x10000352f
cmp qword [0x10000ae68], 0
je 0x10000352f
cmp qword [0x10000ae70], 0
je 0x10000352f
cmp qword [0x10000ae78], 0
je 0x10000352f
cmp qword [0x10000ae80], 0
je 0x10000352f
cmp qword [0x10000ae88], 0
je 0x10000352f
cmp qword [0x10000ae90], 0
je 0x10000352f
cmp qword [0x10000ae98], 0
je 0x10000352f
test rax, rax
jne 0x100003548
mov rcx, qword [0x10000ae48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [0x100001bf8]
jmp 0x1000033d1
mov eax, 1
add rsp, 0x28
ret
Function at 0x100004f00
Capabilities:
Check os version
Get token membership

Disassembly:
sub rsp, 0x138
mov rax, qword [0x10000a100]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov eax, dword [0x10000aea8]
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 0
test eax, eax
mov byte [rsp + 0x72], 0
mov byte [rsp + 0x73], 0
mov byte [rsp + 0x74], 0
mov byte [rsp + 0x75], 5
jne 0x1000050a8
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 0x94
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x94
mov dword [0x10000aea8], 1
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000050a2
cmp dword [rsp + 0x90], 2
jne 0x1000050a2
cmp dword [rsp + 0x84], 5
jne 0x100005070
mov eax, dword [rsp + 0x88]
test eax, eax
jne 0x100004fbb
mov dword [0x10000aea8], 2
jmp 0x1000050b1
cmp eax, 1
jne 0x100004fcf
mov dword [0x10000aea8], 3
jmp 0x1000050b1
cmp eax, 2
jne 0x1000050a2
mov dword [0x10000aea8], 4
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
and dword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r8d, 0x20
mov dl, 2
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
mov dword [rsp + 0x60], eax
je 0x100005058
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and ecx, dword [rsp + 0x60]
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.100008060
add rsp, 0x138
ret
mov eax, 6
cmp dword [rsp + 0x84], eax
jb 0x1000050a2
cmp dword [rsp + 0x8c], 0x1b58
jae 0x10000509a
mov dword [0x10000aea8], 5
jmp 0x100004fe2
mov dword [0x10000aea8], eax
jmp 0x1000050a8
mov eax, dword [0x10000aea8]
cmp eax, 3
jg 0x100004fe2
mov eax, 1
jmp 0x100005058

Function at 0x1000050c0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x100005143
mov edx, 0x2724
xor ecx, ecx
mov r8d, 0x12c
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
mov rdi, rax
je 0x100005143
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
xor ecx, ecx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x100005143
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x100005143
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, esi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret