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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140068b0a
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 [0x1401ebe10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x140068aef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x1400d1200]
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 0x140068ade
mov edi, 1
lea rsi, [0x1400d1200]
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, [0x140111d20]
lea rsi, [0x1401113f0]
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 0x14006f8c0
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x14006f92b
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x14006f8e4
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x14006f901
cmp rdx, 0
je 0x14006f94d
test rdx, 0xf
je 0x14006f8dd
test rdx, 7
jne 0x14006f901
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x14006f8dd
ret
Function at 0x14007cee0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x14007cf1f
jb 0x14007cf34
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesenclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x14007cfa0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x14007d074
jb 0x14007d0d3
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call dbg._expand_key_256a
aeskeygenassist xmm1, xmm0, 1
call dbg._expand_key_256b
aeskeygenassist xmm1, xmm2, 2
call dbg._expand_key_256a
aeskeygenassist xmm1, xmm0, 2
call dbg._expand_key_256b
aeskeygenassist xmm1, xmm2, 4
call dbg._expand_key_256a
aeskeygenassist xmm1, xmm0, 4
call dbg._expand_key_256b
aeskeygenassist xmm1, xmm2, 8
call dbg._expand_key_256a
aeskeygenassist xmm1, xmm0, 8
call dbg._expand_key_256b
aeskeygenassist xmm1, xmm2, 0x10
call dbg._expand_key_256a
aeskeygenassist xmm1, xmm0, 0x10
call dbg._expand_key_256b
aeskeygenassist xmm1, xmm2, 0x20
call dbg._expand_key_256a
aeskeygenassist xmm1, xmm0, 0x20
call dbg._expand_key_256b
aeskeygenassist xmm1, xmm2, 0x40
call dbg._expand_key_256a
jmp 0x14007d141
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call dbg._expand_key_192a
aeskeygenassist xmm1, xmm2, 2
call dbg._expand_key_192b
aeskeygenassist xmm1, xmm2, 4
call dbg._expand_key_192a
aeskeygenassist xmm1, xmm2, 8
call dbg._expand_key_192b
aeskeygenassist xmm1, xmm2, 0x10
call dbg._expand_key_192a
aeskeygenassist xmm1, xmm2, 0x20
call dbg._expand_key_192b
aeskeygenassist xmm1, xmm2, 0x40
call dbg._expand_key_192a
aeskeygenassist xmm1, xmm2, 0x80
call dbg._expand_key_192b
jmp 0x14007d141
aeskeygenassist xmm1, xmm0, 1
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 2
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 4
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 8
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 0x10
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 0x20
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 0x40
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 0x80
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 0x1b
call dbg._expand_key_128
aeskeygenassist xmm1, xmm0, 0x36
call dbg._expand_key_128
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x14007d14e
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x14009dce0
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov rcx, qword [rax + 0xd0]
cmp rcx, 6
jne 0x14009dd65
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 8], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x10], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x18], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x20], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x28], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x30], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x38], rcx
nop dword [rax]
jmp 0x14009dec6
cmp rcx, 0xe
jne 0x14009dde0
movabs rcx, 0x8c3d37c819544da2
mov qword [rax], rcx
movabs rcx, 0x73e1996689dcd4d6
mov qword [rax + 8], rcx
movabs rcx, 0x1dfab7ae32ff9c82
mov qword [rax + 0x10], rcx
movabs rcx, 0x679dd514582f9fcf
mov qword [rax + 0x18], rcx
movabs rcx, 0xf6d2b697bd44da8
mov qword [rax + 0x20], rcx
movabs rcx, 0x77e36f7304c48942
mov qword [rax + 0x28], rcx
movabs rcx, 0x3f9d85a86a1d36c8
mov qword [rax + 0x30], rcx
movabs rcx, 0x1112e6ad91d692a1
mov qword [rax + 0x38], rcx
jmp 0x14009dec6
cmp rcx, 0xf
jne 0x14009de57
movabs rcx, 0x22312194fc2bf72c
mov qword [rax], rcx
movabs rcx, 0x9f555fa3c84c64c2
mov qword [rax + 8], rcx
movabs rcx, 0x2393b86b6f53b151
mov qword [rax + 0x10], rcx
movabs rcx, 0x963877195940eabd
mov qword [rax + 0x18], rcx
movabs rcx, 0x96283ee2a88effe3
mov qword [rax + 0x20], rcx
movabs rcx, 0xbe5e1e2553863992
mov qword [rax + 0x28], rcx
movabs rcx, 0x2b0199fc2c85b8aa
mov qword [rax + 0x30], rcx
movabs rcx, 0xeb72ddc81c52ca2
mov qword [rax + 0x38], rcx
jmp 0x14009dec6
movabs rcx, 0x6a09e667f3bcc908
mov qword [rax], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 8], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x10], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x18], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x20], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x28], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x30], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x38], rcx
movups xmmword [rax + 0xc0], xmm15
ret
Function at 0x1400ae9b0
Capabilities:
Create thread

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

Function at 0x1400aea1a
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rdx, rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
movzx eax, word [rax + 0x14]
movzx eax, ax
add rax, rdx
add rax, 0x18
mov qword [rbp - 0x10], rax
mov dword [rbp - 4], 0
jmp 0x1400aebd8
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
test eax, eax
jne 0x1400aeb17
mov rax, qword [rbp + 0x20]
mov eax, dword [rax + 0x38]
mov dword [rbp - 0x24], eax
cmp dword [rbp - 0x24], 0
jle 0x1400aeb12
mov eax, dword [rbp - 0x24]
cdqe
mov rdx, qword [rbp - 0x10]
mov edx, dword [rdx + 0xc]
mov ecx, edx
mov rdx, qword [rbp - 0x18]
add rcx, rdx
mov r9d, 4
mov r8d, 0x1000
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x1400aead2
mov eax, 0
jmp 0x1400aebf4
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov edx, eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 8], edx
mov eax, dword [rbp - 0x24]
movsxd rdx, eax
mov rax, qword [rbp - 0x20]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
jmp 0x1400aebcf
jmp 0x1400aebcf
mov rax, qword [rbp - 0x10]
mov edx, dword [rax + 0x14]
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
add eax, edx
mov edx, eax
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.CheckSize
test eax, eax
jne 0x1400aeb43
mov eax, 0
jmp 0x1400aebf4
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
mov edx, eax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp - 0x18]
add rax, rcx
mov r9d, 4
mov r8d, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x1400aeb86
mov eax, 0
jmp 0x1400aebf4
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x10]
mov ecx, eax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x14]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rdx, rax
mov rax, qword [rbp - 0x20]
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov rax, qword [rbp - 0x20]
mov edx, eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 8], edx
add dword [rbp - 4], 1
add qword [rbp - 0x10], 0x28
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
movzx eax, word [rax + 6]
movzx eax, ax
cmp eax, dword [rbp - 4]
jg 0x1400aea6d
mov eax, 1
add rsp, 0x50
pop rbp
ret
Function at 0x1400b5730
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__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 dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1400b57a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401f07f4]
mov rbx, rcx
test esi, esi
jle 0x1400b58d0
mov rax, qword [0x1401f07f8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400b57eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400b5875
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400b57d0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400b58f2
mov rax, qword [0x1401f07f8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401f07f8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400b58d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400b586e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400b5880
add dword [0x1401f07f4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1401f07f8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400b586e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400b57f8
mov rax, qword [0x1401f07f8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400b5e60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401f0860]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401f0840]
test rbx, rbx
je 0x1400b5ebc
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 0x1400b5eb3
test rsi, rsi
je 0x1400b5eb3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400b5e98
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 0x1400b60d0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400b60e8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400b60f0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400b6100
Capabilities:
Enumerate pe sections

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

Function at 0x1400b6150
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400b61e0
mov rdx, qword [0x140190030]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400b61ce
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400b61ce
cmp word [rax + 0x18], 0x20b
jne 0x1400b61ce
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400b61e0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400b61b9
add rbx, 0x28
cmp rbx, rdi
je 0x1400b61e0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400b61b0
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 0x1400b61f0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400b6270
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140190030]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400b628f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400b6298
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400b628f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400b62b0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140190030]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400b62d0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400b62d8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400b62d0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400b6320
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400b6317
test rcx, rcx
je 0x1400b62d0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400b6308
xor eax, eax
ret

Function at 0x1400b6330
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x140190030]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400b6390
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400b6398
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400b6390
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400b6390
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]
mov rax, r8
cmp rcx, r8
jb 0x1400b63e4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400b63f0
add rdx, 0x28
cmp r9, rdx
jne 0x1400b63d0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140190030]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400b6422
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400b6430
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400b6422
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400b6422
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400b6422
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]
mov r8, r9
cmp rax, r9
jb 0x1400b6485
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400b6498
add rdx, 0x28
cmp rdx, r10
jne 0x1400b6470
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400b64a7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400b64b7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400b648e
test ecx, ecx
jg 0x1400b64a0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001a01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x140001b75
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x1405b72e1]
jmp 0x140001a67
mov byte [0x1405b72e1], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x1405b72c0]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x140001b75
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x7c
mov byte [rsp + 0x21], 0x89
mov byte [rsp + 0x22], 0x76
mov byte [rsp + 0x23], 0x86
mov byte [rsp + 0x24], 0x84
mov byte [rsp + 0x25], 0x7d
mov byte [rsp + 0x26], 0x76
mov byte [rsp + 0x27], 0x78
mov byte [rsp + 0x28], 0x83
mov byte [rsp + 0x29], 0x85
mov byte [rsp + 0x2a], 0x7c
mov byte [rsp + 0x2b], 0x81
mov byte [rsp + 0x2c], 0x7e
mov byte [rsp + 0x2d], 0x79
mov byte [rsp + 0x2e], 0x8c
mov byte [rsp + 0x2f], 0x7f
mov byte [rsp + 0x30], 0x7e
mov byte [rsp + 0x31], 0x8c
mov byte [rsp + 0x32], pe_nt_image_headers64
mov byte [rsp + 0x33], 0x89
mov byte [rsp + 0x34], 0x84
mov byte [rsp + 0x35], 0x7d
mov byte [rsp + 0x36], 0x8a
mov byte [rsp + 0x37], 0x7f
mov byte [rsp + 0x38], 0x85
mov byte [rsp + 0x39], 0x77
mov byte [rsp + 0x3a], 0x7c
mov byte [rsp + 0x3b], 0x84
mov byte [rsp + 0x3c], 0x7c
mov byte [rsp + 0x3d], 0x7a
mov byte [rsp + 0x3e], 0x7b
mov byte [rsp + 0x3f], 0x82
mov byte [rsp + 0x40], 0x13
cmp byte [0x1405b72a0], 0
jne 0x140001b50
mov byte [0x1405b72e1], 1
mov eax, 0
lea rcx, [0x1405b72c0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140001b2f
mov byte [0x1405b72a0], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x1405b72e1], 0
je 0x140001a39
lea rax, [0x1405b72c0]
sub byte [rax], 0x13
add rax, 1
cmp rbx, rax
jne 0x140001b64
jmp 0x140001a32
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140006a70
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140006aa0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x140006a9f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140006aa5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x140006a9f
mov eax, 0
jmp 0x140006a9f

Function at 0x140007120
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400070d0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140010740
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 fcn.140019280
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140019280
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]