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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4ec49c], 0
jne 0x4d85c9
cmp dword [0x4ec4bc], 0
jne 0x4d8578
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4ec4bc], eax
test eax, eax
jne 0x4d8578
push str.GetEnvironmentStrings_failed
call fcn.004d7cc0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4ec4bc]
jmp 0x4d858c
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004cffbc
pop ecx
mov edi, eax
test eax, eax
jne 0x4d8584
lea edi, [ebp + 1]
push edi
call fcn.004cf180
pop ecx
mov ebx, eax
mov dword [0x4ec4a0], ebx
test ebx, ebx
jne 0x4d85b6
xor eax, eax
jmp 0x4d8689
push edi
mov edx, dword [0x4ec4bc]
push edx
push ebx
call fcn.004cfc54
add esp, 0xc
jmp 0x4d85eb
xor esi, esi
mov ebx, dword [0x4ec49c]
jmp 0x4d85e3
push eax
call fcn.004cffbc
pop ecx
test eax, eax
jne 0x4d85df
dec esi
inc esi
add ebx, 4
mov eax, ebx
mov eax, dword [eax]
test eax, eax
jne 0x4d85d3
lea ebx, [esi + 4]
push 4
mov dword [0x4ec4a4], ebx
inc ebx
push ebx
call fcn.004cf0e4
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x4d860b
xor eax, eax
jmp 0x4d8689
cmp dword [0x4ec49c], 0
jne 0x4d863a
xor esi, esi
mov ebx, dword [0x4ec4a0]
mov ebp, dword [esp]
jmp 0x4d862b
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004cffbc
pop ecx
mov edi, eax
test eax, eax
jne 0x4d8621
jmp 0x4d866b
xor esi, esi
mov ebx, dword [0x4ec49c]
mov edi, dword [esp]
jmp 0x4d8663
push eax
call fcn.004cffbc
pop ecx
test eax, eax
je 0x4d8658
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x4d865c
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, ebx
mov eax, dword [eax]
test eax, eax
jne 0x4d8647
mov eax, dword [0x4ec49c]
test eax, eax
je 0x4d867b
push eax
call fcn.004cf190
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4ec49c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
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.00428b30
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 0x401090
Capabilities:
Get memory capacity
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x44ff00]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00428b30
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp eax, 1
jne 0x4010e1
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
ja 0x4010e9
jb 0x4010e1
cmp ecx, 0x309
jae 0x4010e9
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428baa
mov esp, ebp
pop ebp
ret

Function at 0x401100
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x10], 2
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x401120
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x44ff00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x818], ecx
xor edi, edi
nop
push ebx
mov dword [ebp + edi*4 - 0x404], edi
call fcn.0041edb0
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
inc edi
add esp, 4
movzx edx, byte [edx + ebx]
mov dword [ebp + edi*4 - 0x808], edx
cmp edi, 0x100
jl 0x401150
xor edi, edi
xor eax, eax
mov edx, dword [ebp + eax - 0x404]
mov ecx, dword [ebp + eax - 0x804]
add ecx, edx
add ecx, esi
and ecx, 0x800000ff
jns 0x4011a2
dec ecx
or ecx, 0xffffff00
inc ecx
mov esi, dword [ebp + ecx*4 - 0x404]
mov dword [ebp + eax - 0x404], esi
mov esi, dword [ebp + eax - 0x800]
mov dword [ebp + ecx*4 - 0x404], edx
mov edx, dword [ebp + eax - 0x400]
add esi, edx
add ecx, esi
and ecx, 0x800000ff
jns 0x4011d9
dec ecx
or ecx, 0xffffff00
inc ecx
mov esi, dword [ebp + ecx*4 - 0x404]
mov dword [ebp + eax - 0x400], esi
mov esi, dword [ebp + eax - 0x7fc]
mov dword [ebp + ecx*4 - 0x404], edx
mov edx, dword [ebp + eax - 0x3fc]
add esi, edx
add ecx, esi
and ecx, 0x800000ff
jns 0x401210
dec ecx
or ecx, 0xffffff00
inc ecx
mov esi, dword [ebp + ecx*4 - 0x404]
mov dword [ebp + eax - 0x3fc], esi
mov esi, dword [ebp + eax - 0x7f8]
mov dword [ebp + ecx*4 - 0x404], edx
mov edx, dword [ebp + eax - 0x3f8]
add esi, edx
add esi, ecx
and esi, 0x800000ff
jns 0x401247
dec esi
or esi, 0xffffff00
inc esi
mov ecx, dword [ebp + esi*4 - 0x404]
mov dword [ebp + eax - 0x3f8], ecx
add eax, 0x10
mov dword [ebp + esi*4 - 0x404], edx
cmp eax, 0x400
jl 0x401180
mov ebx, dword [ebp - 0x810]
push ebx
call fcn.0041edb0
inc eax
push eax
call fcn.00427fa9
push ebx
mov dword [ebp - 0x80c], eax
xor esi, esi
mov dword [ebp - 0x808], edi
call fcn.0041edb0
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x80c]
jle 0x401365
sub eax, ebx
mov dword [ebp - 0x814], eax
lea ebx, [ebx]
inc esi
and esi, 0x800000ff
jns 0x4012c1
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [ebp + esi*4 - 0x404]
add edi, eax
and edi, 0x800000ff
jns 0x4012da
dec edi
or edi, 0xffffff00
inc edi
mov ecx, dword [ebp + edi*4 - 0x404]
mov dword [ebp + esi*4 - 0x404], ecx
mov dword [ebp + edi*4 - 0x404], eax
add eax, dword [ebp + esi*4 - 0x404]
and eax, 0x800000ff
jns 0x401304
dec eax
or eax, 0xffffff00
inc eax
mov cl, byte [ebx]
movzx edx, cl
cmp dword [ebp + eax*4 - 0x404], edx
lea eax, [ebp + eax*4 - 0x404]
jne 0x401324
mov eax, dword [ebp - 0x814]
mov byte [eax + ebx], cl
jmp 0x401331
mov dl, byte [eax]
mov eax, dword [ebp - 0x814]
xor dl, cl
mov byte [eax + ebx], dl
mov ecx, dword [ebp - 0x810]
inc dword [ebp - 0x808]
push ecx
inc ebx
call fcn.0041edb0
add esp, 4
cmp dword [ebp - 0x808], eax
jl 0x4012b0
mov eax, dword [ebp - 0x80c]
mov edx, dword [ebp - 0x808]
mov byte [eax + edx], 0
jmp 0x40136a
mov edx, esi
mov byte [eax + edx], dl
mov ecx, dword [ebp - 0x818]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428baa
mov esp, ebp
pop ebp
ret
Function at 0x401390
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4e28
call fcn.0042a480
mov eax, dword [0x44ff00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4e1f
lea eax, [ebp - 0x4e23]
push 0
push eax
mov byte [ebp - 0x4e24], 0
call fcn.00428b30
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x4e28]
push ecx
push 0
push 1
push esi
mov dword [ebp - 0x4e28], 0
call fcn.0041edb0
mov edi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
add esp, 4
push eax
push esi
call edi
push 0
push 0
lea edx, [ebp - 0x4e28]
push edx
lea eax, [ebp - 0x4e24]
push eax
push 1
push esi
call fcn.0041edb0
add esp, 4
push eax
push esi
call edi
pop edi
test eax, eax
pop esi
lea eax, [ebp - 0x4e24]
jne 0x401427
mov eax, 0x43f208
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428baa
mov esp, ebp
pop ebp
ret

Function at 0x403a70
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 0x403a8f
mov eax, 1
pop ebx
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x403b3b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x403b3b
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 0x403ac7
pop edi
mov eax, 1
pop ebx
pop ebp
ret
cmp dword [edi], 0x4550
jne 0x403b32
mov ecx, 0x10b
cmp word [esi + 0x58], cx
jne 0x403b32
movzx eax, word [esi + 0x46]
test ax, ax
je 0x403b32
lea edi, [eax + eax*4]
add edi, edi
add edi, edi
add edi, edi
push edi
mov dword [esi + 0x140], edi
call fcn.0042a638
add esp, 4
mov dword [esi + 0x138], eax
test eax, eax
jne 0x403b0e
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 0x405b30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x405b3e
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x405c1d
mov esi, edx
shr esi, 3
push edi
jmp 0x405b60
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x444150]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x444150]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x444150]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x444150]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x444150]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x444150]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x444150]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x444150]
add ecx, 8
sub edx, 8
dec esi
jne 0x405b60
pop edi
test edx, edx
je 0x405c3a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x444150]
inc ecx
dec edx
jne 0x405c21
not eax
pop esi
pop ebp
ret

Function at 0x405c40
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 + 0x444150]
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 + 0x444150]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x405c90
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 + 0x444150]
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 + 0x444150]
pop edi
mov dword [esi + 8], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x40a790
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_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_90.0.4430.93_Safari_537.36_Vivaldi_3.7
mov dword [ebp - 4], eax
mov byte [esi], al
call fcn.0042a4b0
add esp, 4
push eax
push str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_90.0.4430.93_Safari_537.36_Vivaldi_3.7
mov ecx, esi
call fcn.00404ab0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4173d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d3eb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x44ff00]
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.004288a6
push 4
mov dword [ebp - 4], 0
call fcn.0042ad81
mov edi, eax
add esp, 4
test edi, edi
je 0x417450
call fcn.00428564
mov dword [edi], eax
call fcn.00428323
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00428258
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x417446
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00428280
jmp 0x417452
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 0x417fc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d4d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x44ff00]
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 0x4180ee
cmp byte [edi + 0x49], bl
je 0x4180ee
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x4180e2
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.00428b30
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x1c], 8
jae 0x418042
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 0x41805a
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 0x418083
dec eax
je 0x418087
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x4180dd
jmp 0x4180e9
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x418097
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x4180c0
cmp ebx, 0x10
jae 0x4180a6
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0042c417
add esp, 0x10
cmp esi, eax
jne 0x4180da
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x4180e6
test esi, esi
jne 0x41804e
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040a4b0
jmp 0x418048
lea ecx, [ebp - 0x2c]
call fcn.0040a330
xor al, al
jmp 0x4180f0
lea ecx, [ebp - 0x2c]
call fcn.0040a330
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.00428baa
mov esp, ebp
pop ebp
ret
Function at 0x41da70
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43db00
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x44ff00]
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 0x446648
push 1
push ebx
push 0x446718
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 0x41dc24
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 0x445724
push eax
call edx
cmp eax, ebx
jl 0x41dc24
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 0x41dc24
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 0x41dc12
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.0041d890
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x6c]
push eax
call dword [0x4628f4]
call dword [0x4628bc]
push 0x104
push ebx
push eax
call dword [0x462844]
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 [0x4626b4]
add esp, 0x20
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x40]
call fcn.0040a330
mov eax, esi
jmp 0x41dc29
cmp dword [ebp - 0x2c], 0x10
jb 0x41dc24
mov edx, dword [ebp - 0x40]
push edx
call fcn.00428ac6
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.00428baa
mov esp, ebp
pop ebp
ret
Function at 0x41dfc0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43db7b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x44ff00]
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 - 0x7c]
push eax
push 0x446648
push 1
push ebx
push 0x446718
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x70]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x70], ebx
mov ecx, dword [eax]
push str.rootSecurityCenter2
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x41e15d
mov ecx, dword [ebp - 0x70]
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 - 0x70]
lea ecx, [ebp - 0x78]
push ecx
push ebx
push 0x20
push str.Select__From_AntiVirusProduct
mov dword [ebp - 0x78], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push 0x445724
push eax
call edx
cmp eax, ebx
jl 0x41e15d
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41e15d
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x80]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x74], ebx
je 0x41e14b
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [ebp - 0x90]
push ecx
push ebx
push str.displayName
push eax
mov byte [ebp - 4], 2
call edx
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041dd40
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x69]
mov byte [ebp - 4], 3
call fcn.00422110
cmp dword [eax + 0x14], 0x10
jb 0x41e120
mov esi, dword [eax]
jmp 0x41e122
mov esi, eax
lea ecx, [ebp - 0x68]
call fcn.0040a330
lea ecx, [ebp - 0x4c]
call fcn.0040a360
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x30]
call fcn.0040a330
mov eax, esi
jmp 0x41e162
cmp dword [ebp - 0x1c], 0x10
jb 0x41e15d
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00428ac6
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.00428baa
mov esp, ebp
pop ebp
ret
Function at 0x41eb20
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43dd29
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x44ff00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x442d1c
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], esi
mov byte [esi], bl
call fcn.0042a4b0
add esp, 4
push eax
push 0x442d1c
mov ecx, esi
call fcn.00404ab0
push str.Mozilla_5.0__Windows_NT_10.0_
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], 1
call fcn.0042a4b0
add esp, 4
push eax
push str.Mozilla_5.0__Windows_NT_10.0_
mov ecx, esi
call fcn.00404ab0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ebx
call dword [0x4628dc]
push eax
call dword [0x462880]
test eax, eax
je 0x41ebc4
mov eax, 0x4456ec
cmp dword [ebp - 0x30], ebx
jne 0x41ebc9
mov eax, 0x4456e8
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.0040cfa0
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00404bf0
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], bl
jb 0x41ebfb
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00428ac6
add esp, 4
push 0x445860
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0040cfa0
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00404bf0
cmp dword [ebp - 0x18], 0x10
jb 0x41ec2e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00428ac6
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428baa
mov esp, ebp
pop ebp
ret 4