joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400021dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002226
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002226
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002226
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002226
cmp dword [rcx + 0x84], 0xe
jbe 0x140002226
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002228
xor al, al
add rsp, 0x28
ret

Function at 0x14000c548
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000c5b7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c5b7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c5b7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c5b7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c5b7
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c5b7
cmp dword [rcx + 0xf8], 0
je 0x14000c5b7
mov ecx, ebx
call fcn.14000c668
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000c444
nop
cmp dword [rbp + 0x20], 0
je 0x14000c605
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000c610
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000c548

Function at 0x14000c74c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000c548
Function at 0x140011ccc
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140011cfc
xor eax, eax
jmp 0x140011dbf
mov rbp, rbx
cmp word [rax], si
je 0x140011d21
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140011d08
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140011d04
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140011bec
movsxd r14, eax
test eax, eax
jne 0x140011d5f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140011cf5
mov rcx, r14
call fcn.14000e23c
mov rdi, rax
test rax, rax
jne 0x140011d78
xor ecx, ecx
call fcn.14000d5c4
jmp 0x140011d54
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140011bec
test eax, eax
jne 0x140011da9
mov rcx, rdi
call fcn.14000d5c4
jmp 0x140011db3
xor ecx, ecx
call fcn.14000d5c4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400160a8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400160be
mov al, 1
jmp 0x14001611e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400160cf
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001611c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140012534
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001611c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001611c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001611c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001611e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140017220
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140010cbc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400172aa
cmp byte [rbp - 0x21], r15b
je 0x1400172a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400172e0
call fcn.14000d814
test eax, eax
jne 0x1400172cc
cmp byte [rbp - 0x21], r15b
je 0x1400172c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400172e0
cmp byte [rbp - 0x21], r15b
je 0x1400172dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001029c
test eax, eax
jne 0x140017380
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140010cbc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001731f
cmp byte [rbp - 0x21], r15b
je 0x140017354
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140017354
call fcn.14000d814
test eax, eax
jne 0x140017340
cmp byte [rbp - 0x21], r15b
je 0x140017339
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140017354
cmp byte [rbp - 0x21], r15b
je 0x140017351
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001029c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140017380
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140017383
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140017391
mov rcx, rdi
call fcn.14000d5c4
cmp byte [rbp + 0x3f], r15b
je 0x1400173a0
mov rcx, qword [rbp + 0x27]
call fcn.14000d5c4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140019910
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140019938
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140019938
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x141122058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1411221df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141122089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14112206f
add dl, dl
jne 0x141122096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411220f6
xor eax, eax
add dl, dl
jne 0x1411220a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411221ad
add dl, dl
jne 0x1411220b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411220c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411220d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411220dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1411220ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14112207e
mov eax, 1
add dl, dl
jne 0x141122106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141122113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1411220fb
sub eax, ebx
mov ebx, 1
jne 0x14112214c
mov ecx, 1
add dl, dl
jne 0x14112212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14112213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141122123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14112207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141122168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141122175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14112215d
cmp eax, 0x7d00
jae 0x14112219b
cmp eax, 0x500
jb 0x141122196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14112207e
cmp eax, 0x7f
ja 0x14112219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14112207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1411221d2
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 0x14112207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800025a0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x1800025d2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800025d2
nop word cs:[rax + rax]
jmp 0x1800025d0
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
mov edx, dword [0x180020a9c]
lea edi, [rdx - 1]
imul edi, edx
test dil, 1
sete dl
cmp dword [0x180020aa0], 0xa
setl r9b
mov r14, qword [rbx + 0x10]
lea r10, [rbx + 0x10]
cmp r14, r10
je 0x1800026c8
or r8b, al
or r9b, dl
lea r11, [rcx - 1]
xor eax, eax
mov rsi, r11
test r8b, r8b
je 0x1800026b0
nop
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002640
test r9b, r9b
je 0x1800026c0
sub rsi, rcx
je 0x1800026c2
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop word [rax + rax]
movzx edx, word [r15 + rbx*2]
movsx r13d, byte [rcx + rbx]
lea r12d, [rdx - 0x41]
lea ebp, [rdx + 0x20]
cmp r12w, 0x1a
cmovae ebp, edx
lea r12d, [r13 - 0x41]
lea edi, [r13 + 0x20]
cmp r12b, 0x1a
cmovae edi, r13d
cmp ebp, edi
jne 0x18000269d
test dx, dx
je 0x1800026c2
add rbx, 1
cmp rsi, rbx
jne 0x180002660
jmp 0x1800026c2
mov r14, qword [r14]
cmp r14, r10
jne 0x180002637
jmp 0x1800026ca
jmp 0x1800026b0
jmp 0x1800026c0
mov rax, qword [r14 + 0x30]
jmp 0x1800026ca
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400038d0
Capabilities:
Check for sandbox username or hostname
Get hostname
Get system firmware table

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x14007b080]
xor rax, rsp
mov qword [rbp + 0x40], rax
lea rax, str.avast
mov qword [rsp + 0x70], rax
lea rax, [0x14006db8c]
mov qword [rsp + 0x78], rax
lea rax, str.bitdefender
mov qword [rbp - 0x80], rax
lea rax, str.cuckoo
mov qword [rbp - 0x78], rax
lea rax, str.malware
mov qword [rbp - 0x70], rax
lea rax, str.sandbox
mov qword [rbp - 0x68], rax
lea rax, str.virtual
mov qword [rbp - 0x60], rax
lea rax, str.vmware
mov qword [rbp - 0x58], rax
lea rax, str.virtualbox
mov qword [rbp - 0x50], rax
lea rax, str.qemu
mov qword [rbp - 0x48], rax
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x140003b29
movdqa xmm0, xmmword [0x14006e550]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
lea rax, [rbp - 0x40]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400039b0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.140002180
nop
lea rbx, [rsp + 0x70]
nop
mov rdx, qword [rbx]
lea rcx, [rsp + 0x50]
call fcn.1400070e0
cmp rax, 0xffffffffffffffff
jne 0x140003aeb
add rbx, 8
lea rax, [rbp - 0x40]
cmp rbx, rax
jne 0x1400039d0
mov dword [rsp + 0x20], 0x80
mov r9d, 0x80
lea r8, [rbp - 0x40]
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
je 0x140003aae
movdqa xmm0, xmmword [0x14006e550]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rax, [rbp - 0x40]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140003a32
mov r8, rdi
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.140002180
lea rbx, [rsp + 0x70]
mov rdx, qword [rbx]
lea rcx, [rsp + 0x30]
call fcn.1400070e0
cmp rax, 0xffffffffffffffff
jne 0x140003ab2
add rbx, 8
lea rax, [rbp - 0x40]
cmp rbx, rax
jne 0x140003a51
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140003aae
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003aa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b50
call fcn.140030d20
xor bl, bl
jmp 0x140003aed
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140003aeb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ae6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b56
call fcn.140030d20
mov bl, 1
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140003b26
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b4a
call fcn.140030d20
movzx eax, bl
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140030cc0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14003523c
nop
call fcn.14003523c
nop
call fcn.14003523c
int3
Function at 0x140008490
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1400084f1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1400084b0
mov ecx, dword [r10]
jmp 0x1400085da
cmp ecx, 0x4e0
jb 0x1400085da
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140008510
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop word [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140008560
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1400093d0
Capabilities:
Encrypt data using rc4 prga

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 rsi, qword [rsp + 0x48]
xor ebp, ebp
mov rax, qword [rsp + 0x50]
mov r12, r9
mov r11, qword [rsp + 0x60]
mov r13, r8
mov r14, rdx
mov qword [rsi], r8
mov qword [r11], rax
mov rax, qword [rsi]
cmp rax, r9
je 0x140009564
mov r15, qword [rsp + 0x58]
lea r8d, [rbp + 1]
mov rbx, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
cmp rbx, r15
je 0x140009564
movzx edx, word [r14]
xor dil, dil
movzx ecx, word [rax]
cmp r8w, dx
jae 0x14000946a
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x14000958a
movzx eax, dx
movzx ecx, cx
shl eax, 0xa
sub ecx, 0xdc00
or eax, ecx
jmp 0x140009486
mov edx, 0x2800
movzx eax, cx
add cx, dx
cmp cx, r9w
ja 0x140009486
shl eax, 0xa
mov dil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140009499
movzx r9d, al
mov r10d, ebp
mov r8d, ebp
jmp 0x1400094e3
mov r9d, eax
cmp eax, 0x800
jae 0x1400094b0
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
jmp 0x1400094e3
cmp eax, 0x10000
jae 0x1400094ca
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov r8d, r10d
jmp 0x1400094e3
shr r9d, 0x12
mov r10d, 3
movzx r8d, dil
or r9b, 0xf0
xor r8d, 1
add r8d, r8d
inc r8d
mov rdx, r15
sub rdx, rbx
mov ecx, r8d
cmp rdx, rcx
jl 0x140009564
add qword [rsi], 2
test dil, dil
jne 0x140009503
cmp r10d, 3
jae 0x14000950f
mov rcx, qword [r11]
mov byte [rcx], r9b
inc qword [r11]
dec r8d
test r8d, r8d
jle 0x140009541
lea r9d, [r10 + r10*2]
add r9d, r9d
nop dword [rax + rax]
sub r9d, 6
mov edx, eax
mov ecx, r9d
dec r8d
shr edx, cl
mov rcx, qword [r11]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [r11]
test r8d, r8d
jg 0x140009520
mov r8d, 1
test dil, dil
je 0x140009551
shr eax, 0xa
jmp 0x140009554
mov eax, r8d
mov word [r14], ax
mov rax, qword [rsi]
cmp rax, r12
jne 0x140009421
cmp r13, qword [rsi]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x14000956d
Function at 0x1400355ac
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140035437
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140035437
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140035437
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140035437
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140035437
cmp dword [rcx + 0x84], 0xe
jbe 0x140035437
cmp dword [rcx + 0xf8], 0
je 0x140035437
mov ecx, ebx
call fcn.1400354d8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400352b4
cmp dword [rbp + 0x20], 0
je 0x140035484
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003548c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400353d0
Function at 0x180001350
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
movsxd rbp, dword [0x18003bcac]
lea r12, [0x18003bc70]
xor ecx, ecx
mov r8d, 0x1000
mov edx, dword [r12 + rbp + 0x50]
lea r14, [rbp + 0x108]
lea r9d, [rcx + 0x40]
add r14, r12
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rcx, str.Copying_sections..._n
mov rsi, rax
call fcn.1800012f0
mov r8d, dword [r12 + rbp + 0x54]
mov rdx, r12
mov rcx, rsi
call fcn.180027840
xor r15d, r15d
mov edi, r15d
cmp r15w, word [r12 + rbp + 6]
jae 0x18000142a
mov ebx, r15d
nop dword [rax]
mov edx, dword [rbx + r14 + 0x14]
mov ecx, dword [rbx + r14 + 0xc]
add rdx, r12
mov r8d, dword [rbx + r14 + 0x10]
add rcx, rsi
call fcn.180027840
mov r9d, dword [rbx + r14 + 0x14]
mov r8d, dword [rbx + r14 + 0xc]
add r9, r12
movsxd rax, edi
add r8, rsi
lea rcx, [rax + rax*4]
mov eax, dword [rbx + r14 + 0x10]
lea rdx, [r14 + rcx*8]
mov dword [rsp + 0x20], eax
lea rcx, str._s:__p_____p___08x__n
call fcn.1800012f0
movzx eax, word [r12 + rbp + 6]
lea rbx, [rbx + 0x28]
inc edi
cmp edi, eax
jl 0x1800013d0
mov r10d, dword [r12 + rbp + 0xb0]
mov r9, rsi
sub r9, qword [r12 + rbp + 0x30]
add r10, rsi
cmp dword [r10], r15d
je 0x1800014b4
nop dword [rax]
nop word [rax + rax]
mov r11d, dword [r10 + 4]
mov r8, r15
sub r11, 8
shr r11, 1
je 0x1800014a8
movzx eax, word [r10 + r8*2 + 8]
mov edx, eax
shr eax, 0xc
and edx, 0xfff
add edx, dword [r10]
add rdx, rsi
sub eax, 1
je 0x180001496
sub eax, 1
je 0x180001490
sub eax, 1
je 0x18000148b
cmp eax, 7
jne 0x1800014a0
add qword [rdx], r9
jmp 0x1800014a0
add word [rdx], r9w
jmp 0x1800014a0
mov rax, r9
shr rax, 0x10
add word [rdx], ax
inc r8
cmp r8, r11
jb 0x180001460
mov eax, dword [r10 + 4]
add r10, rax
cmp dword [r10], r15d
jne 0x180001450
lea rcx, str.Handled_relocations..._n
call fcn.1800012f0
mov r15d, dword [r12 + rbp + 0x90]
add r15, rsi
mov eax, dword [r15]
test eax, eax
je 0x18000154b
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r15 + 0xc]
mov r14d, dword [r15 + 0x10]
add rcx, rsi
mov ebx, eax
add r14, rsi
add rbx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x180001594
mov rcx, qword [rbx]
test rcx, rcx
je 0x18000153f
sub r14, rbx
test rcx, rcx
jns 0x18000151a
movzx edx, cx
jmp 0x180001521
lea rdx, [rsi + 2]
add rdx, rcx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180001594
mov qword [r14 + rbx], rax
add rbx, 8
mov rcx, qword [rbx]
test rcx, rcx
jne 0x180001513
mov eax, dword [r15 + 0x14]
add r15, 0x14
test eax, eax
jne 0x1800014e0
lea rcx, str.Handled_imports..._n
call fcn.1800012f0
mov eax, dword [r12 + rbp + 0x28]
xor r8d, r8d
add rax, rsi
mov qword [0x1809c6b48], rsi
mov rcx, rsi
lea edx, [r8 + 1]
call rax
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
xor eax, eax
jmp 0x180001575
Function at 0x180001870
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x180001880
xor eax, eax
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x1800016a0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180001910
Capabilities:
Hash data using fnv

Disassembly:
movzx eax, byte [rdx + 1]
movabs r10, 0x100000001b3
movzx r8d, byte [rdx]
movabs r9, 0xcbf29ce484222325
movzx ecx, byte [rdx + 8]
xor r8, r9
imul r8, r10
xor rcx, r9
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, r10
imul rcx, r10
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, r10
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, r10
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, r10
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, r10
xor r8, rax
movzx eax, byte [rdx + 7]
imul r8, r10
xor r8, rax
movzx eax, byte [rdx + 9]
xor rcx, rax
movzx eax, byte [rdx + 0xa]
imul rcx, r10
imul r8, r10
xor rcx, rax
movzx eax, byte [rdx + 0xb]
imul rcx, r10
xor rcx, rax
movzx eax, byte [rdx + 0xc]
imul rcx, r10
xor rcx, rax
movzx eax, byte [rdx + 0xd]
imul rcx, r10
xor rcx, rax
movzx eax, byte [rdx + 0xe]
imul rcx, r10
xor rcx, rax
movzx eax, byte [rdx + 0xf]
imul rcx, r10
xor rcx, rax
imul rcx, r10
lea rax, [rcx + rcx]
xor rax, r8
ret