joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dec0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x005d0751], 0
jne 0x41dfaf
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], dil
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41dfa5
lea rbx, [0x005a2bb0]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop dword [rax]
test al, bl
jne 0x41df87
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rsi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045f220
lea rax, [0x004d4764]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00433d60
nop
int3
Function at 0x42d120
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42d3c6
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42d3ba
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x005d0751], 0
jne 0x42d182
xor edx, edx
xor ebx, ebx
nop
jmp 0x42d1cb
xor edx, edx
jmp 0x42d1ae
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041d6e0
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42d186
add rax, 0x1260
call fcn.0042cfa0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42d352
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax]
cmp rsi, 0x1000
jb 0x42d1c8
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00412280
test rax, rax
jne 0x42d222
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42d1c8
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x42d265
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42d1c8
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42d3ad
lea r10, [0x005a2bb0]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42d2eb
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42d325
mov r8, qword [rsp + 0x48]
mov r9, qword [r8 + 0x1248]
add r9, qword [rbx + 0x68]
mov qword [r8 + 0x1248], r9
mov rax, r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42d1c8
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42d3a5
mov r9, qword [rsp + 0x48]
mov qword [r9 + r8*8 + 0x1270], rax
lea rbx, [r8 + 1]
mov rax, r9
mov rdx, qword [rsp + 0x28]
jmp 0x42d1c8
cmp rbx, 0x200
ja 0x42d397
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00423300
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x1260]
call fcn.0042cfa0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.0045f280
mov rax, r8
call fcn.0045f200
mov rax, r8
mov ecx, 0x40
call fcn.0045f220
mov edx, 0x200
nop
call fcn.0045f260
nop
mov qword [rsp + 8], rax
call fcn.00461240
mov rax, qword [rsp + 8]
jmp fcn.0042d120
Function at 0x44e800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44e978
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44e83c
test r8b, r8b
jne 0x44e83c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44e84f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44e938
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44e926
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44e91c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44e8a3
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44e8e6
mov eax, 1
cmp rax, rbx
ja 0x44e8d5
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.0045f2c0
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44e914
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44e8dd
mov r8d, eax
mov eax, r10d
jmp 0x44e8a8
mov rcx, rbx
call fcn.0045f200
xor eax, eax
mov rcx, rbx
call fcn.0045f200
mov eax, r8d
mov rcx, rbx
call fcn.0045f2c0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44e96e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44e931
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44e855
mov eax, edx
mov rcx, rbx
call fcn.0045f200
xor eax, eax
mov rcx, rbx
nop dword [rax]
call fcn.0045f200
nop
int3
Function at 0x4560e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45619b
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
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 rdx, [0x004561e0]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045c9e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045cb20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004560e0
Function at 0x45ec40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402bcf
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409520
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045cb20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402ba0
cmp byte [0x005d0750], 0
je 0x45ec55
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45bc20
jmp 0x402ba0

Function at 0x45ec60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005d0a20]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005d0750], 0
je 0x45ec95
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005d0ce0]
aesenc xmm0, xmmword [0x005d0cf0]
aesenc xmm0, xmmword [0x005d0d00]
movq rax, xmm0
ret
jmp 0x409720

Function at 0x45eca0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005d0a20]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005d0750], 0
je 0x45ecd6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005d0ce0]
aesenc xmm0, xmmword [0x005d0cf0]
aesenc xmm0, xmmword [0x005d0d00]
movq rax, xmm0
ret
jmp 0x409780

Function at 0x460620
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005d0c60]
mov qword [rsp + 8], rdx
lea r8d, [0x005d0768]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045eb80
add rsp, 0x30
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14002a9d0]
mov dword [rax], 1
mov rax, qword [0x14002a9e0]
mov dword [rax], 1
mov rax, qword [0x14002a9f0]
mov dword [rax], 1
mov rax, qword [0x14002a960]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140003530
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x1400310a8]
test rcx, rcx
je 0x14000356b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140003590
mov rcx, qword [0x1400310a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400420e0], 0
jne 0x1400035a8
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x1400310a8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14000355e
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x1400260de]
mov qword [rsp + 0x20], 0
lea rdi, [0x140042100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003674
test al, 0x10
je 0x140003574
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140003574
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140003620
jmp 0x140003574
Function at 0x14001b770
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.14001dcf0
sub rsp, rax
mov eax, dword [0x1400310a0]
mov rsi, rcx
test eax, eax
je 0x14001b810
xor ebx, ebx
lea rdi, [0x1400400e0]
test eax, eax
jg 0x14001b7ac
jmp 0x14001b7c0
add rbx, 1
cmp dword [0x1400310a0], ebx
jle 0x14001b7c0
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14001b7a0
jmp 0x14001b7f7
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14001b7d5
cmp word [rsi + 2], 0x3a
je 0x14001b7f7
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14001b860
movsxd rbx, dword [0x1400310a0]
cmp ebx, 0x3ff
jle 0x14001b878
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str._HOME_
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.14001afb0
test al, al
je 0x14001b89a
movsxd rbx, dword [0x1400310a0]
mov rcx, rdi
lea rdi, [0x1400400e0]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x1400310a0]
add eax, 1
mov dword [0x1400310a0], eax
jmp 0x14001b791
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14001b7e4
xor eax, eax
jmp 0x14001b7fc
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x1400310a0], 1
mov rdx, rax
lea rax, [0x1400400e0]
mov qword [rax + rbx*8], rdx
jmp 0x14001b7f7
mov rcx, rbx
call fcn.1400020b0
nop
nop word cs:[rax + rax]
nop
Function at 0x14001c9d0
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 fcn.140023930
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140023930
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14001d6a2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140044228]
test eax, eax
je 0x14001d73a
lea rax, [0x140044200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140044230]
mov qword [rbp - 8], rax
jmp 0x14001d71e
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 0x14001d712
cmp qword [rbp - 0x10], 0
je 0x14001d712
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 0x14001d6d8
lea rax, [0x140044200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14001d73b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14001d840
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 0x14001d868
mov eax, 0
jmp 0x14001d8b6
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 0x14001d891
mov eax, 0
jmp 0x14001d8b6
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 0x14001d8b1
mov eax, 0
jmp 0x14001d8b6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14001d8bc
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 0x14001d93a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14001d931
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 0x14001d931
mov rax, qword [rbp - 8]
jmp 0x14001d94f
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 0x14001d904
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1800019a8
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x180005098]
xor ecx, ecx
test rax, rax
jne 0x180001a2e
mov edx, 0xa459
mov dword [rbp - 0x40], 0xa43ca432
mov word [rbp - 0x28], dx
mov dword [rbp - 0x3c], 0xa437a42b
mov dword [rbp - 0x38], 0xa435a43c
mov dword [rbp - 0x34], 0xa46ba46a
mov dword [rbp - 0x30], 0xa43da477
mov dword [rbp - 0x2c], 0xa435a435
mov eax, edx
xor ax, word [rbp + rcx - 0x40]
mov word [rbp + rcx - 0x20], ax
add rcx, 2
cmp rcx, 0x1a
jb 0x1800019f2
lea rcx, [rbp - 0x20]
call fcn.180001f00
xor edx, edx
mov qword [0x180005098], rax
lea rcx, [rbp - 0x20]
lea r8d, [rdx + 0x1a]
call section..text
mov rax, qword [0x180005098]
add rsp, 0x60
pop rbp
ret
Function at 0x140001010
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x14000102b
rol rcx, 0x10
test cx, 0xffff
jne 0x140001027
ret 0
ror rcx, 0x10
jmp 0x140001584
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1401797c0]
call qword [sym.imp.KERNEL32.DLL_RtlCaptureContext]
mov r11, qword [0x1401798b8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.DLL_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001609
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1401797c0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.DLL_RtlVirtualUnwind
jmp 0x14000162b
mov rax, qword [rsp + 0x88]
mov qword [0x1401798b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140179858], rax
mov rax, qword [0x1401798b8]
mov qword [0x140179730], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140179840], rax
mov dword [0x140179720], 0xc0000409
mov dword [0x140179724], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140171008]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_SetUnhandledExceptionFilter]
lea rcx, [0x140105a48]
call qword [sym.imp.KERNEL32.DLL_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140001260
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x14018af48], rdi
je 0x1400012c0
cmp rax, rdi
jne 0x1400012b3
mov r12d, 1
jmp 0x1400012c0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x140001299
mov eax, dword [0x14018af40]
cmp eax, 1
jne 0x1400012d5
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x14000133c
mov eax, dword [0x14018af40]
cmp eax, ebx
jne 0x140001332
mov dword [0x14018af40], 1
lea r13, [0x1401056a8]
lea rdi, [0x140105690]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x140001324
cmp eax, ebx
jne 0x140001324
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x140001319
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140001302
cmp eax, ebx
je 0x14000133c
mov eax, 0xff
jmp 0x140001484
mov dword [0x140179714], 1
mov eax, dword [0x14018af40]
cmp eax, 1
jne 0x140001364
lea rdx, [0x140105688]
lea rcx, [0x140105610]
call sub.msvcrt.dll__initterm
mov dword [0x14018af40], 2
cmp r12d, ebx
jne 0x140001373
mov rax, rbx
xchg qword [0x14018af48], rax
cmp qword [0x14018af50], rbx
je 0x14000139b
lea rcx, [0x14018af50]
call fcn.140001788
cmp eax, ebx
je 0x14000139b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14018af50]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1400013b1
mov eax, 0xff
jmp 0x140001484
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x140001436
cmp word [rcx], bx
je 0x1400013cc
cmp edx, ebx
jne 0x140001436
cmp word [rcx], bx
je 0x1400013e2
cmp word [rcx], 0x20
ja 0x1400013e2
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400013cc
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14003f9ac
mov dword [0x140179710], eax
cmp dword [0x1401796f4], ebx
jne 0x140001420
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140179714], ebx
jne 0x140001434
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140179710]
jmp 0x140001484
cmp word [rcx], 0x22
jne 0x140001449
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400013bd
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.14000186c
add rsp, 0x28
jmp 0x140001260
Function at 0x1400017cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x140001819
cmp rcx, 0xffffffffffffffff
je 0x140001819
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001811
cmp dword [rcx + 0x3c], edx
jl 0x140001811
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001811
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001819
mov rax, rdx
add rsp, 0x18
ret