joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c859
Capabilities:
Get disk information

Disassembly:
push 0xa88
mov eax, 0x5b184c
call fcn.00580bb4
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa88], eax
call fcn.0042672f
lea eax, [ebp - 0x8dc]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor ebx, ebx
lea edi, [ebp - 0x8dc]
cmp word [ebp - 0x8dc], bx
je 0x41c9f5
lea eax, [ebp - 0xa80]
push eax
call fcn.004084d7
mov dword [ebp - 4], ebx
push edi
push 0x680e44
lea eax, [ebp - 0xa80]
call fcn.004175e6
pop ecx
pop ecx
lea esi, [ebp - 0xa80]
call fcn.004087a8
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x41c9c6
lea eax, [ebp - 0xa7c]
call fcn.0041b94a
xor eax, eax
push 0xc6
mov word [ebp - 0xdc], ax
lea eax, [ebp - 0xda]
push ebx
push eax
call fcn.005780d0
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xa84]
push eax
push 0x64
lea eax, [ebp - 0xdc]
push eax
push dword [ebp - 0xa80]
mov dword [ebp - 0xa84], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x41c9c6
mov eax, dword [ebp - 0xa84]
push eax
push ecx
mov dword [ebp - 0xa7c], eax
mov eax, esp
mov dword [ebp - 0xa90], esp
mov ecx, esi
push ecx
push eax
mov dword [ebp - 0x8e8], ebx
call fcn.004084fe
mov byte [ebp - 4], 1
push ecx
mov eax, esp
mov dword [ebp - 0xa94], esp
lea ecx, [ebp - 0xdc]
push ecx
push eax
call fcn.0040852d
mov byte [ebp - 4], 2
lea eax, [ebp - 0xa8c]
push eax
mov byte [ebp - 4], bl
call fcn.0041c9fb
add esp, 0x10
mov byte [ebp - 4], 3
mov esi, eax
call fcn.004087a8
lea ecx, [ebp - 0xa78]
movzx edx, word [eax]
inc eax
mov word [ecx], dx
inc eax
inc ecx
inc ecx
cmp dx, bx
jne 0x41c997
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa8c]
call fcn.0040856e
lea eax, [ebp - 0xa7c]
push eax
mov eax, dword [ebp - 0xa88]
call fcn.004266c4
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x41c9cb
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2 + 2]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa80]
call fcn.0040856e
cmp word [edi], bx
jne 0x41c89d
call fcn.00580c37
ret

Function at 0x41cd5a
Capabilities:
Get file size
Read file on windows

Disassembly:
push 8
mov eax, 0x5ae69e
call fcn.00580b4b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
call fcn.004083c5
mov dword [ebp - 4], ebx
push ebx
push ebx
push 3
push ebx
push ebx
push closesocket
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41cddd
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
inc eax
push eax
call fcn.00573b6f
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
push esi
push dword [ebp + 8]
mov byte [esi + eax], bl
call fcn.00408491
push esi
call fcn.00573a92
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
call fcn.00580c23
ret
Function at 0x41cde6
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x5a82ce
call fcn.00580b4b
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 1
xor ebx, ebx
mov esi, closesocket
mov byte [ebp + 0xb], bl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x41ce2a
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41ce98
mov byte [ebp + 0xb], 1
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x41ce65
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x14]
call esi
cmp byte [ebp + 0xb], bl
je 0x41ce7b
push dword [ebp - 0x10]
call esi
push dword [0x6d6628]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.0040856e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0040856e
call fcn.00580c23
ret
mov dword [ebp - 0x10], esi
jmp 0x41ce2a

Function at 0x41d0fe
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor ebx, ebx
push edi
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x41d18f
lea eax, [ebp - 8]
push eax
push 0x28
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41d18c
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x41d187
mov eax, dword [ebp - 0x10]
push ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
push ebx
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x41d187
mov byte [ebp - 1], 1
push dword [ebp - 8]
call esi
push edi
call esi
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41d2b9
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov eax, closesocket
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x41d2e9
push esi
lea ecx, [ebp - 4]
push ecx
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x41d30f
mov eax, dword [ebp - 4]
cmp dword [ebp + 0x10], esi
je 0x41d312
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
jne 0x41d302
jmp 0x41d304

Function at 0x41d356
Capabilities:
Enumerate services
Query service status

Disassembly:
push 0x70
push 0x694d30
call fcn.0057d740
call fcn.0041d85d
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0x7530
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
xor edi, edi
push edi
push edi
xor ebx, ebx
inc ebx
push ebx
push dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
call esi
test eax, eax
jne 0x41d4ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x41d3a8
xor eax, eax
jmp 0x41d4b0
push dword [ebp - 0x20]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x2c], eax
cmp eax, edi
je 0x41d3a1
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x20]
push eax
push ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x41d3ef
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x6bd6f8
call fcn.00589874
add esp, 0xc
jmp 0x41d3a1
mov dword [ebp - 0x24], edi
mov esi, dword [ebp - 0x24]
cmp esi, dword [ebp - 0x28]
jae 0x41d4a2
imul esi, esi, 0x24
add esi, dword [ebp - 0x2c]
push 9
pop ecx
lea edi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
push 0x24
push dword [ebp - 0x80]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x41d3da
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x5c]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x41d3da
cmp dword [ebp - 0x58], ebx
je 0x41d484
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push 0x24
lea eax, [ebp - 0x5c]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x41d3da
cmp dword [ebp - 0x58], ebx
je 0x41d484
call fcn.0041d85d
xor ecx, ecx
sub eax, dword [ebp - 0x30]
sbb edx, ecx
cmp edx, ecx
jb 0x41d436
ja 0x41d3da
cmp eax, dword [ebp - 0x34]
jbe 0x41d436
jmp 0x41d3da
and dword [ebp - 4], 0
call fcn.0041d498
inc dword [ebp - 0x24]
jmp 0x41d3f2
mov dword [ebp - 4], 0xfffffffe
call fcn.0041d4b9
mov eax, ebx
call fcn.0057d785
ret
Function at 0x41d53e
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
call fcn.0041d85d
push 0xf003f
push esi
push esi
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x41d56e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 0x2c
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x41d58e
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
jmp 0x41d569
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
lea ecx, [ebp - 0xc]
push ecx
push 0x24
lea ecx, [ebp - 0x34]
push ecx
push esi
push eax
call edi
test eax, eax
je 0x41d66e
xor eax, eax
inc eax
cmp dword [ebp - 0x30], eax
je 0x41d569
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41d5fa
push dword [ebp - 0x1c]
call esi
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0
push dword [ebp - 4]
call edi
test eax, eax
je 0x41d66e
cmp dword [ebp - 0x30], 1
je 0x41d66e
call fcn.0041d85d
xor ecx, ecx
sub eax, ebx
sbb edx, ecx
test edx, edx
ja 0x41d66e
jb 0x41d5fa
cmp eax, 0x7530
ja 0x41d66e
cmp dword [ebp - 0x30], 3
je 0x41d5ba
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0041d356
pop ecx
pop ecx
lea eax, [ebp - 0x34]
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x41d66e
push 0x3e8
call esi
jmp 0x41d661
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0
push dword [ebp - 4]
call edi
test eax, eax
je 0x41d66e
cmp dword [ebp - 0x30], 1
je 0x41d667
push dword [ebp - 0x1c]
call esi
call fcn.0041d85d
xor ecx, ecx
sub eax, ebx
sbb edx, ecx
test edx, edx
ja 0x41d66e
jb 0x41d661
cmp eax, 0x7530
ja 0x41d66e
cmp dword [ebp - 0x30], 1
jne 0x41d629
mov dword [ebp - 0x10], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [ebp - 0x10]
jmp 0x41d581
Function at 0x41d67f
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x10], esi
cmp esi, ebx
jne 0x41d6cb
cmp dword [0x6bc38c], 1
jl 0x41d6c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x680fb8
push 0x680fcc
push 1
call fcn.00532652
add esp, 0x10
xor eax, eax
jmp 0x41d858
push 0x14
push str.TrustedInstaller
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0xc], edi
cmp edi, ebx
jne 0x41d70f
cmp dword [0x6bc38c], 1
jl 0x41d706
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x680fe8
push 0x680ffc
push 1
call fcn.00532652
add esp, 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41d6c4
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x41d753
cmp dword [0x6bc38c], 1
jl 0x41d740
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WD_StartService__i
push 0x68102c
push 1
call fcn.00532652
add esp, 0x10
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push dword [ebp - 0x10]
call esi
jmp 0x41d6c4
lea eax, [ebp - 0x14]
push eax
push 0x24
lea eax, [ebp - 0x38]
push eax
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
call edi
test eax, eax
jne 0x41d78e
cmp dword [0x6bc38c], 1
jl 0x41d6c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WD_QueryServiceStatusEx__i
push 0x681064
jmp 0x41d6ba
call fcn.0041d85d
mov ebx, dword [ebp - 0x24]
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
jmp 0x41d810
mov eax, dword [ebp - 0x20]
push 0xa
xor edx, edx
pop ecx
div ecx
mov esi, eax
mov eax, 0x3e8
cmp esi, eax
jb 0x41d7bd
mov eax, 0x2710
cmp esi, eax
jbe 0x41d7bf
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
add dword [ebp - 4], esi
lea eax, [ebp - 0x14]
push eax
push 0x24
lea eax, [ebp - 0x38]
push eax
push 0
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x41d816
cmp dword [ebp - 0x24], ebx
jbe 0x41d7f0
call fcn.0041d85d
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 8], eax
jmp 0x41d807
call fcn.0041d85d
xor ecx, ecx
sub eax, dword [ebp - 8]
sbb edx, ecx
cmp edx, ecx
ja 0x41d816
jb 0x41d807
cmp eax, dword [ebp - 0x20]
ja 0x41d816
cmp dword [ebp - 4], 0xea60
ja 0x41d816
cmp dword [ebp - 0x34], 2
je 0x41d79f
xor eax, eax
cmp dword [ebp - 0x34], 4
sete al
cmp dword [0x6bc38c], 1
mov edi, eax
jl 0x41d846
xor eax, eax
test edi, edi
setne al
push eax
push str.WD_start_res__i
push str.Helper::ToolsStartService
push 1
call fcn.00532652
add esp, 0x10
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41da4e
Capabilities:
Get hostname

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x6bd6f8]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x5b17b4
call fcn.00580b4b
and dword [ebp - 0x10], 0
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0x104
call fcn.005780d0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp]
push eax
push esi
call fcn.0040852d
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0057340c
add ebp, 0x20c
leave
ret
Function at 0x41dae0
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0xa88
mov eax, 0x5b4aac
call fcn.00580bb4
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, 0x3ff
push esi
mov dword [ebp - 0xa90], eax
lea eax, [ebp - 0xa2b]
push ebx
mov dword [ebp - 0xa94], ebx
push eax
mov byte [ebp - 0xa2c], bl
call fcn.005780d0
add esp, 0xc
push esi
lea eax, [ebp - 0x62b]
push ebx
push eax
mov byte [ebp - 0x62c], bl
call fcn.005780d0
lea eax, [ebp - 0x62c]
add esp, 0xc
push eax
call fcn.0041f107
lea eax, [ebp - 0x22c]
mov dword [esp], 0x104
push eax
mov dword [ebp - 0xa88], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0xa88], ebx
cmp eax, ebx
je 0x41db92
cmp eax, 3
jb 0x41db92
push ebx
push ebx
push ebx
xor eax, eax
push ebx
mov word [ebp - 0x226], ax
lea eax, [ebp - 0xa88]
push eax
push ebx
push ebx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, ebx
setne al
jmp 0x41db94
xor al, al
mov edi, 0x400
cmp al, bl
je 0x41dbcf
lea eax, [ebp - 0x62c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41dba6
push dword [ebp - 0xa88]
sub eax, edx
mov ecx, edi
sub ecx, eax
push str._08X
push ecx
lea eax, [ebp + eax - 0x62c]
push eax
call fcn.00573a53
add esp, 0x10
lea ecx, [ebp - 0xa84]
call fcn.0041bfca
lea eax, [ebp - 0x62c]
push eax
mov eax, edi
lea esi, [ebp - 0xa84]
call fcn.0042c9ec
pop ecx
mov edx, esi
lea ecx, [ebp - 0x24]
call fcn.0042ca86
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0x1d]
push eax
movzx eax, byte [ebp - 0x1e]
push eax
movzx eax, byte [ebp - 0x1f]
push eax
movzx eax, byte [ebp - 0x20]
push eax
movzx eax, byte [ebp - 0x21]
push eax
movzx eax, byte [ebp - 0x22]
push eax
movzx eax, byte [ebp - 0x23]
push eax
movzx eax, byte [ebp - 0x24]
push eax
push 0x6810d8
lea eax, [ebp - 0xa2c]
push edi
push eax
call fcn.00573a53
add esp, 0x4c
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0xa8c]
push eax
call fcn.004083ec
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0xa8c]
push eax
push dword [ebp - 0xa90]
call fcn.0041bb62
pop ecx
pop ecx
mov dword [ebp - 0xa94], esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa8c]
call fcn.0040842d
mov eax, dword [ebp - 0xa90]
call fcn.00580c37
ret
Function at 0x41dcab
Capabilities:
Get mac address on windows

Disassembly:
push 0xc
mov eax, 0x5b1780
call fcn.00580b4b
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 0x18], ebx
push ebx
mov dword [ebp - 0x10], ebx
xor esi, esi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x41dcdb
push dword [ebp - 0x10]
call fcn.005723d9
pop ecx
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp esi, ebx
je 0x41dd54
lea eax, [ebp - 0x14]
push eax
call fcn.004084d7
xor edi, edi
inc edi
mov dword [ebp - 4], edi
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02x:_02x:_02x:_02x:_02x:_02x
lea eax, [ebp - 0x14]
call fcn.004175e6
add esp, 0x1c
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.004084fe
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.0040856e
jmp 0x41dd6b
push 0x681158
push dword [ebp + 8]
call fcn.0040852d
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 1
mov eax, dword [ebp + 8]
call fcn.00580c23
ret

Function at 0x41dec4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x238
mov eax, dword [0x6bd6f8]
xor eax, esp
mov dword [esp + 0x234], eax
push esi
push edi
push 0
push 2
mov esi, ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x41df08
xor eax, eax
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
xor ecx, esp
call fcn.0057340c
mov esp, ebp
pop ebp
ret
lea eax, [esp + 8]
push eax
push edi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x41df2c
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x41def4
lea eax, [esp + 8]
push eax
call fcn.004268fe
lea eax, [esp + 8]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41df2c
xor esi, esi
inc esi
jmp 0x41df21
Function at 0x41df4a
Capabilities:
Terminate process

Disassembly:
push 0x40
mov eax, 0x5b4a64
call fcn.00580b4b
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.0044e552
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4c]
push eax
call fcn.00421dfa
mov esi, dword [ebp - 0x40]
pop ecx
cmp esi, dword [ebp - 0x3c]
jbe 0x41df82
call fcn.005741fa
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x3c]
cmp dword [ebp - 0x40], esi
jbe 0x41df98
call fcn.005741fa
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41dfa4
cmp eax, dword [ebp - 0x4c]
je 0x41dfa9
call fcn.005741fa
cmp dword [ebp - 0x28], esi
je 0x41e14f
push dword [ebp + 8]
lea esi, [ebp - 0x2c]
call fcn.00426a4e
add eax, 0x10
push eax
call fcn.0040860e
test eax, eax
jne 0x41e00d
push str.vbui.exe
lea eax, [ebp - 0x18]
push eax
call fcn.0040852d
mov byte [ebp - 4], 2
xor edi, edi
inc edi
or dword [ebp - 0x14], edi
call fcn.00426a4e
mov edx, eax
add edx, 0x10
lea eax, [ebp - 0x18]
call fcn.00471760
test al, al
jne 0x41e010
call fcn.00426a4e
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esi], eax
je 0x41e010
mov bl, 1
jmp 0x41e012
xor edi, edi
inc edi
xor bl, bl
mov dword [ebp - 4], edi
test byte [ebp - 0x14], 1
je 0x41e027
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.0040856e
test bl, bl
je 0x41e13f
cmp dword [0x6bc38c], edi
jl 0x41e072
lea esi, [ebp - 0x2c]
call fcn.00426a4e
add eax, 0x10
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.00470110
mov byte [ebp - 4], 3
push dword [eax]
push str.S_PRE_PROC:__s
push 0x68119c
push edi
call fcn.00532652
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040842d
lea esi, [ebp - 0x2c]
call fcn.00426a4e
push dword [eax]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x41e13f
cmp dword [0x6bc38c], 1
jl 0x41e0d1
call fcn.00426a4e
add eax, 0x10
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call fcn.00470110
mov byte [ebp - 4], 4
push dword [eax]
push str.S_OPEN_PROC:__s
push 0x6811c4
push 1
call fcn.00532652
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040842d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x6bc38c], 1
mov edi, eax
jl 0x41e12d
lea esi, [ebp - 0x2c]
call fcn.00426a4e
add eax, 0x10
push dword [eax]
lea eax, [ebp - 0x24]
push eax
call fcn.00470110
pop ecx
pop ecx
mov esi, eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push dword [esi]
push str.S_POST_PROC:__s___i___i
push str.Helper::KillInProcs2
push 1
call fcn.00532652
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0040842d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [ebp - 0x34]
lea esi, [ebp - 0x2c]
call fcn.00426a76
jmp 0x41df8b
mov byte [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00426967
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040856e
call fcn.00580c23
ret