joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006d290
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1800a5cc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
call fcn.18005ca70
test eax, eax
je 0x18006d367
call fcn.18005cad0
test eax, eax
je 0x18006d359
xor edx, edx
xor ecx, ecx
mov r8d, 0x20000
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x18006d307
lea r8d, [rbx + 4]
lea rdx, str.TermService
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
jne 0x18006d30b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x18006d369
xor eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x18006d345
mov eax, dword [rsp + 0x24]
cmp eax, 4
je 0x18006d340
cmp eax, 2
jne 0x18006d345
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x18006d367
lea rcx, str.Terminal_Server
call fcn.18006d150
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18002f2e0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
jmp 0x18006d290

Function at 0x18006d610
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1800a5cc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
call fcn.18005ca70
test eax, eax
je 0x18006d367
call fcn.18005cad0
test eax, eax
je 0x18006d359
xor edx, edx
xor ecx, ecx
mov r8d, 0x20000
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x18006d307
lea r8d, [rbx + 4]
lea rdx, str.TermService
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
jne 0x18006d30b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x18006d369
xor eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x18006d345
mov eax, dword [rsp + 0x24]
cmp eax, 4
je 0x18006d340
cmp eax, 2
jne 0x18006d345
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x18006d367
lea rcx, str.Terminal_Server
call fcn.18006d150
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18002f2e0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
jmp 0x18006d290
Function at 0x18006ebf0
Capabilities:
Get disk information

Disassembly:
push rbx
push rsi
sub rsp, 0x258
mov rax, qword [0x1800a5cc0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
cmp eax, 1
jne 0x18006ed55
test rbx, rbx
je 0x18006ed55
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x280], rdi
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
cmp ecx, 2
jle 0x18006ed4d
movzx eax, word [rbx + 2]
cmp ax, 0x3a
jne 0x18006ec82
movabs rax, 0x5c003a0041
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
movzx eax, word [rbx]
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
jmp 0x18006ed4d
cmp word [rbx], 0x5c
jne 0x18006ed4d
cmp ax, 0x5c
jne 0x18006ed4d
mov qword [rsp + 0x278], rbp
mov qword [rsp + 0x250], r12
mov r12d, 0x5c
lea rcx, [rbx + 4]
mov edx, r12d
call fcn.180030e10
mov rbp, rax
test rax, rax
je 0x18006ed3d
xor eax, eax
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], ax
call fcn.18002f310
lea rcx, [rbp + 2]
mov edx, r12d
call fcn.180030e10
test rax, rax
je 0x18006ed0d
sub rax, rbx
sar rax, 1
lea ecx, [rax + 1]
cmp ecx, 0x104
jge 0x18006ed3d
movsxd r8, ecx
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.180030114
jmp 0x18006ed30
lea eax, [rdi + 1]
cmp eax, 0x104
jge 0x18006ed3d
movsxd rdi, edi
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, rdi
call fcn.180030114
mov word [rsp + rdi*2 + 0x30], r12w
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
mov rbp, qword [rsp + 0x278]
mov r12, qword [rsp + 0x250]
mov rdi, qword [rsp + 0x280]
mov eax, esi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18002f2e0
add rsp, 0x258
pop rsi
pop rbx
ret

Function at 0x18006ee30
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x48
xor eax, eax
mov dword [rdx], eax
test rcx, rcx
je 0x18006ee5e
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov r9, rdx
mov qword [rsp + 0x28], rax
xor edx, edx
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
add rsp, 0x48
ret

Function at 0x18006f0d0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1800a5cc0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov rcx, rdx
mov rdi, rdx
call fcn.180023390
test rbx, rbx
je 0x18006f161
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], 0
call fcn.18002f310
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.18001fb50
mov eax, ebx
jmp 0x18006f163
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18002f2e0
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x18006f190
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x48
xor eax, eax
mov dword [rdx], eax
test rcx, rcx
je 0x18006f1be
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
add rsp, 0x48
ret

Function at 0x18006f1f0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1800a5cc0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov rcx, rdx
mov rdi, rdx
call fcn.180023390
xor esi, esi
test rbx, rbx
je 0x18006f27d
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], sil
call fcn.18002f310
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov r8d, 0x104
mov rcx, rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.18001fb50
mov eax, ebx
jmp 0x18006f27f
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18002f2e0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x18006f350
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x1800a5cc0]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbx, rcx
mov rcx, rdx
mov rdi, rdx
call fcn.180023390
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x20], 0
call fcn.18002f310
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
dec eax
cmp eax, 0x3fe
ja 0x18006f3c5
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.18001fb50
mov eax, 1
jmp 0x18006f3c7
xor eax, eax
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.18002f2e0
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret

Function at 0x18006f4c0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rbp, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
call fcn.180024a70
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsi], eax
mov edi, 1
xor ebx, ebx
nop dword [rax]
test dword [rsi], edi
je 0x18006f550
movzx eax, word [0x180091668]
mov word [rsp + 0x50], ax
movzx eax, byte [0x18009166a]
mov byte [rsp + 0x52], al
xor eax, eax
mov byte [rsp + 0x53], al
add byte [rsp + 0x50], bl
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.180023120
nop
lea r8, [rsp + 0x60]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.180024cc0
nop
lea rcx, [rsp + 0x60]
call fcn.18001f9d0
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x18006f500
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x18006f570
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rbp, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
call fcn.180024a70
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsi], eax
mov edi, 1
xor ebx, ebx
nop dword [rax]
test dword [rsi], edi
je 0x18006f600
movzx eax, word [0x180091668]
mov word [rsp + 0x50], ax
movzx eax, byte [0x18009166a]
mov byte [rsp + 0x52], al
xor eax, eax
mov byte [rsp + 0x53], al
add byte [rsp + 0x50], bl
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.180023120
nop
lea r8, [rsp + 0x60]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.180024cc0
nop
lea rcx, [rsp + 0x60]
call fcn.18001f9d0
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x18006f5b0
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x18006f620
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x1800a5cc0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
call fcn.180024f80
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsi], eax
mov edi, 1
xor ebx, ebx
test dword [rsi], edi
je 0x18006f6b9
mov eax, dword [0x1800916c0]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1800916c4]
mov word [rsp + 0x34], ax
xor eax, eax
mov word [rsp + 0x36], ax
add word [rsp + 0x30], bx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.180023cd0
nop
lea r8, [rsp + 0x20]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.1800251d0
nop
lea rcx, [rsp + 0x20]
call fcn.180021330
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x18006f668
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18002f2e0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x18006f6f0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x160
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1800a5cc0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r12, rdx
mov rbp, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.180024a70
or r8d, 0xffffffff
xor edx, edx
mov rcx, r12
call fcn.180024a70
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, 1
xor ebx, ebx
nop
test esi, edi
je 0x18006f811
movzx eax, word [0x180091668]
mov word [rsp + 0x20], ax
movzx eax, byte [0x18009166a]
mov byte [rsp + 0x22], al
xor eax, eax
mov byte [rsp + 0x23], al
add byte [rsp + 0x20], bl
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180023120
nop
lea r8, [rsp + 0x30]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.180024cc0
mov r11, qword [0x18008aa28]
mov qword [rsp + 0x28], r11
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.18002f310
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov byte [rsp + 0x143], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.18001fb50
lea r8, [rsp + 0x28]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.180024cc0
nop
lea rcx, [rsp + 0x28]
call fcn.18001f9d0
nop
lea rcx, [rsp + 0x30]
call fcn.18001f9d0
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x18006f750
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18002f2e0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x18006f850
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x160
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1800a5cc0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r12, rdx
mov rbp, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.180024a70
or r8d, 0xffffffff
xor edx, edx
mov rcx, r12
call fcn.180024a70
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, 1
xor ebx, ebx
nop
test esi, edi
je 0x18006f971
movzx eax, word [0x180091668]
mov word [rsp + 0x20], ax
movzx eax, byte [0x18009166a]
mov byte [rsp + 0x22], al
xor eax, eax
mov byte [rsp + 0x23], al
add byte [rsp + 0x20], bl
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180023120
nop
lea r8, [rsp + 0x30]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.180024cc0
mov r11, qword [0x18008aa28]
mov qword [rsp + 0x28], r11
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.18002f310
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov byte [rsp + 0x143], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.18001fb50
lea r8, [rsp + 0x28]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.180024cc0
nop
lea rcx, [rsp + 0x28]
call fcn.18001f9d0
nop
lea rcx, [rsp + 0x30]
call fcn.18001f9d0
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x18006f8b0
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18002f2e0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x18006f9b0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2a0], rbx
mov rax, qword [0x1800a5cc0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r12, rdx
mov rbp, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.180024f80
or r8d, 0xffffffff
xor edx, edx
mov rcx, r12
call fcn.180024f80
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, 1
xor r13d, r13d
mov ebx, r13d
test esi, edi
je 0x18006fad8
mov eax, dword [0x1800916c0]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1800916c4]
mov word [rsp + 0x3c], ax
xor eax, eax
mov word [rsp + 0x3e], ax
add word [rsp + 0x38], bx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.180023cd0
nop
lea r8, [rsp + 0x28]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.1800251d0
mov r11, qword [0x18008aa30]
mov qword [rsp + 0x20], r11
mov word [rsp + 0x40], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.18002f310
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov word [rsp + 0x246], r13w
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800214b0
lea r8, [rsp + 0x20]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.1800251d0
nop
lea rcx, [rsp + 0x20]
call fcn.180021330
nop
lea rcx, [rsp + 0x28]
call fcn.180021330
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x18006fa14
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18002f2e0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x18006fee0
Capabilities:
Get disk information

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov rdi, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.180024a70
or r8d, 0xffffffff
xor edx, edx
mov rcx, rdi
call fcn.180024a70
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov ecx, dword [0x1800ae534]
test ecx, ecx
je 0x18006ff91
cmp eax, ecx
jne 0x18006ff91
mov eax, dword [0x1800ae538]
test eax, eax
je 0x18006ff91
cmp ebx, eax
jb 0x18006ff91
add eax, 0x493e0
cmp eax, ebx
jb 0x18006ff91
inc dword [0x1800ae53c]
mov r8d, 1
lea rdx, [0x1800ae5e8]
lea rcx, [rsp + 0x28]
call fcn.180029850
nop
lea rdx, [0x1800ae5b8]
mov rcx, rsi
call fcn.180024be0
lea rdx, [0x1800ae5d0]
mov rcx, rdi
call fcn.180024be0
nop
jmp 0x18007000d
mov dword [0x1800ae53c], 0
mov rdx, rdi
mov rcx, rsi
call fcn.18006f850
mov r8d, 1
lea rdx, [0x1800ae5e8]
lea rcx, [rsp + 0x28]
call fcn.180029850
nop
mov dword [0x1800ae534], ebp
mov dword [0x1800ae538], ebx
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x1800ae5b8]
call fcn.180024a70
mov rdx, rsi
lea rcx, [0x1800ae5b8]
call fcn.180024be0
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x1800ae5d0]
call fcn.180024a70
mov rdx, rdi
lea rcx, [0x1800ae5d0]
call fcn.180024be0
nop
lea rcx, [rsp + 0x28]
call fcn.1800298d0
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180070040
Capabilities:
Get disk information

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov rdi, rdx
mov rsi, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.180024f80
or r8d, 0xffffffff
xor edx, edx
mov rcx, rdi
call fcn.180024f80
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov ecx, dword [0x1800ae540]
test ecx, ecx
je 0x1800700f1
cmp eax, ecx
jne 0x1800700f1
mov eax, dword [0x1800ae544]
test eax, eax
je 0x1800700f1
cmp ebx, eax
jb 0x1800700f1
add eax, 0x493e0
cmp eax, ebx
jb 0x1800700f1
inc dword [0x1800ae548]
mov r8d, 1
lea rdx, [0x1800ae650]
lea rcx, [rsp + 0x28]
call fcn.180029850
nop
lea rdx, [0x1800ae620]
mov rcx, rsi
call fcn.1800250f0
lea rdx, [0x1800ae638]
mov rcx, rdi
call fcn.1800250f0
nop
jmp 0x18007016d
mov dword [0x1800ae548], 0
mov rdx, rdi
mov rcx, rsi
call fcn.18006f9b0
mov r8d, 1
lea rdx, [0x1800ae650]
lea rcx, [rsp + 0x28]
call fcn.180029850
nop
mov dword [0x1800ae540], ebp
mov dword [0x1800ae544], ebx
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x1800ae620]
call fcn.180024f80
mov rdx, rsi
lea rcx, [0x1800ae620]
call fcn.1800250f0
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x1800ae638]
call fcn.180024f80
mov rdx, rdi
lea rcx, [0x1800ae638]
call fcn.1800250f0
nop
lea rcx, [rsp + 0x28]
call fcn.1800298d0
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180073ca0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1800ae6fc]
test ecx, ecx
jne 0x180073e60
mov eax, dword [0x1800ae6f8]
cmp eax, 3
ja 0x180073e60
inc eax
mov qword [rsp + 0x20], rbx
mov dword [0x1800ae6f8], eax
call fcn.18005ca70
test eax, eax
je 0x180073ce6
lea rcx, str.wtsapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x180073cf3
lea rcx, [0x180091988]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x180073d05
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, str.WTSOpenServerA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSOpenServerW
mov rcx, rbx
mov qword [0x1800ae688], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSCloseServer
mov rcx, rbx
mov qword [0x1800ae690], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSFreeMemory
mov rcx, rbx
mov qword [0x1800ae698], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSEnumerateSessionsA
mov rcx, rbx
mov qword [0x1800ae6a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSEnumerateSessionsW
mov rcx, rbx
mov qword [0x1800ae6a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSTerminateProcess
mov rcx, rbx
mov qword [0x1800ae6b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSEnumerateProcessesA
mov rcx, rbx
mov qword [0x1800ae6b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSEnumerateProcessesW
mov rcx, rbx
mov qword [0x1800ae6c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSSendMessageA
mov rcx, rbx
mov qword [0x1800ae6c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSSendMessageW
mov rcx, rbx
mov qword [0x1800ae6d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSQuerySessionInformationA
mov rcx, rbx
mov qword [0x1800ae6d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSQuerySessionInformationW
mov rcx, rbx
mov qword [0x1800ae6e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSWaitSystemEvent
mov rcx, rbx
mov qword [0x1800ae6e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x20]
mov qword [0x1800ae6f0], rax
mov dword [0x1800ae6fc], 1
mov eax, 1
add rsp, 0x28
ret
mov eax, ecx
add rsp, 0x28
ret
Function at 0x14001da50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, 0xffffffffffffffff
mov r14, r9
mov rbx, rdi
mov rbp, r8
mov rsi, rdx
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14001da80
mov rcx, rbx
call fcn.1400b30f8
mov r10, rax
inc rdi
cmp byte [rdi + rbp], 0
jne 0x14001da94
xor edx, edx
mov ecx, edx
test rbx, rbx
je 0x14001db42
mov r8, r10
sub rsi, r10
mov r9, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + r8]
lea r8, [r8 + 1]
xor al, byte [rcx + rbp]
inc rcx
cmp rcx, rdi
mov byte [r8 - 1], al
mov rax, rdx
cmovne rax, rcx
mov rcx, rax
sub r9, 1
jne 0x14001dac0
lea r8, [rbx*2 + 1]
nop
movzx eax, byte [rdx + r10]
mov ecx, eax
cmp rax, 0x9f
jbe 0x14001db0d
shr rcx, 4
sub rcx, 9
or rcx, 0x40
jmp 0x14001db18
or rcx, 0x300
shr rcx, 4
and eax, 0xf
mov byte [r14 + rdx*2], cl
cmp rax, 9
jbe 0x14001db2f
add rax, 0xfffffffffffffff7
or rax, 0x40
jmp 0x14001db33
or rax, 0x30
mov byte [r14 + rdx*2 + 1], al
inc rdx
cmp rdx, rbx
jb 0x14001daf0
jmp 0x14001db4a
lea r8, [rbx*2 + 1]
mov rcx, r10
mov byte [r8 + r14 - 1], 0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.1400b30c4

Function at 0x14001db80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13c8
call fcn.1400b3930
sub rsp, rax
mov rax, qword [0x140185640]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov ecx, 1
mov dword [rsp + 0x24], eax
nop dword [rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [rsp + rcx*4 + 0x24], eax
inc rcx
cmp rcx, 0x270
jb 0x14001dbc0
mov dword [rsp + 0x20], 0x270
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.14001e4f0
mov r8d, eax
mov eax, 0x4104105
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
cmp ecx, 0x4104104
jae 0x14001dbf0
mov eax, 0x4104105
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x3f
sub r8d, eax
mov eax, r8d
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400b2d40
add rsp, 0x13c8
ret