joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446ab4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x538f54]
cmp byte [eax + 0xc], 0
je 0x446c21
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x446c1a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53c548], 0
jne 0x446b08
push 0x446c28
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x446c30
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c548], eax
cmp dword [0x466584], 0
jne 0x446c03
push 0x446c40
call sub.kernel32.dll_LoadLibraryA
mov dword [0x466584], eax
cmp dword [0x466584], 0
je 0x446c03
push 0x446c4c
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c54c], eax
push 0x446c5c
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c550], eax
push 0x446c70
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c554], eax
push 0x446c88
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c558], eax
push 0x446ca0
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c55c], eax
push 0x446cb4
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c560], eax
push 0x446ccc
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c564], eax
push 0x446ce4
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c568], eax
push 0x446d00
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c56c], eax
push 0x446d0c
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x53c570], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446c21
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44c268
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44c2bc]
test si, 4
je 0x44c27d
or bl, 1
test si, 8
je 0x44c287
or bl, 4
test si, 1
je 0x44c291
or bl, 8
test si, 2
je 0x44c29b
or bl, 0x10
test si, 0x10
je 0x44c2a5
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c2b4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c2c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44c2fc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c2da
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c2e9
or bl, 4
test esi, 0x20000000
je 0x44c2f4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4539cc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4539de
add esp, 0xfffffff0
call fcn.00403bbc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041da88
mov eax, dword [0x538bbc]
mov dword [eax + 4], ebx
mov dword [eax], 0x453d70
mov eax, dword [0x538bc8]
mov dword [eax + 4], ebx
mov dword [eax], 0x453d7c
mov eax, ebx
call fcn.00453d88
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415884]
call fcn.00403868
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415884]
call fcn.00403868
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415884]
call fcn.00403868
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415884]
call fcn.00403868
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415884]
call fcn.00403868
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44f804
push eax
push 0
push 0
mov eax, dword [0x538d38]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42162c]
call fcn.00422e48
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42162c]
call fcn.00422e48
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42162c]
call fcn.00422e48
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004541b8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454088
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454088
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454088
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453b1b
call fcn.00403c14
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x453e6c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x454017
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453ff8
mov dl, 1
mov eax, dword [0x415ca8]
call fcn.00403868
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046c4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x453fe7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00446e10
test al, al
je 0x453fda
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x454028
lea eax, [ebp - 0x254]
call fcn.0040990c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453fda
xor eax, eax
push ebp
push 0x453fd3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x454060
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453fbc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404934
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453fbc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453fda
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453edd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00419988
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45401e
lea eax, [ebp - 0x260]
call fcn.004046c4
ret

Function at 0x454990
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x53c580]
cmp byte [eax + 0xad], 0
jne 0x454a01
cmp dword [0x53c598], 0
jne 0x4549c2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45494c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x53c598], eax
cmp dword [0x53c594], 0
jne 0x4549dd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x53c594], eax
cmp dword [0x53c59c], 0
jne 0x454a01
push esp
push 0
push 0
push 0x4548f0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x53c59c], eax
pop edx
ret
Function at 0x454bd4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x454beb
add esp, 0xfffffff0
call fcn.00403bbc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041da88
mov eax, dword [0x538d1c]
cmp word [eax + 2], 0
jne 0x454c13
mov eax, dword [0x538d1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456684
mov eax, dword [0x538dd8]
cmp word [eax + 2], 0
jne 0x454c2d
mov eax, dword [0x538dd8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456890
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415884]
call fcn.00403868
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415884]
call fcn.00403868
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415884]
call fcn.00403868
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x422104]
call fcn.00429c94
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x454de4
mov eax, dword [0x538c28]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a068
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456f50
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x538c28]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d13c
test eax, eax
je 0x454d34
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004092c4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d170
test eax, eax
je 0x454d48
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404934
mov byte [ebx + 0xd4], 0
push ebx
push 0x4561e4
call fcn.0041ec04
mov dword [ebx + 0xc8], eax
mov eax, dword [0x538af8]
cmp byte [eax], 0
jne 0x454d99
mov eax, ebx
call fcn.00454f28
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045712c
mov eax, ebx
call fcn.00457c8c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454dd9
call fcn.00403c14
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4551a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x53c580]
cmp dword [eax + 0x30], 0
je 0x455252
cmp dword [ebx + 0x94], 0
jne 0x45524c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455138
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45524c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x455212
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45524c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417c30
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455221
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455f6c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x455fa1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047b4
jmp 0x455fae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404718
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x457310
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45737e
mov eax, esi
call fcn.00441ccc
test al, al
je 0x45737e
mov eax, dword [ebx + 0x84]
call fcn.00441970
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45737e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x457372
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441970
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00439e7c
jmp 0x45737e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045714c
pop esi
pop ebx
ret
Function at 0x6c31b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.006c3140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.006c3140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.006c3140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.006c3140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x6c3bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6c3c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6d587c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6c3c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6c3c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x10005b3b
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor cl, cl
mov bl, 1
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10005cdb
mov edx, 0x10000000
cmp eax, 0x7c
je 0x10005cdb
cmp eax, 0x29
jne 0x10005b76
cmp dword [esi + 0x10], 0
jne 0x10005cdb
test dword [esi + 0x50], edx
je 0x10005ce1
cmp eax, 0x2e
jne 0x10005b91
push 5
lea ecx, [esi + 0x24]
call fcn.10005ddc
mov ecx, esi
call fcn.10005b10
jmp 0x10005cc3
cmp eax, 0x5c
jne 0x10005bee
mov ecx, esi
call fcn.10005b10
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x10005bc4
cmp word [esi + 0x48], 0x62
jne 0x10005bc4
push 4
lea ecx, [esi + 0x24]
call fcn.10005ddc
mov ecx, esi
call fcn.10005b10
jmp 0x10005cca
test eax, eax
je 0x10005be2
cmp word [esi + 0x48], 0x42
jne 0x10005be2
push 4
lea ecx, [esi + 0x24]
call fcn.10005ddc
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x10005bb8
mov ecx, esi
call fcn.100061dd
jmp 0x10005cc3
cmp eax, 0x5b
jne 0x10005c4e
mov ecx, esi
call fcn.10005b10
lea ecx, [esi + 0x24]
call fcn.10007081
cmp dword [esi + 0x4c], 0x5e
jne 0x10005c16
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10005b10
test dword [esi + 0x50], 0x20000000
je 0x10005c36
cmp dword [esi + 0x4c], 0x5d
jne 0x10005c36
push 0x5d
lea ecx, [esi + 0x24]
call fcn.100070cb
mov ecx, esi
call fcn.10005b10
mov ecx, esi
call fcn.10006e54
cmp dword [esi + 0x4c], 0x5d
je 0x10005b85
push 4
jmp 0x10005ce3
cmp eax, 0x28
jne 0x10005c6b
mov ecx, esi
call fcn.10005b10
mov ecx, esi
call fcn.100062c5
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x10005cb8
jmp 0x10005ce1
cmp eax, 0x5e
jne 0x10005c77
push 2
jmp 0x10005bb0
cmp eax, 0x24
jne 0x10005c83
push 3
jmp 0x10005bb0
cmp eax, 0x2a
je 0x10005cd7
cmp eax, 0x2b
je 0x10005cd7
cmp eax, 0x3f
je 0x10005cd7
cmp eax, 0x7b
je 0x10005cd7
cmp eax, 0x7d
jne 0x10005ca1
test dword [esi + 0x50], edx
je 0x10005cd3
cmp eax, 0x5d
jne 0x10005cab
test dword [esi + 0x50], edx
je 0x10005c47
movzx eax, word [esi + 0x48]
push eax
lea ecx, [esi + 0x24]
call fcn.10006439
mov ecx, esi
call fcn.10005b10
test bl, bl
je 0x10005cca
mov ecx, esi
call fcn.10006375
mov cl, 1
mov bl, cl
jmp 0x10005b44
push 6
jmp 0x10005ce3
push 0xa
jmp 0x10005ce3
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.1000f901
int3
Function at 0x1000d4ee
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 4
mov eax, 0x10027852
call fcn.100125b8
mov esi, ecx
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
push esi
push 0x1002ebc4
xor eax, eax
push 1
push eax
lea edi, [esi + 4]
push 0x1002ec94
mov dword [esi], eax
mov dword [edi], eax
mov byte [esi + 8], al
call ebx
cmp eax, 0x800401f0
jne 0x1000d542
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x1000d5a2
push esi
push 0x1002ebc4
push 1
push 0
push 0x1002ec94
call ebx
test eax, eax
js 0x1000d5a2
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
call fcn.1000d434
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edx, dword [eax]
test edx, edx
je 0x1000d562
mov edx, dword [edx]
jmp 0x1000d564
mov edx, ebx
mov eax, dword [esi]
push edi
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebp - 0x10]
mov ebx, eax
test ecx, ecx
je 0x1000d582
call fcn.1000d4a9
test ebx, ebx
js 0x1000d5a2
xor eax, eax
push eax
push eax
push 3
push 3
push eax
push eax
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1000d5a2
mov byte [esi + 8], 1
mov eax, esi
call fcn.10012586
ret

Function at 0x1000d7c9
Capabilities:
Reference wmi statements

Disassembly:
push 0x28
mov eax, 0x10027aa3
call fcn.100125eb
mov esi, ecx
mov edi, dword [ebp + 8]
and dword [ebp - 0x34], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.SELECT__FROM_Win32_Processor
call fcn.1000268f
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x1002fa30
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
push eax
push edi
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.1000d5c8
lea ecx, [ebp - 0x2c]
call fcn.1000e84e
mov eax, edi
call fcn.1001259a
ret 4

Function at 0x1000d8e5
Capabilities:
Reference wmi statements

Disassembly:
push 0x28
mov eax, 0x10027aa3
call fcn.100125eb
mov esi, ecx
mov edi, dword [ebp + 8]
and dword [ebp - 0x34], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.SELECT__FROM_Win32_VideoController
call fcn.1000268f
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x1002f9f0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
push eax
push edi
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.1000d5c8
lea ecx, [ebp - 0x2c]
call fcn.1000e84e
mov eax, edi
call fcn.1001259a
ret 4

Function at 0x1000da90
Capabilities:
Reference wmi statements

Disassembly:
push 0x28
mov eax, 0x10027aa3
call fcn.100125eb
mov esi, ecx
mov edi, dword [ebp + 8]
and dword [ebp - 0x34], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x1002f7fc
call fcn.1000268f
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x1002f9b0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
push eax
push edi
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.1000d5c8
lea ecx, [ebp - 0x2c]
call fcn.1000e84e
mov eax, edi
call fcn.1001259a
ret 4
Function at 0x1000daee
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100278b2
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100345f0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x100345f0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 7
xor edi, edi
pop ecx
xor eax, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edi
mov word [esp + 0x18], ax
mov dword [esp + 0x88], edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
sub esp, 0x18
mov ecx, esp
push str.Model
mov byte [esp + 0xa4], 1
call fcn.1000268f
lea eax, [esp + 0x30]
push eax
push esi
call fcn.1000d725
test al, al
je 0x1000dc4d
sub esp, 0x18
mov ecx, esp
push str.Size
call fcn.1000268f
lea eax, [esp + 0x48]
push eax
push esi
call fcn.1000d725
test al, al
je 0x1000dc4d
push ecx
lea ecx, [esp + 0x34]
call fcn.1000d334
pop ecx
push edi
push 0x3b9aca00
push edx
push eax
call fcn.10018550
push 0x1002f7f8
mov edi, eax
mov esi, edx
call fcn.10001084
pop ecx
push eax
push 0x1002f7f8
lea ecx, [esp + 0x20]
call fcn.1000bfb1
push esi
push edi
lea ecx, [esp + 0x68]
call fcn.1000d3de
push 0x1002f850
mov edx, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 2
call fcn.1000eb99
add esp, 0xc
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 3
call fcn.10003d96
xor edi, edi
push esi
inc edi
push edi
lea ecx, [esp + 0x50]
call fcn.1000391b
push esi
push edi
lea ecx, [esp + 0x68]
call fcn.1000391b
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.100026c0
push esi
push edi
lea ecx, [esp + 0x38]
call fcn.1000391b
push esi
push edi
jmp 0x1000dc68
push 0x1002eeb0
mov ecx, ebx
call fcn.1000268f
push edi
push 1
lea ecx, [esp + 0x38]
call fcn.1000391b
push edi
push 1
lea ecx, [esp + 0x20]
call fcn.1000391b
mov eax, ebx
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1000ff78
mov esp, ebp
pop ebp
ret 8

Function at 0x1000dc96
Capabilities:
Reference wmi statements

Disassembly:
push 0x28
mov eax, 0x10027aa3
call fcn.100125eb
mov esi, ecx
mov edi, dword [ebp + 8]
and dword [ebp - 0x34], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.SELECT__FROM_Win32_PhysicalMemory
call fcn.1000268f
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x1002f9d0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
push eax
push edi
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.1000d5c8
lea ecx, [ebp - 0x2c]
call fcn.1000e84e
mov eax, edi
call fcn.1001259a
ret 4