joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029a2c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d034
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d034
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029b7c
cmp rax, 0xffffffffffffffff
je 0x140029b7c
xor edi, edi
test rbp, rbp
jle 0x140029b27
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f948
mov rbx, rax
test rax, rax
jne 0x140029ab4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029b1d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a99c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001dd10
cmp eax, 0xffffffff
je 0x140029afd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029ac4
mov edx, r15d
mov ecx, r14d
call fcn.14001a99c
jmp 0x140029b1d
cmp byte [rsi + 0x38], dil
je 0x140029b14
cmp dword [rsi + 0x34], 5
jne 0x140029b14
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029b1d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b700
jmp 0x140029b90
jns 0x140029b90
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d034
cmp rax, 0xffffffffffffffff
jne 0x140029b48
cmp byte [rsi + 0x30], dil
je 0x140029b90
mov edi, dword [rsi + 0x2c]
jmp 0x140029b90
mov ecx, r14d
call fcn.140018e54
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029b90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029b90
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029b89
mov eax, dword [rsi + 0x2c]
jmp 0x140029b8e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d034
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ac80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aca8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aca8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140131ec1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
fidiv dword [rbx]
mov dword [rdx + 0x6cee9], esi
add byte [rdi], cl
mov dh, 0x51
inc dword [rdx + rdx*8 + 0x740850f]
add byte [rax], al

Function at 0x140132c95
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x140133607
xchg rdi, r10
mov r10, qword [rsp + 0x40]
xchg rdi, r10
jmp 0x140132a7a
xchg r9, rbx
mov rbx, qword [rbp + 0x2f8]
xchg rbx, r9
jmp 0x140133620
lea rcx, [0x1401339a0]
mov r8, qword [rbp + 0x2f0]
lea rax, [0x140133970]
Function at 0x140130ac6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140130b06
cmp edx, 0x6d82d0cf
jmp 0x140130cb4
test al, al
je 0x140130cba
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
je 0x140130b2e
jne 0x140130b2e
jmp rax
jmp fcn.140130ac6
add rcx, r9
movzx eax, byte [rcx]
inc rcx
jmp 0x140130afb
je 0x140130dd6
inc r8d
jmp 0x140130d38
mov r10d, r8d
mov edx, 0x9825fae4
lea rax, [r11 + r10*4]
mov ecx, dword [rax + r9]
jmp 0x140130b7e
mov ecx, dword [rbx + r9 + 0x24]
add rcx, r9
movzx edx, word [rcx + r10*2]
jmp 0x1401310a7
Function at 0x140077400
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rcx, qword [r8]
mov rdi, rdx
mov rsi, r8
mov r14d, dword [rcx + rdx]
lea rax, [rcx + 4]
mov qword [r8], rax
mov eax, 2
movsxd rcx, r14d
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140024c68
mov rdx, qword [rsi]
lea ecx, [r14 + r14]
movsxd rbx, ecx
add rdx, rdi
mov r8, rbx
mov rcx, rax
mov r15, rax
call fcn.140025d00
add qword [rsi], rbx
xor eax, eax
movsxd rcx, r14d
mov word [r15 + rcx*2], ax
test r14d, r14d
jle 0x14007748f
mov rax, r15
mov ecx, r14d
xor word [rax], r14w
lea rax, [rax + 2]
sub rcx, 1
jne 0x140077481
mov rbx, qword [rsp + 0x30]
mov rax, r15
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret

Function at 0x14007cf68
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov ebx, dword [rsp + 0x80]
xor edi, edi
mov byte [0x1400f0419], dil
mov esi, r9d
mov rbp, r8
mov r14, rdx
mov r15, rcx
test ebx, ebx
je 0x14007cfde
mov byte [0x1400f041a], 1
call qword [0x1400b52f0]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x30], eax
lea r8, [0x14007d4ac]
lea rax, [rsp + 0x80]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
and dword [rsp + 0x20], edi
call fcn.140031f44
mov rdi, rax
mov r9d, esi
mov r8, rbp
mov rdx, r14
mov rcx, r15
call qword [0x1400b5e20]
mov ebx, eax
test rdi, rdi
je 0x14007d013
or edx, 0xffffffff
mov byte [0x1400f041a], 0
mov rcx, rdi
call qword [0x1400b52c8]
mov rcx, rdi
call qword [0x1400b57e8]
mov rbp, qword [rsp + 0x68]
or eax, 0xffffffff
cmp byte [0x1400f0419], 1
mov rsi, qword [rsp + 0x70]
cmove ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x140081918
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
sub dword [0x1400eef20], 1
jne 0x14008192a
call fcn.140081a18
mov rax, qword [0x1400f3078]
mov ecx, dword [rax]
add rax, 4
mov qword [0x1400f3078], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
add rsp, 0x28
ret

Function at 0x14008196c
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
sub dword [0x1400eef20], 1
jne 0x14008197e
call fcn.140081a18
mov rax, qword [0x1400f3078]
xorps xmm0, xmm0
mov ecx, dword [rax]
add rax, 4
mov qword [0x1400f3078], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x1400def88]
add rsp, 0x28
ret
Function at 0x1400819d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r8d, 1
mov dword [0x1400f26b0], ecx
mov ecx, r8d
lea rdx, [0x1400f26b4]
mov eax, dword [rdx - 4]
shr eax, 0x1e
xor eax, dword [rdx - 4]
imul eax, eax, 0x6c078965
add eax, ecx
add ecx, r8d
mov dword [rdx], eax
lea rdx, [rdx + 4]
cmp ecx, 0x270
jl 0x1400819e6
mov dword [0x1400eef20], r8d
mov dword [0x1400f3070], r8d
ret

Function at 0x140081a18
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1400f3070], 0
lea rbx, [0x1400f26b0]
jne 0x140081a3d
xor ecx, ecx
call fcn.1400347bc
mov rcx, rax
call fcn.1400819d0
mov dword [0x1400eef20], 0x270
mov edx, 0xe3
mov qword [0x1400f3078], rbx
mov r11d, 0x7ffffffe
mov eax, dword [rbx + 4]
mov ecx, eax
xor ecx, dword [rbx]
and al, 1
and ecx, r11d
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx + 0x634]
mov dword [rbx], ecx
add rbx, 4
sub edx, 1
jne 0x140081a59
mov eax, dword [rbx]
mov r10d, 0x18c
mov edx, eax
lea r8, [rbx + 4]
mov r9d, dword [r8]
xor edx, r9d
and edx, r11d
xor edx, eax
mov eax, r9d
shr edx, 1
and al, 1
neg al
mov eax, r9d
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [rbx - 0x38c]
mov dword [rbx], edx
lea rbx, [r8]
sub r10d, 1
jne 0x140081a8d
mov eax, dword [0x1400f26b0]
mov ecx, r9d
xor ecx, eax
and al, 1
and ecx, r11d
xor ecx, r9d
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [r8 - 0x38c]
mov dword [r8], ecx
add rsp, 0x20
pop rbx
ret
Function at 0x14008e87c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x420
mov rbp, rdx
mov rdi, rcx
mov rcx, qword [rcx + 0x50]
lea rdx, [0x1400dd6d0]
call fcn.1400348e0
mov rsi, rax
test rax, rax
jne 0x14008e8b6
lea edx, [rax + 0x1f]
jmp 0x14008e928
mov ebx, 1
mov dword [rsp + 0x430], ebx
lea r9, [rsp + 0x430]
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [0x1400b5f88]
test eax, eax
je 0x14008e923
mov eax, dword [rsp + 0x430]
test eax, eax
je 0x14008e90e
mov edx, eax
lea rcx, [rsp + 0x20]
mov r9, rsi
mov r8, rbx
call fcn.140032a04
mov ecx, dword [rsp + 0x430]
add qword [rdi + 0x10], rcx
test ecx, ecx
jne 0x14008e8c2
cmp qword [rdi + 0x10], 0
jne 0x14008e91c
mov edx, 0x21
jmp 0x14008e928
xor edx, edx
xor r8d, r8d
jmp 0x14008e930
mov edx, 0x20
xor bl, bl
mov r8d, 0xdeadbeef
mov r9b, bl
mov rcx, rdi
call fcn.14008eab8
mov bl, al
test rsi, rsi
je 0x14008e94a
mov rcx, rsi
call fcn.140034970
lea r11, [rsp + 0x420]
mov al, bl
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14008edbc
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0x188], 0
mov rbx, rcx
je 0x14008ee23
test dl, dl
je 0x14008ee23
mov rcx, qword [rcx + 0x190]
test rcx, rcx
je 0x14008edec
call qword [0x1400b57e8]
and qword [rbx + 0x190], 0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [0x1400b5580]
mov r8, rbx
lea rcx, [0x14008ee6c]
xor edx, edx
mov qword [rbx + 0x190], rax
call fcn.140031e74
cmp dword [rbx + 0x20], 0
sete al
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.14008da70

Function at 0x140094e8c
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
mov esi, dword [rsp + 0x30]
lea r14, [0x1400d9e50]
mov ebp, r9d
mov edi, r8d
imul ebp, dword [rsp + 0x30]
mov eax, r9d
shl eax, 2
or r10d, 0xffffffff
movsxd rbx, eax
add rdi, rdx
add rbx, rdx
mov r11, rdx
mov r9, rdx
shl ebp, 2
shl esi, 2
movzx eax, byte [r11 + 2]
movzx ecx, r10b
xor rcx, rax
shr r10d, 8
movzx eax, byte [r11 + 1]
mov edx, dword [r14 + rcx*4]
xor edx, r10d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r11]
add r11, rbp
mov r8d, dword [r14 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
mov r10d, dword [r14 + rcx*4]
xor r10d, r8d
cmp r11, rdi
jb 0x140094f28
mov eax, esi
add r9, rax
mov r11, r9
cmp r9, rbx
jb 0x140094ed6
mov rbx, qword [rsp + 0x10]
not r10d
mov rbp, qword [rsp + 0x18]
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov eax, r10d
cvtsi2sd xmm0, rax
pop r14
ret
Function at 0x7ff7010c1290
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov rax, qword [0x7ff7010cc040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
lea rcx, [rsp + 0x70]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov rbp, qword [rsp + 0x78]
cmp rbp, qword [rsp + 0x80]
jae 0x7ff7010c1428
movss xmm6, dword [0x7ff7010c7e70]
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rsp + 0x38]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.kernel32.dll_VirtualQueryEx]
test rax, rax
je 0x7ff7010c1413
cmp dword [rsp + 0x58], 0x1000
jne 0x7ff7010c140c
mov eax, dword [rsp + 0x60]
add eax, 0xfffe0000
test eax, 0xfffdffff
jne 0x7ff7010c140c
mov rcx, qword [rsp + 0x50]
call fcn.7ff7010c500c
mov r13, rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, r13
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_ReadProcessMemory]
test eax, eax
je 0x7ff7010c1404
mov r12, qword [rdi + 0x10]
mov rsi, qword [rsp + 0xa0]
sub rsi, r12
je 0x7ff7010c1404
mov r15, qword [rdi + 0x18]
lea rbx, [r13 + 0x2c8]
mov r14, qword [rsp + 0x38]
sub r14, r13
nop
mov rdx, rdi
cmp r15, 0xf
jbe 0x7ff7010c13ac
mov rdx, qword [rdi]
lea rcx, [rbx - 0x2c8]
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x7ff7010c13f6
test rbx, rbx
je 0x7ff7010c13f6
movss xmm0, dword [rbx]
ucomiss xmm0, xmm6
jp 0x7ff7010c13f6
jne 0x7ff7010c13f6
lea rax, [r14 + rbx]
mov qword [0x7ff7010ccae8], rax
lea rcx, [r14 - 0x1f8]
add rcx, rbx
lea rax, [rcx + 0x20]
mov qword [0x7ff7010ccb08], rax
mov qword [0x7ff7010ccb10], rcx
inc rbx
sub rsi, 1
jne 0x7ff7010c13a0
mov rbx, qword [rsp + 0x30]
mov rcx, r13
call fcn.7ff7010c4fc0
add rbp, qword [rsp + 0x50]
jmp 0x7ff7010c141a
mov eax, dword [rsp + 0x74]
add rbp, rax
cmp rbp, qword [rsp + 0x80]
jb 0x7ff7010c1300
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x7ff7010c145e
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x7ff7010c1459
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff7010c14a4
mov rcx, r8
call fcn.7ff7010c4fc0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.7ff7010c4fa0
mov rbx, qword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x7ff7010c3f20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x7ff7010cc040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x7ff7010c3ff3
cmp byte [rcx + 0x71], 0
je 0x7ff7010c3ff3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x7ff7010c3fef
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
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 0x7ff7010c3fb4
sub eax, 1
je 0x7ff7010c3fb8
cmp eax, 2
jne 0x7ff7010c3fef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff7010c4fa0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x7ff7010c3fe6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x7ff7010c3fef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x7ff7010c3f9c
xor al, al
jmp 0x7ff7010c3f9c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff7010c4fa0
add rsp, 0x60
pop rbx
ret

Function at 0x7ff7010c5928
Capabilities:
Parse pe header

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

Disassembly:
call 0x1413e71df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1413e7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413e706f
add dl, dl
jne 0x1413e7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413e70f6
xor eax, eax
add dl, dl
jne 0x1413e70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413e71ad
add dl, dl
jne 0x1413e70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413e70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413e70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413e70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1413e70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1413e707e
mov eax, 1
add dl, dl
jne 0x1413e7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413e7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413e70fb
sub eax, ebx
mov ebx, 1
jne 0x1413e714c
mov ecx, 1
add dl, dl
jne 0x1413e712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1413e713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413e7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413e707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1413e7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1413e7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413e715d
cmp eax, 0x7d00
jae 0x1413e719b
cmp eax, 0x500
jb 0x1413e7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413e707e
cmp eax, 0x7f
ja 0x1413e719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413e707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1413e71d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1413e707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001020
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x58], 0
lea r9, [rsp + 0x58]
mov rbx, r8
mov rdi, rcx
xor r8d, r8d
lea rcx, [0x14000cb08]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
jns 0x14000105e
mov ebx, 3
jmp 0x140001086
mov r9, qword [rsp + 0x58]
lea r8, str._s_s
mov edx, 0x208
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call fcn.14000123c
xor ebx, ebx
test eax, eax
lea ecx, [rbx + 0xd]
cmovs ebx, ecx
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000109c
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400010b0
Capabilities:
Create process on windows
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x4d0]
sub rsp, 0x5d0
mov rax, qword [0x14000e958]
xor rax, rsp
mov qword [rbp + 0x4c0], rax
xor edx, edx
lea rcx, [rbp - 0x6c]
mov r8d, 0x118
call fcn.14000a010
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
xor ebx, ebx
cmp byte [rbp + 0xaa], 1
mov word [rbp + 0xb0], bx
je 0x14000115e
lea r8, str.Server_Manager.lnk
lea rcx, [rbp + 0xb0]
call fcn.140001020
lea rcx, [rbp + 0xb0]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
test edi, edi
jne 0x14000114a
cmp eax, 0xffffffff
je 0x14000114a
test al, 0x10
je 0x14000117b
xor edx, edx
lea rcx, [rbp + 0xb0]
mov r8d, 0x410
call fcn.14000a010
lea r8, str.Computer_Management.lnk
lea rcx, [rbp + 0xb0]
call fcn.140001020
mov edi, eax
test eax, eax
jne 0x140001209
lea rdx, [rbp + 0xb0]
lea rcx, str.Snapin_path___ws_n
call fcn.140001008
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x70]
call fcn.14000a010
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x20], 0x70
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
lea rax, str.open
mov dword [rsp + 0x50], 5
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400011eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x140001200
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140001200
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test edi, edi
setne bl
mov eax, ebx
jmp 0x14000120e
mov eax, 1
mov rcx, qword [rbp + 0x4c0]
xor rcx, rsp
call fcn.140001500
lea r11, [rsp + 0x5d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400012b0
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14000e958]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1400012f0
mov eax, 0xff
jmp 0x140001494
mov r9d, dword [rsp + 0x3c]
and r9d, 0x7fff
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov r8d, dword [rsp + 0x40]
mov dword [0x14000f5d0], r8d
mov dword [0x14000f5d8], ecx
mov dword [0x14000f5dc], edx
mov dword [0x14000f5e0], eax
mov eax, r9d
bts eax, 0xf
cmp r8d, 2
cmove eax, r9d
mov dword [0x14000f5d4], eax
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140001386
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001386
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x140001386
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x140001388
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x140001388
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.140002484
test eax, eax
jne 0x1400013be
cmp dword [0x14000f028], 2
je 0x1400013aa
call fcn.140002270
mov ecx, 0x1c
call fcn.1400022bc
mov ecx, 0xff
call fcn.140001e88
call fcn.140001d5c
test eax, eax
jne 0x1400013ea
cmp dword [0x14000f028], 2
je 0x1400013d5
call fcn.140002270
mov ecx, 0x10
call fcn.1400022bc
mov ecx, 0xff
call fcn.140001e88
nop
call fcn.1400024f8
test eax, eax
jns 0x1400013fd
mov ecx, 0x1b
call fcn.140001ea4
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [0x140010ff0], rax
call fcn.140002d34
mov qword [0x14000f020], rax
call fcn.140002788
test eax, eax
jns 0x140001429
mov ecx, 8
call fcn.140001ea4
call fcn.140002b04
test eax, eax
jns 0x14000143c
mov ecx, 9
call fcn.140001ea4
mov ecx, edi
call fcn.140001f14
test eax, eax
je 0x14000144e
mov ecx, eax
call fcn.140001ea4
mov r8, qword [0x14000f5c0]
mov qword [0x14000f5a8], r8
mov rdx, qword [0x14000f5b8]
mov ecx, dword [0x14000f5b0]
call fcn.1400010b0
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
je 0x1400014b5
call fcn.140001f00
jmp 0x140001492
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140001500
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
mov ecx, eax
call fcn.140002260
nop
mov ecx, eax
call fcn.140001e10
nop
int3
sub rsp, 0x28
call 0x140002c58
add rsp, 0x28
jmp 0x1400012b0