joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400707c4
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
xor eax, eax
cmp qword [rcx + 0x28], rax
lea edx, [rax + 2]
cmovne eax, edx
mov edx, dword [rcx]
cmp edx, eax
jge 0x14006f084
mov edx, eax
jmp 0x1400707c4
test edx, edx
js 0x140070853
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov ebx, edx
movaps xmmword [rsp + 0x20], xmm7
test edx, edx
jne 0x1400707ea
xor ecx, ecx
jmp 0x14007083e
cmp ebx, 0xf
jae 0x14007083c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
je 0x14007083c
xorps xmm7, xmm7
cvtsi2sd xmm7, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_Sleep]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
xorps xmm6, xmm6
sub rax, qword [rsp + 0x60]
cvtsi2sd xmm6, rax
call fcn.140025c84
divsd xmm6, xmm0
comisd xmm7, xmm6
ja 0x140070806
jmp 0x140070844
mov ecx, ebx
call qword [sym.imp.KERNEL32.DLL_Sleep]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rbx
ret

Function at 0x140070854
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r15b, r8b
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x140070883
cmp byte [rcx + 9], dl
je 0x140070976
xor r14d, r14d
xor ebp, ebp
call qword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ebx, eax
test r15b, r15b
je 0x140070932
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea r8d, [r14 + 1]
mov ecx, ebx
mov edx, eax
mov dword [0x1400e7198], eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r15d, eax
test rdi, rdi
je 0x14007090b
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [0x1400e7198]
mov dword [0x1400e719c], eax
cmp ecx, eax
je 0x1400708f9
lea r8d, [r14 + 1]
mov edx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14d, eax
mov eax, dword [0x1400e719c]
mov r8d, 1
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, eax
test r15d, r15d
jne 0x140070976
test r14d, r14d
jne 0x140070976
test ebp, ebp
jne 0x140070976
mov eax, dword [0x1400e7198]
cmp ebx, eax
jne 0x140070976
cmp eax, dword [0x1400e719c]
jne 0x140070976
and qword [rsi + 0x28], 0
jmp 0x140070976
test rdi, rdi
je 0x140070963
mov edx, dword [0x1400e719c]
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400e7198]
mov edx, dword [0x1400e719c]
cmp eax, edx
je 0x140070969
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400e7198]
xor r8d, r8d
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400709f8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov qword [rcx], 0xff
mov word [rcx + 8], dx
mov byte [rcx + 0xa], al
test dx, dx
je 0x140070a60
movzx ecx, dx
call qword [sym.imp.USER32.dll_VkKeyScanW]
cmp ax, 0xffff
jne 0x140070a2d
xor al, al
jmp 0x140070a60
movzx edi, ax
movzx ecx, al
xor edx, edx
sar di, 8
mov byte [rbx], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
test al, dil
je 0x140070a4e
mov byte [rbx + 1], al
test dil, 2
je 0x140070a57
mov byte [rbx + 3], al
test dil, 4
je 0x140070a60
mov byte [rbx + 4], al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140070a6c
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov dword [rcx + 6], eax
mov dword [rcx + 1], eax
mov byte [rcx + 5], al
mov byte [rcx + 0xa], al
mov byte [rcx], dl
cmp dl, 0xff
je 0x140070a9a
movzx ecx, dl
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140072e50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call fcn.140072cc8
mov rcx, qword [rsi]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add qword [rsi + 0x18], rax
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400730d8
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp dl, 1
jne 0x14007310a
call fcn.140074b30
test al, al
jne 0x140073127
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov r8d, 1
jmp 0x14007311d
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x20
pop rbx
ret
Function at 0x140073130
Capabilities:
Copy file
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1ff88]
mov eax, 0x20080
call fcn.140038c40
sub rsp, rax
mov dil, r8b
mov rbx, rdx
mov esi, 0x7fff
lea r8, [rbp + 0xff80]
mov edx, esi
call fcn.1400745c4
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, rbx
call fcn.1400745c4
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x1400731ca
test dil, dil
je 0x1400731c3
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call fcn.140027894
test eax, eax
je 0x1400731bc
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xff80]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
mov al, 1
jmp 0x14007326e
xor al, al
jmp 0x14007326e
lea rcx, [rbp + 0xff80]
call fcn.140074ad4
test al, al
je 0x1400731c3
lea rcx, [rbp - 0x80]
call fcn.140074ad4
test al, al
je 0x140073287
test dil, dil
je 0x1400731c3
lea rdx, [0x1400d0558]
lea rcx, [rbp + 0xff80]
call fcn.140026dfc
lea rcx, [rbp + 0xff80]
call fcn.140026c38
lea rcx, [rbp - 0x80]
mov word [rbp + rax*2 + 0xff82], si
call fcn.140026c38
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
mov word [rbp + rax*2 - 0x7e], si
lea rax, [rbp + 0xff80]
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x40], ax
mov dword [rsp + 0x28], 2
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
lea r11, [rsp + 0x20080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14001f0bc
lea rcx, [rsp + 0x58]
call fcn.14007359c
lea rcx, [rsp + 0x58]
test al, al
sete bl
call fcn.14001c29c
test bl, bl
jne 0x1400731c3
lea rcx, [rbp - 0x80]
call fcn.140074ad4
test al, al
jmp 0x1400731ee
Function at 0x140073560
Capabilities:
Copy file

Disassembly:
push rbx
sub rsp, 0x30
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x40]
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.DLL_CopyFileExW]
cmp eax, 1
sete al
add rsp, 0x30
pop rbx
ret

Function at 0x14007359c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rcx]
lea rdx, [0x1400ab2ec]
mov edi, 1
mov qword [rbp - 0x40], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x38], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x30], rax
mov rax, qword [rcx + 0x18]
lea rcx, [rbp - 0x40]
add dword [rax], edi
mov qword [rbp - 0x28], rax
call fcn.14001f36c
mov rsi, qword [rbp - 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140073692
call qword [sym.imp.KERNEL32.DLL_GetLastError]
xor ebx, ebx
cmp eax, 2
jne 0x140073620
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x140073625
jmp 0x1400736a0
cmp eax, 3
jne 0x14007369b
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x20], rsi
lea rdx, [0x1400ab2ec]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x30]
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 8], rax
add dword [rax], edi
call fcn.14001ef60
or r8, 0xffffffffffffffff
cmp rax, r8
je 0x140073687
lea rcx, [rbp - 0x20]
mov rdx, rax
call fcn.14001efc4
lea rcx, [rbp - 0x20]
call fcn.14007359c
test al, al
je 0x140073685
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
setne al
mov bl, al
lea rcx, [rbp - 0x20]
call fcn.14001c29c
jmp 0x14007369d
test al, 0x10
je 0x14007369b
mov bl, dil
jmp 0x14007369d
xor ebx, ebx
mov dil, bl
lea rcx, [rbp - 0x40]
call fcn.14001c29c
lea r11, [rsp + 0x60]
mov al, dil
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400736c4
Capabilities:
Delete file
Enumerate files on windows

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 rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov rbx, rcx
lea rcx, [rsp + 0x30]
xor edi, edi
mov r14b, dil
call fcn.14001e640
lea rcx, [rsp + 0x70]
call fcn.14001e640
lea rcx, [rsp + 0x50]
call fcn.14001e640
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001a41c
mov rcx, qword [rsp + 0x30]
call fcn.140074ad4
test al, al
je 0x140073738
lea rdx, [0x1400d0558]
lea rcx, [rsp + 0x30]
call fcn.14001ef20
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.14001a1cc
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov sil, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400737db
cmp sil, 1
jne 0x1400737db
test byte [rbp - 0x70], 0x10
jne 0x1400737ba
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
mov r14b, sil
call fcn.14001f350
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14001ec60
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x30]
call fcn.14001ef20
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
jne 0x1400737d0
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x14007376f
mov sil, dil
jmp 0x14007376f
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x1400737e7
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov dil, r14b
lea rcx, [rsp + 0x50]
call fcn.14001c29c
lea rcx, [rsp + 0x70]
call fcn.14001c29c
lea rcx, [rsp + 0x30]
call fcn.14001c29c
lea r11, [rsp + 0x2e0]
mov al, dil
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140073854
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov r15, rdx
xor edx, edx
mov r12, rcx
lea ecx, [rdx + 2]
mov rbx, r8
mov dword [rbp - 0x70], 0x238
call qword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
lea rdx, [rbp - 0x70]
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.DLL_Process32FirstW]
mov rdi, qword [r12]
xor r13d, r13d
mov byte [rbx], r13b
mov esi, r13d
cmp word [rdi], r13w
je 0x1400738d3
mov rcx, rdi
movzx ecx, word [rcx]
call fcn.140027990
test eax, eax
je 0x1400738e3
inc esi
lea rcx, [rdi + rsi*2]
cmp word [rcx], r13w
jne 0x1400738bb
mov rcx, rdi
call fcn.1400278dc
mov rdi, rax
jmp 0x140073998
mov edi, r13d
jmp 0x140073998
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_Process32NextW]
cmp eax, 1
jne 0x1400739a1
lea rcx, [rsp + 0x30]
call fcn.14001e640
lea rcx, [rsp + 0x50]
call fcn.14001e640
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x70]
call fcn.14001f0bc
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x30]
lea rcx, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14001a1cc
lea rcx, [rsp + 0x70]
call fcn.14001c29c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14001ec60
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov rdx, r12
call fcn.14001eac0
test eax, eax
jne 0x140073973
mov eax, dword [rbp - 0x68]
jmp 0x14007397e
test edi, edi
je 0x140073984
mov eax, dword [rbp - 0x68]
cmp edi, eax
jne 0x140073984
mov dword [r15], eax
mov byte [rbx], 1
lea rcx, [rsp + 0x50]
call fcn.14001c29c
lea rcx, [rsp + 0x30]
call fcn.14001c29c
cmp byte [rbx], r13b
je 0x1400738eb
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea r11, [rsp + 0x2d0]
mov al, 1
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x1400739d0
Capabilities:
Get storage device properties

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x80
and qword [rax - 0x58], 0
and dword [rdx], 0
mov rdi, rdx
mov edx, 0x80
xor r9d, r9d
lea r8d, [rdx - 0x7d]
mov dword [rax - 0x60], edx
mov dword [rax - 0x68], r8d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140073a14
xor al, al
jmp 0x140073a8d
and dword [rsp + 0x40], 0
and dword [rsp + 0x44], 0
xor eax, eax
lea ebx, [rax + 0x28]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, ebx
mov dword [rsp + 0x48], eax
call fcn.140026e60
and qword [rsp + 0x38], 0
and dword [rsp + 0x98], 0
lea rax, [rsp + 0x98]
lea r9d, [rbx - 0x1c]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test ebx, ebx
je 0x140073a10
mov eax, dword [rsp + 0x6c]
mov dword [rdi], eax
mov al, 1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140073aa4
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400e6630]
xor edi, edi
cmp byte [rax + 0x39], dil
jne 0x140073acc
mov eax, 0x80004005
jmp 0x140073b66
mov edx, 0x80
mov qword [rsp + 0x30], rdi
xor r9d, r9d
lea r8d, [rdx - 0x7d]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140073ac2
xor eax, eax
mov qword [rsp + 0x38], rdi
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x78]
lea r8, [rsp + 0x40]
mov edx, 0x2d1400
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], r9d
mov rcx, rsi
mov qword [rsp + 0x40], 7
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test ebx, ebx
je 0x140073ac2
cmp byte [rsp + 0x58], dil
setne dil
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140074364
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x270
mov rbx, rcx
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400743a1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x140074394
or eax, 0xffffffff
jmp 0x1400743a1
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [rsp + 0x20]
add rsp, 0x270
pop rbx
ret
Function at 0x140074628
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2c0
mov rdi, rdx
movsxd rbx, ecx
lea rdx, [rsp + 0x120]
mov ecx, 0x101
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x140074706
lea rcx, [rsp + 0x20]
mov edx, 0x100
call qword [sym.imp.WSOCK32.dll_gethostname]
lea rcx, [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_gethostbyname]
test rax, rax
je 0x140074706
mov r9, qword [rax + 0x18]
xor ecx, ecx
cmp qword [r9], rcx
je 0x140074694
mov rax, r9
lea rax, [rax + 8]
inc ecx
cmp qword [rax], 0
jne 0x140074688
cmp ebx, ecx
jle 0x1400746a9
lea rdx, str.0.0.0.0
mov rcx, rdi
call fcn.140026e28
jmp 0x1400746fe
mov rdx, qword [r9 + rbx*8 - 8]
lea rcx, [rsp + 0x2e0]
mov r8d, 4
call fcn.1400265f0
mov ecx, dword [rsp + 0x2e0]
call qword [sym.imp.WSOCK32.dll_inet_ntoa]
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140028890
lea rcx, [rsp + 0x20]
or edx, 0xffffffff
call fcn.1400756f8
mov rcx, rdi
mov rdx, rax
mov rbx, rax
call fcn.140026e28
mov rcx, rbx
call fcn.140024cec
call qword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x140074715
lea rdx, [0x1400ab2d0]
mov rcx, rdi
call fcn.140026e28
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2c0
pop rdi
ret

Function at 0x140074728
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
lea rax, [rsp + 0x30]
mov rbx, rdx
mov edx, ecx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001edf8
add rsp, 0x240
pop rbx
ret

Function at 0x1400749b0
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
lea rax, [rbp + 0x20]
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rbp + 0x18], ebx
mov word [rbp + 0x1c], 0x500
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp + 0x10], eax
test eax, eax
je 0x140074a2a
mov rdx, qword [rbp + 0x20]
lea r8, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp + 0x10], ecx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp + 0x10]
mov rbx, qword [rsp + 0x88]
cmp eax, 1
sete al
add rsp, 0x60
pop rbp
ret

Function at 0x140074ad4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140074aeb
test al, 0x10
je 0x140074aeb
mov al, 1
jmp 0x140074aed
xor al, al
add rsp, 0x28
ret
Function at 0x140074b68
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 esi, r9d
mov rbp, r8
mov r14, rdx
mov r15, rcx
mov byte [0x1400e451f], dil
test ebx, ebx
je 0x140074bde
mov byte [0x1400e4520], 1
call qword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x80]
lea r8, [0x1400750a4]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x34], ebx
call fcn.1400281c0
mov rdi, rax
mov r9d, esi
mov r8, rbp
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
test rdi, rdi
je 0x140074c13
or edx, 0xffffffff
mov rcx, rdi
mov byte [0x1400e4520], 0
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
or eax, 0xffffffff
cmp byte [0x1400e451f], 1
cmove ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140074df0
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x203d8]
mov eax, 0x204d0
call fcn.140038c40
sub rsp, rax
mov dil, r8b
mov rbx, rdx
mov esi, 0x7fff
lea r8, [rbp + 0x103d0]
mov edx, esi
call fcn.1400745c4
lea r8, [rbp + 0x3d0]
mov edx, esi
mov rcx, rbx
call fcn.1400745c4
lea rcx, [rbp + 0x103d0]
call fcn.140074ad4
xor esi, esi
test al, al
jne 0x140074e57
xor al, al
jmp 0x140075031
lea rcx, [rbp + 0x3d0]
call fcn.140074ad4
test al, al
je 0x140074f1a
test dil, dil
je 0x140074e50
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x103d0]
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
lea rcx, [rbp + 0x103d0]
test eax, eax
jne 0x140074ec4
lea rdx, [rbp + 0x3d0]
call fcn.140027894
test eax, eax
je 0x140074ebd
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x103d0]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
setne al
jmp 0x140075031
mov al, 1
jmp 0x140075031
lea rax, [rbp - 0x50]
lea r9, [rbp + 0x1c0]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1400284b8
lea rdx, [0x1400ab2ec]
lea rcx, [rbp + 0x3d0]
call fcn.140026dfc
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x3d0]
call fcn.140026dfc
cmp word [rbp - 0x50], si
je 0x140074f1a
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x3d0]
call fcn.140026dfc
lea rdx, [rbp + 0x3d0]
lea rcx, [rsp + 0x30]
call fcn.14001f0bc
lea rdx, [rbp + 0x103d0]
lea rcx, [rbp - 0x78]
call fcn.14001f0bc
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.140074a40
lea rcx, [rbp - 0x78]
mov bl, al
call fcn.14001c29c
lea rcx, [rsp + 0x30]
call fcn.14001c29c
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x103d0]
test bl, bl
je 0x140074fb0
mov r8b, 1
call fcn.140073130
test al, al
je 0x140074e50
lea rdx, [rbp + 0x103d0]
lea rcx, [rsp + 0x30]
call fcn.14001f0bc
lea rcx, [rsp + 0x30]
mov dl, 1
call fcn.140075288
lea rcx, [rsp + 0x30]
test al, al
sete bl
call fcn.14001c29c
test bl, bl
jmp 0x14007502e
call fcn.140027894
test eax, eax
je 0x140074e50
lea rcx, [rbp + 0x103d0]
call fcn.140026c38
lea rcx, [rbp + 0x3d0]
mov word [rbp + rax*2 + 0x103d2], si
call fcn.140026c38
lea rcx, [rsp + 0x50]
xorps xmm0, xmm0
mov word [rbp + rax*2 + 0x3d2], si
lea rax, [rbp + 0x103d0]
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x3d0]
mov dword [rsp + 0x74], esi
mov qword [rsp + 0x68], rax
mov eax, 0x614
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x70], ax
mov dword [rsp + 0x58], 1
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
lea r11, [rsp + 0x204d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret