joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005110
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x10005263
cmp dword [ebp - 0x11c], 5
jne 0x10005169
cmp dword [ebp - 0x118], 1
je 0x10005184
movzx ecx, byte [ebp - 6]
cmp ecx, 1
jne 0x10005193
cmp dword [ebp - 0x11c], 5
jne 0x10005193
cmp dword [ebp - 0x118], 2
jne 0x10005193
mov dword [ebp - 0x124], 4
jmp 0x10005263
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x100051bd
cmp dword [ebp - 0x11c], 6
jne 0x100051bd
cmp dword [ebp - 0x118], 0
jne 0x100051bd
mov dword [ebp - 0x124], 5
jmp 0x10005263
movzx eax, byte [ebp - 6]
cmp eax, 1
jne 0x100051e4
cmp dword [ebp - 0x11c], 6
jne 0x100051e4
cmp dword [ebp - 0x118], 1
jne 0x100051e4
mov dword [ebp - 0x124], 6
jmp 0x10005263
movzx ecx, byte [ebp - 6]
cmp ecx, 1
jne 0x1000520b
cmp dword [ebp - 0x11c], 6
jne 0x1000520b
cmp dword [ebp - 0x118], 2
jne 0x1000520b
mov dword [ebp - 0x124], 7
jmp 0x10005263
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x10005232
cmp dword [ebp - 0x11c], 6
jne 0x10005232
cmp dword [ebp - 0x118], 3
jne 0x10005232
mov dword [ebp - 0x124], 8
jmp 0x10005263
movzx eax, byte [ebp - 6]
cmp eax, 1
jne 0x10005259
cmp dword [ebp - 0x11c], 0xa
jne 0x10005259
cmp dword [ebp - 0x118], 0
jne 0x10005259
mov dword [ebp - 0x124], 9
jmp 0x10005263
mov dword [ebp - 0x124], 6
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret
Function at 0x100093a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005610b
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xac
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x1006733c
lea ecx, [ebp - 0x94]
call fcn.100055b0
mov byte [ebp - 4], 1
push 0x50
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.10033d10
add esp, 0xc
lea ecx, [ebp - 0x7c]
call fcn.10005620
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.10005340
movzx ecx, al
test ecx, ecx
je 0x10009458
mov byte [ebp - 0xad], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.10005450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005450
mov al, byte [ebp - 0xad]
jmp 0x100095f8
push 1
lea ecx, [ebp + 8]
call fcn.10007900
mov dword [ebp - 0xb8], eax
push 1
lea ecx, [ebp - 0x94]
call fcn.10007900
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xb8]
mov cx, word [eax]
mov word [edx], cx
push 0
push 0
push 0
push 0
push 0
push 0x28
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x94]
call fcn.10005370
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x100094ef
mov byte [ebp - 0xae], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.10005450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005450
mov al, byte [ebp - 0xae]
jmp 0x100095f8
jmp 0x10009518
mov dword [ebp - 4], 2
jmp 0x10009559
lea ecx, [ebp + 8]
call fcn.10005e70
cmp eax, 0x104
jbe 0x100095a7
lea ecx, [ebp + 8]
call fcn.10005370
push eax
push 0x10067370
lea eax, [ebp - 0xac]
push eax
call fcn.1002eaa0
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.100054a0
lea ecx, [ebp - 0xac]
call fcn.10005450
jmp 0x100095b3
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x7c]
call fcn.100053e0
lea ecx, [ebp - 0x7c]
call fcn.10005370
mov ecx, eax
call fcn.1002e460
mov byte [ebp - 0xb0], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.10005450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005450
mov al, byte [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret
Function at 0x10009950
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100561bb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 4], 3
push 0x10067444
lea ecx, [ebp - 0x228]
call fcn.100055b0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
call fcn.10005370
mov ecx, eax
call fcn.1002e480
movzx eax, al
test eax, eax
jne 0x10009a1e
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10005530
mov edx, dword [ebp - 0x22c]
or edx, 1
mov dword [ebp - 0x22c], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x228]
call fcn.10005450
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.10005450
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.10005450
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x3c]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.10005450
mov eax, dword [ebp + 8]
jmp 0x10009af1
push 0x200
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.10033d10
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.10005370
push eax
push 0x100
lea ecx, [ebp - 0x210]
push ecx
push 0
lea ecx, [ebp + 0x3c]
call fcn.10005370
push eax
lea ecx, [ebp + 0x24]
call fcn.10005370
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x210]
test edx, edx
je 0x10009a8e
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.100053c0
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp + 0x54]
call fcn.100053e0
lea edx, [ebp - 0x228]
push edx
mov ecx, dword [ebp + 8]
call fcn.10005530
mov eax, dword [ebp - 0x22c]
or eax, 1
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x228]
call fcn.10005450
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.10005450
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x24]
call fcn.10005450
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x3c]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.10005450
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret
Function at 0x10009b10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056200
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x10067448
lea ecx, [ebp - 0x78]
call fcn.100055b0
mov byte [ebp - 4], 1
push 0x50
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.10033d10
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.10005340
movzx ecx, al
test ecx, ecx
je 0x10009ba0
mov byte [ebp - 0x91], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005450
mov al, byte [ebp - 0x91]
jmp 0x10009c86
push 1
lea ecx, [ebp + 8]
call fcn.10007900
mov esi, eax
push 1
lea ecx, [ebp - 0x78]
call fcn.10007900
mov dx, word [esi]
mov word [eax], dx
push 0
push 0
push 0
push 0
push 0
push 0x28
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x78]
call fcn.10005370
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x10009c09
mov byte [ebp - 0x92], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005450
mov al, byte [ebp - 0x92]
jmp 0x10009c86
lea ecx, [ebp + 8]
call fcn.10005e70
cmp eax, 0x104
jbe 0x10009c50
lea ecx, [ebp + 8]
push ecx
push 0x10067450
lea edx, [ebp - 0x90]
push edx
call fcn.1000a390
add esp, 0xc
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp + 8]
call fcn.100054a0
lea ecx, [ebp - 0x90]
call fcn.10005450
lea ecx, [ebp + 8]
call fcn.10005370
mov ecx, eax
call fcn.1002e480
mov byte [ebp - 0x93], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005450
mov al, byte [ebp - 0x93]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret
Function at 0x10009ca0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056240
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x3c
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10005620
mov byte [ebp - 4], 1
mov byte [ebp - 0x45], 0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.10005e70
cmp eax, 0x104
jbe 0x10009d2c
lea ecx, [ebp + 8]
call fcn.10005370
push eax
push 0x10067468
lea eax, [ebp - 0x44]
push eax
call fcn.1002eaa0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100054a0
lea ecx, [ebp - 0x44]
call fcn.10005450
jmp 0x10009d38
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100053e0
lea ecx, [ebp - 0x2c]
call fcn.10005370
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10009d51
mov byte [ebp - 0x46], 1
jmp 0x10009d55
mov byte [ebp - 0x46], 0
mov al, byte [ebp - 0x46]
mov byte [ebp - 0x45], al
jmp 0x10009d8a
mov dword [ebp - 4], 1
jmp 0x10009db6
movzx ecx, byte [ebp - 0x45]
test ecx, ecx
jne 0x10009ddb
lea ecx, [ebp - 0x2c]
call fcn.10005370
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__GetLastError__d___Main_MyDeleteFile_Path_:__S
call fcn.100098e0
add esp, 0xc
mov dl, byte [ebp - 0x45]
mov byte [ebp - 0x48], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005450
mov al, byte [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret
Function at 0x10009e20
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056280
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x3c
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10005620
mov byte [ebp - 4], 1
mov byte [ebp - 0x46], 0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.10005e70
cmp eax, 0x104
jbe 0x10009eac
lea ecx, [ebp + 8]
call fcn.10005370
push eax
push 0x100674d8
lea eax, [ebp - 0x44]
push eax
call fcn.1002eaa0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100054a0
lea ecx, [ebp - 0x44]
call fcn.10005450
jmp 0x10009eb8
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100053e0
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005370
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10009ed5
mov byte [ebp - 0x45], 1
jmp 0x10009ed9
mov byte [ebp - 0x45], 0
mov cl, byte [ebp - 0x45]
mov byte [ebp - 0x46], cl
jmp 0x10009f0e
mov dword [ebp - 4], 1
jmp 0x10009f3a
mov dl, byte [ebp - 0x46]
mov byte [ebp - 0x48], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005450
mov al, byte [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret
Function at 0x10009f80
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100562d0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10005620
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10005620
mov byte [ebp - 4], 3
mov byte [ebp - 0x72], 0
lea ecx, [ebp + 8]
call fcn.10005e70
cmp eax, 0x104
jbe 0x1000a00d
lea ecx, [ebp + 8]
call fcn.10005370
push eax
push 0x10067520
lea eax, [ebp - 0x58]
push eax
call fcn.1002eaa0
add esp, 0xc
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x40]
call fcn.100054a0
lea ecx, [ebp - 0x58]
call fcn.10005450
jmp 0x1000a019
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x40]
call fcn.100053e0
lea ecx, [ebp + 0x20]
call fcn.10005e70
cmp eax, 0x104
jbe 0x1000a05b
lea ecx, [ebp + 0x20]
call fcn.10005370
push eax
push str.__s
lea eax, [ebp - 0x70]
push eax
call fcn.1002eaa0
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.100054a0
lea ecx, [ebp - 0x70]
call fcn.10005450
jmp 0x1000a067
lea edx, [ebp + 0x20]
push edx
lea ecx, [ebp - 0x28]
call fcn.100053e0
lea ecx, [ebp - 0x28]
call fcn.10005370
push eax
lea ecx, [ebp - 0x40]
call fcn.10005370
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1000a089
mov byte [ebp - 0x71], 1
jmp 0x1000a08d
mov byte [ebp - 0x71], 0
mov al, byte [ebp - 0x71]
mov byte [ebp - 0x72], al
mov cl, byte [ebp - 0x72]
mov byte [ebp - 0x73], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10005450
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10005450
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.10005450
mov al, byte [ebp - 0x73]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret
Function at 0x1000c580
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005658b
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x174], ecx
lea ecx, [ebp - 0x128]
call fcn.10005620
mov dword [ebp - 4], 0
push 0x100
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.10033d10
add esp, 0xc
push 0x80
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x128]
call fcn.100053c0
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x140]
push ecx
call fcn.100256e0
add esp, 8
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x178]
push edx
lea ecx, [ebp - 0x128]
call fcn.100054a0
lea ecx, [ebp - 0x140]
call fcn.10005450
push 0x1006764c
lea ecx, [ebp - 0x128]
call fcn.10005370
push eax
call fcn.10034017
add esp, 8
test eax, eax
je 0x1000c65d
mov eax, dword [ebp - 0x174]
mov byte [eax + 8], 0
mov ecx, dword [ebp - 0x174]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x69f0], ecx
mov edx, dword [ebp - 0x174]
mov ecx, dword [edx]
call fcn.100019b0
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x174]
mov ecx, dword [edx]
call fcn.10004ac0
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax]
movsx edx, byte [ecx + 0x69de]
push edx
push str._c:Windows_script.txt
lea eax, [ebp - 0x158]
push eax
call fcn.1002eaa0
add esp, 0xc
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
push ecx
mov ecx, dword [ebp - 0x174]
add ecx, 0x270
call fcn.100054a0
lea ecx, [ebp - 0x158]
call fcn.10005450
mov edx, dword [ebp - 0x174]
mov eax, dword [edx]
movsx ecx, byte [eax + 0x69de]
push ecx
push str._script__c:Windows_script.txt
lea edx, [ebp - 0x170]
push edx
call fcn.1002eaa0
add esp, 0xc
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x174]
add ecx, 0x288
call fcn.100054a0
lea ecx, [ebp - 0x170]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.10005450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret
Function at 0x10013190
Capabilities:
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056718
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp + 8]
call fcn.100057f0
push eax
push str._INF__RestartService__Start__s
call fcn.100098e0
add esp, 8
push SysStringLen
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x10013237
push 0x10068cd0
call fcn.100098e0
add esp, 4
mov dword [ebp - 0x5c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005900
mov eax, dword [ebp - 0x5c]
jmp 0x10013390
push SysStringLen
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x1001327a
push str._ERR__RestartService__OpenSCManager_Error
call fcn.100098e0
add esp, 4
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005900
mov eax, dword [ebp - 0x60]
jmp 0x10013390
push 0xf01ff
push str.stisvc
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x100132a9
push 0x10068d30
call fcn.100098e0
add esp, 4
jmp 0x10013358
lea ecx, [ebp - 0x2c]
push ecx
push 1
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x100132ca
push 0x10068d5c
call fcn.100098e0
add esp, 4
push 0x7d0
mov ecx, dword [ebp - 0x64]
call fcn.100170f0
push 0xf01ff
lea ecx, [ebp + 8]
call fcn.100057f0
push eax
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x10013307
push str._ERR__RestartService__OpenService_Error
call fcn.100098e0
add esp, 4
jmp 0x10013358
lea ecx, [ebp - 0x48]
push ecx
push 1
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x10013328
push str._ERR__RestartService__ControlService_Error
call fcn.100098e0
add esp, 4
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push 0
push 0
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [ebp - 0x58], 0
push str._SUC__RestartService__End
call fcn.100098e0
add esp, 4
cmp dword [ebp - 0x50], 0
je 0x10013368
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x54], 0
je 0x10013378
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005900
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10016bc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056af0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10076008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
push 0x3c
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.10033d10
add esp, 0xc
mov dword [ebp - 0x58], 0x3c
lea ecx, [ebp + 8]
call fcn.10005370
mov dword [ebp - 0x48], eax
lea ecx, [ebp + 0x20]
call fcn.10005370
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x40
mov dword [ebp - 0x4c], str.open
mov dword [ebp - 0x3c], 0
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x1c], eax
movzx edx, byte [ebp + 0x38]
test edx, edx
je 0x10016cab
cmp dword [ebp - 0x20], 0
je 0x10016cab
mov eax, 1
test eax, eax
je 0x10016c85
call fcn.1000a2a0
push 0x64
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x102
je 0x10016c7e
jmp 0x10016c85
call fcn.1000a2a0
jmp 0x10016c56
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.10005450
mov al, byte [ebp - 0xd]
jmp 0x10016cea
mov byte [ebp - 0xe], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.10005450
mov al, byte [ebp - 0xe]
jmp 0x10016cea
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x34

Function at 0x10017450
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
je 0x10017465
cmp dword [ebp + 8], 0
jne 0x10017469
xor eax, eax
jmp 0x100174c3
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jmp 0x10017491
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jge 0x100174b7
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx edx, byte [ebp - 4]
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
xor edx, eax
xor ecx, dword [edx*4 + 0x100769b0]
mov dword [ebp - 4], ecx
jmp 0x1001747f
mov ecx, dword [ebp - 4]
xor ecx, 0xffffffff
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x100177b0
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [str..A:]
mov dword [ebp - 0x10], eax
mov cx, word [0x1006ad68]
mov word [ebp - 0xc], cx
mov dl, byte [0x1006ad6a]
mov byte [ebp - 0xa], dl
xor eax, eax
mov word [ebp - 9], ax
mov byte [ebp - 7], al
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov eax, 1
shl eax, 2
mov cl, byte [ebp + 8]
mov byte [ebp + eax - 0x10], cl
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x1001782c
xor eax, eax
jmp 0x10017876
push 0
lea eax, [ebp - 0x2c]
push eax
push 0xc
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0x2d1080
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10017867
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret 0xc