joyce8/EMBER2024-capa huggingface dataset:
Function at 0x789c6c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret

Function at 0x78a958
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040990c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x78a9f6
mov eax, ebx
call fcn.004054a0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x78a9ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x78a9d9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x78aa18
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x78a9d9
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 4]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78aa0b
mov eax, dword [ebp - 0x10]
call fcn.004054bc
ret
call fcn.004283ec
dec eax
je 0x78aa0b
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0078a77c
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x78aefc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78af1d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78af6b
xor eax, eax
push ebp
push 0x78af5b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78af62
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x78af74
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78af98
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78affe
xor eax, eax
push ebp
push 0x78afee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
push edi
push esi
call sub.kernel32.dll_CreateProcessW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78aff5
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x78b00c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b030
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78b088
xor eax, eax
push ebp
push 0x78b078
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.0040990c
push eax
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b07f
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x78b094
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b0b5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78b101
xor eax, eax
push ebp
push 0x78b0f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b0f8
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x78b26c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b28f
mov dword [ebp - 4], 0xffffffff
jmp 0x78b2db
xor eax, eax
push ebp
push 0x78b2cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b2d2
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x78b410
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b434
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78b488
xor eax, eax
push ebp
push 0x78b478
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040990c
push eax
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_MoveFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b47f
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x78b494
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
test edi, edi
jne 0x78b4b7
test esi, 4
je 0x78b4b7
xor edi, edi
jmp 0x78b4c0
mov eax, edi
call fcn.0040990c
mov edi, eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b4d5
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x78b524
xor eax, eax
push ebp
push 0x78b514
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov eax, dword [ebp - 4]
call fcn.0040990c
push eax
call sub.kernel32.dll_MoveFileExW
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b51b
lea eax, [ebp - 0x10]
call fcn.0078aeec
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x78b5a0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b5c1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78b60d
xor eax, eax
push ebp
push 0x78b5fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_RemoveDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b604
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x78b618
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b63c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78b689
xor eax, eax
push ebp
push 0x78b679
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_SetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b680
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x78c458
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x78c460
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x78c54d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.005e21d8
mov edx, dword [ebp - 8]
mov ecx, 0x78c568
xor eax, eax
call fcn.0078c1c0
push 0
mov eax, dword [ebp - 4]
call fcn.0040990c
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x78c51b
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x78c47a
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x3b
call fcn.005e96a4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0042127c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.005e3170
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x70
call fcn.005e9674
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x41a37c]
call fcn.004276dc
call fcn.00407f04
jmp 0x78c47a
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00408c24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78c554
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004088a4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004088a4
ret
Function at 0x78dee8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
call fcn.00408928
xor eax, eax
push ebp
push 0x78dfcc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0x18], 0
jne 0x78df2f
lea edx, [ebp + 0x18]
mov eax, edi
call fcn.005e104c
cmp dword [ebp + 0x18], 0
jne 0x78df2f
lea eax, [ebp + 0x18]
call fcn.005e2050
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00405d9c
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x540
test ebx, ebx
je 0x78df5a
mov eax, ebx
call fcn.0040990c
mov dword [ebp - 0x34], eax
mov eax, edi
call fcn.0040990c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
call fcn.0040990c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
call fcn.0040990c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x78df9c
call sub.kernel32.dll_GetLastError
mov dword [esi], eax
jmp 0x78dfb6
mov dword [esi], 0x103
mov eax, dword [ebp - 8]
test eax, eax
je 0x78dfb6
push esi
movzx edx, byte [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
call fcn.0078db88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78dfd3
lea eax, [ebp + 0x18]
call fcn.00408844
ret

Function at 0x78e204
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x78e232
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.004099c4
jmp 0x78e239
mov eax, ebx
call fcn.00408844
add esp, 0x24
pop ebx
ret

Function at 0x78e240
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
mov dword [esp], 0x101
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x78e271
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.004099c4
jmp 0x78e278
mov eax, ebx
call fcn.00408844
add esp, 0x208
pop ebx
ret

Function at 0x78e288
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
call fcn.004283ec
cmp eax, 2
jne 0x78e2f0
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x78e2ab
xor eax, eax
jmp 0x78e2ff
lea eax, [esp + 8]
push eax
push 0x78e304
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x78e2f0
xor eax, eax
jmp 0x78e2ff
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret
Function at 0x78e32c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x78e386
inc esi
xor edi, edi
cmp edi, 1
jne 0x78e352
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x78e360
cmp edi, 1
jle 0x78e360
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0078b094
test eax, eax
jne 0x78e386
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x78e386
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x78e386
inc edi
dec esi
jne 0x78e342
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x78ebf0
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
push 0
push 2
lea eax, [esp + 8]
push eax
call fcn.005e23dc
and eax, 0x7f
mov ecx, dword [eax*4 + 0x801fb4]
mov edx, 0x80000002
xor eax, eax
call fcn.005e2608
test eax, eax
jne 0x78ec3a
mov eax, esi
call fcn.0040990c
push eax
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
call fcn.0040990c
push eax
call sub.gdi32.dll_RemoveFontResourceW
test eax, eax
je 0x78ec5b
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
pop edx
pop esi
pop ebx
ret
Function at 0x78ec60
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov edi, ecx
mov esi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x78eda9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x78edc0
push 0x78ede8
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00412530
mov ebx, eax
lea edx, [ebp - 0xc]
movzx eax, byte [ebp - 1]
call fcn.0078aeb0
test al, al
jne 0x78ecbf
mov byte [ebp - 2], 0
jmp 0x78ed8e
xor eax, eax
push ebp
push 0x78ed87
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x78ed03
push 0
mov eax, dword [ebp + 8]
push eax
push edi
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.005e0f9c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.005e0b78
mov eax, dword [ebp - 0x20]
call fcn.0040990c
push eax
call ebx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
jmp 0x78ed71
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.005e0f9c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.005e1074
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.005e0b78
mov eax, dword [ebp - 0x28]
call fcn.0040990c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
je 0x78ed71
mov ecx, edi
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.005e5978
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.005e5978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78ed8e
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78edb0
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.004088a4
ret

Function at 0x78ef98
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x78efbc
mov eax, dword [ebp - 4]
jmp 0x78efbf
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x7aea1c
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x7aec5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
inc dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ecx
xor eax, eax
lea ebx, [eax + 0xc]
add ebx, ecx
xor edx, edx
push ebp
push 0x7aebff
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x7aea91
mov eax, 0x7aec78
call fcn.0078bdb8
xor edx, edx
push ebp
push 0x7aeb94
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x14
call fcn.00405d9c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push 0x14
mov eax, dword [ebp - 4]
add eax, 0x4034
push eax
push ebx
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_TransactNamedPipe
test eax, eax
jne 0x7aeb7d
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
je 0x7aeaf9
mov eax, 0x7aec9c
call fcn.0078bdb8
xor edx, edx
push ebp
push 0x7aeb66
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [ebp + 8], 0
je 0x7aeb39
mov eax, dword [ebp - 4]
cmp word [eax + 0x1a], 0
je 0x7aeb39
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x18]
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x7aeb17
pop dword fs:[0]
add esp, 8
push 0x7aeb6d
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_GetOverlappedResult
mov ebx, eax
call sub.kernel32.dll_GetLastError
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7aeb9b
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret

Function at 0x7b06a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
push 1
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.0040990c
mov ecx, eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 1]
mov edx, 0x80000002
call fcn.005e2608
test eax, eax
jne 0x7b071b
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
mov eax, esi
call fcn.0040990c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x7b070a
cmp dword [ebp - 8], 4
je 0x7b070e
xor ebx, ebx
jmp 0x7b0710
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x7b071d
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7b6444
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, esi
test ebx, ebx
je 0x7b645d
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.0040990c
push eax
push 1
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x7b6491
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
xor eax, eax
call fcn.007b6314
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x7b831c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x7b844d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
lea eax, [ebp - 8]
push eax
mov eax, dword [0x802bd0]
movzx eax, byte [eax]
mov ecx, dword [eax*4 + 0x80248c]
mov edx, 0x80000002
xor eax, eax
call fcn.005e2608
test eax, eax
jne 0x7b83b1
mov esi, edi
test esi, esi
je 0x7b8374
sub esi, 4
mov esi, dword [esi]
inc esi
mov eax, esi
add eax, eax
push eax
mov eax, edi
call fcn.0040990c
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.0040990c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x7b83a6
mov eax, 0x7b8468
call fcn.00794d1c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x7b83bb
mov eax, 0x7b84cc
call fcn.00794d1c
test bl, bl
je 0x7b8432
mov eax, edi
call fcn.0040990c
push eax
call sub.gdi32.dll_AddFontResourceW
test eax, eax
je 0x7b83e2
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
jmp 0x7b8432
lea ecx, [ebp - 0x10]
mov edx, 0x7b8520
mov al, 0x3f
call fcn.005e96a4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.005e2ef0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x802f10]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x802f10]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x802f10]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov ecx, 2
pop eax
call fcn.007b58f0
test al, al
je 0x7b83bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7b8454
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004088a4
ret