joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14026c0a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r15
sub rsp, 0x50
mov rsi, rcx
mov rbp, r9
lea rcx, [rsp + 0x20]
mov r15, r8
mov rdi, rdx
call fcn.140268e70
lea rcx, [rsp + 0x38]
call fcn.140268e70
xor edx, edx
lea rcx, [rsi + 0x98]
call fcn.140268da0
cmp eax, 1
je 0x14026c0ef
mov eax, 0xffffb080
jmp 0x14026c238
xor edx, edx
mov qword [rsp + 0x70], r12
mov rcx, rdi
call fcn.140268da0
mov rbx, qword [rsp + 0x98]
lea rcx, [rsp + 0x20]
test eax, eax
mov rdx, rdi
sete al
mov byte [rbx], al
call fcn.1402662b0
mov r12d, eax
test eax, eax
jne 0x14026c21c
mov r8, rdi
lea rdx, [rsi + 0x98]
lea rcx, [rsp + 0x38]
call fcn.14026aba0
mov r12d, eax
test eax, eax
jne 0x14026c21c
movzx r8d, byte [rbx]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140274c80
mov r12d, eax
test eax, eax
jne 0x14026c21c
lea r8, [rbp + 1]
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
xor esi, esi
test rbp, rbp
je 0x14026c1be
mov qword [rsp + 0x78], r14
movzx r14d, byte [rsp + 0x90]
xor ebx, ebx
test r14, r14
je 0x14026c1b1
mov rdi, rsi
nop
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140268da0
mov rcx, rbx
add rdi, rbp
shl al, cl
inc rbx
or byte [rsi + r15], al
cmp rbx, r14
jb 0x14026c190
inc rsi
cmp rsi, rbp
jb 0x14026c185
mov r14, qword [rsp + 0x78]
xor bl, bl
cmp rbp, 1
jb 0x14026c21c
lea r11, [r15 + 1]
nop word [rax + rax]
movzx edx, byte [r11 - 1]
mov r10d, 1
movzx r9d, byte [r11]
lea r11, [r11 + 1]
xor r9b, bl
mov ecx, edx
and bl, byte [r11 - 1]
movzx eax, r9b
and al, 1
sub r10b, al
movzx eax, r10b
imul ecx, eax
shl r10b, 7
or r10b, dl
mov byte [r11 - 2], r10b
movzx eax, cl
xor cl, r9b
and al, r9b
mov byte [r11 - 1], cl
or bl, al
sub rbp, 1
jne 0x14026c1d0
lea rcx, [rsp + 0x38]
call fcn.140268750
lea rcx, [rsp + 0x20]
call fcn.140268750
mov eax, r12d
mov r12, qword [rsp + 0x70]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret

Function at 0x1402731b0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
lea rbx, str.pM_
mov r14, rdx
mov rcx, rbx
test rsi, rsi
je 0x14027320e
cmp qword [str.pM_], 0
je 0x14027320e
mov rdi, qword [rsi + 8]
cmp qword [rcx + 8], rdi
jne 0x140273201
mov rdx, qword [rsi + 0x10]
mov r8, rdi
mov rcx, qword [rcx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140273229
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x1402731e8
mov eax, 0xffffffd2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
test rbx, rbx
je 0x14027320e
mov eax, dword [rbx + 0x20]
mov dword [r14], eax
xor eax, eax
jmp 0x140273213
Function at 0x140274730
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r10, r8
mov r9, rdx
mov r11, rcx
test r8, r8
je 0x140274769
sub r11, rdx
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r11 + r9]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
xor r8d, edx
or eax, r8d
sub r10, 1
jne 0x140274750
ret
Function at 0x140274900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx r15d, byte [rcx + 1]
lea r14, [rdx - 0xb]
movzx eax, byte [rcx]
xor esi, esi
xor r10b, r10b
mov rbx, rdx
cmp r9, r14
mov rbp, r9
mov edx, 2
mov r11, rcx
cmova rbp, r14
mov edi, esi
xor r15d, 2
or r15d, eax
cmp rdx, rbx
jae 0x140274990
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r11 + rdx]
neg cl
or cl, byte [r11 + rdx]
inc rdx
not cl
shr cl, 7
or r10b, cl
movzx eax, r10b
neg al
or al, r10b
not al
movzx eax, al
shr rax, 7
add rdi, rax
cmp rdx, rbx
jb 0x140274960
movzx ecx, r10b
lea rax, [rdi - 8]
neg ecx
shr rax, 0x3f
shr ecx, 0x1f
mov r9, rbp
dec ecx
and ecx, 1
or ecx, eax
mov eax, ebp
or r15d, ecx
mov ecx, ebx
sub ecx, edi
mov r8d, r15d
neg r8d
shr r8d, 0x1f
neg r8d
mov edx, r8d
lea edi, [rcx - 3]
not edx
and eax, r8d
and edi, edx
and r8d, 0x4100
or edi, eax
sub r9, rdi
shr r9, 0x3f
mov r10d, r9d
or r9d, r15d
neg r9d
neg r10d
shr r10d, 0x1f
shr r9d, 0x1f
mov r13d, r10d
neg r13d
neg r9d
and r13d, edx
mov edx, 0xb
and r13d, 0x4400
or r13d, r8d
neg r13d
movd xmm0, r9d
pshufd xmm0, xmm0, 0
cmp rbx, rdx
jbe 0x140274ad0
cmp r14, 0x10
jb 0x140274ab6
andps xmm0, xmmword [0x1402b51d0]
lea rax, [r11 + 0x13]
packuswb xmm0, xmm0
and r14d, 0xf
packuswb xmm0, xmm0
mov r8, rbx
andnps xmm0, xmmword [0x1403fa8e0]
sub r8, r14
movdqa xmmword [rsp + 0x20], xmm0
mov ecx, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm0, dword [rax - 8]
lea rax, [rax + 0x10]
movd xmm1, ecx
add rdx, 0x10
movd xmm2, ecx
andps xmm1, xmm0
movd dword [rax - 0x18], xmm1
movd xmm0, dword [rax - 0x14]
movd xmm1, ecx
andps xmm2, xmm0
movd dword [rax - 0x14], xmm2
movd xmm0, dword [rax - 0x10]
movd xmm2, ecx
andps xmm1, xmm0
movd dword [rax - 0x10], xmm1
movd xmm0, dword [rax - 0xc]
andps xmm2, xmm0
movd dword [rax - 0xc], xmm2
cmp rdx, r8
jb 0x140274a60
cmp rdx, rbx
jae 0x140274ad0
mov rcx, rbx
lea rax, [rdx + r11]
sub rcx, rdx
not r9b
and byte [rax], r9b
lea rax, [rax + 1]
sub rcx, 1
jne 0x140274ac3
neg r10d
mov eax, ebp
mov r14d, r10d
mov ecx, r10d
not r14d
and rax, rcx
and r14, rdi
sub r11, rbp
or r14, rax
lea r12, [r11 + rbx]
test rbp, rbp
je 0x140274b5c
lea r15, [rbp - 1]
nop word [rax + rax]
mov rax, rsi
sub rax, r14
shr rax, 0x3f
neg eax
shr eax, 0x1f
test r15, r15
je 0x140274b45
mov ebx, eax
mov r10, r12
neg ebx
mov r11, r15
mov edi, ebx
not edi
movzx r8d, byte [r10]
movzx edx, dil
movzx ecx, byte [r10 + 1]
lea r10, [r10 + 1]
and dl, cl
and r8b, bl
or dl, r8b
mov byte [r10 - 1], dl
sub r11, 1
jne 0x140274b22
movzx ecx, byte [r12 + rbp - 1]
neg al
and al, cl
inc rsi
mov byte [r12 + rbp - 1], al
cmp rsi, rbp
jb 0x140274b00
cmp qword [rsp + 0x88], 0
je 0x140274b87
mov rcx, qword [rsp + 0x80]
mov r8, rbp
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x90]
mov qword [rcx], r14
jmp 0x140274b92
mov rax, qword [rsp + 0x90]
mov qword [rax], r14
mov rbx, qword [rsp + 0x70]
mov eax, r13d
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140274bd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
xor r11d, r11d
mov rdi, r8
mov rsi, rcx
mov ebx, r11d
test r8, r8
je 0x140274c69
mov qword [rsp + 0x10], r14
sub rsi, rdx
lea r14, [rdx - 8]
lea r14, [r14 + r8*8]
nop dword [rax]
mov r9, qword [r14]
mov r10, qword [r14 + rsi]
lea r14, [r14 - 8]
mov rax, r10
mov r8, r9
xor r8, r10
shr rax, 0x3f
mov rcx, r9
mov rdx, r8
sub rcx, r10
shr r8, 0x3f
shr rcx, 0x3f
sub r10, r9
shr r10, 0x3f
and eax, r8d
shr r9, 0x3f
not rdx
shr rdx, 0x3f
and r9d, r8d
and ecx, edx
and r10d, edx
or ecx, eax
or r10d, r9d
or r11d, ecx
mov ecx, 1
sub ecx, r11d
or r11d, r10d
and ecx, r10d
or ebx, ecx
sub rdi, 1
jne 0x140274c00
mov r14, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x20]
mov eax, ebx
mov rbx, qword [rsp + 0x18]
pop rdi
ret
Function at 0x14027c2b0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm1, xmmword [rdx]
aeskeygenassist xmm0, xmm1, 1
pshufd xmm3, xmm0, 0xff
xorps xmm3, xmm1
movups xmmword [rcx], xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x10], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x20], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 8
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x30], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x40], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x20
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x50], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x60], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
movdqa xmm3, xmm2
xorps xmm0, xmm1
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x70], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x1b
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x80], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x90], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm1, xmm3
xorps xmm1, xmm0
pslldq xmm3, 4
xorps xmm1, xmm3
movdqu xmmword [rcx + 0xa0], xmm1
ret
Function at 0x14027ca70
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [r8]
mov rax, qword [rcx + 8]
mov r8d, dword [rcx]
lea rax, [rcx + rax*4]
xorps xmm0, xmmword [rax + 0x10]
dec r8d
add rax, 0x20
test edx, edx
jne 0x14027cabb
test r8d, r8d
je 0x14027caaf
nop dword [rax]
nop word [rax + rax]
aesdec xmm0, xmmword [rax]
add rax, 0x10
add r8d, 0xffffffff
jne 0x14027caa0
aesdeclast xmm0, xmmword [rax]
movups xmmword [r9], xmm0
xor eax, eax
ret
test r8d, r8d
je 0x14027cacf
aesenc xmm0, xmmword [rax]
add rax, 0x10
add r8d, 0xffffffff
jne 0x14027cac0
aesenclast xmm0, xmmword [rax]
movups xmmword [r9], xmm0
xor eax, eax
ret

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

Disassembly:
movsxd rax, r8d
shl rax, 4
add rax, rdx
movdqu xmm0, xmmword [rax]
sub rax, 0x10
movdqu xmmword [rcx], xmm0
add rcx, 0x10
cmp rax, rdx
jbe 0x14027ce96
nop
aesimc xmm0, xmmword [rax]
sub rax, 0x10
movdqu xmmword [rcx], xmm0
lea rcx, [rcx + 0x10]
cmp rax, rdx
ja 0x14027ce80
movdqu xmm0, xmmword [rax]
movdqu xmmword [rcx], xmm0
ret

Function at 0x14027d380
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x2c], eax
xor eax, eax
ret
Function at 0x14027da00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140469080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov r8d, 0x10
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov rbx, rcx
movups xmmword [rsp + 0x38], xmm0
call fcn.14027b800
test eax, eax
jne 0x14027db86
mov ecx, dword [rsp + 0x3c]
mov qword [rsp + 0x68], rbp
mov ebp, dword [rsp + 0x40]
mov qword [rsp + 0x70], rsi
mov esi, dword [rsp + 0x38]
bswap ecx
mov ecx, ecx
bswap esi
bswap ebp
mov esi, esi
mov ebp, ebp
shl rsi, 0x20
or rsi, rcx
mov qword [rsp + 0x78], rdi
mov ecx, dword [rsp + 0x44]
mov edi, 2
bswap ecx
mov ecx, ecx
shl rbp, 0x20
or rbp, rcx
mov qword [rbx + 0x120], rsi
mov ecx, edi
mov qword [rbx + 0xa0], rbp
call fcn.14027cdf0
test eax, eax
jne 0x14027db75
mov qword [rbx + 0xe0], 0
mov qword [rbx + 0x60], 0
mov r8d, 4
nop dword [rax + rax]
mov eax, ebp
mov rcx, rsi
and eax, 1
shl rcx, 0x3f
imul edx, eax, 0xe1000000
mov rax, rbp
shr rax, 1
mov rbp, rcx
or rbp, rax
mov rax, rsi
shr rax, 1
mov qword [rbx + r8*8 + 0x60], rbp
mov ecx, edx
shl rcx, 0x20
mov rsi, rcx
xor rsi, rax
mov qword [rbx + r8*8 + 0xe0], rsi
shr r8d, 1
jne 0x14027dad0
mov r8, rdi
nop word [rax + rax]
mov r9, qword [rbx + r8*8 + 0xe0]
mov r10, qword [rbx + r8*8 + 0x60]
cmp r8, 1
jle 0x14027db68
lea rax, [rbx + 0x68]
lea rdx, [r8 - 1]
nop dword [rax + rax]
mov rcx, r9
xor rcx, qword [rax + 0x80]
mov qword [rax + r8*8 + 0x80], rcx
lea rax, [rax + 8]
mov rcx, r10
xor rcx, qword [rax - 8]
mov qword [rax + r8*8 - 8], rcx
sub rdx, 1
jne 0x14027db40
lea eax, [rdi + rdi]
add r8, r8
mov edi, eax
cmp eax, 8
jle 0x14027db20
mov rdi, qword [rsp + 0x78]
xor eax, eax
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140283da0
add rsp, 0x50
pop rbx
ret

Function at 0x1402818d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movzx eax, r9b
mov rdi, r8
movzx r11d, al
mov rbx, rdx
and r11b, 0x1f
shr eax, 5
mov r10, rcx
and eax, 0x80000003
jge 0x14028190a
dec eax
or eax, 0xfffffffc
inc eax
movzx ecx, al
movzx esi, r11b
mov r9d, dword [r8 + rcx*4]
mov ecx, 0x20
sub cl, r11b
movzx edx, cl
xor ecx, ecx
test r11b, r11b
mov r11d, 4
bswap r9d
cmove edx, ecx
sub rbx, r10
movzx ebp, dl
nop word [rax + rax]
inc al
lea r10, [r10 + 4]
and al, 3
movzx ecx, al
mov r8d, dword [rdi + rcx*4]
mov ecx, esi
shl r9d, cl
mov ecx, ebp
bswap r8d
mov edx, r8d
shr edx, cl
or r9d, edx
bswap r9d
xor r9d, dword [r10 + rbx - 4]
mov dword [r10 - 4], r9d
mov r9d, r8d
sub r11, 1
jne 0x140281940
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x140282b34
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140282b6e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140282b73
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140282bbc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1402bb850]
cmp byte [rcx + rax], 0
je 0x140282bbc
dec r8
sub rdx, 1
jne 0x140282ba2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140284c7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140284cc6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140284cc6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140284cc6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140284cc6
cmp dword [rcx + 0x84], 0xe
jbe 0x140284cc6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140284cc8
xor al, al
add rsp, 0x28
ret

Function at 0x140284fa0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x90], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x90]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0xa8], rax
mov rdi, rax
test rax, rax
jne 0x140284fe9
mov rax, 0xffffffffffffffff
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x90]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x60], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x48], r14
cmovb rax, r15
mov rcx, rax
call fcn.140284478
mov r14, rax
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x1402850df
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x58], r12
mov r12, r14
mov qword [rsp + 0x50], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.140284478
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x90]
inc r14d
cmp r14d, eax
jne 0x140285050
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x90]
mov rdx, r14
call fcn.14020f140
mov esi, eax
cmp dword [rsp + 0x90], ebx
je 0x14028512c
mov rdi, r14
nop dword [rax + rax]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14028512c
call fcn.140283dc0
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x90]
jne 0x140285110
mov rcx, r14
call fcn.140283dc0
mov r14, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
jmp 0x140284fa0
Function at 0x140285150
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x90], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x90]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0xa8], rax
mov rdi, rax
test rax, rax
jne 0x140284fe9
mov rax, 0xffffffffffffffff
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x90]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x60], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x48], r14
cmovb rax, r15
mov rcx, rax
call fcn.140284478
mov r14, rax
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x1402850df
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x58], r12
mov r12, r14
mov qword [rsp + 0x50], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.140284478
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x90]
inc r14d
cmp r14d, eax
jne 0x140285050
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x90]
mov rdx, r14
call fcn.14020f140
mov esi, eax
cmp dword [rsp + 0x90], ebx
je 0x14028512c
mov rdi, r14
nop dword [rax + rax]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14028512c
call fcn.140283dc0
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x90]
jne 0x140285110
mov rcx, r14
call fcn.140283dc0
mov r14, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
jmp 0x140284fa0
Function at 0x140001a98
Capabilities:
Print debug messages

Disassembly:
jmp 0x140001aa4
push rbx
sub rsp, 0x540
mov rax, qword [0x140019200]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140001b21
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140001b41
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400016e0
add rsp, 0x540
pop rbx
ret

Function at 0x140001aa4
Capabilities:
Print debug messages

Disassembly:
jmp 0x140001aa4
push rbx
sub rsp, 0x540
mov rax, qword [0x140019200]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140001b21
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140001b41
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400016e0
add rsp, 0x540
pop rbx
ret

Function at 0x140001d8c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001dd8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001dd0
cmp dword [rcx + 0x3c], edx
jl 0x140001dd0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001dd0
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 0x140001dd8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140007cb8
Capabilities:
Check os version

Disassembly:
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetVersion]
nop dword [rax + rax]
test eax, eax
js 0x140007d1f
cmp al, 6
jb 0x140007d1f
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x140007d1f
lea rdx, str.HeapSetInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x140007d1f
movabs r10, 0x93b5969b18548370
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [0x140013788]
add rsp, 0x38
ret