joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ef020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ef0e6
push rbp
mov rbp, rsp
sub rsp, 0x30
movabs rdx, 0x51f961f67770e68e
mov qword [rsp + 0x24], rdx
mov dword [rsp + 0x2c], 0x7726575
movabs rdx, 0x6020301010b0100
mov qword [rsp + 0x18], rdx
mov dword [rsp + 0x20], 0x1060304
xor eax, eax
jmp 0x4ef080
movzx r9d, byte [rsp + rsi + 0x24]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x6f]
mov byte [rsp + rdi + 0x24], dl
mov byte [rsp + rsi + 0x24], r8b
add rax, 2
nop
cmp rax, 0xc
jge 0x4ef0b2
movzx edx, byte [rsp + rax + 0x18]
movzx esi, byte [rsp + rax + 0x19]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xc
jae 0x4ef0d7
movzx r8d, byte [rsp + rdi + 0x24]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x6f]
cmp rsi, 0xc
jb 0x4ef064
jmp 0x4ef0cb
xor eax, eax
lea rbx, [rsp + 0x24]
mov ecx, 0xc
nop
call fcn.004415e0
add rsp, 0x30
pop rbp
ret
mov eax, esi
mov ecx, 0xc
call fcn.00451e00
mov eax, edi
mov ecx, 0xc
nop
call fcn.00451e00
nop
call fcn.0044fb80
jmp fcn.004ef020

Function at 0x4ef500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ef5ea
push rbp
mov rbp, rsp
sub rsp, 0x48
movabs rdx, 0x38e365563c3b1236
mov qword [rsp + 0x33], rdx
movabs rdx, 0x3a084c743938e365
mov qword [rsp + 0x38], rdx
movabs rdx, 0x7359754a3b47ec4e
mov qword [rsp + 0x40], rdx
movabs rdx, 0xe0806030d110b11
mov qword [rsp + 0x1d], rdx
movabs rdx, 0x7010d0208000e08
mov qword [rsp + 0x23], rdx
movabs rdx, 0x100710030c070413
mov qword [rsp + 0x2b], rdx
xor eax, eax
jmp 0x4ef58d
movzx r9d, byte [rsp + rsi + 0x33]
sub r9d, edx
lea edx, [r9 + 0x3f]
mov byte [rsp + rdi + 0x33], dl
lea edx, [r8 + 0x3f]
mov byte [rsp + rsi + 0x33], dl
add rax, 2
cmp rax, 0x16
jge 0x4ef5ba
movzx edx, byte [rsp + rax + 0x1d]
movzx esi, byte [rsp + rax + 0x1e]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x15
jae 0x4ef5dd
movzx r8d, byte [rsp + rdi + 0x33]
sub r8d, edx
cmp rsi, 0x15
jb 0x4ef570
jmp 0x4ef5d1
xor eax, eax
lea rbx, [rsp + 0x33]
mov ecx, 0x15
call fcn.004415e0
add rsp, 0x48
pop rbp
ret
mov eax, esi
mov ecx, 0x15
call fcn.00451e00
mov eax, edi
mov ecx, 0x15
call fcn.00451e00
nop
call fcn.0044fb80
jmp fcn.004ef500
Function at 0x4fa3e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4fa4d9
push rbp
mov rbp, rsp
sub rsp, 0x38
mov qword [rsp + 0x48], rax
nop
movabs rdx, 0x87cf8a63ba49432d
mov qword [rsp + 0x1e], rdx
mov word [rsp + 0x26], 0x9f5a
xor ecx, ecx
jmp 0x4fa42c
lea rdx, [0x005200e8]
movzx esi, byte [rcx + rdx]
movzx edi, byte [rsp + rcx + 0x1e]
add esi, edi
mov byte [rsp + rcx + 0x1e], sil
inc rcx
cmp rcx, 0xa
jl 0x4fa412
mov rdx, qword [0x007258d0]
mov rcx, rbx
mov rbx, rax
mov rax, rdx
call fcn.00481c20
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rax
nop
mov rcx, rbx
lea rax, [0x00504440]
nop dword [rax]
call fcn.0043e100
mov rdx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
xor ecx, ecx
jmp 0x4fa488
movzx r8d, byte [rsp + rax + 0x1e]
xor edx, r8d
mov byte [rbx + rcx], dl
inc rcx
mov rax, rbx
mov rdx, rdi
cmp rdx, rcx
jle 0x4fa4c2
mov rbx, rax
movabs rax, 0xcccccccccccccccd
mov rdi, rdx
imul rcx
add rdx, rcx
sar rdx, 3
lea rdx, [rdx + rdx*4]
shl rdx, 1
mov rax, rcx
sub rax, rdx
movzx edx, byte [rcx + rsi]
cmp rax, 0xa
jb 0x4fa473
nop
jmp 0x4fa4ce
mov rbx, rdx
mov rcx, rbx
add rsp, 0x38
pop rbp
ret
mov ecx, 0xa
call fcn.00451e00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0044fb80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004fa3e0
Function at 0x181b33eec
Capabilities:
Encode data using xor

Disassembly:
jmp 0x181b33ef6
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x181b33f1f
pop rbp
sub rbp, 0x33
sub rbp, 0x1b33eec
cmp edx, 1
je 0x181b33f62
ldmxcsr dword [rsp]
add rsp, 8
popfq
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rbx
pop rdx
pop rcx
pop rax
xor rax, rax
ret
sub rsp, 0x20
jmp 0x181b33f72
mov rax, 0x1b33eec
add rax, rbp
add rax, 0xb8
mov rcx, 0x60b
mov rdx, 0x2c9570fe
xor byte [rax], dl
inc rax
dec rcx
jne 0x181b33f91
jmp 0x181b33fa8
mov dh, 0x77
invalid

Function at 0x140057000
Capabilities:
Encode data using xor

Disassembly:
lea rax, section..text
movabs rcx, 0x24a00
xor byte [rax], 0x41
inc rax
loop 0x140057011
jmp loc.140004848
Function at 0x2fc4ca960
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cb362
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ef108]
test eax, eax
je 0x2fc4cb3fa
lea rax, [0x2fc4ef0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ef110]
mov qword [rbp - 8], rax
jmp 0x2fc4cb3de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cb3d2
cmp qword [rbp - 0x10], 0
je 0x2fc4cb3d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cb398
lea rax, [0x2fc4ef0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cb3fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cb500
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cb528
mov eax, 0
jmp 0x2fc4cb576
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cb551
mov eax, 0
jmp 0x2fc4cb576
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cb571
mov eax, 0
jmp 0x2fc4cb576
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cb57c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cb5fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cb5f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cb5f1
mov rax, qword [rbp - 8]
jmp 0x2fc4cb60f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cb5c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180002171
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180075250
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x18009b080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x18009e428]
xor r11d, r11d
lea rdi, [0x180085474]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x1800752c0
mov rax, 0xfffffffffffffffe
jmp 0x18007540d
cmp word [r10 + 6], r11w
jne 0x18007532f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1800752ea
test r14, r14
je 0x1800752db
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x18007540d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1800752f8
mov r8b, 2
jmp 0x180075316
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x180075306
mov r8b, 3
jmp 0x180075316
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x180075402
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x180075358
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x180075402
cmp bl, bpl
jb 0x180075402
cmp bl, r8b
jae 0x180075402
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x180075385
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x180075402
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x180075367
cmp r9, rbp
jae 0x1800753b1
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1800752b4
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x180075402
cmp edx, 0x110000
jae 0x180075402
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x180075402
test r14, r14
je 0x1800753f0
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.180003a5d
jmp 0x18007540d
mov rdx, rsi
mov rcx, r10
call fcn.1800040cf
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800025f4
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
jmp 0x180009394
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x180009421
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x180009421
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180009421
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x180009408
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180009402
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x18000940a
add rdx, 0x28
jmp 0x1800093e7
xor edx, edx
test rdx, rdx
jne 0x180009413
xor al, al
jmp 0x180009427
cmp dword [rdx + 0x24], 0
jge 0x18000941d
xor al, al
jmp 0x180009427
mov al, 1
jmp 0x180009427
xor al, al
jmp 0x180009427
add rsp, 0x18
ret
Function at 0x1800024eb
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1800792dc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18007930a
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x180079363
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
xor edx, edx
mov r8d, r9d
neg r8
and r8, rbx
lea ecx, [r9 - 1]
mov eax, ecx
and ecx, ebx
and eax, edi
add eax, ecx
dec rax
add rax, r9
div r9
xor edx, edx
mov rcx, rax
mov rax, rdi
div r9
add rcx, rax
mov eax, ecx
test ecx, ecx
je 0x180079363
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x180079355
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x180002734
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x18001e1f4
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x180086438]
mov ecx, 2
lea r8, [0x180086430]
lea rdx, str.FlsGetValue
call fcn.18001dcc4
mov ecx, ebx
test rax, rax
je 0x18001e22e
add rsp, 0x20
pop rbx
jmp qword [0x1800a8020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x180002888
Capabilities:
Query environment variable

Disassembly:
jmp 0x180059934
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 0x180059964
xor eax, eax
jmp 0x180059a27
mov rbp, rbx
cmp word [rax], si
je 0x180059989
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180059970
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18005996c
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.180003224
movsxd r14, eax
test eax, eax
jne 0x1800599c7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18005995d
mov rcx, r14
call fcn.180001037
mov rdi, rax
test rax, rax
jne 0x1800599e0
xor ecx, ecx
call fcn.180001172
jmp 0x1800599bc
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.180003224
test eax, eax
jne 0x180059a11
mov rcx, rdi
call fcn.180001172
jmp 0x180059a1b
xor ecx, ecx
call fcn.180001172
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 0x180002892
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x18001e144
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1800863f8]
xor ecx, ecx
lea r8, [0x1800863f0]
lea rdx, str.FlsAlloc
call fcn.18001dcc4
test rax, rax
je 0x18001e17d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1800a8020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x18000290a
Capabilities:
Get geographical location

Disassembly:
jmp 0x18005bdbc
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x180087f88]
mov rbp, rcx
lea r8, [0x180087f80]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.18005b2dc
test rax, rax
je 0x18005be1c
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1800a8030]
jmp 0x18005be36
xor edx, edx
mov rcx, rbp
call fcn.180002211
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x18000291e
Capabilities:
Terminate process

Disassembly:
jmp 0x1800089b0
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x180002a6d
Capabilities:
Parse pe header

Disassembly:
jmp 0x18001fea0
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x18001fbfc

Function at 0x180002c02
Capabilities:
Parse pe header

Disassembly:
jmp 0x180079da0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180079dc8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180079dc8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x18000319d
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x180079ce0
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x180079d21
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x180079d15
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x180079d23
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x180079d03
xor eax, eax
ret

Function at 0x180003391
Capabilities:
Terminate process

Disassembly:
jmp 0x18001f404
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18001f41e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.180003a71
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x180003986
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x18007939c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x180079414
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x180079414
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x180079414
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x180079408
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x180079426
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1800793f6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x180079416

Function at 0x180003b4d
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x18001e24c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x180086458]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x180086450]
call fcn.18001dcc4
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x18001e28c
call qword [0x1800a8020]
jmp 0x18001e292
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180003cdd
Capabilities:
Parse pe header

Disassembly:
jmp 0x18001fe90
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 0x18001fc6b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001fc6b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18001fc6b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18001fc6b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18001fc6b
cmp dword [rcx + 0x84], 0xe
jbe 0x18001fc6b
cmp dword [rcx + 0xf8], 0
je 0x18001fc6b
mov ecx, ebx
call fcn.18001fdd4
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.18001f954
nop
cmp dword [rbp + 0x20], 0
je 0x18001fcb9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18001fcf4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18001fbfc
Function at 0x140001861
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
lea rcx, [0x1400457f0]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x68]
call fcn.1400033e0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x10
jle 0x140001828
jmp 0x14000193a
mov eax, dword [rsp + 0x20]
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
test eax, eax
je 0x140001851
mov eax, dword [rsp + 0x20]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
inc eax
imul eax, eax, 0x10
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, rax
call fcn.14001e78c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000187a
jmp 0x14000193a
movsxd rax, dword [rsp + 0x20]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1400424c0
mov rcx, qword [rsp + 0x68]
call fcn.1400033e0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x68]
call fcn.14000706c
mov rcx, qword [rsp + 0x38]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.140042180
mov rax, qword [rsp + 0x60]
add rax, 8
mov r8d, 0x100
lea rdx, str.cw
mov rcx, rax
call fcn.140042180
mov rax, qword [rsp + 0x60]
add rax, 0x108
mov r8d, 0x100
lea rdx, [0x1400456f0]
mov rcx, rax
call fcn.140042180
mov rax, qword [rsp + 0x60]
add rax, 0x208
mov r8, rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.1400024e4
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x70]
mov dword [rax + 0x2b8], ecx
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14001e7cc
mov rcx, qword [rsp + 0x68]
call fcn.140001994
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret

Function at 0x140001f30
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp], 0
mov eax, 1
imul rax, rax, 0
mov cl, byte [rsp + 0x30]
mov byte [rsp + rax + 8], cl
mov dword [rsp + 4], 1
jmp 0x140001f6b
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 4
jge 0x140001fb8
mov eax, dword [rsp + 4]
dec eax
cdqe
movzx eax, byte [rsp + rax + 8]
shl eax, 1
movsxd rcx, dword [rsp + 4]
mov byte [rsp + rcx + 8], al
mov eax, dword [rsp + 4]
dec eax
cdqe
movzx eax, byte [rsp + rax + 8]
and eax, 0x80
test eax, eax
je 0x140001fb6
movsxd rax, dword [rsp + 4]
movzx eax, byte [rsp + rax + 8]
xor eax, 0x1b
movsxd rcx, dword [rsp + 4]
mov byte [rsp + rcx + 8], al
jmp 0x140001f61
mov dword [rsp + 4], 0
jmp 0x140001fcc
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 4
jge 0x140001ffc
movzx eax, byte [rsp + 0x28]
mov ecx, dword [rsp + 4]
sar eax, cl
and eax, 1
test eax, eax
je 0x140001ffa
movsxd rax, dword [rsp + 4]
movzx eax, byte [rsp + rax + 8]
movzx ecx, byte [rsp]
xor ecx, eax
mov eax, ecx
mov byte [rsp], al
jmp 0x140001fc2
mov al, byte [rsp]
add rsp, 0x18
ret
Function at 0x1400166c0
Capabilities:
Encrypt data using chaskey

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1b8
lea rcx, [loc.140042ca0]
jmp loc.1400ef1b8