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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x357cc2b17
movzx edx, byte [rax]
test edx, edx
jne 0x357cc29d4
nop dword [rax]
test r8b, r8b
jne 0x357cc29d4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x357cc29e7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x357cc2ad7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x357cc2ac5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x357cc2ab7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x357cc2a3d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x357cc2a80
mov eax, 1
cmp rax, rbx
ja 0x357cc2a6b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.357cd6240
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x357cc2aaf
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x357cc2a73
mov rcx, r11
mov eax, r12d
jmp 0x357cc2a42
mov rcx, rbx
call fcn.357cd6180
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.357cd6180
mov eax, r8d
mov rcx, rbx
call fcn.357cd6240
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x357cc2b0d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x357cc2ad0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x357cc29ed
mov eax, edx
mov rcx, rbx
call fcn.357cd6180
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.357cd6180
nop
int3

Function at 0x357cc86e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x357cc8795
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.357cc6360
nop
test bl, bl
je 0x357cc878f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x357cc87e0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.357cd3d60
xorps xmm15, xmm15
mov r14, qword [0x357efdad0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
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.357cd3e80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.357cc86e0
Function at 0x357ccb6e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x357ccb78f
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, [0x357ccb7e0]
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 + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.357cd3d60
xorps xmm15, xmm15
mov r14, qword [0x357efdad0]
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.357cd3e80
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.357ccb6e0
Function at 0x357cd5c80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x357c749c3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.357c7b200
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.357cd3e80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x357c749a0
cmp byte [0x357efd8cb], 0
je 0x357cd5c95
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x357cd2ee0
jmp 0x357c749a0

Function at 0x357cd5ca0
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 [0x357efdba0]
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 [0x357efd8cb], 0
je 0x357cd5cd5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x357efdec0]
aesenc xmm0, xmmword [0x357efded0]
aesenc xmm0, xmmword [0x357efdee0]
movq rax, xmm0
ret
jmp 0x357c7b420

Function at 0x357cd5ce0
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 [0x357efdba0]
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 [0x357efd8cb], 0
je 0x357cd5d16
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x357efdec0]
aesenc xmm0, xmmword [0x357efded0]
aesenc xmm0, xmmword [0x357efdee0]
movq rax, xmm0
ret
jmp 0x357c7b480

Function at 0x357ce5420
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x357ce54ea
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.357c73f20
xorps xmm15, xmm15
mov r14, qword [0x357efdad0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x357ce54cf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x357d78420]
xor ebx, ebx
mov rcx, rdx
call fcn.357cbb7a0
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.357ce5fc0
inc rbx
cmp rcx, rbx
jae 0x357ce54be
mov edi, 1
lea rsi, [0x357d78420]
call fcn.357cbb880
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, [0x357dca6f8]
lea rsi, [0x357dc9b18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.357cd3e80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.357ce5420
Function at 0x357cf5a80
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x357cf5cbb
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x357cf5b1a
mov qword [rsp + 0x88], rax
lea rbx, [0x357d96a00]
mov rcx, rax
lea rax, [0x357e78680]
call fcn.357cdb960
test cl, cl
jne 0x357cf5b03
mov rax, qword [rsp + 0x88]
call fcn.357cf4da0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x28]
lea rbx, [0x357dc8d58]
call fcn.357cbf560
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
call fcn.357cf6e40
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x357cf5b37
lea rdx, [0x357d93ca0]
cmp rax, rdx
jne 0x357cf5b25
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call fcn.357cd1ac0
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x357d7c120]
call fcn.357c7bf20
inc rdx
cmp rbx, rdx
jle 0x357cf5b81
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x357cf5b34
lea rax, [0x357e78680]
lea rbx, [0x357d96a00]
lea rdi, [0x357d93ca0]
nop dword [rax + rax]
call fcn.357cdbb20
lea rdx, [0x357d93ca0]
cmp rax, rdx
jne 0x357cf5cab
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x357d747e0]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rcx
lea rax, [0x357d828c0]
call fcn.357c7f2a0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x357efdb00], 0
nop
je 0x357cf5bdb
mov rbx, rax
lea rax, [0x357d828c0]
call fcn.357c849c0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x48]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call fcn.357c71900
call fcn.357cd1bc0
mov rsi, qword [rsp + 0x70]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x357cf5c42
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x357cf5c34
mov dword [rsi + 0x10], edx
cmp dword [0x357efdb00], 0
je 0x357cf5c63
call fcn.357cd5de0
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x357e78680]
lea rbx, [0x357d96a00]
lea rdi, [0x357d93ca0]
nop dword [rax]
call fcn.357cdbb20
lea rdx, [0x357d93ca0]
cmp rax, rdx
jne 0x357cf5c9c
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x357d7c120]
call fcn.357c7bf20
mov rbx, rdx
lea rcx, [0x357d7c120]
call fcn.357c7bf20
nop
mov qword [rsp + 8], rax
call fcn.357cd3e80
mov rax, qword [rsp + 8]
jmp fcn.357cf5a80
Function at 0x357d55240
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x357d5532d
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
lea rcx, [rbx + 1]
nop dword [rax + rax]
test rcx, rcx
jle 0x357d55319
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rcx
nop dword [rax]
call fcn.357d55360
xorps xmm15, xmm15
mov r14, qword [0x357efdad0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x18]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rcx
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x60]
cmp rbx, rcx
mov rsi, rcx
cmovl rsi, rbx
mov rdi, qword [rsp + 0x58]
cmp rdi, rdx
jne 0x357d552d3
cmp rbx, rcx
jmp 0x357d55305
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rax
mov rax, rdx
mov rbx, rdi
mov rcx, rsi
call fcn.357cd6b00
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x18]
cmp rax, rcx
mov rdx, qword [rsp + 0x40]
mov rbx, rax
mov rax, qword [rsp + 0x38]
jae 0x357d55311
mov byte [rdx + rbx], 0
add rsp, 0x48
pop rbp
ret
mov rax, rbx
call fcn.357cd6180
lea rax, [0x357d78320]
lea rbx, [0x357dc9cc8]
call fcn.357ca6400
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.357cd3e80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.357d55240

Function at 0x357d559a0
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [0x357f01568], rax
mov rax, qword [0x357f01568]
test rax, rax
jne 0x357d55a0a
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov r9, rax
mov r8d, 0x3d
mov edx, 1
lea rax, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
lea rax, [0x357f01540]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call rax
nop
add rsp, 0x20
pop rbp
ret
Function at 0x357d55d06
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov dword [rbp - 4], 0
jmp 0x357d55d76
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0xffffffffffffffff
jne 0x357d55d69
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call rax
mov eax, dword [rax]
cmp eax, 0xd
jne 0x357d55d69
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x357d55d72
cmp qword [rbp - 0x10], 0xffffffffffffffff
jne 0x357d55daf
jmp 0x357d55d7c
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0x13
jle 0x357d55d22
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call rax
mov ebx, dword [rax]
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rcx, rax
mov r8d, ebx
lea rax, str.runtime:_failed_to_create_new_OS_thread___d__n
mov rdx, rax
call fcn.357d56ee0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
add rsp, 0x38
pop rbx
pop rbp
ret

Function at 0x357d56100
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.357d56ec0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]
Function at 0x357d56170
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x357f015d4]
test esi, esi
mov rbx, rcx
jle 0x357d562a0
mov rax, qword [0x357f015d8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x357d561bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x357d56245
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x357d561a0
mov rcx, rbx
call fcn.357d569d0
test rax, rax
mov rdi, rax
je 0x357d562c2
mov rax, qword [0x357f015d8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.357d56b10
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x357f015d8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x357d562a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x357d5623e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x357d56250
add dword [0x357f015d4], 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 [0x357f015d8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x357d5623e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.357d56100
nop dword [rax]
xor esi, esi
jmp 0x357d561c8
mov rax, qword [0x357f015d8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.357d56100
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.357d56100
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x357d56640
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x357f01600]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x357f015e0]
test rbx, rbx
je 0x357d5669c
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 0x357d56693
test rsi, rsi
je 0x357d56693
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x357d56678
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 0x357d569d0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x357d56a50
Capabilities:
Parse pe header

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

Function at 0x357d56b10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x357e6f4e0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x357d56b2f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x357d56b38
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001470
Capabilities:
Get memory capacity
Get system information on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov ebx, 0x40
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x28]
shr rax, 0x14
cmp eax, 0xc00
jl 0x14000158d
cmp dword [rsp + 0x80], 4
jl 0x14000158d
mov edi, 0x5b0
mov r9d, ebx
mov edx, edi
mov r8d, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x140001514
lea eax, [rbx + 1]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400015b0
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
call fcn.14000125c
lea rax, [rbx + 0x5b0]
mov qword [0x140004ce0], rbx
mov r8, rdi
mov qword [0x140004cd8], rax
mov edx, 0xffffff90
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
lea rdi, [rbx + 0x20]
mov r8d, 0x570
mov rcx, rdi
lea rdx, [0x1400040d0]
call sub.VCRUNTIME140.dll_memcpy
call fcn.140001364
lea rdx, [0x140001230]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
test rax, rax
je 0x140001575
call rdi
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400014f3
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140001e8c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ed6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ed6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ed6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ed6
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ed6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ed8
xor al, al
add rsp, 0x28
ret
Function at 0x1724058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.017241df
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 0x1724089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x172406f
add dl, dl
jne 0x1724096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x17240f6
xor eax, eax
add dl, dl
jne 0x17240a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x17241ad
add dl, dl
jne 0x17240b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17240c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17240d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17240dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x17240ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x172407e
mov eax, 1
add dl, dl
jne 0x1724106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1724113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x17240fb
sub eax, ebx
mov ebx, 1
jne 0x172414c
mov ecx, 1
add dl, dl
jne 0x172412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x172413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1724123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x172407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1724168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1724175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x172415d
cmp eax, 0x7d00
jae 0x172419b
cmp eax, 0x500
jb 0x1724196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x172407e
cmp eax, 0x7f
ja 0x172419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x172407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x17241d2
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 0x172407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x100411cd0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
lea rcx, [0x100412270]
call 0x100411cb0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call 0x100411cd0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call 0x100411ce0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100411cf0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
add rsp, 0x28
jmp 0x100411d00
hlt
xor al, 0x1d
xor rax, 0xffffffffbf7c3434
mov edi, 0x34343544
jl 0x100411bf4
std
test al, 0x41
xor ecx, dword [rcx - 0x67]
or byte [rdx], bh
xor al, 0x80
mov ebp, 0x343544ef
xor al, 0x80
mov edi, 0x49c17cf9
or al, 0x19
or al, 0x19
cmp dh, byte [rsp + rdi*2]
sar dword [rdi + 0x34343544], 0x1c
xor al, 0x34
mov edi, 0x34343544
sbb al, 0x4c
xor al, 0x34
mov edi, 0x43f4b924
mov esp, 0x343436c5
jl 0x100411c2c
invalid
mov bh, 0x44
xor eax, 0xc17c3434
mov edi, 0x343434f4
jne 0x100411c67
xor eax, 0x7c343434
mov ebp, 0x3434fcb7
xor al, 0x78
mov ebp, 0xc7c17c35
fdiv qword [rsp + rsi]
xor al, 0x9a
js 0x100411c50
mov bh, 0xec
xor al, 0x34
xor al, 0x7c
mov ebp, 0x3434e4bf
xor al, 0x78
mov ebp, 0x7bea4336
xchg esp, eax
mov esp, 0x343578b7
xor al, 0xbf
or dword [rcx + rdi*4 - 3], 0x43
mov eax, 0x3434356c
jne 0x100411d18
xor al, 0x34
jl 0x100411c57
mov edi, 0x343434e4
js 0x100411c5e
invalid
cld
mov r8d, 0x3434355b
jne 0x100411d21
cld
test al, 0x56
push rsi
jne 0x100411d26
cld
test al, 0x46
jne 0x100411d3b
cld
mov r9d, 0x34343553
xor al, 0x34
jns 0x100411c96
lodsb al, byte [rsi]
push rbx
sbb eax, 0x3434354a
jne 0x100411cd1
xor al, 0x34
xor al, 0x34
xor al, 0x1d
invalid
xor al, 0x34
jl 0x100411cc4
sbb byte [rax - 0x64], 0x80
sar dword [rax + 0x58], 0x94
mov edi, 0x24791c04
xor esi, dword [rbx]
mov edi, 0x43f4b924
mov esp, 0x3434364b
mov r12d, 0x3434364b
jl 0x100411cdf
movabs al, byte [0x7c73a921b97c9458]
mov edi, 0x3c1cc641
xor al, 0x7c
sar dword [rcx], 0xbf
sbb al, 0x3c
xor al, 0x7c
outsd dx, dword [rsi]
cld
mov r8d, 0x343436ca
sub dh, byte [rbp + 0x50]
xor eax, 0x36c0b843
xor al, 0x34
pop rax
xchg esp, eax
jl 0x100411cde
and dword [rcx + 0x41bf7c73], ebp
test eax, 0x41bf7c73
invalid
retf 0x3436
xor al, 0x34
ror dword [rcx + 0x7dbf7c73], 0x44
add cl, 0x39
test byte [rbx + 0x3b], 0x34
jne 0x100411d46
scasd eax, dword [rdi]
xor al, 0x3b
mov ah, 0x1c
sbb esp, dword [rdx]
invalid