joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fe20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423098
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x42b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
push 0x42c668
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040a340
add esp, 8
lea ecx, [ebp - 0x18]
push 0x42c6dc
push ecx
mov byte [ebp - 4], 1
call fcn.0040a340
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0x6a
mov byte [ebp - 4], 3
call fcn.00406ea0
add esp, 4
cmp eax, ebx
je 0x40feb1
push eax
lea eax, [ebx + 0x6a]
lea edi, [ebp - 0x14]
call fcn.004069e0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], ebx
je 0x40ff3d
mov edx, dword [ebp - 0x18]
cmp dword [edx - 0xc], ebx
je 0x40ff3d
cmp dword [esi - 0xc], ebx
je 0x40ff3d
xor eax, eax
mov dword [ebp - 0x14], eax
nop
cmp eax, 2
jge 0x40ff3d
xor ecx, ecx
cmp eax, ebx
setne cl
push 2
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
add ecx, 0x80000001
mov dword [ebp - 0x20], ebx
call fcn.0040fda0
test eax, eax
jne 0x40ff21
mov edi, dword [ebp - 0x18]
cmp esi, ebx
je 0x40ff21
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push ebx
push edi
mov edi, dword [ebp - 0x28]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x40ff24
mov edi, dword [ebp - 0x28]
cmp edi, ebx
je 0x40ff32
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
jmp 0x40fed0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ff5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ff80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ffa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4102c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41032e
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4102fd
cmp eax, 2
jne 0x410318
mov eax, dword [ebp - 4]
test esi, esi
je 0x410328
test eax, eax
je 0x410323
test al, 1
jne 0x410318
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x410328
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x41152b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b520]
jne 0x411535
repz ret
jmp fcn.004176fa
Function at 0x41fcec
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416fd2
and dword [ebp - 0x14], 0
cmp dword [0x4608f8], 0
mov dword [ebp - 0x18], eax
jne 0x41fd9f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fe47
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fe47
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4608f8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4608fc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x460900], eax
call edi
push eax
call esi
mov dword [0x460908], eax
test eax, eax
je 0x41fd9f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x460904], eax
mov eax, dword [0x460904]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fdf8
cmp dword [0x460908], ecx
je 0x41fdf8
push eax
call esi
push dword [0x460908]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fdf8
test ebx, ebx
je 0x41fdf8
call edi
test eax, eax
je 0x41fdef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fdef
test byte [ebp - 8], 1
jne 0x41fdf8
or dword [ebp + 0x10], 0x200000
jmp 0x41fe2b
mov eax, dword [0x4608fc]
cmp eax, dword [ebp - 0x18]
je 0x41fe2b
push eax
call esi
test eax, eax
je 0x41fe2b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fe2b
mov eax, dword [0x460900]
cmp eax, dword [ebp - 0x18]
je 0x41fe2b
push eax
call esi
test eax, eax
je 0x41fe2b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4608f8]
call esi
test eax, eax
je 0x41fe47
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fe49
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041152b
leave
ret
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x79047cf8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x39f46a15
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x65ab5f20
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
mov ecx, 0x2b153117
nop
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401060
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebx
push esi
push 4
push 0x3000
push 0x17c841c0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
push eax
cmp eax, 0x11
je 0x401023
mov eax, eax
cld
test ecx, ecx
or eax, eax
clc
pop eax
test esi, esi
je 0x401056
nop
mov al, al
push 0x5e69ec0
push 0
push esi
call fcn.00429a80
add esp, 0xc
push ebx
mov cl, cl
mov cl, cl
cld
pop ebx
push 0x8000
push 0x17c841c0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop esi
pop ebx
ret
push 0
push 0x40
push 0x3000
push 0x7d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test eax, eax
jne 0x401088
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp section..text
Function at 0x4014f0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6198
call fcn.0042b3d0
mov eax, dword [0x44e6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1370
lea eax, [ebp - 0x1374]
push 0
push eax
call fcn.00429a80
add esp, 0xc
push str.Bunnicula_is_an_American_animated_television_series_from_Warner_Bros._Animation_developed_by_Jessica_Borutski
lea ecx, [ebp - 0x1374]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [ebp - 0x1374]
push edx
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea ecx, [ebp - 0x1374]
push ecx
call esi
lea edx, [ebp - 0x1374]
push edx
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea ecx, [ebp - 0x1374]
push ecx
call esi
push 0x4e1f
lea edx, [ebp - 0x6193]
push 0
push edx
mov byte [ebp - 0x6194], 0
call fcn.00429a80
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x6198]
push eax
push 0
push 1
push edi
mov dword [ebp - 0x6198], 0
call fcn.0041fc40
mov ebx, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
add esp, 4
push eax
push edi
call ebx
lea ecx, [ebp - 0x1374]
push ecx
call esi
lea edx, [ebp - 0x1374]
push edx
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
lea ecx, [ebp - 0x1374]
push ecx
call esi
lea edx, [ebp - 0x1374]
push edx
call esi
lea eax, [ebp - 0x1374]
push eax
call esi
push 0
push 0
lea ecx, [ebp - 0x6198]
push ecx
lea edx, [ebp - 0x6194]
push edx
push 1
push edi
call fcn.0041fc40
add esp, 4
push eax
push edi
call ebx
pop edi
pop esi
test eax, eax
pop ebx
lea eax, [ebp - 0x6194]
jne 0x401623
mov eax, 0x440280
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429afa
mov esp, ebp
pop ebp
ret

Function at 0x403c90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x403caf
mov eax, 1
pop ebx
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x403d5b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x403d5b
push edi
push ebx
push 0xf8
push eax
lea edi, [esi + 0x40]
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x403ce7
pop edi
mov eax, 1
pop ebx
pop ebp
ret
cmp dword [edi], 0x4550
jne 0x403d52
mov ecx, 0x10b
cmp word [esi + 0x58], cx
jne 0x403d52
movzx eax, word [esi + 0x46]
test ax, ax
je 0x403d52
lea edi, [eax + eax*4]
add edi, edi
add edi, edi
add edi, edi
push edi
mov dword [esi + 0x140], edi
call fcn.0042b3fb
add esp, 4
mov dword [esi + 0x138], eax
test eax, eax
jne 0x403d2e
pop edi
mov eax, 3
pop ebx
pop ebp
ret
movzx edx, word [esi + 0x54]
mov ecx, dword [esi + 0x3c]
push ebx
lea ecx, [edx + ecx + 0x18]
push edi
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
pop edi
inc eax
pop ebx
pop ebp
ret
pop edi
mov eax, 2
pop ebx
pop ebp
ret
mov eax, 2
pop ebx
pop ebp
ret
Function at 0x405d50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x405d5e
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x405e3d
mov esi, edx
shr esi, 3
push edi
jmp 0x405d80
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445030]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445030]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445030]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445030]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445030]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445030]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445030]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445030]
add ecx, 8
sub edx, 8
dec esi
jne 0x405d80
pop edi
test edx, edx
je 0x405e5a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x445030]
inc ecx
dec edx
jne 0x405e41
not eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx ecx, byte [ebp + 0xc]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x445030]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x445030]
mov dword [edx + 8], ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov al, byte [ebp + 0xc]
shr edx, 8
xor al, dl
mov edx, dword [esi]
push edi
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x445030]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x445030]
pop edi
mov dword [esi + 8], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x40aa30
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
push str.Mozilla_5.0__Windows_NT_6.3__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_75.0.3770.38_Safari_537.36_Brave_75
mov dword [ebp - 4], eax
mov byte [esi], al
call fcn.0042b640
add esp, 4
push eax
push str.Mozilla_5.0__Windows_NT_6.3__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_75.0.3770.38_Safari_537.36_Brave_75
mov ecx, esi
call fcn.00404cd0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x418220
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e4bb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x44e6f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004297f9
push 4
mov dword [ebp - 4], 0
call fcn.0042bbd1
mov edi, eax
add esp, 4
test edi, edi
je 0x4182a0
call fcn.004294b7
mov dword [edi], eax
call fcn.00429276
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004291ab
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x418296
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004291d3
jmp 0x4182a2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e608
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x44e6f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x418f3e
cmp byte [edi + 0x49], bl
je 0x418f3e
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x418f32
push 8
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00429a80
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x1c], 8
jae 0x418e92
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x418eaa
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0x418ed3
dec eax
je 0x418ed7
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x418f2d
jmp 0x418f39
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x418ee7
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x418f10
cmp ebx, 0x10
jae 0x418ef6
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0042d367
add esp, 0x10
cmp esi, eax
jne 0x418f2a
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x418f36
test esi, esi
jne 0x418e9e
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040a6d0
jmp 0x418e98
lea ecx, [ebp - 0x2c]
call fcn.0040a550
xor al, al
jmp 0x418f40
lea ecx, [ebp - 0x2c]
call fcn.0040a550
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429afa
mov esp, ebp
pop ebp
ret
Function at 0x41e900
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ebe0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x44e6f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x50]
push eax
push 0x4476b4
push 1
push ebx
push 0x447784
mov dword [ebp - 0x50], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x44]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x44], ebx
mov ecx, dword [eax]
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x41eab4
mov ecx, dword [ebp - 0x44]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ecx
push ebx
push 0x20
push str.Select__From_Win32_OperatingSystem
mov dword [ebp - 0x4c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push 0x446794
push eax
call edx
cmp eax, ebx
jl 0x41eab4
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41eab4
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
lea edx, [ebp - 0x48]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x54], ebx
je 0x41eaa2
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [ebp - 0x64]
push ecx
push ebx
push str.InstallDate
push eax
mov byte [ebp - 4], 2
call edx
mov ecx, dword [ebp - 0x5c]
push 1
lea eax, [ebp - 0x6c]
push eax
push ecx
call fcn.0041e720
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x6c]
push eax
call dword [0x4610d4]
call dword [0x46109c]
push 0x104
push ebx
push eax
call dword [0x461024]
movzx ecx, word [ebp - 0x18]
movzx edx, word [ebp - 0x1a]
push ecx
movzx ecx, word [ebp - 0x24]
push edx
movzx edx, word [ebp - 0x22]
mov esi, eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push ecx
push edx
push eax
push str._d__d__d__d:_d:_d
push esi
call dword [0x460e94]
add esp, 0x20
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x40]
call fcn.0040a550
mov eax, esi
jmp 0x41eab9
cmp dword [ebp - 0x2c], 0x10
jb 0x41eab4
mov edx, dword [ebp - 0x40]
push edx
call fcn.00429a19
add esp, 4
mov eax, str.Unknown
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00429afa
mov esp, ebp
pop ebp
ret