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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1001c576
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1001c637
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001c5a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1001c62d
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1001c5c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1001c623
mov dword [ebp - 0x10], 7
cmp dword [ebp - 0x10], 0
jle 0x1001c623
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x2c], 0
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1001c60d
cmp dword [ebp - 0x28], 4
jne 0x1001c60b
jmp 0x1001c623
jmp 0x1001c618
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1001c623
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
jmp 0x1001c5c8
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001c640
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001c673
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x1001c6e5
push 0
push 0
push 0
push 0
push 0x1002c4bc
mov eax, dword [ebp + 8]
push eax
push 1
push 2
push 0x110
push 0xf01ff
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1001c6b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1001c6d8
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001cf40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x1001cf54
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x1001cf58
xor al, al
jmp 0x1001cf81
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1001cf71
xor al, al
jmp 0x1001cf81
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x1001cf7f
xor al, al
jmp 0x1001cf81
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x10021440
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x10021f80
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x244], ecx
mov byte [ebp - 5], 0
cmp dword [ebp + 8], 0
jne 0x10021faa
xor al, al
jmp 0x10022054
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x10021fc3
xor al, al
jmp 0x10022054
mov dword [ebp - 0x240], 0x22c
mov dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10022047
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10022033
mov ecx, dword [ebp - 0x238]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10022023
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 5], 1
jmp 0x10022047
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10021fe8
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret 4
Function at 0x100222a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028909
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10032118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp + 8]
push eax
call fcn.10003dd0
mov dword [ebp - 0x64], eax
call fcn.10025fc0
add esp, 0x1c
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x1002231b
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10003e10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10003e10
mov eax, dword [ebp - 0x58]
jmp 0x100223d2
push 0x3c
push 0
lea ecx, [ebp - 0x4c]
push ecx
call fcn.1000c950
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x1002df54
lea ecx, [ebp + 8]
call fcn.10004010
mov dword [ebp - 0x3c], eax
lea ecx, [ebp + 0x24]
call fcn.10004010
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], 0x40
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x1002239e
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10003e10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10003e10
mov eax, dword [ebp - 0x5c]
jmp 0x100223d2
push 0x493e0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x60], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10003e10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10003e10
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100223f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 4], 0x1002df04
mov dword [ebp - 0xc], 0x1002df34
mov dword [ebp - 0x21c], 0x100
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10022499
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10022489
lea ecx, [ebp - 0x218]
push ecx
push 0x1002df4c
mov edx, dword [ebp + 8]
push edx
call fcn.100057b0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10022497
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100224a2
jmp 0x1002249d
xor eax, eax
jmp 0x100224a2
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret 4
Function at 0x10024250
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0
jmp 0x1002427c
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x37
jge 0x1002428d
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x74]
mov dword [ebp - 0x6c], ecx
jmp 0x10024273
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0
push 0x5f
push 0
lea edx, [ebp - 0x67]
push edx
call fcn.1000c950
add esp, 0xc
push 0x60
push 0x18
lea eax, [ebp - 0x68]
push eax
call fcn.1000c950
add esp, 0xc
push 0x258
call fcn.1000bcbc
add esp, 4
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x70], ecx
push 0x258
push 0x18
mov edx, dword [ebp - 0x70]
push edx
call fcn.1000c950
add esp, 0xc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.1000c407
add esp, 4
mov dword [ebp - 0x78], 1
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
add eax, 7
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 1
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
add edx, 7
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
add ecx, 7
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], 1
mov edx, dword [ebp - 0x90]
add edx, 1
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
add eax, 7
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], 1
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
add edx, 7
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 7
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], 1
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
add eax, 7
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb0], 1
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
add edx, 7
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0xb8]
add eax, 1
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
add ecx, 7
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xc0], 1
mov edx, dword [ebp - 0xc0]
add edx, 1
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
add eax, 7
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret
Function at 0x10024c90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0
jmp 0x10024cbc
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x22
jge 0x10024ccd
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x54], ecx
jmp 0x10024cb3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
push 0x43
push 0
lea edx, [ebp - 0x4f]
push edx
call fcn.1000c950
add esp, 0xc
push 0x44
push 0x89
lea eax, [ebp - 0x50]
push eax
call fcn.1000c950
add esp, 0xc
push 0x3b8
call fcn.1000bcbc
add esp, 4
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x58], ecx
push 0x3b8
push 0x89
mov edx, dword [ebp - 0x58]
push edx
call fcn.1000c950
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.1000c407
add esp, 4
mov dword [ebp - 0x60], 1
mov edx, dword [ebp - 0x60]
add edx, 1
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
add eax, 2
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 1
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
add edx, 2
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
add ecx, 2
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], 1
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
add eax, 2
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 1
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
add edx, 2
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
add ecx, 2
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], 1
mov edx, dword [ebp - 0x90]
add edx, 1
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
add eax, 2
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], 1
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
add edx, 2
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 2
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], 1
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
add eax, 2
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret
Function at 0x10025850
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
jmp 0x1002587c
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x36
jge 0x1002588d
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
jmp 0x10025873
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov dword [ebp - 0x13], edx
mov dword [ebp - 0xf], edx
mov dword [ebp - 0xb], edx
mov word [ebp - 7], dx
mov byte [ebp - 5], dl
push 0x1c
push 0x64
lea eax, [ebp - 0x20]
push eax
call fcn.1000c950
add esp, 0xc
push 0x170
call fcn.1000bcbc
add esp, 4
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x28], ecx
push 0x170
push 0x64
mov edx, dword [ebp - 0x28]
push edx
call fcn.1000c950
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.1000c407
add esp, 4
mov dword [ebp - 0x30], 1
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add eax, 3
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 1
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
add edx, 3
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
add ecx, 3
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], 1
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
add eax, 3
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 1
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
add edx, 3
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
add ecx, 3
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], 1
mov edx, dword [ebp - 0x60]
add edx, 1
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
add eax, 3
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 1
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
add edx, 3
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
add ecx, 3
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], 1
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
add eax, 3
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret
Function at 0x10025c80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
jne 0x10025ca1
xor al, al
jmp 0x10025d11
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x10025cb7
xor al, al
jmp 0x10025d11
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10025d04
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10025cf0
mov byte [ebp - 1], 1
jmp 0x10025d04
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10025cd5
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret

Function at 0x10025d80
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x10025db2
xor eax, eax
jmp 0x10025e4a
mov dword [ebp - 8], 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10025ddc
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10025e4a
mov dword [ebp - 0x10], 0
cmp dword [ebp - 8], 0
jbe 0x10025e3b
push 0
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
xor eax, 0x78338e37
mov dword [ebp - 0x10], eax
push 1
push 0
push 0xfffffffffffffffc
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x14]
push edx
push 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 8]
sub edx, 4
mov dword [ebp - 8], edx
jmp 0x10025de3
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10026030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.10024250
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0xc], 0
mov dword [ebp - 8], 1
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0x10025e50
push 0
push 0
call fcn.1000ce51
add esp, 0x18
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx ecx, byte [ebp - 0xc]
test ecx, ecx
jne 0x100260fc
mov dword [ebp - 8], 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0x10025e50
push 0
push 0
call fcn.1000ce51
add esp, 0x18
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx ecx, byte [ebp - 0xc]
test ecx, ecx
jne 0x100260f2
mov dword [ebp - 8], 1
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0x10025e50
push 0
push 0
call fcn.1000ce51
add esp, 0x18
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x10026110
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 0x14], eax
call fcn.10025a20
mov dword [ebp - 4], 0x1002e7a4
mov dword [ebp - 0xc], str.SupplyID
mov dword [ebp - 0x21c], 0x100
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100261b8
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100261a8
lea ecx, [ebp - 0x218]
push ecx
push 0x1002e7e8
mov edx, dword [ebp + 8]
push edx
call fcn.100057b0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100261b6
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100261c6
jmp 0x100261bc
xor eax, eax
jmp 0x100261c6
call fcn.10025850
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret