joyce8/EMBER2024-capa huggingface dataset:
Function at 0x706b00
Capabilities:
Hide graphical window

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
cmp qword [rbx + 0xc8], 0
jne 0x706bbb
mov rcx, qword [rbx + 0x10]
call fcn.005f8f40
mov rcx, qword [0x0060cab0]
mov dl, 1
mov r8, rax
call fcn.005efca0
mov qword [rbx + 0xc8], rax
mov rsi, qword [rbx + 0xc8]
mov rcx, rsi
xor edx, edx
call fcn.00614ac0
lea rax, [rsi + 0x4d0]
mov qword [rax + 8], rbx
lea rcx, [0x00706180]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xc8]
call fcn.005f8f40
mov rdi, rax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1b8]
mov rcx, rdi
xor edx, edx
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 + 0xc8]
call fcn.005f8f40
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe8], 0
jne 0x706c6a
mov rcx, qword [rbx + 0x10]
call fcn.005f8f40
mov rcx, qword [0x0060cab0]
mov dl, 1
mov r8, rax
call fcn.005efca0
mov qword [rbx + 0xe8], rax
mov rsi, qword [rbx + 0xe8]
mov rcx, rsi
mov dl, 1
call fcn.00614ac0
lea rax, [rsi + 0x4d0]
mov qword [rax + 8], rbx
lea rcx, [0x007061e0]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xe8]
call fcn.005f8f40
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1b8]
mov rcx, rdi
xor edx, edx
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 + 0xe8]
call fcn.005f8f40
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xd8], 0
jne 0x706d12
mov rcx, qword [rbx + 0x10]
call fcn.005f8f40
mov rcx, qword [0x0060db38]
mov dl, 1
mov r8, rax
call fcn.005efca0
mov qword [rbx + 0xd8], rax
mov rsi, qword [rbx + 0xd8]
mov byte [rsi + 0x4a0], 1
mov rcx, qword [rbx + 0xd8]
call fcn.005f8f40
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1b8]
mov r13d, eax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1b8]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xd8]
call fcn.005f8f40
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x70eb40
Capabilities:
Access the windows event log

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov dword [rbp + 0x58], r8d
mov word [rbp + 0x5e], r9w
mov qword [rbp + 0x88], rdx
mov rcx, qword [rbp + 0x88]
call fcn.00410a40
nop
mov rcx, qword [rbp + 0x88]
call fcn.00411d40
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x10], 0
jne 0x70eba3
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 8]
call fcn.00411d40
xor ecx, ecx
mov rdx, rax
call sub.advapi32.dll_RegisterEventSourceW
mov rcx, qword [rbp + 0x50]
mov qword [rcx + 0x10], rax
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
mov edx, dword [rbp + 0x58]
movzx r8, word [rbp + 0x5e]
mov r9d, dword [rbp + 0xa0]
mov qword [rsp + 0x20], 0
mov word [rsp + 0x28], 1
mov dword [rsp + 0x30], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
call sub.advapi32.dll_ReportEventW
nop
lea rcx, [rbp + 0x88]
call fcn.004108b0
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x7106e0
Capabilities:
Create service

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0xd0
mov rbp, rsp
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0x98], rbp
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], rdx
mov qword [rbp + 0x110], r8
nop
lea rcx, [rbp + 0xa0]
xor edx, edx
call fcn.00409860
lea rcx, [0x00710a6c]
mov rdx, qword [rbp + 0xa0]
mov r8d, 1
call fcn.004125a0
test eax, eax
jle 0x710784
lea rcx, [rbp + 0xa0]
mov edx, 3
lea r8, [0x00710a7c]
mov r9, qword [rbp + 0xa0]
lea rax, [0x00710a7c]
mov qword [rsp + 0x20], rax
call fcn.004122a0
mov rax, qword [rbp + 0x108]
cmp qword [rax + 0x128], 0
je 0x7107b0
mov rax, qword [rbp + 0x108]
lea rbx, [rax + 0x128]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x108]
call qword [rbx]
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x118]
mov dword [rbp + 0xbc], eax
cmp dword [rbp + 0xbc], 0
jbe 0x7107dc
lea rax, [rbp + 0xbc]
mov qword [rbp + 0xb0], rax
jmp 0x7107e7
mov qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0x108]
cmp qword [rax + 0xf8], 0
jne 0x710805
mov qword [rbp + 0xa8], 0
jmp 0x71081f
mov rax, qword [rbp + 0x108]
mov rcx, qword [rax + 0xf8]
call fcn.00411d40
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x108]
mov rcx, qword [rax + 0x10]
call fcn.00411d40
mov qword [rbp + 0x78], rax
mov rcx, qword [rbp + 0x108]
lea rdx, [rbp + 0x90]
call fcn.0070f6c0
mov rcx, qword [rbp + 0x90]
call fcn.00411d40
mov qword [rbp + 0x80], rax
mov rcx, qword [rbp + 0x108]
call fcn.0070fa90
mov dword [rbp + 0x70], eax
mov rcx, qword [rbp + 0x108]
call fcn.0070faf0
mov dword [rbp + 0x74], eax
mov rcx, qword [rbp + 0x108]
call fcn.0070fb50
mov ebx, eax
mov rcx, qword [rbp + 0xa0]
call fcn.00411d40
mov rsi, rax
mov rax, qword [rbp + 0x108]
mov rcx, qword [rax + 0xe0]
call fcn.00411d40
mov rdi, rax
mov rcx, qword [rbp + 0x108]
lea rdx, [rbp + 0x88]
call fcn.0070f950
mov rcx, qword [rbp + 0x88]
call fcn.00411d40
mov r13, rax
mov rax, qword [rbp + 0x108]
mov rcx, qword [rax + 0xf0]
call fcn.00411d40
mov rcx, qword [rbp + 0x110]
mov rdx, qword [rbp + 0x78]
mov r8, qword [rbp + 0x80]
mov r9d, 0xf01ff
mov r10d, dword [rbp + 0x70]
mov dword [rsp + 0x20], r10d
mov r10d, dword [rbp + 0x74]
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov r10, qword [rbp + 0xb0]
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x50], r13
mov r10, qword [rbp + 0xa8]
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x60], rax
call sub.advapi32.dll_CreateServiceW
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0x108]
mov ecx, dword [rbp + 0xbc]
mov dword [rax + 0x118], ecx
cmp qword [rbp + 0xc8], 0
jne 0x710967
call fcn.00443630
nop
nop
mov rax, qword [rbp + 0x108]
cmp qword [rax + 0x138], 0
je 0x7109b9
mov rax, qword [rbp + 0x108]
lea rbx, [rax + 0x138]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x108]
call qword [rbx]
jmp 0x7109b9
nop
mov rcx, qword [rbp + 0xc8]
call sub.advapi32.dll_CloseServiceHandle
nop
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00410990
lea rcx, [rbp + 0xa0]
call fcn.004108b0
lea rsp, [rbp + 0xd0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x710a80
Capabilities:
Delete service

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov qword [rbp + 0x70], r8
mov rax, qword [rbp + 0x68]
cmp qword [rax + 0x148], 0
je 0x710abc
mov rax, qword [rbp + 0x68]
lea rbx, [rax + 0x148]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x68]
call qword [rbx]
mov rax, qword [rbp + 0x68]
mov rcx, qword [rax + 0x10]
call fcn.00411d40
mov rcx, qword [rbp + 0x70]
mov rdx, rax
mov r8d, 0xf01ff
call sub.advapi32.dll_OpenServiceW
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0
jne 0x710aeb
call fcn.00443630
nop
mov rcx, qword [rbp + 0x38]
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x710afe
call fcn.00443630
nop
mov rcx, qword [rbp + 0x38]
call sub.advapi32.dll_CloseServiceHandle
mov rax, qword [rbp + 0x68]
cmp qword [rax + 0x158], 0
je 0x710b2b
mov rax, qword [rbp + 0x68]
lea rbx, [rax + 0x158]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x68]
call qword [rbx]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x713780
Capabilities:
Modify service

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rdx
nop
nop
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
xor ecx, ecx
xor edx, edx
mov r8d, 0xf003f
call sub.advapi32.dll_OpenSCManagerW
mov qword [rbp + 0x60], rax
cmp qword [rbp + 0x60], 0
jne 0x7137f9
lea rcx, [0x00713968]
mov dl, 1
call fcn.007121e0
jmp 0x7138d5
mov rcx, qword [rbp + 0x88]
call fcn.00411d40
mov rcx, qword [rbp + 0x60]
mov rdx, rax
mov r8d, 0xf01ff
call sub.advapi32.dll_OpenServiceW
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x713835
lea rcx, [0x007139b8]
mov dl, 1
call fcn.007121e0
jmp 0x7138d5
mov dword [rbp + 0x5c], 0
mov rcx, qword [rbp + 0x68]
mov edx, 0xc
lea r8, [rbp + 0x5c]
call sub.advapi32.dll_ChangeServiceConfig2W
test eax, eax
jne 0x713883
call sub.kernel32.dll_GetLastError
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.004366a0
lea rcx, [rbp + 0x40]
lea rdx, [0x00713a08]
mov r8, qword [rbp + 0x38]
call fcn.00412170
mov rcx, qword [rbp + 0x40]
mov dl, 1
call fcn.007121e0
jmp 0x7138b2
call sub.kernel32.dll_GetLastError
lea rcx, [rbp + 0x28]
mov edx, eax
call fcn.004366a0
lea rcx, [rbp + 0x30]
lea rdx, [0x00713a58]
mov r8, qword [rbp + 0x28]
call fcn.00412170
mov rcx, qword [rbp + 0x30]
mov dl, 1
call fcn.007121e0
nop
cmp qword [rbp + 0x68], 0
je 0x7138c3
mov rcx, qword [rbp + 0x68]
call sub.advapi32.dll_CloseServiceHandle
cmp qword [rbp + 0x60], 0
je 0x7138e2
mov rcx, qword [rbp + 0x60]
call sub.advapi32.dll_CloseServiceHandle
jmp 0x7138e2
xor ecx, ecx
mov rdx, qword [rbp + 0x48]
call fcn.00713900
jmp 0x7138e3
nop
lea rcx, [rbp + 0x28]
mov edx, 4
call fcn.00410990
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x713a90
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push rbp
push rbx
sub rsp, 0x178
mov rbp, rsp
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xd0], 0
nop
lea rcx, [rbp + 0x100]
mov edx, 0x70
xor r8, r8
call fcn.0040bfe0
mov dword [rbp + 0x100], 0x70
add byte [rcx], al
add byte [rax], al
jo 0x713b5e
add byte [rax], al
Function at 0x714150
Capabilities:
Query service status

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov dword [rbp + 0x4c], 0
xor ecx, ecx
xor edx, edx
mov r8d, 0xf003f
call sub.advapi32.dll_OpenSCManagerW
mov qword [rbp + 0x50], rax
cmp qword [rbp + 0x50], 0
je 0x7141e5
nop
mov rcx, qword [rbp + 0x78]
call fcn.00411d40
mov rcx, qword [rbp + 0x50]
mov rdx, rax
mov r8d, 4
call sub.advapi32.dll_OpenServiceW
mov qword [rbp + 0x58], rax
cmp qword [rbp + 0x58], 0
je 0x7141da
nop
mov rcx, qword [rbp + 0x58]
lea rdx, [rbp + 0x30]
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x7141c4
mov eax, dword [rbp + 0x34]
mov dword [rbp + 0x4c], eax
nop
mov rcx, qword [rbp + 0x58]
call sub.advapi32.dll_CloseServiceHandle
nop
mov rcx, qword [rbp + 0x50]
call sub.advapi32.dll_CloseServiceHandle
jmp 0x7141e5
xor ecx, ecx
mov rdx, qword [rbp + 0x28]
call fcn.00714210
mov eax, dword [rbp + 0x4c]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x714af0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
sub rsp, 0x88
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xa0], rcx
mov rcx, qword [rbp + 0xa0]
call fcn.00410a40
nop
lea rcx, [rbp + 0x70]
lea rdx, [0x00714d20]
mov r8, qword [rbp + 0xa0]
call fcn.00412170
mov rcx, qword [0x00788d80]
mov rax, qword [0x00788d80]
mov rbx, qword [rax]
call qword [rbx]
nop
xor eax, eax
mov rcx, qword [0x00788d78]
mov ebx, dword [rcx + 0x10]
sub ebx, 1
mov dword [rbp + 0x6c], eax
cmp dword [rbp + 0x6c], ebx
jg 0x714c4a
sub ebx, eax
add ebx, 1
mov rcx, qword [0x00788d78]
mov edx, dword [rbp + 0x6c]
call fcn.005153a0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x60]
mov r8d, pe_nt_image_headers64
call fcn.00411e00
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0xa0]
call fcn.00412380
test eax, eax
jne 0x714c3b
lea rcx, [0x00714d48]
call sub.kernel32.dll_OutputDebugStringW
mov rax, qword [rbp + 0x60]
mov dword [rax + 0x220], 0xffffffff
jmp 0x714c10
mov rcx, qword [rbp + 0x70]
call fcn.00411d40
mov rcx, rax
mov edx, 0xc0000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rcx, rax
call sub.kernel32.dll_CloseHandle
mov ecx, 5
call sub.kernel32.dll_Sleep
mov rax, qword [rbp + 0x60]
cmp dword [rax + 0x220], 0
jne 0x714bc9
mov rcx, qword [rbp + 0x60]
call fcn.00418ca0
mov rcx, qword [0x00788d78]
mov edx, dword [rbp + 0x6c]
call fcn.00515150
mov byte [rbp + 0x7f], 1
jmp 0x714c72
add dword [rbp + 0x6c], 1
sub ebx, 1
test ebx, ebx
jne 0x714b6f
nop
lea rcx, [0x00714d52]
call sub.kernel32.dll_OutputDebugStringW
mov byte [rbp + 0x7f], 0
nop
mov rcx, qword [0x00788d80]
mov rax, qword [0x00788d80]
mov rbx, qword [rax]
call qword [rbx + 8]
jmp 0x714c7f
xor ecx, ecx
mov rdx, qword [rbp + 0x48]
call fcn.00714cb0
jmp 0x714c80
nop
lea rcx, [rbp + 0x40]
call fcn.004108b0
lea rcx, [rbp + 0x70]
call fcn.004108b0
lea rcx, [rbp + 0xa0]
call fcn.004108b0
movzx rax, byte [rbp + 0x7f]
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret
Function at 0x714d70
Capabilities:
Check for time delay via gettickcount
Read file on windows
Write file on windows

Disassembly:
push rbp
push rbx
mov byte [rsp - 0x98], 0
mov byte [rsp - 0x1098], 0
sub rsp, 0x1098
mov rbp, rsp
mov qword [rbp + 0x1078], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x10b0], rcx
mov qword [rbp + 0x10b8], rdx
mov dword [rbp + 0x10c0], r8d
mov qword [rbp + 0x10c8], r9
mov rax, qword [rbp + 0x10d0]
mov qword [rbp + 0x10d0], rax
mov rcx, qword [rbp + 0x10b0]
call fcn.00410a40
nop
mov byte [rbp + 0x1087], 0
lea rcx, [rbp + 0x1078]
lea rdx, [0x00715098]
mov r8, qword [rbp + 0x10b0]
call fcn.00412170
call sub.kernel32.dll_GetTickCount
mov dword [rbp + 0x1074], eax
mov qword [rbp + 0x1088], 0xffffffffffffffff
jmp 0x714edd
mov rcx, qword [rbp + 0x1078]
call fcn.00411d40
mov rcx, rax
mov edx, 0xc0000000
xor r8, r8
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 + 0x1088], rax
cmp qword [rbp + 0x1088], 0xffffffffffffffff
jne 0x714edd
call sub.kernel32.dll_GetLastError
sub eax, 2
test eax, eax
je 0x714e73
sub eax, 0xe5
test eax, eax
jne 0x714ebd
jmp 0x714e93
cmp qword [rbp + 0x10d0], 0
je 0x715014
mov rax, qword [rbp + 0x10d0]
mov dword [rax], 0
jmp 0x715014
xor ecx, ecx
call sub.kernel32.dll_Sleep
mov ecx, 1
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, dword [rbp + 0x1074]
cmp eax, 0x1388
ja 0x715014
jmp 0x714edd
cmp qword [rbp + 0x10d0], 0
je 0x715014
mov rax, qword [rbp + 0x10d0]
mov dword [rax], 0
jmp 0x715014
cmp qword [rbp + 0x1088], 0xffffffffffffffff
je 0x714e0e
nop
mov rbx, qword [rbp + 0x10b8]
mov rcx, qword [rbp + 0x1088]
mov rdx, rbx
mov r8d, dword [rbp + 0x10c0]
lea r9, [rbp + 0x106c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x715006
mov rcx, qword [rbp + 0x1088]
lea rdx, [rbp + 0x6c]
mov r8d, 0x1000
lea r9, [rbp + 0x1070]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x715006
mov rcx, qword [rbp + 0x1088]
mov rdx, rbx
mov r8d, 1
lea r9, [rbp + 0x106c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x715006
cmp qword [rbp + 0x10d0], 0
je 0x714fba
mov rax, qword [rbp + 0x10d0]
movsxd rax, dword [rax]
mov qword [rbp + 0x60], rax
mov eax, dword [rbp + 0x1070]
cmp rax, qword [rbp + 0x60]
jge 0x714fa6
mov qword [rbp + 0x58], rax
jmp 0x714fae
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x10d0]
mov ecx, dword [rbp + 0x58]
mov dword [rax], ecx
cmp qword [rbp + 0x10d0], 0
je 0x714ff0
cmp qword [rbp + 0x10c8], 0
je 0x714ff0
mov rax, qword [rbp + 0x10d0]
movsxd rax, dword [rax]
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x6c]
mov rdx, qword [rbp + 0x10c8]
mov r8, qword [rbp + 0x50]
call fcn.00409530
mov byte [rbp + 0x1087], 1
nop
mov rcx, qword [rbp + 0x1088]
call sub.kernel32.dll_CloseHandle
jmp 0x715013
xor ecx, ecx
mov rdx, qword [rbp + 0x48]
call fcn.00715040
jmp 0x715014
nop
lea rcx, [rbp + 0x1078]
call fcn.004108b0
lea rcx, [rbp + 0x10b0]
call fcn.004108b0
movzx rax, byte [rbp + 0x1087]
lea rsp, [rbp + 0x1098]
pop rbx
pop rbp
ret
Function at 0x718040
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x198
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov byte [rbp + 0x2f], dl
mov qword [rbp + 0x68], 0
nop
lea rcx, [rbp + 0x68]
call fcn.004108b0
lea rcx, [rbp + 0x74]
mov edx, 0x11c
xor r8, r8
call fcn.0040bfe0
mov dword [rbp + 0x74], 0x11c
lea rcx, [rbp + 0x74]
call sub.kernel32.dll_GetVersionExW
lea rcx, [rbp + 0x38]
mov edx, 0x30
xor r8, r8
call fcn.0040bfe0
lea rcx, [0x007182b8]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x007182d2]
call fcn.00421870
mov rbx, rax
test rbx, rbx
je 0x7180c2
lea rcx, [rbp + 0x38]
call rbx
jmp 0x7180cb
lea rcx, [rbp + 0x38]
call sub.kernel32.dll_GetSystemInfo
cmp dword [rbp + 0x84], 2
jne 0x718270
movzx rax, byte [rbp + 0x2f]
test al, al
je 0x7180fa
call fcn.00718450
mov ecx, dword [rax]
mov dword [rbp + 0x78], ecx
mov ecx, dword [rax + 4]
mov dword [rbp + 0x7c], ecx
mov eax, dword [rax + 8]
mov dword [rbp + 0x80], eax
mov eax, dword [rbp + 0x78]
sub eax, 3
cmp eax, 2
jae 0x718115
lea rcx, [rbp + 0x68]
lea rdx, [0x00718308]
call fcn.00410f60
cmp dword [rbp + 0x78], 5
jne 0x718136
cmp dword [rbp + 0x7c], 0
jne 0x718136
lea rcx, [rbp + 0x68]
lea rdx, [0x0071832c]
call fcn.00410f60
jmp 0x718270
cmp dword [rbp + 0x78], 5
jne 0x718157
cmp dword [rbp + 0x7c], 1
jne 0x718157
lea rcx, [rbp + 0x68]
lea rdx, [0x00718354]
call fcn.00410f60
jmp 0x718270
cmp dword [rbp + 0x78], 5
jne 0x71819d
cmp dword [rbp + 0x7c], 2
jne 0x71819d
cmp byte [rbp + 0x18e], 1
jne 0x718188
cmp word [rbp + 0x38], 9
jne 0x718188
lea rcx, [rbp + 0x68]
lea rdx, [0x00718354]
call fcn.00410f60
jmp 0x718270
lea rcx, [rbp + 0x68]
lea rdx, [0x00718378]
call fcn.00410f60
jmp 0x718270
cmp dword [rbp + 0x78], 6
jne 0x7181be
cmp dword [rbp + 0x7c], 0
jne 0x7181be
lea rcx, [rbp + 0x68]
lea rdx, [0x007183ac]
call fcn.00410f60
jmp 0x718270
cmp dword [rbp + 0x78], 6
jne 0x7181df
cmp dword [rbp + 0x7c], 1
jne 0x7181df
lea rcx, [rbp + 0x68]
lea rdx, [0x007183d4]
call fcn.00410f60
jmp 0x718270
cmp dword [rbp + 0x78], 6
jne 0x71821d
mov eax, dword [rbp + 0x7c]
cmp eax, 7
ja 0x718205
mov dl, 1
mov ecx, eax
and cl, 0x7f
shl edx, cl
loop 0x71823f
movzx eax, byte [0x007183e8]
xor eax, eax
Function at 0x71a4c0
Capabilities:
Check os version

Disassembly:
push rbp
push rbx
sub rsp, 0x168
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x180], rcx
mov byte [rbp + 0x188], dl
cmp byte [rbp + 0x188], 0
je 0x71a509
mov rcx, qword [rbp + 0x180]
movzx rdx, byte [rbp + 0x188]
call fcn.0040e0a0
mov qword [rbp + 0x180], rax
nop
nop
mov rcx, qword [rbp + 0x180]
mov rdx, 0xffffffff80000001
call fcn.0071a810
mov rax, qword [rbp + 0x180]
mov dword [rax + 0x2c], 0xf003f
mov rax, qword [rbp + 0x180]
mov byte [rax + 0x18], 1
mov rax, qword [rbp + 0x180]
mov dword [rax + 0x30], 0
mov dword [rbp + 0x4c], 0x114
lea rcx, [rbp + 0x4c]
call sub.kernel32.dll_GetVersionExW
cmp dword [rbp + 0x50], 5
jne 0x71a564
call fcn.007185f0
test al, al
jne 0x71a56a
cmp dword [rbp + 0x50], 5
jbe 0x71a570
mov byte [rbp + 0x3e], 1
jmp 0x71a5d0
lea rcx, [rbp + 0x20]
xor edx, edx
call fcn.00718040
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x40], rax
lea rax, [0x0071a69c]
cmp qword [rbp + 0x40], rax
jne 0x71a596
mov byte [rbp + 0x3f], 1
jmp 0x71a5c7
cmp qword [rbp + 0x40], 0
je 0x71a5a9
lea rax, [0x0071a69c]
test rax, rax
jne 0x71a5af
mov byte [rbp + 0x3f], 0
jmp 0x71a5c7
mov rcx, qword [rbp + 0x40]
lea rdx, [0x0071a69c]
call fcn.004358c0
test eax, eax
sete al
mov byte [rbp + 0x3f], al
nop
movzx rax, byte [rbp + 0x3f]
mov byte [rbp + 0x3e], al
movzx rax, byte [rbp + 0x3e]
mov byte [0x00788f40], al
nop
lea rcx, [rbp + 0x20]
call fcn.004108b0
cmp byte [rbp + 0x188], 0
je 0x71a640
mov rcx, qword [rbp + 0x180]
call fcn.0040e0e0
mov qword [rbp + 0x180], rax
jmp 0x71a640
mov rax, qword [rbp + 0x180]
lea rsp, [rbp + 0x168]
pop rbx
pop rbp
ret
Function at 0x71b210
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rdx
call fcn.00411d40
mov rcx, qword [rbx + 8]
mov rdx, rax
call sub.advapi32.dll_RegDeleteValueW
test eax, eax
sete al
add rsp, 0x20
pop rbx
ret

Function at 0x71ba60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
mov rcx, rdi
mov edx, 8
xor r8, r8
call fcn.0040bfe0
mov rcx, rsi
call fcn.00411d40
mov rcx, qword [rbx + 8]
mov rdx, rax
xor r8, r8
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
lea rax, [rdi + 4]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
mov ecx, dword [rbp + 0x3c]
call fcn.0071a340
mov byte [rdi], al
cmp dword [rbp + 0x3c], 7
sete al
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x71ce30
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov byte [rsp - 0x90], 0
mov byte [rsp - 0x1090], 0
sub rsp, 0x1090
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x1088], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x10a0], rcx
mov qword [rbp + 0x10a8], rdx
mov qword [rbp + 0x10b0], r8
mov rax, qword [rbp + 0x10c0]
mov qword [rbp + 0x10c0], rax
nop
mov rax, qword [rbp + 0x10c0]
mov eax, dword [rax]
mov dword [rbp + 0x80], eax
mov rcx, qword [rbp + 0x10a8]
call fcn.004108b0
mov dword [rbp + 0x7c], 0x800
lea rcx, [rbp + 0x86]
mov edx, 0x1002
xor r8, r8
call fcn.0040bfe0
mov rcx, qword [rbp + 0x10b0]
call fcn.00411d40
mov rcx, qword [rbp + 0x10a0]
mov rcx, qword [rcx + 8]
mov rdx, rax
xor r8, r8
lea r9, [rbp + 0x80]
lea rax, [rbp + 0x86]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
mov dword [rbp + 0x78], eax
cmp dword [rbp + 0x78], 0
jne 0x71cfda
mov rcx, qword [rbp + 0x10a8]
lea rdx, [rbp + 0x86]
mov r8d, 0x801
call fcn.00411e00
cmp dword [rbp + 0x80], 7
jne 0x71cfda
mov dword [rbp + 0x74], 0
mov rcx, qword [rbp + 0x10a8]
call fcn.004108b0
cmp dword [rbp + 0x74], 0x800
jg 0x71cfd9
cmp dword [rbp + 0x74], 0
jle 0x71cf8a
movsxd rax, dword [rbp + 0x74]
cmp word [rbp + rax*2 + 0x86], 0
jne 0x71cf8a
mov eax, dword [rbp + 0x74]
sub eax, 1
movsxd rax, eax
cmp word [rbp + rax*2 + 0x86], 0
je 0x71cfd9
movsxd rax, dword [rbp + 0x74]
movzx rax, word [rbp + rax*2 + 0x86]
test ax, ax
je 0x71cfb9
lea rcx, [rbp + 0x50]
mov edx, eax
call fcn.00411d80
mov rcx, qword [rbp + 0x10a8]
mov rdx, qword [rbp + 0x50]
call fcn.004120a0
jmp 0x71cfcc
mov rcx, qword [rbp + 0x10a8]
lea rdx, [0x0071d118]
call fcn.004120a0
add dword [rbp + 0x74], 1
cmp dword [rbp + 0x74], 0x800
jle 0x71cf61
nop
mov dword [rbp + 0x70], 0
mov rax, qword [rbp + 0x10a8]
mov rax, qword [rax]
test rax, rax
je 0x71cff6
mov eax, dword [rax - 4]
mov dword [rbp + 0x70], eax
cmp dword [rbp + 0x70], 0x802
jle 0x71d09a
nop
mov qword [rbp + 0x1088], 0
lea rcx, [rbp + 0x48]
mov edx, dword [rbp + 0x78]
call fcn.00436670
lea rcx, [rbp + 0x1088]
mov edx, 3
lea r8, [0x0071d12c]
mov r9, qword [rbp + 0x48]
lea rax, [0x0071d16c]
mov qword [rsp + 0x20], rax
call fcn.004122a0
mov dword [rbp + 0x6c], 0
mov rax, qword [rbp + 0x10a8]
mov rax, qword [rax]
test rax, rax
je 0x71d05f
mov eax, dword [rax - 4]
mov dword [rbp + 0x6c], eax
lea rcx, [rbp + 0x38]
mov edx, dword [rbp + 0x6c]
call fcn.00436670
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x1088]
mov r8, qword [rbp + 0x38]
call fcn.00412170
mov rcx, qword [rbp + 0x40]
mov dl, 1
xor r8, r8
call fcn.0071a280
nop
lea rcx, [rbp + 0x1088]
call fcn.004108b0
mov rax, qword [rbp + 0x10c0]
mov ecx, dword [rbp + 0x80]
mov dword [rax], ecx
nop
lea rcx, [rbp + 0x38]
mov edx, 4
call fcn.00410990
mov rax, qword [rbp + 0x10a8]
lea rsp, [rbp + 0x1090]
pop rbp
ret