joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1028d841
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1028d8de
push ebx
push esi
call fcn.1028d80a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1028d79e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1028d88b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1028d8dd
push edi
push eax
call fcn.1028b237
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1028d8ab
call fcn.1028b1fd
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1028d8dc
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1028d79e
add esp, 0x20
test eax, eax
jne 0x1028d8ca
push edi
call fcn.1028b1fd
jmp 0x1028d8d2
push ebx
call fcn.1028b1fd
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1028db4b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10295548
push 0x10295540
push str.FlsAlloc
push 0x1f
call fcn.1028da67
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1028db7f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1029313c]
call esi
jmp 0x1028db85
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1028dbc9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10295558
push 0x10295550
push str.FlsGetValue
push 0x21
call fcn.1028da67
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1028dc00
push dword [ebp + 8]
mov ecx, esi
call dword [0x1029313c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1028dc08
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10295560
push 0x10295558
push str.FlsSetValue
push 0x22
call fcn.1028da67
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1028dc42
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1029313c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10292cb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10292cdd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10292cdd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401120
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x41e040]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40116a
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x40117b
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00402a62
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
push 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x401161
mov ecx, dword [esp + 0x1c]
mov al, 1
xor ecx, esp
call fcn.00402a62
mov esp, ebp
pop ebp
ret
Function at 0x40301a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403059
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403059
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403059
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403059
cmp dword [ecx + 0x74], 0xe
jbe 0x403059
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x409976
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417f44
push 0x417f3c
push str.FlsAlloc
push 0x1f
call fcn.004098b1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4099aa
push dword [ebp + 8]
mov ecx, esi
call dword [0x415280]
call esi
jmp 0x4099b0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4099f4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417f54
push 0x417f4c
push str.FlsGetValue
push 0x21
call fcn.004098b1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409a2b
push dword [ebp + 8]
mov ecx, esi
call dword [0x415280]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x409a33
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417f5c
push 0x417f54
push str.FlsSetValue
push 0x22
call fcn.004098b1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409a6d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x415280]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40b91c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x41e040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40b967
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040bab7
test al, al
jne 0x40b961
sub edx, 2
cmp edx, edi
jne 0x40b947
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40b989
lea eax, [edi + 2]
cmp edx, eax
je 0x40b989
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040b868
add esp, 0x10
jmp 0x40ba83
push esi
lea ecx, [ebp - 0x255]
call fcn.0040bab7
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40b9cc
push dword [ebp - 0x25c]
jmp 0x40b979
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40ba09
cmp word [ebp - 0x226], 0
je 0x40ba2a
cmp word [ebp - 0x226], ax
jne 0x40ba09
cmp word [ebp - 0x224], 0
je 0x40ba2a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040b868
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40ba76
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40b9e3
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40ba5e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40ba83
push 0x40b698
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00410a70
add esp, 0x10
jmp 0x40ba53
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402a62
leave
ret
Function at 0x413ce0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x413d0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x413d0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4013c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push eax
nop
nop
nop
nop
mov eax, dword fs:[0x30]
nop
nop
nop
nop
mov dword [ebp - 4], eax
nop
nop
pop eax
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc]
mov esi, dword [edi + 0x14]
add edi, 0x14
cmp esi, edi
je 0x40140b
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x28]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401414
mov esi, dword [esi]
cmp esi, edi
jne 0x4013f6
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4314f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00415810
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.00415810
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [edi + 0x1c]
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], edx
call fcn.00415810
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0x48]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x408cc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x33323130
mov dword [ebp - 8], 0x37363534
mov word [ebp - 4], 0x3938
mov byte [ebp - 2], 0
mov esi, edi
mov edx, ecx
lea ebx, [ebx]
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
inc esi
add edx, eax
jne 0x408cf0
mov byte [esi], dl
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
mov cl, byte [ebp + ecx - 0xc]
dec esi
mov byte [esi], cl
mov ecx, edx
test ecx, ecx
jne 0x408d06
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409520
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4318a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x594
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 4], 1
call fcn.00415810
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00408d50
add esp, 0x10
push 0x5f5e0ff
mov esi, eax
mov ecx, 0xf
lea edi, [ebp - 0x64]
push 0
rep movsd dword es:[edi], dword [esi]
call dword [0x655f40]
push eax
call dword [0x655ed8]
xor edi, edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 0x14], 1
call fcn.00415af0
push eax
call dword [0x655e3c]
mov edx, dword [0x645138]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
push edx
push eax
xor esi, esi
call dword [0x655f18]
test eax, eax
jne 0x4095c3
lea esi, [edi + 1]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x409728
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
push 0
push 0
push 3
push 0
push 0
push ecx
push edx
push eax
call dword [0x655f3c]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x40971e
mov edx, dword [ebp - 0x38]
mov eax, esi
neg eax
sbb eax, eax
push 0
and eax, 0x800000
add eax, 0x400100
push eax
mov eax, dword [0x644f88]
push 0
push 0
push eax
push edx
push 0x43839c
push ecx
call dword [0x655f70]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x409714
test esi, esi
je 0x409649
or dword [ebp - 0x18], 0x10300
push 4
lea ecx, [ebp - 0x18]
push ecx
push 0x1f
push eax
call dword [0x655d44]
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0
push 0
push eax
call dword [0x655f04]
mov ecx, dword [ebp - 0x10]
push 0
lea edx, [ebp - 0x28]
push edx
mov esi, eax
lea eax, [ebp - 0x1a0]
push eax
push 0x13
push ecx
mov dword [ebp - 0x28], 0x100
call dword [0x655f88]
test eax, eax
jne 0x4096b1
lea ecx, [ebp + 8]
xor esi, esi
mov byte [ebp - 4], 0
call fcn.00415850
lea ecx, [ebp + 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00415850
mov eax, dword [ebp - 0x24]
mov edx, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x1a0]
push edx
call fcn.004171c0
add esp, 4
cmp eax, 0xc8
jne 0x40967e
test esi, esi
je 0x409711
cmp dword [ebp - 0x14], edi
jbe 0x409711
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push 0x400
lea ecx, [ebp - 0x5a0]
push ecx
push edx
call dword [0x655e64]
xor esi, esi
cmp dword [ebp - 0x14], esi
jbe 0x409711
push 1
lea eax, [ebp + esi - 0x5a0]
push eax
lea ecx, [edi + ebx]
push ecx
call fcn.00417240
mov eax, dword [ebp - 0x14]
inc esi
inc edi
cmp esi, eax
jb 0x4096f1
test eax, eax
jne 0x4096d0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x655e38]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x655e38]
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x655e38]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.00415850
lea ecx, [ebp + 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00415850
mov ecx, dword [ebp - 0xc]
mov edx, edi
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ae80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x40ae9a
mov eax, 1
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x40af48
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40af48
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 0x40aed1
mov eax, 1
pop edi
pop ebp
ret
cmp dword [edi], 0x4550
jne 0x40af40
mov ecx, 0x10b
cmp word [esi + 0x58], cx
jne 0x40af40
movzx eax, word [esi + 0x46]
test ax, ax
je 0x40af40
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
mov dword [esi + 0x140], eax
call fcn.00417280
add esp, 4
mov dword [esi + 0x138], eax
test eax, eax
jne 0x40af17
mov eax, 3
pop edi
pop ebp
ret
movzx edx, word [esi + 0x54]
mov ecx, dword [esi + 0x3c]
lea ecx, [edx + ecx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
pop edi
pop ebp
ret
mov eax, 2
pop edi
pop ebp
ret
mov eax, 2
pop ebp
ret

Function at 0x40b660
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x40b69c
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x40b69c
mov edx, 0x10b
cmp word [eax + ecx + 0x18], dx
jne 0x40b69c
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + ecx + 0x78]
push edx
push ecx
push eax
call fcn.0040b5a0
add esp, 0xc
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x416e50
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43352f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
push eax
push 0x43bdc8
push 1
push esi
push 0x43be98
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x416fde
mov ecx, dword [ebp - 0x10]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
push esi
push 0x20
push str.Select__From_Win32_OperatingSystem
mov dword [ebp - 0x18], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push 0x438aec
push eax
call edx
test eax, eax
js 0x416fde
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp eax, esi
je 0x416fef
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x1c], esi
je 0x416fef
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
lea ecx, [ebp - 0x48]
push ecx
push esi
push str.InstallDate
push eax
mov dword [ebp - 4], esi
call edx
mov ecx, dword [ebp - 0x40]
push 1
lea eax, [ebp - 0x28]
push eax
push ecx
call fcn.00416da0
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push esi
call dword [0x655f40]
push eax
call dword [0x655ed8]
movzx ecx, word [ebp - 0x2c]
movzx edx, word [ebp - 0x2e]
push ecx
movzx ecx, word [ebp - 0x38]
push edx
movzx edx, word [ebp - 0x36]
mov esi, eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push ecx
push edx
push eax
push 0x438ac0
push esi
call dword [0x655d68]
add esp, 0x20
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004157d0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push str.Unknown
mov ecx, esi
call fcn.004157d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x417000
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433541
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
push eax
push 0x43bdc8
push 1
push esi
push 0x43be98
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push str.rootSecurityCenter2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x417134
mov ecx, dword [ebp - 0x10]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
push esi
push 0x20
push str.Select__From_AntiVirusProduct
mov dword [ebp - 0x18], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push 0x438aec
push eax
call edx
test eax, eax
js 0x417134
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp eax, esi
je 0x417145
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x1c], esi
je 0x417145
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
lea ecx, [ebp - 0x30]
push ecx
push esi
push str.displayName
push eax
mov dword [ebp - 4], esi
call edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004174f0
mov esi, dword [ebp + 8]
add esp, 4
push eax
mov ecx, esi
call fcn.004157d0
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push str.Unknown
mov ecx, esi
call fcn.004157d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41b1a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433f79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
mov esi, 2
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
call fcn.004157c0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.004157c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.004157c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004157c0
test byte [0x655d08], 1
mov byte [ebp - 4], 6
jne 0x41b20b
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
jmp 0x41b211
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x54], ecx
lea edx, [ebp + 0x5c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004158b0
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x68]
lea edx, [ebp + 0x2c]
mov dword [ebp - 0x1c], ecx
push edx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.004158b0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.004158b0
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004158b0
cmp dword [0x655d08], esi
jb 0x41b273
jmp 0x41b260
push 0x3e8
call dword [0x655d80]
cmp dword [0x655d08], esi
jae 0x41b260
inc dword [0x655d08]
push ebx
push ebx
lea edx, [ebp - 0x54]
push edx
push 0x419c40
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp + 8]
push 0x435476
mov ecx, esi
call fcn.004157d0
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00415850
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00415850
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00415850
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00415850
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0xb
call fcn.00415850
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xa
call fcn.00415850
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00415850
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], bl
call fcn.00415850
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret