joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4940
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4a4a76
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
xor edx, edx
push ebp
push 0x4a4a40
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov edi, eax
test edi, edi
jne 0x4a49cb
mov eax, 0x4a4a90
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x14]
call fcn.0040c2ec
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x10]
push eax
push 1
mov ecx, dword [0x4e97f0]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb60
call fcn.00403c84
push 0xf01ff
push 0x4a4a98
push edi
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
je 0x4a49ed
push esi
call sub.advapi32.dll_DeleteService
push esi
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
lea edx, [ebp - 0x20]
mov al, 1
call fcn.0049c134
push dword [ebp - 0x20]
push 0x4a4aa8
push 0x4a4a90
push 0x4a4abc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.0040465c
mov eax, dword [ebp - 0x1c]
call fcn.0040479c
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.004044d4
mov eax, dword [ebp - 0x18]
call fcn.0040951c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a4a5b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4a7d
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004042f0
ret

Function at 0x4a4ac4
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
mov byte [esp], 0
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
mov eax, 2
mov edx, eax
cmp edx, 0x1f
ja 0x4a4ae3
bt esi, edx
jb 0x4a4af2
lea edx, [eax + 0x41]
cmp bl, dl
jne 0x4a4af2
mov byte [esp], 1
jmp 0x4a4af8
inc eax
cmp eax, 0x1a
jne 0x4a4ad9
mov al, byte [esp]
pop edx
pop esi
pop ebx
ret
Function at 0x4a4be0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4a4d21
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4a4c59
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a4d38
lea eax, [ebp - 0x410]
mov dl, byte [ebp - 1]
call fcn.004044b4
push dword [ebp - 0x410]
push 0x4a4d50
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040465c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004a4b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a4c6b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404c48
jne 0x4a4d00
lea eax, [ebp - 0x414]
mov dl, byte [ebp - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x414]
lea eax, [ebp - 0x418]
call fcn.00402d94
mov edx, 0x4a4d54
lea eax, [ebp - 0x418]
mov cl, 2
call fcn.00402d64
lea edx, [ebp - 0x418]
lea eax, [ebp - 0xc]
call fcn.00404540
lea eax, [ebp - 0x40c]
xor ecx, ecx
mov edx, 0x400
call fcn.00402eb0
push 0x400
lea eax, [ebp - 0x40c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040479c
push eax
call sub.kernel32.dll_QueryDosDeviceA
test eax, eax
jbe 0x4a4d00
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x40c]
mov ecx, 0x400
call fcn.00404b3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4d28
lea eax, [ebp - 0x410]
call fcn.004042cc
lea eax, [ebp - 0xc]
call fcn.004042cc
ret
Function at 0x4a5330
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a556e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4a5523
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x10]
mov al, 1
call fcn.0049c134
push dword [ebp - 0x10]
push 0x4a5588
push 0x4a559c
push 0x4a55b0
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.0040465c
mov ecx, dword [ebp - 0xc]
mov edx, 0x4a55c0
mov eax, 0x4a55cc
call fcn.0049bfd4
test al, al
jne 0x4a53db
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x1c]
call fcn.0040c2ec
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [0x4e9a38]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb60
call fcn.00403c84
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a550b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4a544c
mov eax, 0x4a559c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x30]
call fcn.0040c2ec
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea eax, [ebp - 0x2c]
push eax
push 1
mov ecx, dword [0x4e97f0]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb60
call fcn.00403c84
push 0
push 0
push 0
push 0
push 0x4a55d4
mov eax, dword [ebp - 0xc]
call fcn.0040479c
push eax
push 1
push 0
push 1
push 0xf01ff
push 0x4a55e0
push 0x4a55e0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp dword [ebp - 8], 0
jne 0x4a54df
cmp ebx, 0x420
je 0x4a54df
cmp ebx, 0x431
je 0x4a54df
mov eax, 0x4a559c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.0040c2ec
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea eax, [ebp - 0x2c]
push eax
push 1
mov ecx, dword [0x4e9b7c]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb60
call fcn.00403c84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5512
cmp dword [ebp - 8], 0
je 0x4a54fb
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 4], 0
je 0x4a550a
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x4a5df0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a5fe0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor edx, edx
push ebp
push 0x4a5fab
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4185e0]
call fcn.00403488
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x438c0c]
call fcn.00438d78
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4a5f9a
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.00438e54
xor ecx, ecx
mov edx, 0x4a5ffc
mov eax, dword [ebp - 0x10]
call fcn.00438f98
test al, al
je 0x4a5f7c
mov ecx, dword [ebp - 0xc]
mov edx, 0x4a6054
mov eax, 0x4a5ffc
call fcn.0049c5fc
mov edx, 0x4a606c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a5f70
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x48]
lea eax, [ebp - 8]
call fcn.004042cc
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4a5eeb
inc esi
xor ebx, ebx
push dword [ebp - 8]
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x14]
push 0x4a6080
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040465c
inc ebx
dec esi
jne 0x4a5ec2
lea eax, [ebp - 8]
mov edx, 0x4a608c
call fcn.004045a4
mov eax, dword [ebp - 8]
call fcn.0040459c
push eax
lea eax, [ebp - 8]
call fcn.004047f4
push eax
push 7
push 0
push 0x4a6090
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4a5f70
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, 0x4a60a8
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.0040c2ec
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x4e9c64]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb60
call fcn.00403c84
mov eax, dword [ebp - 0x10]
call fcn.00438e24
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5fa1
mov eax, dword [ebp - 0xc]
call fcn.004034b8
mov eax, dword [ebp - 0x10]
call fcn.004034b8
ret
Function at 0x4a6230
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a62e0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004a61e4
lea eax, [ebp - 0x10]
mov edx, 0x4a62f8
call fcn.004045a4
mov eax, dword [ebp - 0x10]
call fcn.0040479c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x4a6294
mov ebx, dword [ebp - 4]
imul ebx, dword [ebp - 8]
jmp 0x4a62c5
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x18]
call fcn.0040c2ec
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x4a6304
call fcn.004045e8
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb24
call fcn.00403c84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a62e7
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004042f0
ret

Function at 0x4a6314
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a63d2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 3
push 0
push 7
push 0x80
mov eax, ebx
call fcn.0040479c
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4a638a
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x14]
call fcn.0040c2ec
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x4a63ec
call fcn.004045e8
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb24
call fcn.00403c84
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_GetFileSize
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov edx, eax
xor eax, eax
or eax, dword [ebp - 8]
or edx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a63d9
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004042f0
ret
Function at 0x4a72f0
Capabilities:
Delete file
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4a7414
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
xor edx, edx
push ebp
push 0x4a73e1
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov edi, eax
test edi, edi
jne 0x4a7378
mov eax, 0x4a742c
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x14]
call fcn.0040c2ec
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x10]
push eax
push 1
mov ecx, dword [0x4e97f0]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb60
call fcn.00403c84
push 0xf01ff
push 0x4a7434
push edi
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
je 0x4a739a
push esi
call sub.advapi32.dll_DeleteService
push esi
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
lea edx, [ebp - 0x1c]
mov al, 1
call fcn.0049c134
push dword [ebp - 0x1c]
push 0x4a7444
push 0x4a742c
push 0x4a7458
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040465c
mov eax, dword [ebp - 0x18]
call fcn.0040479c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a73f9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a741b
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004042f0
ret
Function at 0x4a7460
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
xor eax, eax
push ebp
push 0x4a7680
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
xor eax, eax
push ebp
push 0x4a7656
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a7645
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4a750d
mov eax, 0x4a769c
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x40]
call fcn.0040c2ec
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea eax, [ebp - 0x3c]
push eax
push 1
mov ecx, dword [0x4e97f0]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb60
call fcn.00403c84
push 0xf0015
push 0x4a76a4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4a756b
mov eax, 0x4a769c
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x44]
call fcn.0040c2ec
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea eax, [ebp - 0x3c]
push eax
push 1
mov ecx, dword [0x4e9bc8]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb60
call fcn.00403c84
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
jne 0x4a75be
mov eax, 0x4a769c
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x48]
call fcn.0040c2ec
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea eax, [ebp - 0x3c]
push eax
push 1
mov ecx, dword [0x4e94f4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb60
call fcn.00403c84
cmp dword [ebp - 0x28], 4
je 0x4a7619
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_StartServiceA
test eax, eax
jne 0x4a7619
mov eax, 0x4a769c
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x4c]
call fcn.0040c2ec
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea eax, [ebp - 0x3c]
push eax
push 1
mov ecx, dword [0x4e99fc]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb60
call fcn.00403c84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a764c
cmp dword [ebp - 8], 0
je 0x4a7635
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 0xc], 0
je 0x4a7644
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x4a7cf8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040478c
xor eax, eax
push ebp
push 0x4a7d72
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040459c
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x3a
jne 0x4a7d37
lea eax, [ebp - 4]
mov edx, 0x4a7d88
call fcn.004045a4
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040479c
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7d79
lea eax, [ebp - 4]
call fcn.004042cc
ret
Function at 0x4a97a0
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, eax
xor ebx, ebx
cmp byte [edi + 0x23d], 0
jne 0x4a982e
mov eax, dword [edi + 0x264]
call fcn.00409308
test al, al
je 0x4a982e
cmp dword [edi + 0x268], 0xffffffff
jne 0x4a982e
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [edi + 0x264]
call fcn.0040479c
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
mov dword [edi + 0x268], esi
cmp esi, 0xffffffff
je 0x4a982e
push esp
push esi
call sub.kernel32.dll_GetFileSize
xor edx, edx
mov dword [edi + 0x270], eax
mov dword [edi + 0x274], edx
mov eax, dword [esp]
xor edx, edx
mov edx, eax
xor eax, eax
or eax, dword [edi + 0x270]
or edx, dword [edi + 0x274]
mov dword [edi + 0x270], eax
mov dword [edi + 0x274], edx
mov bl, 1
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4acb74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427e38
cmp ebx, dword [ebp - 8]
jge 0x4acbd7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00428220
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00428220
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042824c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4acb9d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4acbe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427e38
cmp ebx, dword [ebp - 8]
jge 0x4acc43
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00428220
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00428220
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042824c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4acc09
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4ae618
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41729c]
call fcn.00404d7c
xor eax, eax
push ebp
push 0x4ae75c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e8c58], 0
jne 0x4ae66b
mov ecx, dword [0x4e953c]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cbe0
call fcn.00403c84
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402eb0
mov eax, ebx
call fcn.00404b80
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4ae76c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405f4c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404b90
test eax, eax
jle 0x4ae703
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4ae6fc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404564
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040454c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408b08
test eax, eax
jne 0x4ae6fc
mov ebx, 0x15
jmp 0x4ae708
mov ebx, 0x10
jmp 0x4ae708
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4e8c58]
call fcn.004ae570
mov eax, dword [ebp - 8]
call fcn.004ae570
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405f64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae763
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004042f0
lea eax, [ebp - 0x10]
mov edx, dword [0x41729c]
call fcn.00404e4c
ret
Function at 0x4af78c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4af843
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040479c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x4af7ce
call fcn.00403d30
jmp 0x4af84a
mov eax, ebx
call fcn.004027f4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.0040479c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x4af7f7
call fcn.00403d30
jmp 0x4af84a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4af854
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4af818
call fcn.00403d30
jmp 0x4af84a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af84a
mov eax, dword [ebp - 8]
call fcn.00402814
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4afaa0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4afb08
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x160
call fcn.00402eb0
test ebx, ebx
jne 0x4afadd
mov word [ebp - 2], 0
lea ebx, [ebp - 2]
or esi, 0x4008
push esi
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push ebx
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x160]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4afb14
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret