joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140089580
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov rcx, rbx
call fcn.1400887a0
mov rcx, rbx
call fcn.140088f60
mov rcx, rbx
call fcn.1400c62f0
mov ecx, 3
call fcn.14012a5d0
lea rcx, [0x14004d1b0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, 8
call fcn.140125dd0
lea rcx, vtable.WebBrowserEventHandler.0
mov qword [rsp + 0x40], rax
mov qword [rax], rcx
mov rcx, qword [rbx + 0xa70]
cmp qword [rcx + 0x740], rax
je 0x1400895f5
mov qword [rcx + 0x740], rax
mov rcx, qword [rbx + 0xa70]
lea rdx, str.https:__www.cleanupsys.com_WebStatistics.html
call fcn.1400e4190
mov rcx, rbx
call fcn.14009b170
xor eax, eax
lea r8, [0x14009cac0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xaa0], rax
add rsp, 0x30
pop rbx
ret
Function at 0x14008e430
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edi, edi
test rcx, rcx
je 0x14008e56b
mov rdx, qword [rcx + 0x55]
test rdx, rdx
je 0x14008e56b
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
add rdx, 0x50
lea rcx, [rsp + 0x30]
call fcn.14009da80
nop
cmp qword [rsp + 0x38], rdi
jbe 0x14008e543
cmp dword [0x140455d78], edi
jne 0x14008e49e
call fcn.14005efb0
mov r8, qword [rsp + 0x30]
mov rbx, qword [r8]
cmp rbx, r8
je 0x14008e528
nop dword [rax + rax]
cmp dword [0x140455b64], 0
jne 0x14008e528
lea rcx, [rbx + 0x20]
cmp qword [rcx + 0x18], 8
jb 0x14008e4c7
mov rcx, qword [rcx]
call fcn.14007fad0
mov edi, eax
cmp byte [rbx + 0x19], 0
jne 0x14008e51e
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x19], 0
jne 0x14008e4fe
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
jne 0x14008e51e
nop word [rax + rax]
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14008e4f0
jmp 0x14008e51e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14008e51b
cmp rbx, qword [rax + 0x10]
jne 0x14008e51b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14008e508
mov rbx, rax
mov r8, qword [rsp + 0x30]
cmp rbx, r8
jne 0x14008e4b0
cmp dword [0x140455d78], 0
jne 0x14008e548
mov edx, 1
lea rcx, str.X:Windowsexplorer.exe
call qword [sym.imp.KERNEL32.dll_WinExec]
mov r8, qword [rsp + 0x30]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140067fb0
mov rcx, qword [rsp + 0x30]
call fcn.140125e0c
mov eax, edi
jmp 0x14008e56d
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14008e590
Capabilities:
Delete file
Set file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edi, edi
test rcx, rcx
je 0x14008e6e2
mov rdx, qword [rcx + 0x55]
test rdx, rdx
je 0x14008e6e2
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
add rdx, 0x50
lea rcx, [rsp + 0x30]
call fcn.14009da80
nop
cmp qword [rsp + 0x38], rdi
jbe 0x14008e6ba
cmp dword [0x140455d78], edi
jne 0x14008e605
lea rcx, str.WSearch
call fcn.140060540
mov r8, qword [rsp + 0x30]
mov rbx, qword [r8]
cmp rbx, r8
je 0x14008e6ac
nop word [rax + rax]
cmp dword [0x140455b64], 0
jne 0x14008e6ac
lea rdi, [rbx + 0x20]
cmp qword [rdi + 0x18], 8
jb 0x14008e63b
mov rdi, qword [rdi]
mov edx, 0x80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
cmp byte [rbx + 0x19], 0
jne 0x14008e69e
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x19], 0
jne 0x14008e67e
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
jne 0x14008e69e
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14008e670
jmp 0x14008e69e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14008e69b
cmp rbx, qword [rax + 0x10]
jne 0x14008e69b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14008e688
mov rbx, rax
mov r8, qword [rsp + 0x30]
cmp rbx, r8
jne 0x14008e620
cmp dword [0x140455d78], 0
jne 0x14008e6bf
call fcn.140060370
mov r8, qword [rsp + 0x30]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140067fb0
mov rcx, qword [rsp + 0x30]
call fcn.140125e0c
mov eax, edi
jmp 0x14008e6e4
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14008e700
Capabilities:
Move file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edi, edi
test rcx, rcx
je 0x14008e84f
mov rdx, qword [rcx + 0x55]
test rdx, rdx
je 0x14008e84f
xor eax, eax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
add rdx, 0x50
lea rcx, [r11 - 0x28]
call fcn.14009da80
nop
mov r8, qword [rsp + 0x50]
cmp qword [rsp + 0x58], rdi
jbe 0x14008e82c
mov rbx, qword [r8]
cmp rbx, r8
je 0x14008e82c
nop
cmp dword [0x140455b64], 0
jne 0x14008e82c
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 8
jb 0x14008e78b
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.140052100
cmp qword [rax + 0x18], 8
jb 0x14008e79f
mov rax, qword [rax]
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14008e7cd
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14004e100
cmp byte [rbx + 0x19], 0
jne 0x14008e81e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14008e7fe
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14008e81e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14008e7f0
jmp 0x14008e81e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14008e81b
cmp rbx, qword [rax + 0x10]
jne 0x14008e81b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14008e808
mov rbx, rax
mov r8, qword [rsp + 0x50]
cmp rbx, r8
jne 0x14008e770
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140067fb0
mov rcx, qword [rsp + 0x50]
call fcn.140125e0c
mov eax, edi
jmp 0x14008e851
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14008e870
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor esi, esi
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
test rdx, rdx
jne 0x14008e89c
xor eax, eax
jmp 0x14008eab4
movzx eax, byte [rdx + 0x50]
cmp eax, 0x11
ja case.0x14008e8ba.3
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x8eac8]
add rcx, rdx
jmp rcx
mov rcx, qword [rbx + 0x55]
add rcx, 0x28
cmp qword [rcx + 0x18], 8
jb 0x14008e8ce
mov rcx, qword [rcx]
mov ebx, 1
mov edx, ebx
call fcn.14007fdc0
mov esi, ebx
inc dword [rdi]
xor r9d, r9d
movsxd r8, dword [rdi]
mov edx, 0x4cd
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
mov r8, qword [r14]
mov edx, 0x4ce
jmp 0x14008eaa5
mov rdx, qword [rbx + 0x55]
mov rcx, rbp
call fcn.14008e130
mov esi, eax
jmp case.0x14008e8ba.3
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r15
mov r15, qword [rbx + 0x55]
add r15, 0x28
cmp qword [r15 + 0x18], 8
jb 0x14008e92f
mov r15, qword [r15]
cmp dword [0x140455d78], esi
mov ebx, 1
jne 0x14008e946
call fcn.14005db60
test eax, eax
cmovne esi, ebx
mov r8d, 3
mov edx, ebx
mov rcx, r15
call fcn.140052070
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14008e97d
mov r9, r14
lea rdx, [0x1400694a0]
mov r8, r15
mov rcx, rax
call fcn.140052330
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
test esi, esi
je 0x14008e8da
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x14008e8da
mov rcx, r14
call fcn.1400a18f0
test eax, eax
je case.0x14008e8ba.3
mov esi, 1
jmp 0x14008e8dc
mov edx, 4
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.1400a1ba0
mov ebx, eax
call qword [sym.imp.ole32.dll_CoUninitialize]
test ebx, ebx
js case.0x14008e8ba.3
inc dword [rdi]
mov esi, 1
mov r8, qword [r14]
mov edx, 0x4ce
jmp 0x14008eaa5
call fcn.1400a2290
test eax, eax
je case.0x14008e8ba.3
mov rax, qword [rbx + 0x55]
mov esi, 1
mov rcx, qword [rax + 0x48]
add qword [r14], rcx
jmp 0x14008e8dc
call fcn.1400a2060
mov rax, qword [rbx + 0x55]
xor r9d, r9d
mov edx, 0x4cd
mov rcx, qword [rax + 0x48]
add qword [r14], rcx
inc dword [rdi]
movsxd r8, dword [rdi]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
mov r8, qword [r14]
xor r9d, r9d
mov rcx, qword [rbp + 8]
mov edx, 0x4ce
call qword [sym.imp.USER32.dll_PostMessageW]
xor edx, edx
lea rcx, str.powercfg__h_off
call qword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x14008e9f7
call fcn.1400a8ef0
test eax, eax
je case.0x14008e8ba.3
jmp 0x14008ea9b
mov ebx, 1
mov dword [rbp + 0xb28], ebx
inc dword [r8]
movsxd r8, dword [r8]
jmp 0x14008eaa0
mov rcx, rbx
call fcn.14008e430
jmp 0x14008e9ef
mov rcx, rbx
call fcn.14008e590
jmp 0x14008e9ef
mov rcx, rbx
call fcn.14008e700
mov esi, eax
inc dword [rdi]
movsxd r8, dword [rdi]
mov edx, 0x4cd
mov rcx, qword [rbp + 8]
xor r9d, r9d
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, esi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14008eb10
Capabilities:
Empty recycle bin quietly
Empty the recycle bin

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
mov qword [rsp + 0x38], 7
lea rdx, str.ck_W
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x20], bx
lea r8d, [rbx + 0xa]
call fcn.14004db90
lea rcx, [rsp + 0x20]
call fcn.14007d390
xor edx, edx
lea r8d, [rbx + 7]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
lea r8d, [rbx + 0xb]
mov qword [rsp + 0x38], 7
lea rdx, str.ck_W_Rd
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x20], bx
call fcn.14004db90
lea rcx, [rsp + 0x20]
call fcn.14007d390
xor edx, edx
lea rcx, [0x1404569e0]
add rsp, 0x40
pop rbx
jmp fcn.14007fdc0
Function at 0x140092f80
Capabilities:
Create thread

Disassembly:
test rdx, rdx
je 0x14009300a
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x458], 0
mov rbx, rdx
mov rdi, rcx
je 0x140093000
mov rcx, qword [rcx + 0xc88]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140092fd6
mov rcx, qword [rdi + 8]
lea rdx, [0x14032f2d8]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140080170
mov r9, qword [rbx + 0x458]
lea r8, [0x140092ca0]
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0xc88], rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140096ab0
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0xa0
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword gs:[0x58]
xor ebp, ebp
mov rdi, rdx
mov dword [rsp + 0x40], ebp
mov edx, Ordinal_27
mov rbx, r8
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140459c84], eax
jle 0x140096b4b
lea rcx, [0x140459c84]
call fcn.140125c74
cmp dword [0x140459c84], 0xffffffff
jne 0x140096b4b
xor edx, edx
lea rcx, [0x140459d20]
mov r8d, 0x88
call fcn.1402767a0
lea rax, [0x140459d28]
mov word [0x140459d28], bp
lea rcx, [0x1402ad420]
mov qword [0x140459d20], rax
call fcn.140126368
lea rcx, [0x140459c84]
call fcn.140125c14
test rbx, rbx
je 0x140096cab
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x140096cab
xor eax, eax
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rbp
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x50], rax
lea r8d, [rax + 0x20]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov r8, rbx
lea rdx, str.__s_
lea rcx, [0x140459d20]
call fcn.1400c3460
cmp word [rsp + 0x50], bp
je 0x140096bfa
mov r9, rbx
lea r8, [rsp + 0x50]
lea rdx, [0x14032fc50]
lea rcx, [0x140459d20]
call fcn.1400c3460
jmp 0x140096cab
lea r8, [0x14032fbd8]
mov qword [rsp + 0xc0], rsi
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call fcn.14005f970
mov rsi, rax
test rax, rax
je 0x140096c47
mov r9, rbx
lea rdx, [0x14032fbc8]
mov r8, rax
lea rcx, [0x140459d20]
call fcn.1400c3460
mov rcx, rsi
call fcn.140125e14
jmp 0x140096ca3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, 2
je 0x140096c8d
sub eax, 1
je 0x140096c84
sub eax, 1
je 0x140096c7b
sub eax, 1
je 0x140096c72
cmp eax, 1
jne 0x140096ca3
lea rdx, [0x14032fd20]
jmp 0x140096c94
lea rdx, [0x14032fc60]
jmp 0x140096c94
lea rdx, [0x14032fc80]
jmp 0x140096c94
lea rdx, str._g0W
jmp 0x140096c94
lea rdx, [0x14032fcb0]
mov r8, rbx
lea rcx, [0x140459d20]
call fcn.1400c3460
mov rsi, qword [rsp + 0xc0]
lea rcx, [rdi + 8]
or r8d, 0xffffffff
mov qword [rdi], rcx
mov word [rcx], bp
mov rcx, rdi
mov rdx, qword [0x140459d20]
call fcn.1400c2e90
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140125a70
add rsp, 0xa0
pop rdi
pop rbp
pop rbx
ret
Function at 0x1400993e0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xf0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x128], rbx
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
lea rcx, [rdx + 0x5a8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
test eax, eax
jle 0x14009951f
movsx eax, bx
mov dword [rsp + 0x40], eax
shr rbx, 0x10
movsx eax, bx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi]
mov r9d, reloc.WS2_32.dll_setsockopt
lea r8, [rsp + 0x30]
lea rdx, [0x1400c1a90]
mov rcx, rdi
call qword [rax + 0x268]
test rax, rax
je 0x14009951f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x48]
mov rbx, rax
test rax, rax
je 0x14009951f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + gethostname]
mov r10, qword [rbx]
xor r9d, r9d
lea r8, [0x1403306d0]
lea rdx, [0x1400c1bd0]
mov rcx, rbx
call qword [r10 + 0x268]
mov rbx, rax
test rax, rax
je 0x14009951f
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0x50]
call fcn.1402767a0
mov r8, qword [rbx]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [r8 + 0x190]
nop
mov rcx, qword [rsp + 0x50]
call fcn.14004baa0
mov rsi, rax
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14009950b
mov qword [rsp + 0x20], rbx
mov r9, rdi
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, rbp
call fcn.14008c2e0
nop
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x14009951f
call fcn.14027b988
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x128]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009ace0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x170
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1a8], rbx
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, r8
mov rdi, rcx
mov rcx, qword [rcx + 0xb08]
add rcx, 0x5a8
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
test eax, eax
jle 0x14009aeee
movsx eax, bx
mov dword [rsp + 0x30], eax
shr rbx, 0x10
movsx eax, bx
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, qword [rdi + 0xb08]
test rcx, rcx
jne 0x14009ad63
mov rcx, qword [rdi + 0x1b8]
mov rax, qword [rcx]
mov r9d, reloc.WS2_32.dll_setsockopt
lea r8, [rsp + 0x20]
lea rdx, [0x1400c1a90]
call qword [rax + 0x268]
mov rbx, rax
test rax, rax
je 0x14009aeee
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0x40]
call fcn.1402767a0
mov r8, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rdx, qword [rsp + 0x40]
lea r8, str.LabelUISysclearParent
xor esi, esi
mov ecx, esi
nop dword [rax]
movzx eax, word [rdx + rcx*2]
or r15, 0xffffffffffffffff
cmp ax, word [r8 + rcx*2]
jne 0x14009ade8
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x14009ade8
add rcx, 2
cmp rcx, 0x16
jne 0x14009adc0
jmp 0x14009ae1e
lea r8, [0x140330838]
mov rcx, r15
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x14009aedc
add rcx, 2
cmp rcx, 0x15
je 0x14009ae1e
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
jne 0x14009aedc
jmp 0x14009adf2
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0xd0]
call fcn.1402767a0
mov rax, qword [rbx]
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call qword [rax + 0x190]
nop
mov r14, qword [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
je 0x14009ae9c
mov eax, 2
mul rbp
cmovo rax, r15
mov rcx, rax
call fcn.140125a94
mov rsi, rax
lea r8, [rbp*2]
xor edx, edx
mov rcx, rax
call fcn.1402767a0
mov r8d, ebp
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14009aebd
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call fcn.14008c170
nop
lea rax, [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
cmp rcx, rax
je 0x14009aed7
call fcn.14027b988
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
cmp rdx, rax
je 0x14009aeee
mov rcx, rdx
call fcn.14027b988
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009b500
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rbp + 8], rax
mov rbx, rcx
movzx edi, word [0x140455b60]
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0x70]
call fcn.1402767a0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
xor esi, esi
mov word [rsp + 0x78], si
movabs rax, 0x5c003a0058
mov qword [rbp], rax
mov word [rbp], di
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x58]
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x14009b5f2
mov dword [rsp + 0x4c], esi
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x54], esi
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x4c]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x14009b5f2
mov edx, dword [rsp + 0x48]
imul edx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x50]
imul r8, rdx
mov qword [rsp + 0x60], r8
mov ecx, dword [rsp + 0x54]
imul rcx, rdx
mov qword [rsp + 0x58], rcx
jmp 0x14009b5fc
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov qword [rbx + 0xb40], r8
mov rax, rcx
sub rax, r8
mov qword [rbx + 0xb48], rax
mov qword [rbx + 0xb38], rcx
test rcx, rcx
je 0x14009b721
mov rax, rcx
lea r10, [0x14043bd30]
mov r9, r10
cmp rcx, 0x400
jl 0x14009b65b
nop word [rax + rax]
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
add r9, 8
cmp rax, 0x400
jge 0x14009b640
mov r11, qword [r9]
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
movss xmm3, dword [0x14035d080]
movss xmm2, dword [0x14035d110]
comiss xmm1, xmm2
jb 0x14009b689
nop dword [rax + rax]
mulss xmm1, xmm3
comiss xmm1, xmm2
jae 0x14009b680
mov rax, r8
cmp r8, 0x400
jl 0x14009b6bb
nop word [rax + rax]
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
add r10, 8
cmp rax, 0x400
jge 0x14009b6a0
mov rax, qword [r10]
xorps xmm0, xmm0
cvtsi2ss xmm0, r8
comiss xmm0, xmm2
jb 0x14009b6d9
nop dword [rax + rax]
mulss xmm0, xmm3
comiss xmm0, xmm2
jae 0x14009b6d0
cvtss2sd xmm0, xmm0
xorps xmm3, xmm3
cvtss2sd xmm3, xmm1
movzx r8d, di
mov qword [rsp + 0x30], rax
movsd qword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], r11
movq r9, xmm3
lea rdx, [0x140330948]
lea rcx, [rsp + 0x70]
call fcn.1400c3460
mov rcx, qword [rbx + 0xb00]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x70]
call qword [rax + 0x58]
nop
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
je 0x14009b735
call fcn.14027b988
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140125a70
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400a2290
Capabilities:
Clear windows event logs

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.wevtapi.dll_EvtOpenChannelEnum]
mov rdi, rax
test rax, rax
je 0x1400a2388
xor edx, edx
mov qword [rsp + 0x250], rsi
mov r8d, 0x200
mov dword [rsp + 0x20], 0x100
lea rcx, [rsp + 0x30]
call fcn.1402767a0
lea r9, [rsp + 0x20]
mov edx, 0x100
lea r8, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.wevtapi.dll_EvtNextChannelPath]
lea esi, [rbx + 1]
test eax, eax
je 0x1400a235d
cmp dword [rsp + 0x20], 0
jbe 0x1400a235d
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.wevtapi.dll_EvtClearLog]
mov r8d, 0x200
mov dword [rsp + 0x20], 0x100
test eax, eax
lea rcx, [rsp + 0x30]
cmovne ebx, esi
xor edx, edx
call fcn.1402767a0
lea r9, [rsp + 0x20]
mov edx, 0x100
lea r8, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.wevtapi.dll_EvtNextChannelPath]
test eax, eax
jne 0x1400a2308
xor r9d, r9d
lea rdx, str.System
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.wevtapi.dll_EvtClearLog]
test eax, eax
mov rcx, rdi
cmovne ebx, esi
call qword [sym.imp.wevtapi.dll_EvtClose]
mov rsi, qword [rsp + 0x250]
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret

Function at 0x1400a2680
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.1400c62f0
mov r8b, 1
lea rdx, str.layoutdisks
lea rcx, [rdi + 0x638]
call fcn.1400c38b0
mov r8b, 1
mov qword [rdi + 0xa68], rax
lea rdx, str.diskspace
lea rcx, [rdi + 0x638]
call fcn.1400c38b0
mov rcx, rdi
mov qword [rdi + 0xa70], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400a3030
push rdi
sub rsp, 0x240
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1402767a0
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1400a30c3
movzx eax, word [rsp + 0x20]
mov qword [rsp + 0x258], rbx
lea rbx, [rsp + 0x20]
test ax, ax
je 0x1400a30bb
nop dword [rax + rax]
movzx edx, ax
mov rcx, rdi
call fcn.1400a2cd0
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400a30a0
lea rbx, [rbx + rax*2]
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x1400a3090
mov rbx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x240
pop rdi
ret