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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x14004e7a8
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x14004e7a8
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x14004e7b8
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [0x140265050]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.140036880
xorps xmm15, xmm15
mov r14, qword [0x1402fb540]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x14004e891
mov rcx, qword [rsp + 0x58]
mov rdx, qword [0x140265058]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.140036b00
xorps xmm15, xmm15
mov r14, qword [0x1402fb540]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x14004e891
cmp qword [rcx + 8], rax
ja 0x14004e7b3
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x1400568e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x140056a57
movzx edx, byte [rax]
test edx, edx
jne 0x140056914
nop dword [rax]
test r8b, r8b
jne 0x140056914
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x140056927
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x140056a17
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 0x140056a05
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 0x1400569f7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x14005697d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x1400569c0
mov eax, 1
cmp rax, rbx
ja 0x1400569ab
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.14006b9a0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x1400569ef
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 0x1400569b3
mov rcx, r11
mov eax, r12d
jmp 0x140056982
mov rcx, rbx
call fcn.14006b8e0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.14006b8e0
mov eax, r8d
mov rcx, rbx
call fcn.14006b9a0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x140056a4d
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 0x140056a10
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x14005692d
mov eax, edx
mov rcx, rbx
call fcn.14006b8e0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.14006b8e0
nop
int3

Function at 0x14005ca60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005cb15
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.14005a6e0
nop
test bl, bl
je 0x14005cb0f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x14005cb60]
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.1400694c0
xorps xmm15, xmm15
mov r14, qword [0x1402fb540]
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.1400695e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.14005ca60
Function at 0x14005fa60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005fb0f
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, [0x14005fb60]
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.1400694c0
xorps xmm15, xmm15
mov r14, qword [0x1402fb540]
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.1400695e0
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.14005fa60
Function at 0x14006b3e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140004aa3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.14000ab40
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400695e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x140004a80
cmp byte [0x1402fb30c], 0
je 0x14006b3f5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x140068620
jmp 0x140004a80

Function at 0x14006b400
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 [0x1402fb6a0]
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 [0x1402fb30c], 0
je 0x14006b435
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x1402fbaa0]
aesenc xmm0, xmmword [0x1402fbab0]
aesenc xmm0, xmmword [0x1402fbac0]
movq rax, xmm0
ret
jmp 0x14000ad60

Function at 0x14006b440
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 [0x1402fb6a0]
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 [0x1402fb30c], 0
je 0x14006b476
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1402fbaa0]
aesenc xmm0, xmmword [0x1402fbab0]
aesenc xmm0, xmmword [0x1402fbac0]
movq rax, xmm0
ret
jmp 0x14000adc0
Function at 0x14007b0e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14007b1aa
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.140003f80
xorps xmm15, xmm15
mov r14, qword [0x1402fb540]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x14007b18f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x14011cde0]
xor ebx, ebx
mov rcx, rdx
call fcn.14004f320
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.14007c080
inc rbx
cmp rcx, rbx
jae 0x14007b17e
mov edi, 1
lea rsi, [0x14011cde0]
call fcn.14004f400
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, [0x14017d308]
lea rsi, [0x14017c580]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400695e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14007b0e0
Function at 0x140090920
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140090b5b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x1400909ba
mov qword [rsp + 0x88], rax
lea rbx, [0x140141d20]
mov rcx, rax
lea rax, [0x140276660]
call fcn.140071220
test cl, cl
jne 0x1400909a3
mov rax, qword [rsp + 0x88]
call fcn.14008f9c0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x28]
lea rbx, [0x14017b5d0]
call fcn.1400530e0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
call fcn.140091d80
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x1400909d7
lea rdx, [0x14013eea0]
cmp rax, rdx
jne 0x1400909c5
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call fcn.140066e40
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x140122380]
call fcn.14000bbc0
inc rdx
cmp rbx, rdx
jle 0x140090a21
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x1400909d4
lea rax, [0x140276660]
lea rbx, [0x140141d20]
lea rdi, [0x14013eea0]
nop dword [rax + rax]
call fcn.1400713e0
lea rdx, [0x14013eea0]
cmp rax, rdx
jne 0x140090b4b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x1401187e0]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rcx
lea rax, [0x140128ea0]
call fcn.14000ef40
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x1402fb5c0], 0
nop
je 0x140090a7b
mov rbx, rax
lea rax, [0x140128ea0]
call fcn.140014b20
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.1400019a0
call fcn.140066f00
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 0x140090ae2
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x140090ad4
mov dword [rsi + 0x10], edx
cmp dword [0x1402fb5c0], 0
je 0x140090b03
call fcn.14006b540
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x140276660]
lea rbx, [0x140141d20]
lea rdi, [0x14013eea0]
nop dword [rax]
call fcn.1400713e0
lea rdx, [0x14013eea0]
cmp rax, rdx
jne 0x140090b3c
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x140122380]
call fcn.14000bbc0
mov rbx, rdx
lea rcx, [0x140122380]
call fcn.14000bbc0
nop
mov qword [rsp + 8], rax
call fcn.1400695e0
mov rax, qword [rsp + 8]
jmp fcn.140090920
Function at 0x1400e60a0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400e67df
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x1400e60cd
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x1400e6351
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x1400e637d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x14017f820]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x14011cce0]
lea rbx, [0x14017d110]
call fcn.140038660
inc rax
cmp rax, r8
jge 0x1400e63a2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x1400e63d7
lea rdi, [0x14011cd60]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x1400e60c3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x1400e63bb
jmp 0x1400e6390
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.1400695e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.1400e60a0

Function at 0x1400e6980
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x1400e6997
inc rax
cmp rax, 4
jge 0x1400e69af
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x1400e6994
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x1400e69c0
inc rax
cmp rax, 4
jge 0x1400e69ce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x1400e69f7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x1400e69db
jmp 0x1400e69bd
Function at 0x140105e10
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x20
mfence
mov eax, dword [0x1402ff128]
test eax, eax
je 0x140105e28
add rsp, 0x20
pop rsi
ret
mov eax, 1
lock xadd dword [0x1402ff12c], eax
test eax, eax
je 0x140105e73
lock dec dword [0x1402ff12c]
mfence
mov eax, dword [0x1402ff128]
test eax, eax
jne 0x140105e22
mov rsi, qword [sym.imp.KERNEL32.dll_Sleep]
nop word cs:[rax + rax]
xor ecx, ecx
call rsi
mfence
mov eax, dword [0x1402ff128]
test eax, eax
je 0x140105e60
jmp 0x140105e22
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x1402ff0f8], rax
test rax, rax
je 0x140105eab
lea rcx, [0x1402ff100]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lock inc dword [0x1402ff128]
jmp 0x140105e22
mov ecx, 2
call qword [fcn.140106c40]
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov edx, 0x3d
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
int3

Function at 0x140106a10
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140106c40
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140106c40
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

Disassembly:
mov rax, qword [0x14010d008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14010974c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14010974c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14010974c
movzx edx, word [rax + 6]
test edx, edx
je 0x14010974c
sub rcx, qword [0x14010d008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140109738
add rax, 0x28
dec edx
je 0x14010974c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140109730
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140109730
jmp 0x14010974e
xor eax, eax
ret

Function at 0x140109750
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14010d008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140109785
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140109785
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140109785
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x140109800
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14010d008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14010982c
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14010982c
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x14010982e
xor eax, eax
ret
Function at 0x2fc4cf450
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d0530
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4cfe52
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f2108]
test eax, eax
je 0x2fc4cfeea
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f2110]
mov qword [rbp - 8], rax
jmp 0x2fc4cfece
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 0x2fc4cfec2
cmp qword [rbp - 0x10], 0
je 0x2fc4cfec2
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 0x2fc4cfe88
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cfeeb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cfff0
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 0x2fc4d0018
mov eax, 0
jmp 0x2fc4d0066
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 0x2fc4d0041
mov eax, 0
jmp 0x2fc4d0066
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 0x2fc4d0061
mov eax, 0
jmp 0x2fc4d0066
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d006c
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 0x2fc4d00ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d00e1
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 0x2fc4d00e1
mov rax, qword [rbp - 8]
jmp 0x2fc4d00ff
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 0x2fc4d00b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001d4b
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140001d6a
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp 0x14000c4d8
jmp qword [sym.imp.msvcrt.dll_fflush]

Function at 0x140005c1b
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
sub rsp, 0x3a8
xor eax, eax
mov r11d, 0xa
lea rsi, [rsp + 6]
mov r9, rcx
mov ecx, 0x39a
mov r10, rdx
mov rdi, rsi
rep stosb byte [rdi], al
mov rax, rcx
cqo
idiv r11
mov al, byte [r10 + rdx]
xor al, byte [r9 + rcx]
mov byte [rsi + rcx], al
inc rcx
cmp rcx, 0x39a
jne 0x140005c41
mov rdi, r8
rep movsb byte [rdi], byte [rsi]
add rsp, 0x3a8
pop rsi
pop rdi
ret

Function at 0x140006180
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 fcn.14000bf00
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.14000bf00
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140006c40
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140006cc0
Capabilities:
Parse pe header

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

Function at 0x140006d80
Capabilities:
Parse pe header

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

Function at 0x140001c08
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001c52
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001c52
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001c52
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001c52
cmp dword [rcx + 0x84], 0xe
jbe 0x140001c52
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001c54
xor al, al
add rsp, 0x28
ret
Function at 0x180006160
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180006229
cmp byte [rcx + 0x71], 0
je 0x180006229
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18000621c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800061d8
sub eax, 1
je 0x1800061dc
cmp eax, 2
jne 0x18000621c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x18000620a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18000621c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret