joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b17e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, dword [esi + 4]
push eax
push dword [ebp + 0xc]
call fcn.0041eda7
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42b1ba
call fcn.0042b399
mov dword [esi + 0xc], 1
jmp 0x42b1bf
call fcn.0042b399
cmp dword [esi], 0
je 0x42b208
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x42b1e2
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004161c7
jmp 0x42b1f3
push 0xff
mov ecx, esi
call fcn.0040dfb0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040e0c0
jmp 0x42b22c
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x42b22c
push dword [esi]
push dword [ebp - 4]
call fcn.004218d6
pop esi
leave
ret 0xc

Function at 0x42b2f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0042b399
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42b338
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004161c7
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040e0c0
jmp 0x42b343
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004218d6
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x42ff9d
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004409fe
call fcn.004206d8
cmp dword [eax + 0x14], 0
jne 0x42ffb8
mov ecx, esi
pop esi
jmp fcn.0042f3b7
pop esi
ret

Function at 0x43e6d7
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0046366f
call fcn.004206d8
cmp dword [eax + 0x14], 0
jne 0x43e6f2
mov ecx, esi
pop esi
jmp fcn.0043dfca
pop esi
ret

Function at 0x449ed3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x449eeb
call fcn.00420684
mov esi, dword [eax + 0xc]
push 0x6446c4
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x449f41
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x449f40
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x449f21
xor esi, esi
jmp 0x449f37
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00449f47
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x50ccc4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x50ccde
mov edi, dword [esi + 0xc]
jmp 0x50cd1e
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x50ccf7
call fcn.00425c19
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x50cd0c
call fcn.00425c19
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x50cd1e
call fcn.00425c19
call fcn.00420684
cmp dword [eax + 0x3c], 0
je 0x50cd33
push edi
mov ecx, ebx
call fcn.0050c558
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0050cef6
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x50cd56
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x50cd5f
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x52aed0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6a60f0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x6b05e0], 0
jne 0x52b039
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.Locala3d0d9cf_ef71_409f_acb2_91dca7237f13__lx_s_vm_init
lea eax, [ebp - 0x110]
push eax
call fcn.00536ca3
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x52aff9
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x52af69
cmp dword [0x6b05e0], 0
jne 0x52af67
mov eax, dword [ebp + 8]
push eax
call fcn.0052b050
add esp, 4
mov dword [0x6b05e0], 0xffffffff
jmp 0x52afa9
cmp dword [ebp + 8], 0
je 0x52af9f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x52af9f
push 0x125
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x11
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov dword [ebp - 0x114], eax
jmp 0x52afa9
mov dword [ebp - 0x114], 0x11
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x52aff7
cmp dword [ebp + 8], 0
je 0x52afed
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x52afed
push 0x125
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x12
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov dword [ebp - 0x118], eax
jmp 0x52aff7
mov dword [ebp - 0x118], 0x12
jmp 0x52b039
cmp dword [ebp + 8], 0
je 0x52b02f
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x52b02f
push 0x125
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call ecx
add esp, 0x10
mov dword [ebp - 0x11c], eax
jmp 0x52b039
mov dword [ebp - 0x11c], 0x10
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00532ffe
mov esp, ebp
pop ebp
ret
Function at 0x52bd60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x6a60f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x52beae
mov byte [ebp - 0x420], 0
push 0x400
push 0
lea eax, [ebp - 0x41f]
push eax
call fcn.005336b0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00529130
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
ja 0x52bdcd
jmp 0x52be63
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x7c
jne 0x52bde7
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movsx eax, byte [edx - 1]
cmp eax, 0x7c
je 0x52bde9
jmp 0x52be63
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 1
push edx
call fcn.00529940
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov byte [eax - 2], 0
push 0x6a2598
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0053ca7e
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x52be25
jmp 0x52be63
mov edx, dword [ebp - 8]
push edx
push 0x400
push 1
lea eax, [ebp - 0x420]
push eax
call fcn.00539f04
add esp, 0x10
test eax, eax
jne 0x52be45
jmp 0x52be63
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.00529940
add esp, 8
mov dword [ebp - 4], eax
xor eax, eax
jne 0x52bd92
cmp dword [ebp - 8], 0
je 0x52be7c
mov ecx, dword [ebp - 8]
push ecx
call fcn.0053997b
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x52be95
mov edx, dword [ebp - 0xc]
push edx
call fcn.00535e72
add esp, 4
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
jne 0x52beae
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00529940
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00532ffe
mov esp, ebp
pop ebp
ret
Function at 0x52d710
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x6a28e0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x14], eax
push str.SELECT__FROM_Win32_BaseBoard
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x52d77b
jmp 0x52d824
cmp dword [ebp - 4], 0
je 0x52d824
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x52d824
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push str.Product
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x52d811
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x52d811
cmp dword [ebp - 0x28], 0
je 0x52d811
push str.Virtual_Machine
mov eax, dword [ebp - 0x28]
push eax
call fcn.0053eb73
add esp, 8
test eax, eax
je 0x52d807
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp 0x52d793
cmp dword [ebp - 4], 0
je 0x52d838
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x52d860
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x6a2954
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
push 0x6a295c
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x52d8cb
jmp 0x52d97d
cmp dword [ebp - 4], 0
je 0x52d97d
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x52d97d
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push str.SerialNumber
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x52d96a
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x52d96a
cmp dword [ebp - 0x28], 0
je 0x52d96a
push str.VMware
mov eax, dword [ebp - 0x28]
push eax
call fcn.0053eb73
add esp, 8
test eax, eax
je 0x52d959
mov dword [ebp - 0xc], 0
jmp 0x52d960
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp 0x52d8e3
cmp dword [ebp - 4], 0
je 0x52d991
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x52d9b0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x6a29bc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
push str.SELECT__FROM_Win32_BIOS
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x52da1b
jmp 0x52db19
cmp dword [ebp - 4], 0
je 0x52db19
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x52db19
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0x6a29f8
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x52daab
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x52daab
cmp dword [ebp - 0x28], 0
je 0x52daab
push str.innotek_GmbH
mov eax, dword [ebp - 0x28]
push eax
call fcn.0053eb73
add esp, 8
test eax, eax
je 0x52daab
mov dword [ebp - 0xc], 0
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0
push str.SMBIOSBIOSVersion
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x52dafc
movzx eax, word [ebp - 0x30]
cmp eax, 8
jne 0x52dafc
cmp dword [ebp - 0x28], 0
je 0x52dafc
push str.VirtualBox
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0053eb73
add esp, 8
test eax, eax
je 0x52dafc
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
jmp 0x52da33
cmp dword [ebp - 4], 0
je 0x52db2d
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x52dca0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x6a2aec
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
push str.SELECT__FROM_Win32_DiskDrive
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x52dd0b
jmp 0x52de09
cmp dword [ebp - 4], 0
je 0x52de09
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x52de09
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push str.Caption
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x52dd9b
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x52dd9b
cmp dword [ebp - 0x28], 0
je 0x52dd9b
push 0x6a2b40
mov eax, dword [ebp - 0x28]
push eax
call fcn.0053eb73
add esp, 8
test eax, eax
je 0x52dd9b
mov dword [ebp - 0xc], 0
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0
push str.Model
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x52ddec
movzx eax, word [ebp - 0x30]
cmp eax, 8
jne 0x52ddec
cmp dword [ebp - 0x28], 0
je 0x52ddec
push 0x6a2b58
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0053eb73
add esp, 8
test eax, eax
je 0x52ddec
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
jmp 0x52dd23
cmp dword [ebp - 4], 0
je 0x52de1d
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x52de80
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x6a2b64
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
push str.SELECT__FROM_Win32_ComputerSystem
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x52deeb
jmp 0x52df94
cmp dword [ebp - 4], 0
je 0x52df94
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x52df94
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push str.Manufacturer
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x52df77
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x52df77
cmp dword [ebp - 0x28], 0
je 0x52df77
push str.Parallels
mov eax, dword [ebp - 0x28]
push eax
call fcn.0053eb73
add esp, 8
test eax, eax
je 0x52df77
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp 0x52df03
cmp dword [ebp - 4], 0
je 0x52dfa8
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x530730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5307d9
cmp dword [ebp + 0x14], 0
je 0x530793
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 4], 0
je 0x530793
push 0xab
push 2
push 0x19
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x53079a
mov dword [ebp - 0x10], 0x19
cmp dword [ebp + 0x14], 0
je 0x5307cb
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 0
je 0x5307cb
push 0xac
push str.Not_able_to_write_to_the_named_pipe
push 0xc
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
call ecx
add esp, 0x10
mov dword [ebp - 0x14], eax
jmp 0x5307d2
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 8], 2
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x5307e0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x6a60f0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x130], 0
push 0x103
push 0
lea eax, [ebp - 0x12f]
push eax
call fcn.005336b0
add esp, 0xc
lea ecx, [ebp - 0x130]
push ecx
call fcn.00530f40
add esp, 4
test eax, eax
jne 0x530843
mov eax, dword [ebp - 0x138]
jmp 0x5308bc
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x5308b6
push 4
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5308ac
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x5308a2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 4
jne 0x5308a2
mov dword [ebp - 0x138], 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00532ffe
mov esp, ebp
pop ebp
ret