joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c8fc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x45c907
xor eax, eax
pop ebp
ret
push ebx
push esi
mov esi, dword [ebp + 8]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x45c9bf
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x54fe00]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x54fe00]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x54fe00]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x54fe00]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x54fe00]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x54fe00]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x54fe00]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x54fe00]
dec edi
jne 0x45c922
pop edi
test esi, esi
je 0x45c9d8
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x54fe00]
inc edx
dec esi
jne 0x45c9c3
not ecx
pop esi
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x45c9e0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov edx, 0xff
mov esi, dword [edi]
xor eax, esi
and eax, edx
shr esi, 8
mov eax, dword [eax*4 + 0x54fe00]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul ecx, eax, 0x8088405
mov eax, dword [edi + 8]
inc ecx
mov dword [edi + 4], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, edx
xor eax, dword [ecx*4 + 0x54fe00]
mov dword [edi + 8], eax
pop edi
pop esi
ret
Function at 0x45cbad
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x4c], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x38]
push eax
push ebx
mov dword [ebp - 0x54], edx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x45cbed
mov eax, 0x200
jmp 0x45cd65
mov eax, dword [ebp - 0x38]
xor ecx, ecx
inc ecx
mov edx, eax
and edx, ecx
push 0
pop esi
cmovne esi, ecx
test al, 2
je 0x45cc04
or esi, 2
test al, 4
je 0x45cc0b
or esi, 4
mov ecx, eax
and ecx, 0x10
je 0x45cc15
or esi, 0x10
test al, 0x20
je 0x45cc1c
or esi, 0x20
test ecx, ecx
je 0x45cc28
or esi, 0x40000000
jmp 0x45cc2e
or esi, 0x80000000
or esi, 0x1000000
test edx, edx
jne 0x45cc3e
or esi, 0x800000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x3c], eax
cmp eax, 0x28
jbe 0x45ccef
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x44]
push eax
push 2
lea eax, [ebp - 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x44]
push eax
push 4
lea eax, [ebp - 0x58]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0x54ad
cmp word [ebp - 0x40], ax
jne 0x45ccec
mov ecx, dword [ebp - 0x58]
lea eax, [ecx + 0x34]
cmp dword [ebp - 0x3c], eax
jbe 0x45ccec
push 0
push 0
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x44]
push eax
push 4
lea eax, [ebp - 0x48]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x48]
cmp eax, 0x5a4d
je 0x45cce6
cmp eax, 0x454e
je 0x45cce6
cmp eax, 0x454c
je 0x45cce6
cmp eax, 0x4550
jne 0x45ccec
or esi, 0x400000
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x45ccf8
mov dword [ecx], esi
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x45cd01
mov dword [ecx], eax
test edi, edi
je 0x45cd3a
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0045cb18
push dword [ebp - 0x20]
mov dword [edi], eax
push dword [ebp - 0x24]
mov dword [edi + 4], edx
call fcn.0045cb18
push dword [ebp - 0x30]
mov dword [edi + 8], eax
push dword [ebp - 0x34]
mov dword [edi + 0xc], edx
call fcn.0045cb18
add esp, 0x18
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x45cd63
push dword [ebp - 0x20]
lea edx, [ebp - 0x3c]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
call fcn.0045cb3c
movzx eax, word [ebp - 0x3c]
pop ecx
pop ecx
movzx ecx, word [ebp - 0x40]
shl ecx, 0x10
or ecx, eax
mov dword [esi], ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
Function at 0x45cd9d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp byte [esi + 0x2d], 0
je 0x45ce11
cmp dword [esi + 0x3c], 0
je 0x45cdcf
cmp dword [esi + 0x40], edi
jae 0x45cdc9
push dword [esi + 0x3c]
call fcn.004b1ca1
and dword [esi + 0x3c], 0
pop ecx
cmp dword [esi + 0x3c], 0
jne 0x45cddf
lea eax, [edi + edi]
push eax
call fcn.004b1c79
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push ebx
push dword [esi + 0x3c]
call fcn.004f2260
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x45ce0e
lea ecx, [esi + 0x30]
mov eax, dword [esi + 0x3c]
mov dl, byte [ebx + eax]
call fcn.0045ca2a
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
lea ecx, [esi + 0x30]
cmp ebx, edi
jb 0x45cdf5
mov ebx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x45ce40
mov edx, dword [esi + 0x24]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x28]
jb 0x45ce2c
mov dword [esi + 0x14], 0x30000
jmp 0x45ce62
push edi
add ecx, edx
push ebx
push ecx
call fcn.004f2260
add esp, 0xc
mov eax, edi
add dword [esi + 0x24], edi
jmp 0x45ce64
mov eax, dword [esi + 4]
test eax, eax
je 0x45ce5b
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x45ce64
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x45d0cf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x45d125
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
cmp eax, esi
jae 0x45d160
sub esi, eax
cmp esi, dword [ebp + 0xc]
cmova esi, dword [ebp + 0xc]
add eax, ecx
push esi
push eax
push dword [ebp + 8]
call fcn.004f2260
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x78]
add dword [edi + 0x8c], esi
add dword [edi + 0x74], esi
push esi
call fcn.0045c8fc
add esp, 0x10
mov dword [edi + 0x78], eax
mov eax, esi
jmp 0x45d162
cmp dword [edi + 0x7c], 0
je 0x45d159
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45d160
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x78]
add dword [edi + 0x74], esi
push esi
call fcn.0045c8fc
pop ecx
jmp 0x45d11e
mov dword [edi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45eabd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp byte [edi + 0x24], 0
je 0x45ead1
xor eax, eax
jmp 0x45eb6b
cmp dword [edi + 0x18], 0
je 0x45eaca
push esi
lea esi, [edi + 8]
cmp dword [esi + 0x14], 8
jb 0x45eae5
mov eax, dword [esi]
jmp 0x45eae7
mov eax, esi
push ebx
push 0x55d024
push eax
call fcn.004f8a75
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x45eb4a
push 3
pop ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45eb41
test ebx, ebx
jle 0x45eb46
dec ebx
push 0xc8
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x14], 8
jb 0x45eb23
mov eax, dword [esi]
jmp 0x45eb25
mov eax, esi
push 0x55d024
push eax
call fcn.004f8a75
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x45eb4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 4]
cmp eax, 0x20
je 0x45eb06
xor eax, eax
jmp 0x45eb69
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f892c
push ebx
mov esi, eax
call fcn.004f6c1e
add esp, 0x14
mov eax, esi
add dword [edi + 0x28], esi
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x460623
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 0
push 0
push 0x402
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
Function at 0x461646
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0
mov dword [ebp - 0x208], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [0x5aee50]
mov esi, eax
test edx, edx
movzx ecx, di
push str.BINDATA
cmovne esi, edx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4616f7
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4616f1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4616f1
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
push 0x10
mov edi, eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x4616e1
lea ecx, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
and dword [ecx], 0
push ecx
push edi
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x4616e3
xor esi, esi
test edi, edi
je 0x4616ed
mov ecx, dword [edi]
push edi
call dword [ecx + 8]
mov eax, esi
jmp 0x46174d
mov edi, dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x46174b
xor eax, eax
push 0x1fc
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.004f28b0
push esi
push edi
lea eax, [ebp - 0x204]
push str.Function:__s__image_id:_d__Last_error:__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x204]
push 0
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
Function at 0x470a10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b93b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004f28b0
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.0043a3d0
mov dword [ebp - 4], 0
push 1
push 0x23
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x470b4a
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x470acc
jmp 0x470bda
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0043a3ee
push 1
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00468400
mov dword [ebp - 0x238], eax
push 0x550ad8
mov eax, dword [ebp - 0x238]
push eax
call fcn.00468490
add esp, 8
mov byte [ebp - 0x21d], al
lea ecx, [ebp - 0x234]
call fcn.0043a3e4
movzx ecx, byte [ebp - 0x21d]
test ecx, ecx
je 0x470b38
push 0x550b68
lea ecx, [ebp - 0x21c]
call fcn.004517fa
push 0x550b6c
lea ecx, [ebp - 0x21c]
call fcn.004517fa
jmp 0x470bb6
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0043a3ee
push 1
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00468400
mov dword [ebp - 0x22c], eax
push 0x550b60
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.00468490
add esp, 8
mov byte [ebp - 0x21e], al
lea ecx, [ebp - 0x230]
call fcn.0043a3e4
movzx edx, byte [ebp - 0x21e]
test edx, edx
je 0x470bb6
push 0x550b64
lea ecx, [ebp - 0x21c]
call fcn.004517fa
push 0x550b34
lea ecx, [ebp - 0x21c]
call fcn.004517fa
lea ecx, [ebp - 0x21c]
call fcn.0043a29b
push eax
call fcn.004946e4
add esp, 4
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00447a94
mov ecx, dword [ebp - 0x228]
or ecx, 1
mov dword [ebp - 0x228], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0043a3e4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
Function at 0x4720a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ba58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x581d10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x550c10
lea ecx, [ebp - 0x28]
call fcn.0043c206
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x20019
call fcn.0049678b
cmp eax, 2
jne 0x47210a
mov eax, dword [ebp - 0x18]
or eax, 0x100
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0
lea ecx, [ebp - 0x28]
call fcn.0043a29b
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x472137
cmp dword [ebp - 0x10], 0
jne 0x472139
jmp 0x472193
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push str.InstallDate
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47217a
cmp dword [ebp - 0x1c], 4
je 0x47217c
jmp 0x472193
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov dword [ebp - 0x24], 1
xor eax, eax
jne 0x4720f5
cmp dword [ebp - 0x10], 0
je 0x4721aa
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043a3e4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4727c0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], 0x80004005
xor eax, eax
mov word [ebp - 0x208], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.004f28b0
add esp, 0xc
xor edx, edx
mov dword [ebp - 8], edx
push 0xffffffffffffffff
mov eax, dword [0x550e78]
push eax
push 0x100
lea ecx, [ebp - 0x208]
push ecx
call fcn.004f614d
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
push 0xa
lea eax, [ebp - 0x208]
push eax
call fcn.00485ee0
push eax
call fcn.00485f60
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x47284b
jmp 0x4728f3
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
lea ecx, [ebp - 0x210]
call fcn.004783a0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x1c
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f614d
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x1ac
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x190
push edx
call fcn.004f614d
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x33c
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x320
push ecx
call fcn.004f614d
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x4cc
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
add eax, 0x4b0
push eax
call fcn.004f614d
add esp, 0x10
lea ecx, [ebp - 0x210]
call fcn.004783d0
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 8

Function at 0x472d00
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], 0x80004005
xor eax, eax
mov word [ebp - 0x208], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.004f28b0
add esp, 0xc
xor edx, edx
mov dword [ebp - 8], edx
push 0xffffffffffffffff
mov eax, dword [0x550e7c]
push eax
push 0x100
lea ecx, [ebp - 0x208]
push ecx
call fcn.004f614d
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
push 0xa
lea eax, [ebp - 0x208]
push eax
call fcn.00485ee0
push eax
call fcn.00485f60
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x472d8b
jmp 0x472e11
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
lea ecx, [ebp - 0x210]
call fcn.004783a0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x1c
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f614d
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x1ac
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x190
push edx
call fcn.004f614d
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x33c
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x320
push ecx
call fcn.004f614d
add esp, 0x10
lea ecx, [ebp - 0x210]
call fcn.004783d0
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 8
Function at 0x473f50
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], 0x80004005
xor eax, eax
mov word [ebp - 0x208], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.004f28b0
add esp, 0xc
xor edx, edx
mov dword [ebp - 8], edx
push 0xffffffffffffffff
mov eax, dword [str.SELECT__FROM_Win32_DesktopMonitor]
push eax
push 0x100
lea ecx, [ebp - 0x208]
push ecx
call fcn.004f614d
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
push 0xa
lea eax, [ebp - 0x208]
push eax
call fcn.00485ee0
push eax
call fcn.00485f60
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x473fdb
jmp 0x4740a7
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
lea ecx, [ebp - 0x210]
call fcn.004783a0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x1c
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f614d
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x1ac
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x190
push edx
call fcn.004f614d
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x33c
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x320
push ecx
call fcn.004f614d
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x4cc
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
add eax, 0x4b0
push eax
call fcn.004f614d
add esp, 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x65c]
mov dword [ecx + 0x640], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x660]
mov dword [ecx + 0x644], eax
lea ecx, [ebp - 0x210]
call fcn.004783d0
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 8
Function at 0x474630
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52bc66
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x218], 0x80004005
xor eax, eax
mov word [ebp - 0x214], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x212]
push ecx
call fcn.004f28b0
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x14], edx
push 0xffffffffffffffff
mov eax, dword [str.SELECT__FROM_Win32_MemoryDevice]
push eax
push 0x100
lea ecx, [ebp - 0x214]
push ecx
call fcn.004f614d
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
push 0xa
lea eax, [ebp - 0x214]
push eax
call fcn.00485ee0
push eax
call fcn.00485f60
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x4746d3
jmp 0x474843
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
lea ecx, [ebp - 0x220]
call fcn.004783a0
mov dword [ebp - 4], 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x20
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f614d
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x1b0
push ecx
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x190
push edx
call fcn.004f614d
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x340
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x320
push ecx
call fcn.004f614d
add esp, 0x10
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4d0]
mov dword [edx + 0x4b0], ecx
mov eax, dword [eax + 0x4d4]
mov dword [edx + 0x4b4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4d8]
mov dword [ecx + 0x4b8], eax
mov edx, dword [edx + 0x4dc]
mov dword [ecx + 0x4bc], edx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x4e0
push eax
push 0xc8
mov ecx, dword [ebp + 0xc]
add ecx, 0x4c0
push ecx
call fcn.004f614d
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x670
push edx
push 0xc8
mov eax, dword [ebp + 0xc]
add eax, 0x650
push eax
call fcn.004f614d
add esp, 0x10
lea ecx, [ebp - 0x21c]
call fcn.0043a3d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00474870
lea ecx, [ebp - 0x21c]
call fcn.0043a985
push eax
lea ecx, [ebp - 0x21c]
call fcn.0043a29b
push eax
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x7e0
push edx
call fcn.004f614d
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.0043a3e4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004783d0
mov dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 8