joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402fc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x796e34], 0
jne 0x403129
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.005d3f03
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 0x4030e9
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 0x403059
cmp dword [0x796e34], 0
jne 0x403057
mov eax, dword [ebp + 8]
push eax
call fcn.00403140
add esp, 4
mov dword [0x796e34], 0xffffffff
jmp 0x403099
cmp dword [ebp + 8], 0
je 0x40308f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x40308f
push 0x10d
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 0x403099
mov dword [ebp - 0x114], 0x11
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x4030e7
cmp dword [ebp + 8], 0
je 0x4030dd
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x4030dd
push 0x10d
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 0x4030e7
mov dword [ebp - 0x118], 0x12
jmp 0x403129
cmp dword [ebp + 8], 0
je 0x40311f
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x40311f
push 0x10d
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 0x403129
mov dword [ebp - 0x11c], 0x10
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret
Function at 0x404730
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 0x4047d9
cmp dword [ebp + 0x14], 0
je 0x404793
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 4], 0
je 0x404793
push 0xaf
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 0x40479a
mov dword [ebp - 0x10], 0x19
cmp dword [ebp + 0x14], 0
je 0x4047cb
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 0
je 0x4047cb
push 0xb0
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 0x4047d2
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 8], 2
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4047e0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x130], 0
push 0x103
push 0
lea eax, [ebp - 0x12f]
push eax
call fcn.005cfab0
add esp, 0xc
lea ecx, [ebp - 0x130]
push ecx
call fcn.00404f40
add esp, 4
test eax, eax
jne 0x404843
mov eax, dword [ebp - 0x138]
jmp 0x4048bc
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4048b6
push 4
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4048ac
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4048a2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 4
jne 0x4048a2
mov dword [ebp - 0x138], 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret
Function at 0x405350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 3
mov byte [ebp - 0x218], 0
push 0x1ff
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.005cfab0
add esp, 0xc
mov dword [ebp - 0x220], 0
mov dword [ebp - 8], str.___VMAttrs
mov ecx, dword [ebp - 8]
push ecx
call fcn.005cfb40
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 0x220]
push edx
push 0x200
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x405459
cmp dword [ebp + 0x18], 0
je 0x40540c
mov edx, dword [ebp + 0x18]
cmp dword [edx + 4], 0
je 0x40540c
push 0x227
push 2
push 0x19
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 4]
call eax
add esp, 0x10
mov dword [ebp - 0x228], eax
jmp 0x405416
mov dword [ebp - 0x228], 0x19
cmp dword [ebp + 0x18], 0
je 0x40544a
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 8], 0
je 0x40544a
push 0x228
push str.Not_able_to_read_message_from_license_service
push 0xc
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x22c], eax
jmp 0x405454
mov dword [ebp - 0x22c], 0xc
jmp 0x40559a
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00405300
add esp, 4
push eax
call fcn.00405740
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40548d
mov dword [ebp - 0x10], 5
jmp 0x40559a
mov eax, dword [ebp - 0x220]
mov byte [ebp + eax - 0x218], 0
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.005d6357
add esp, 0xc
test eax, eax
je 0x4054c5
mov dword [ebp - 0x10], 4
jmp 0x40559a
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp + ecx - 0x218]
mov dword [ebp - 0x224], edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.004055b0
add esp, 8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x405506
mov dword [ebp - 0x10], 4
jmp 0x40559a
cmp dword [ebp - 0xc], 1
je 0x405518
mov dword [ebp - 0x10], 6
jmp 0x40559a
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x224]
push eax
call fcn.004055b0
add esp, 8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x405543
mov dword [ebp - 0x10], 4
jmp 0x40559a
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00405300
add esp, 4
cmp dword [ebp - 4], eax
je 0x40555d
mov dword [ebp - 0x10], 2
jmp 0x40559a
mov edx, dword [ebp - 0x224]
push edx
call fcn.005cfb40
add esp, 4
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
push 0x200
mov edx, dword [ebp + 0x10]
push edx
call fcn.005db712
add esp, 0x10
mov dword [ebp - 0x10], 0
xor eax, eax
jne 0x4053b8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret
Function at 0x405630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 3
shr eax, 2
mov dword [ebp - 0x18], eax
push 4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005d4b8c
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x405665
jmp 0x405733
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.005cf460
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], 0
jmp 0x405691
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
jae 0x4056bc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
xor ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x10], eax
jmp 0x405688
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 9], 0
jmp 0x4056ec
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
shr edx, 2
mov dword [ebp - 0x1c], edx
movzx eax, byte [ebp - 9]
add eax, 8
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jae 0x405718
movzx ecx, byte [ebp - 9]
and ecx, 0x1f
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + edx*4]
shr edx, cl
movzx eax, dl
and eax, 0xff
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
mov byte [ecx], al
jmp 0x4056d0
mov edx, dword [ebp - 0x14]
push edx
call fcn.005d25a9
add esp, 4
mov dword [ebp - 4], 1
xor eax, eax
jne 0x40563d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x405740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 3
shr eax, 2
mov dword [ebp - 0x18], eax
push 4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005d4b8c
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x405775
jmp 0x40584a
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.005cf460
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], 0
jmp 0x4057a1
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x18]
jae 0x4057d2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
xor ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
jmp 0x405798
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 9], 0
jmp 0x405802
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 2
mov dword [ebp - 0x1c], eax
movzx ecx, byte [ebp - 9]
add ecx, 8
mov byte [ebp - 9], cl
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x10]
jae 0x40582f
movzx ecx, byte [ebp - 9]
and ecx, 0x1f
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax*4]
shr eax, cl
movzx ecx, al
and ecx, 0xff
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x4057e6
mov eax, dword [ebp - 0x14]
push eax
call fcn.005d25a9
add esp, 4
mov dword [ebp - 4], 1
xor ecx, ecx
jne 0x40574d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x405e20
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0xffffffff
xor eax, eax
mov word [ebp - 0x1c], ax
xor ecx, ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov word [ebp - 0xe], cx
lea edx, [ebp - 0x1b0]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x405e94
mov eax, dword [ebp - 0x1b4]
push eax
push str.WSAStartup_function_failed_with_error:__d
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00405fa0
add esp, 0xc
jmp 0x405f67
mov edx, 2
mov word [ebp - 0x1c], dx
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1a], ax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x18], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x405ee8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Socket_creation_error:__d
mov edx, dword [ebp + 0x10]
push edx
call fcn.00405fa0
add esp, 0xc
jmp 0x405f67
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00406040
add esp, 8
cmp eax, 0xffffffff
jne 0x405eff
jmp 0x405f67
push 0x10
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x405f3b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00406090
add esp, 4
test eax, eax
je 0x405f45
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004060c0
add esp, 8
test eax, eax
je 0x405f45
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x405f67
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Connect_on_socket_fd_failed_with_error:__d
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00405fa0
add esp, 0xc
jmp 0x405f67
cmp dword [ebp - 4], 0xffffffff
jne 0x405f8a
cmp dword [ebp - 8], 0xffffffff
je 0x405f84
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 8], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret

Function at 0x406040
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 1
lea eax, [ebp - 4]
push eax
push 0x8004667e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x406080
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Ioctlsocket_error:__d
mov edx, dword [ebp + 0xc]
push edx
call fcn.00405fa0
add esp, 0xc
or eax, 0xffffffff
jmp 0x406082
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x407d30
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x7841a8
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 0x407d9b
jmp 0x407e44
cmp dword [ebp - 4], 0
je 0x407e44
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 0x407e44
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 0x407e31
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x407e31
cmp dword [ebp - 0x28], 0
je 0x407e31
push str.Virtual_Machine
mov eax, dword [ebp - 0x28]
push eax
call fcn.005d2168
add esp, 8
test eax, eax
je 0x407e27
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 0x407db3
cmp dword [ebp - 4], 0
je 0x407e58
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 0x407e80
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x78421c
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
push 0x784224
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 0x407eeb
jmp 0x407f9d
cmp dword [ebp - 4], 0
je 0x407f9d
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 0x407f9d
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 0x407f8a
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x407f8a
cmp dword [ebp - 0x28], 0
je 0x407f8a
push str.VMware
mov eax, dword [ebp - 0x28]
push eax
call fcn.005d2168
add esp, 8
test eax, eax
je 0x407f79
mov dword [ebp - 0xc], 1
jmp 0x407f80
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 0x407f03
cmp dword [ebp - 4], 0
je 0x407fb1
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 0x407fd0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x784284
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 0x40803b
jmp 0x408139
cmp dword [ebp - 4], 0
je 0x408139
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 0x408139
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0x7842c0
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 0x4080cb
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x4080cb
cmp dword [ebp - 0x28], 0
je 0x4080cb
push str.innotek_GmbH
mov eax, dword [ebp - 0x28]
push eax
call fcn.005d2168
add esp, 8
test eax, eax
je 0x4080cb
mov dword [ebp - 0xc], 1
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 0x40811c
movzx eax, word [ebp - 0x30]
cmp eax, 8
jne 0x40811c
cmp dword [ebp - 0x28], 0
je 0x40811c
push str.VirtualBox
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.005d2168
add esp, 8
test eax, eax
je 0x40811c
mov dword [ebp - 0xc], 1
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 0x408053
cmp dword [ebp - 4], 0
je 0x40814d
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 0x4082c0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x7843b4
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 0x40832b
jmp 0x4083d4
cmp dword [ebp - 4], 0
je 0x4083d4
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 0x4083d4
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 0x4083b7
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x4083b7
cmp dword [ebp - 0x28], 0
je 0x4083b7
push str.Parallels
mov eax, dword [ebp - 0x28]
push eax
call fcn.005d2168
add esp, 8
test eax, eax
je 0x4083b7
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 0x408343
cmp dword [ebp - 4], 0
je 0x4083e8
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