joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e4a30
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x008d4540]
cmp qword [rax + 0x2d0], 0
je 0x6e4bf6
test sil, sil
jne 0x6e4b18
cmp dword [rbx + 0x138], 0
jne 0x6e4b09
mov rcx, rbx
call fcn.006e9100
lea rcx, [0x006e4900]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x6e4acb
mov rax, qword [0x008d4540]
cmp byte [rax + 0x193], 0
je 0x6e4acb
mov rcx, qword [rbx + 0x1a0]
call fcn.004120f0
mov rdi, rax
test edi, edi
jl 0x6e4aca
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
xor rdx, rdx
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6e4aac
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6e4b08
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.0050a750
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x6e4adc
nop
lea rax, [rbx + 0x138]
add dword [rax], 1
jmp 0x6e4bf6
cmp dword [rbx + 0x138], 0
jle 0x6e4bf6
lea rax, [rbx + 0x138]
sub dword [rax], 1
cmp dword [rbx + 0x138], 0
jne 0x6e4bf6
cmp qword [rbx + 0xa8], 0
je 0x6e4b8b
mov rax, qword [0x008d4540]
cmp byte [rax + 0x193], 0
je 0x6e4b8b
mov rcx, qword [rbx + 0x1a0]
call fcn.004120f0
mov rdi, rax
test edi, edi
jl 0x6e4b8a
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov edx, 5
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6e4b69
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6e4bc8
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.0050a750
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x6e4b9c
nop
mov rax, qword [rbx + 0x130]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x1a0]
mov rdx, qword [0x006ce9c8]
mov r8d, 1
xor r9, r9
call fcn.00412480
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x6e5df0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x220
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [rbx + 0x158], 0
je 0x6e5e5f
cmp byte [rbx + 0x193], 0
jne 0x6e5e5f
mov rcx, qword [rbx + 0x2d0]
lea rdx, [rbp + 0x20]
mov r8d, pe_nt_image_headers64
call sub.user32.dll_GetWindowTextW
mov rcx, rsi
lea rdx, [rbp + 0x20]
mov r8d, eax
call fcn.0040f210
xor rax, rax
cmp qword [rsi], 0
je 0x6e5e4a
mov rax, qword [rsi]
mov eax, dword [rax - 4]
test eax, eax
jne 0x6e5e6e
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.0040f580
jmp 0x6e5e6e
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.0040f580
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6e9500
Capabilities:
Hide graphical window from taskbar

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
cmp sil, byte [rbx + 0x193]
je 0x6e96bf
mov byte [rbx + 0x193], sil
cmp qword [rbx + 0xa8], 0
je 0x6e9632
mov rcx, qword [rbx + 0xa8]
call fcn.005e7e00
test al, al
je 0x6e9632
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 0x10
jne 0x6e9632
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 2
jne 0x6e9632
test sil, sil
je 0x6e95af
mov rcx, qword [rbx + 0x2d0]
xor rdx, rdx
xor r8, r8
call fcn.006d3130
mov rcx, qword [rbx + 0xa8]
call fcn.005e7800
mov rcx, rax
mov dl, 1
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.006d3130
jmp 0x6e961a
call sub.user32.dll_GetForegroundWindow
mov rdi, rax
mov rcx, qword [rbx + 0xa8]
call fcn.005e7800
cmp rdi, rax
sete dil
mov rcx, qword [rbx + 0xa8]
call fcn.005e7800
mov rcx, rax
xor rdx, rdx
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.006d3130
mov rcx, qword [rbx + 0x2d0]
mov dl, 1
mov r8b, 1
call fcn.006d3130
test dil, dil
je 0x6e961a
mov rcx, qword [rbx + 0xa8]
call fcn.005e7800
mov rcx, rax
call sub.user32.dll_SetForegroundWindow
mov rcx, qword [rbx + 0xa8]
mov edx, 0xb033
xor r8, r8
xor r9, r9
call fcn.005db2f0
test sil, sil
je 0x6e9676
mov rcx, qword [rbx + 0x2d0]
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
or rax, 0x80
mov rcx, qword [rbx + 0x2d0]
mov edx, 0xffffffec
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rcx, qword [rbx + 0x2d0]
xor rdx, rdx
call sub.user32.dll_SetWindowTextW
jmp 0x6e96bf
mov rcx, qword [rbx + 0x2d0]
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
and rax, 0xffffffffffffff7f
mov rcx, qword [rbx + 0x2d0]
mov edx, 0xffffffec
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rcx, qword [rbx + 0x118]
call fcn.00410760
mov rcx, qword [rbx + 0x2d0]
mov rdx, rax
call sub.user32.dll_SetWindowTextW
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x6f21a0
Capabilities:
Hide graphical window

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp qword [rbx + 0xc0], 0
jne 0x6f2256
mov rcx, qword [rbx + 0x10]
call fcn.005e7800
mov rcx, qword [0x005fa6d0]
mov dl, 1
mov r8, rax
call fcn.005de520
mov qword [rbx + 0xc0], rax
mov rsi, qword [rbx + 0xc0]
mov rcx, rsi
xor rdx, rdx
call fcn.006013b0
lea rax, [rsi + 0x4a8]
mov qword [rax + 8], rbx
lea rcx, [0x006f1810]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xc0]
call fcn.005e7800
mov rsi, rax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xc0]
call fcn.005e7800
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x6f2301
mov rcx, qword [rbx + 0x10]
call fcn.005e7800
mov rcx, qword [0x005fa6d0]
mov dl, 1
mov r8, rax
call fcn.005de520
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov rcx, rsi
mov dl, 1
call fcn.006013b0
lea rax, [rsi + 0x4a8]
mov qword [rax + 8], rbx
lea rcx, [0x006f1870]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xe0]
call fcn.005e7800
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xe0]
call fcn.005e7800
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xd0], 0
jne 0x6f239d
mov rcx, qword [rbx + 0x10]
call fcn.005e7800
mov rcx, qword [0x005fb698]
mov dl, 1
mov r8, rax
call fcn.005de520
mov qword [rbx + 0xd0], rax
mov rax, qword [rbx + 0xd0]
mov byte [rax + 0x478], 1
mov rcx, qword [rbx + 0xd0]
call fcn.005e7800
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov edi, eax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xd0]
call fcn.005e7800
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
Function at 0x6f7d40
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
nop
mov dword [rbp + 0x70], 1
mov rcx, qword [rbp + 0xc0]
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax]
call qword [rax + 0x28]
xor rcx, rcx
mov ebx, eax
sub ebx, 1
mov dword [rbp + 0x74], ecx
cmp dword [rbp + 0x74], ebx
jg 0x6f7df6
add ebx, 1
mov rcx, qword [rbp + 0xc0]
lea rdx, [rbp + 0x40]
mov r8d, dword [rbp + 0x74]
mov rax, qword [rbp + 0xc0]
mov rsi, qword [rax]
call qword [rsi + 0x18]
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x5c], 0
cmp qword [rbp + 0x60], 0
je 0x6f7de1
mov rax, qword [rbp + 0x60]
mov eax, dword [rax - 4]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x70]
add eax, dword [rbp + 0x5c]
add eax, 1
mov dword [rbp + 0x70], eax
add dword [rbp + 0x74], 1
cmp dword [rbp + 0x74], ebx
jne 0x6f7da5
nop
movsxd rcx, dword [rbp + 0x70]
call fcn.00408650
mov qword [rbp + 0x88], rax
nop
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x78], rax
mov rcx, qword [rbp + 0xc0]
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax]
call qword [rax + 0x28]
xor rcx, rcx
mov ebx, eax
sub ebx, 1
mov dword [rbp + 0x74], ecx
cmp dword [rbp + 0x74], ebx
jg 0x6f7e8a
add ebx, 1
mov rcx, qword [rbp + 0xc0]
lea rdx, [rbp + 0x38]
mov r8d, dword [rbp + 0x74]
mov rax, qword [rbp + 0xc0]
mov rsi, qword [rax]
call qword [rsi + 0x18]
mov rcx, qword [rbp + 0x38]
call fcn.00410760
mov rcx, qword [rbp + 0x78]
mov rdx, rax
call sub.KERNEL32.DLL_lstrcpyW
mov rcx, qword [rbp + 0x78]
call sub.KERNEL32.DLL_lstrlenW
add eax, 1
movsxd rax, eax
add rax, rax
add qword [rbp + 0x78], rax
add dword [rbp + 0x74], 1
cmp dword [rbp + 0x74], ebx
jne 0x6f7e3a
nop
mov rax, qword [rbp + 0x78]
mov word [rax], 0
mov dword [rbp + 0x84], 7
mov rcx, qword [rbp + 0xb8]
call fcn.00410760
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 8]
mov rdx, rax
xor r8, r8
mov r9d, dword [rbp + 0x84]
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov eax, dword [rbp + 0x70]
add eax, eax
mov dword [rsp + 0x28], eax
call sub.AdvApi32.dll_RegSetValueExW
mov rcx, qword [rbp + 0xb0]
mov edx, eax
call fcn.0058c520
nop
mov rcx, qword [rbp + 0x88]
call fcn.00408680
nop
lea rcx, [rbp + 0x38]
mov edx, 2
call fcn.0040f030
lea rsp, [rbp + 0x90]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6f8770
Capabilities:
Get storage device properties

Disassembly:
push rbp
sub rsp, 0x2c0
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x2d0], rcx
mov rcx, qword [rbp + 0x2d0]
call fcn.0040f0e0
nop
lea rcx, [rbp + 0x2d0]
mov rdx, qword [rbp + 0x2d0]
mov r8d, 1
mov r9d, 1
call fcn.00410dd0
mov dword [rbp + 0x2ac], 0
mov byte [rbp + 0x296], 0
lea rax, [rbp + 0x70]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov dword [rax + 4], 0x227
mov rax, qword [rbp + 0x2d0]
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], 0x11
lea rcx, [rbp + 0x50]
lea rdx, [0x006f8990]
lea r8, [rbp + 0x40]
xor r9, r9
call fcn.004351d0
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
call fcn.00431aa0
mov rcx, qword [rbp + 0x58]
call fcn.00410760
mov qword [rbp + 0x298], rax
mov rcx, qword [rbp + 0x298]
mov edx, 0x80000000
mov r8d, 3
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.KERNEL32.DLL_CreateFileW
mov qword [rbp + 0x2a0], rax
cmp qword [rbp + 0x2a0], 0xffffffffffffffff
jne 0x6f8879
mov byte [rbp + 0x2bf], 0
jmp 0x6f890c
mov dword [rbp + 0x2b0], 0
mov dword [rbp + 0x2b4], 0
mov rcx, qword [rbp + 0x2a0]
mov edx, 0x2d1400
lea r8, [rbp + 0x2b0]
mov r9d, 0xc
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 4]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x2ac]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
call sub.KERNEL32.DLL_DeviceIoControl
mov dword [rbp + 0x2a8], eax
mov rcx, qword [rbp + 0x2a0]
call sub.KERNEL32.DLL_CloseHandle
mov rax, qword [rbp + 0x68]
cmp dword [rax + 0x1c], 7
jne 0x6f8904
cmp dword [rbp + 0x2a8], 0
je 0x6f8904
mov byte [rbp + 0x2bf], 1
jmp 0x6f890b
mov byte [rbp + 0x2bf], 0
nop
lea rcx, [rbp + 0x50]
mov edx, 2
call fcn.0040f030
lea rcx, [rbp + 0x2d0]
call fcn.0040ef50
movzx rax, byte [rbp + 0x2bf]
lea rsp, [rbp + 0x2c0]
pop rbp
ret
Function at 0x6f9e40
Capabilities:
Check if file exists

Disassembly:
push rbp
sub rsp, 0x2d0
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x2e0], rcx
mov rcx, qword [rbp + 0x2e0]
call fcn.0040f0e0
lea rcx, [rbp + 0x48]
mov rdx, qword [0x00426d20]
call fcn.004113e0
nop
mov rcx, qword [rbp + 0x2e0]
call fcn.00410760
mov rcx, rax
call sub.shlwapi.dll_PathFileExistsW
test eax, eax
setne al
test al, al
je 0x6f9fd1
mov dword [rbp + 0x34], 0
cmp qword [rbp + 0x2e0], 0
je 0x6f9ec6
mov rax, qword [rbp + 0x2e0]
mov eax, dword [rax - 4]
mov dword [rbp + 0x34], eax
mov rax, qword [rbp + 0x2e0]
movsxd rcx, dword [rbp + 0x34]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x6f9eec
lea rcx, [rbp + 0x2e0]
lea rdx, [0x006fa0a0]
call fcn.00410ad0
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x2e0]
lea r8, [0x006fa0b0]
call fcn.00410bc0
mov rcx, qword [rbp + 0x38]
mov edx, 0x1ff
lea r8, [rbp + 0x48]
call fcn.00434170
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x6f9fb3
mov eax, dword [rbp + 0x58]
and eax, 0x10
cmp eax, 0x10
jne 0x6f9f75
mov rcx, qword [rbp + 0x60]
lea rdx, [0x006fa0c4]
call fcn.00410dc0
test eax, eax
je 0x6f9f9d
mov rcx, qword [rbp + 0x60]
lea rdx, [0x006fa0d4]
call fcn.00410dc0
test eax, eax
je 0x6f9f9d
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x2e0]
mov r8, qword [rbp + 0x60]
call fcn.00410bc0
mov rcx, qword [rbp + 0x28]
call fcn.006f9e40
jmp 0x6f9f9d
mov eax, dword [rbp + 0x58]
and eax, 0x10
cmp eax, 0x10
je 0x6f9f9d
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x2e0]
mov r8, qword [rbp + 0x60]
call fcn.00410bc0
mov rcx, qword [rbp + 0x20]
call fcn.00434230
lea rcx, [rbp + 0x48]
call fcn.004341d0
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x6f9f23
nop
lea rcx, [rbp + 0x48]
call fcn.00434200
mov rcx, qword [rbp + 0x2e0]
call fcn.00434ae0
mov byte [rbp + 0x2cf], 1
nop
lea rcx, [rbp + 0x20]
mov edx, 2
call fcn.0040f030
lea rcx, [rbp + 0x38]
call fcn.0040ef50
lea rcx, [rbp + 0x48]
mov rdx, qword [0x00426d20]
call fcn.00411580
lea rcx, [rbp + 0x2e0]
call fcn.0040ef50
movzx rax, byte [rbp + 0x2cf]
lea rsp, [rbp + 0x2d0]
pop rbp
ret
Function at 0x6fa9b0
Capabilities:
Copy file

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
nop
lea rcx, [rbp + 0x30]
mov edx, 0x38
xor r8, r8
call fcn.0040aae0
mov qword [rbp + 0x30], 0
mov dword [rbp + 0x38], 4
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x80]
lea r8, [0x006faab4]
call fcn.00410bc0
mov rcx, qword [rbp + 0x28]
call fcn.00410760
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x88]
lea r8, [0x006faab4]
call fcn.00410bc0
mov rcx, qword [rbp + 0x20]
call fcn.00410760
mov qword [rbp + 0x48], rax
mov word [rbp + 0x50], 0x414
lea rcx, [rbp + 0x30]
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete al
mov byte [rbp + 0x6f], al
nop
lea rcx, [rbp + 0x20]
mov edx, 2
call fcn.0040f030
movzx rax, byte [rbp + 0x6f]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x6faac0
Capabilities:
Delete file
Move file

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
nop
mov rcx, qword [rbp + 0x80]
call fcn.00434230
mov byte [rbp + 0x6f], al
cmp byte [rbp + 0x6f], 0
jne 0x6fab6e
lea rcx, [rbp + 0x30]
mov edx, 0x38
xor r8, r8
call fcn.0040aae0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x38], 3
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x80]
lea r8, [0x006fabd0]
call fcn.00410bc0
mov rcx, qword [rbp + 0x20]
call fcn.00410760
mov qword [rbp + 0x40], rax
mov word [rbp + 0x50], 0x414
lea rcx, [rbp + 0x30]
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete al
mov byte [rbp + 0x6f], al
nop
mov rcx, qword [rbp + 0x80]
mov dl, 1
call fcn.0057d0f0
jmp 0x6fab6e
nop
lea rcx, [rbp + 0x20]
call fcn.0040ef50
movzx rax, byte [rbp + 0x6f]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x6fbf90
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x190
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x38], rbp
nop
mov dword [rbp + 0x18c], 0
lea rcx, [rbp + 0x40]
call sub.KERNEL32.DLL_GetSystemInfo
nop
lea rcx, [rbp + 0x70]
call fcn.006fbcc0
test al, al
jne 0x6fc000
call sub.KERNEL32.DLL_GetLastError
lea rcx, [rbp + 0x28]
mov edx, eax
call fcn.00432c60
lea rcx, [rbp + 0x30]
lea rdx, [0x006fc084]
mov r8, qword [rbp + 0x28]
call fcn.00410bc0
mov rcx, qword [rbp + 0x30]
call fcn.006f8570
jmp 0x6fc021
mov eax, dword [rbp + 0x74]
mov dword [rbp + 0x18c], eax
jmp 0x6fc020
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040f030
mov eax, dword [rbp + 0x18c]
lea rsp, [rbp + 0x190]
pop rbp
ret
Function at 0x6fc0c0
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x190
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x38], rbp
nop
mov dword [rbp + 0x18c], 0
lea rcx, [rbp + 0x40]
call sub.KERNEL32.DLL_GetSystemInfo
nop
lea rcx, [rbp + 0x70]
call fcn.006fbcc0
test al, al
jne 0x6fc130
call sub.KERNEL32.DLL_GetLastError
lea rcx, [rbp + 0x28]
mov edx, eax
call fcn.00432c60
lea rcx, [rbp + 0x30]
lea rdx, [0x006fc1b4]
mov r8, qword [rbp + 0x28]
call fcn.00410bc0
mov rcx, qword [rbp + 0x30]
call fcn.006f8570
jmp 0x6fc151
mov eax, dword [rbp + 0x78]
mov dword [rbp + 0x18c], eax
jmp 0x6fc150
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040f030
mov eax, dword [rbp + 0x18c]
lea rsp, [rbp + 0x190]
pop rbp
ret

Function at 0x6fde90
Capabilities:
Get file size
Read file via mapping

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x100
mov rbp, rsp
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x120], rcx
mov qword [rbp + 0x128], rdx
mov rcx, qword [rbp + 0x120]
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.KERNEL32.DLL_CreateFileW
mov qword [rbp + 0xf0], rax
cmp qword [rbp + 0xf0], 0xffffffffffffffff
jne 0x6fdf01
mov byte [rbp + 0xef], 0
jmp 0x6fe06a
nop
mov rcx, qword [rbp + 0xf0]
lea rdx, [rbp + 0x60]
call sub.KERNEL32.DLL_GetFileSizeEx
test eax, eax
jne 0x6fdf22
mov byte [rbp + 0xef], 0
jmp 0x6fe03a
mov rcx, qword [rbp + 0xf0]
xor rdx, rdx
mov r8d, 2
xor r9, r9
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call sub.KERNEL32.DLL_CreateFileMappingW
mov qword [rbp + 0xf8], rax
cmp qword [rbp + 0xf8], 0
jne 0x6fdf69
mov byte [rbp + 0xef], 0
jmp 0x6fe03a
mov qword [rbp + 0x58], 0
nop
lea rcx, [rbp + 0x68]
call sub.AdvApi32.dll_MD5Init
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x58]
neg rcx
lea rax, [rax + rcx]
mov qword [rbp + 0xd0], rax
cmp qword [rbp + 0xd0], 0x200000
jge 0x6fdfb5
mov eax, dword [rbp + 0xd0]
mov dword [rbp + 0xdc], eax
cmp dword [rbp + 0xdc], 0
je 0x6fe01d
jmp 0x6fdfbf
mov dword [rbp + 0xdc], 0x200000
mov rcx, qword [rbp + 0xf8]
mov edx, 4
mov r8d, dword [rbp + 0x5c]
mov r9d, dword [rbp + 0x58]
mov eax, dword [rbp + 0xdc]
mov qword [rsp + 0x20], rax
call sub.KERNEL32.DLL_MapViewOfFile
mov qword [rbp + 0xe0], rax
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0xe0]
mov r8d, dword [rbp + 0xdc]
call sub.AdvApi32.dll_MD5Update
mov rcx, qword [rbp + 0xe0]
call sub.KERNEL32.DLL_UnmapViewOfFile
mov eax, dword [rbp + 0xdc]
add qword [rbp + 0x58], rax
jmp 0x6fdf7b
nop
nop
mov rcx, qword [rbp + 0xf8]
call sub.KERNEL32.DLL_CloseHandle
nop
mov rcx, qword [rbp + 0xf0]
call sub.KERNEL32.DLL_CloseHandle
jmp 0x6fe048
xor rcx, rcx
mov rdx, qword [rbp + 0x48]
call fcn.006fe0b0
jmp 0x6fe06a
lea rcx, [rbp + 0x68]
call sub.AdvApi32.dll_MD5Final
mov rdi, qword [rbp + 0x128]
lea rsi, [rbp + 0xc0]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
mov byte [rbp + 0xef], 1
movzx rax, byte [rbp + 0xef]
lea rsp, [rbp + 0x100]
pop rsi
pop rdi
pop rbp
ret
Function at 0x720790
Capabilities:
Start service

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov rcx, qword [rbp + 0x60]
call fcn.0040f0e0
nop
xor rcx, rcx
xor rdx, rdx
mov r8d, 0xf003f
call sub.AdvApi32.dll_OpenSCManagerW
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
setne al
mov byte [rbp + 0x3f], al
cmp byte [rbp + 0x3f], 0
je 0x720878
nop
mov rcx, qword [rbp + 0x60]
call fcn.00410760
mov rcx, qword [rbp + 0x40]
mov rdx, rax
mov r8d, 0xf01ff
call sub.AdvApi32.dll_OpenServiceW
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
setne al
mov byte [rbp + 0x3f], al
cmp qword [rbp + 0x48], 0
jne 0x720815
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x424
je 0x72086a
cmp qword [rbp + 0x48], 0
je 0x72085e
nop
mov qword [rbp + 0x30], 0
mov rcx, qword [rbp + 0x48]
xor rdx, rdx
lea r8, [rbp + 0x30]
call sub.AdvApi32.dll_StartServiceW
test eax, eax
setne al
mov byte [rbp + 0x3f], al
cmp byte [rbp + 0x3f], 0
jne 0x720854
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x420
jne 0x720854
mov byte [rbp + 0x3f], 1
nop
mov rcx, qword [rbp + 0x48]
call sub.AdvApi32.dll_CloseServiceHandle
nop
mov rcx, qword [rbp + 0x40]
call sub.AdvApi32.dll_CloseServiceHandle
jmp 0x720878
xor rcx, rcx
mov rdx, qword [rbp + 0x28]
call fcn.007208c0
jmp 0x720879
nop
lea rcx, [rbp + 0x60]
call fcn.0040ef50
movzx rax, byte [rbp + 0x3f]
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x720920
Capabilities:
Stop service

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov rcx, qword [rbp + 0x70]
call fcn.0040f0e0
nop
xor rcx, rcx
xor rdx, rdx
mov r8d, 0xf003f
call sub.AdvApi32.dll_OpenSCManagerW
mov qword [rbp + 0x50], rax
cmp qword [rbp + 0x50], 0
setne al
mov byte [rbp + 0x4f], al
cmp byte [rbp + 0x4f], 0
je 0x7209c3
nop
mov rcx, qword [rbp + 0x70]
call fcn.00410760
mov rcx, qword [rbp + 0x50]
mov rdx, rax
mov r8d, 0xf01ff
call sub.AdvApi32.dll_OpenServiceW
mov qword [rbp + 0x58], rax
cmp qword [rbp + 0x58], 0
setne al
mov byte [rbp + 0x4f], al
cmp byte [rbp + 0x4f], 0
je 0x7209b9
nop
mov rcx, qword [rbp + 0x58]
mov edx, 1
lea r8, [rbp + 0x30]
call sub.AdvApi32.dll_ControlService
test eax, eax
setne al
mov byte [rbp + 0x4f], al
nop
mov rcx, qword [rbp + 0x58]
call sub.AdvApi32.dll_CloseServiceHandle
nop
mov rcx, qword [rbp + 0x50]
call sub.AdvApi32.dll_CloseServiceHandle
nop
lea rcx, [rbp + 0x70]
call fcn.0040ef50
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x720be0
Capabilities:
Get file version info

Disassembly:
push rbp
sub rsp, 0xc0
mov rbp, rsp
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0xd0], rcx
nop
lea rcx, [rbp + 0x78]
xor rdx, rdx
call fcn.00408ea0
mov rcx, qword [rbp + 0x78]
call fcn.00410760
mov rcx, rax
lea rdx, [rbp + 0x9c]
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0xbc], eax
mov ecx, dword [rbp + 0xbc]
call fcn.00408650
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x70]
xor rdx, rdx
call fcn.00408ea0
mov rcx, qword [rbp + 0x70]
call fcn.00410760
mov rcx, rax
xor rdx, rdx
mov r8d, dword [rbp + 0xbc]
mov r9, qword [rbp + 0xb0]
call sub.version.dll_GetFileVersionInfoW
mov rcx, qword [rbp + 0xb0]
lea rdx, [0x00720e08]
lea r8, [rbp + 0xa0]
lea r9, [rbp + 0xac]
call sub.version.dll_VerQueryValueW
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 8]
shr eax, 0x10
mov word [rbp + 0x9a], ax
mov rax, qword [rbp + 0x88]
movzx rax, word [rax + 8]
and ax, 0xffff
mov word [rbp + 0x98], ax
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
shr eax, 0x10
mov word [rbp + 0x96], ax
mov rax, qword [rbp + 0x88]
movzx rax, word [rax + 0xc]
and ax, 0xffff
mov word [rbp + 0x94], ax
mov rcx, qword [rbp + 0xb0]
mov edx, dword [rbp + 0xbc]
call fcn.00408680
lea rcx, [rbp + 0x68]
movzx edx, word [rbp + 0x9a]
call fcn.00432c30
lea rcx, [rbp + 0x60]
movzx edx, word [rbp + 0x98]
call fcn.00432c30
lea rcx, [rbp + 0x58]
movzx edx, word [rbp + 0x96]
call fcn.00432c30
lea rcx, [rbp + 0x50]
movzx edx, word [rbp + 0x94]
call fcn.00432c30
mov rcx, qword [rbp + 0xd0]
mov edx, 8
xor r8, r8
mov r9, qword [rbp + 0x68]
lea rax, [0x00720e18]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [0x00720e18]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [0x00720e18]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x48], rax
call fcn.00410ce0
nop
lea rcx, [rbp + 0x50]
mov edx, 6
call fcn.0040f030
mov rax, qword [rbp + 0xd0]
lea rsp, [rbp + 0xc0]
pop rbp
ret