joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4100c0
Capabilities:
Get file version info
Identify system language via api

Disassembly:
sub esp, 0x218
mov eax, dword [0x444380]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x220]
push ebx
push ebp
mov ebp, dword [esp + 0x224]
xor ebx, ebx
push 0x1ff
lea ecx, [esp + 0x21]
push ebx
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x28], bl
call fcn.00415670
add esp, 0xc
cmp ebp, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
jne 0x410133
pop ebp
lea eax, [ebx + 2]
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00414b5b
add esp, 0x218
ret
push esi
lea edx, [esp + 0x18]
push edx
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x410162
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00414b5b
add esp, 0x218
ret
push edi
push esi
call fcn.00415141
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x41017f
mov dword [esp + 0x10], 2
jmp 0x410258
push esi
push ebx
push edi
call fcn.00415670
mov eax, dword [esp + 0x28]
add esp, 0xc
push edi
push esi
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4101a8
mov dword [esp + 0x10], 2
jmp 0x410258
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x410201
cmp dword [esp + 0x18], 4
jne 0x410201
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
push ecx
mov edx, eax
shr edx, 0x18
push edx
movzx ecx, al
push ecx
movzx edx, ah
push edx
push str.StringFileInfo_02X_02X_02X_02XFileVersion
lea eax, [esp + 0x38]
push 0x200
push eax
call fcn.00414cec
add esp, 0x1c
jmp 0x410222
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
push ecx
push str.StringFileInfo_04X04B0FileVersion
lea edx, [esp + 0x2c]
push 0x200
push edx
call fcn.00414cec
add esp, 0x10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x410245
mov dword [esp + 0x10], 2
jmp 0x410258
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push eax
push esi
push ecx
call fcn.004151ab
add esp, 0xc
cmp edi, ebx
je 0x410265
push edi
call fcn.00414deb
add esp, 4
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00414b5b
add esp, 0x218
ret
Function at 0x410330
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
push edi
mov edi, dword [esp + 0x14]
test edi, edi
mov dword [esp + 8], 0
mov ebx, 1
jne 0x41034f
pop edi
lea eax, [ebx + 1]
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, ebp
sub eax, 1
je 0x410382
sub eax, 1
je 0x410376
sub eax, 1
je 0x41036f
pop ebp
pop edi
mov eax, 5
pop ebx
pop ecx
ret
mov eax, 0x40000000
jmp 0x410387
mov eax, 0x40000000
mov ecx, 2
jmp 0x41038c
mov eax, 0x80000000
mov ecx, 3
push esi
push 0
push 0x80
push ecx
push 0
push 3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov esi, dword [esp + 0x18]
mov dword [esi], eax
jne 0x4103bf
push 2
push edi
push esi
call fcn.0040fe10
mov ebx, eax
add esp, 0xc
cmp ebx, 1
jne 0x410402
cmp ebp, 3
jne 0x410402
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x4103ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
lea eax, [ebp + 4]
pop ebp
pop edi
pop ebx
pop ecx
ret
mov edx, dword [esi]
push 0
push 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x410402
mov ebx, 7
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x4125e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004122c0
push 0
push 0
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x41261a
xor eax, eax
jmp 0x412737
push 2
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 8], eax
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 8]
add eax, 4
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x320], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x320], 0
jne 0x412668
xor eax, eax
jmp 0x412737
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x320]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x324], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x324], 0
jne 0x41269c
mov ecx, dword [ebp - 0x10]
call fcn.004122c0
xor eax, eax
jmp 0x412737
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x324]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x32c], 4
mov edx, dword [ebp - 8]
add edx, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x328], edx
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x328]
sub eax, 4
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x324]
add edx, 4
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
call fcn.00412e20
test eax, eax
jne 0x412722
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x10]
call fcn.004122c0
xor eax, eax
jmp 0x412737
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x320]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x414b5b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444380]
jne 0x414b65
repz ret
jmp fcn.0041a336
Function at 0x41f140
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x444c40]
je 0x41f15b
inc edi
cmp edi, 0x17
jb 0x41f14c
cmp edi, 0x17
jae 0x41f2db
push ebp
push 3
call fcn.004325e4
cmp eax, 1
pop ecx
je 0x41f2a7
push 3
call fcn.004325e4
test eax, eax
pop ecx
jne 0x41f18f
cmp dword [0x444430], 1
je 0x41f2a7
cmp ebx, 0xfc
je 0x41f2da
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x470740
push ebp
call fcn.004151ab
add esp, 0xc
test eax, eax
je 0x41f1c5
push esi
push esi
push esi
push esi
push esi
call fcn.004159b8
add esp, 0x14
push 0x104
mov esi, 0x470759
push esi
push 0
mov byte [0x47085d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41f209
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004151ab
add esp, 0xc
test eax, eax
je 0x41f209
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004159b8
add esp, 0x14
push esi
call fcn.00414ad0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x41f24e
push esi
call fcn.00414ad0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x470a54
push 0x43d9ec
sub ecx, eax
push ecx
push eax
call fcn.00427666
add esp, 0x14
test eax, eax
je 0x41f24e
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004159b8
add esp, 0x14
jmp 0x41f250
xor esi, esi
push 0x43d9e8
push ebx
push ebp
call fcn.0041619b
add esp, 0xc
test eax, eax
je 0x41f270
push esi
push esi
push esi
push esi
push esi
call fcn.004159b8
add esp, 0x14
push dword [edi*8 + 0x444c44]
push ebx
push ebp
call fcn.0041619b
add esp, 0xc
test eax, eax
je 0x41f292
push esi
push esi
push esi
push esi
push esi
call fcn.004159b8
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00432427
add esp, 0xc
jmp 0x41f2da
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41f2da
cmp ebp, 0xffffffff
je 0x41f2da
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x444c44]
push dword [esi]
call fcn.00414ad0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x432427
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00419cc6
xor ebx, ebx
cmp dword [0x470e00], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4324fd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4325dd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43f788
push edi
call esi
cmp eax, ebx
je 0x4325dd
push eax
call fcn.00419c58
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x470e00], eax
call esi
push eax
call fcn.00419c58
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x470e04], eax
call esi
push eax
call fcn.00419c58
mov dword [0x470e08], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041d5cc
test eax, eax
pop ecx
pop ecx
je 0x4324cb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004159b8
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4324fd
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00419c58
cmp eax, ebx
pop ecx
mov dword [0x470e10], eax
je 0x4324fd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00419c58
pop ecx
mov dword [0x470e0c], eax
mov eax, dword [0x470e0c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x432582
cmp dword [0x470e10], ecx
je 0x432582
push eax
call fcn.00419ccf
push dword [0x470e10]
mov esi, eax
call fcn.00419ccf
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x432582
cmp edi, ebx
je 0x432582
call esi
cmp eax, ebx
je 0x43254f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43254f
test byte [ebp - 0x18], 1
jne 0x432582
lea eax, [ebp - 0x10]
push eax
call fcn.0041d67b
test eax, eax
pop ecx
je 0x43256a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004159b8
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x432579
or dword [ebp + 0x10], 0x200000
jmp 0x4325bd
or dword [ebp + 0x10], 0x40000
jmp 0x4325bd
mov eax, dword [0x470e04]
cmp eax, dword [ebp - 8]
je 0x4325bd
push eax
call fcn.00419ccf
cmp eax, ebx
pop ecx
je 0x4325bd
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4325bd
mov eax, dword [0x470e08]
cmp eax, dword [ebp - 8]
je 0x4325bd
push eax
call fcn.00419ccf
cmp eax, ebx
pop ecx
je 0x4325bd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x470e00]
call fcn.00419ccf
cmp eax, ebx
pop ecx
je 0x4325dd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4325df
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401063
Capabilities:
Get memory capacity
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4476f0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.004225e0
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp eax, 1
jne 0x4010a8
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
jmp 0x4010ac
xor ecx, ecx
xor eax, eax
test eax, eax
ja 0x4010c2
jb 0x4010ba
cmp ecx, 0x309
jae 0x4010c2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042265a
leave
ret
Function at 0x401461
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6198
call fcn.004240c0
mov eax, dword [0x4476f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1370
xor ebx, ebx
lea eax, [ebp - 0x1374]
push ebx
push eax
call fcn.004225e0
lea eax, [ebp - 0x1374]
push str.Jamaica_competed_at_the_1994_Winter_Olympics_in_Lillehammer__Norway._Six_years_after_their_famous_first_appearance_at_the_Winter_Olympics
push eax
call fcn.00423fd0
lea eax, [ebp - 0x1374]
push eax
call fcn.00423f30
lea eax, [ebp - 0x1374]
push eax
call fcn.00423f30
lea eax, [ebp - 0x1374]
push eax
call fcn.00423f30
lea eax, [ebp - 0x1374]
push eax
call fcn.00423f30
lea eax, [ebp - 0x1374]
push eax
call fcn.00423f30
push 0x4e1f
lea eax, [ebp - 0x6193]
push ebx
push eax
mov byte [ebp - 0x6194], bl
call fcn.004225e0
add esp, 0x34
push ebx
push ebx
lea eax, [ebp - 0x6198]
push eax
push ebx
push 1
push edi
mov dword [ebp - 0x6198], ebx
call fcn.0041a03e
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
pop ecx
push eax
push edi
call esi
lea eax, [ebp - 0x1374]
push eax
call fcn.00423f30
lea eax, [ebp - 0x1374]
push eax
call fcn.00423f30
lea eax, [ebp - 0x1374]
push eax
call fcn.00423f30
lea eax, [ebp - 0x1374]
push eax
call fcn.00423f30
lea eax, [ebp - 0x1374]
push eax
call fcn.00423f30
add esp, 0x14
push ebx
push ebx
lea eax, [ebp - 0x6198]
push eax
lea eax, [ebp - 0x6194]
push eax
push 1
push edi
call fcn.0041a03e
pop ecx
push eax
push edi
call esi
pop edi
pop esi
test eax, eax
pop ebx
lea eax, [ebp - 0x6194]
jne 0x40158b
mov eax, 0x438284
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042265a
leave
ret

Function at 0x403bd2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x403bf0
xor eax, eax
inc eax
jmp 0x403c7b
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x403c78
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x403c78
push dword [ebp + 0xc]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x403be8
cmp dword [edi], 0x4550
jne 0x403c78
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x403c78
movzx eax, word [esi + 0x46]
test ax, ax
je 0x403c78
mov edi, eax
imul edi, edi, 0x28
push edi
mov dword [esi + 0x140], edi
call fcn.004240eb
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x403c54
push 3
jmp 0x403c7a
movzx ecx, word [esi + 0x54]
push dword [ebp + 0xc]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
push edi
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x403c7b
push 2
pop eax
pop edi
pop ebp
ret
Function at 0x405706
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x405714
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x4057cf
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d0c0]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d0c0]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d0c0]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d0c0]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d0c0]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d0c0]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d0c0]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d0c0]
add edx, 8
sub edi, 8
dec esi
jne 0x405732
pop ebx
test edi, edi
je 0x4057e8
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x43d0c0]
inc edx
dec edi
jne 0x4057d3
pop edi
not eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x43d0c0]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x43d0c0]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x4192a1
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x60
mov eax, 0x4372f3
call fcn.00424dce
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 0x43fa84
xor edi, edi
inc edi
push edi
push ebx
push 0x43fb54
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
push str.ROOTCIMV2
mov dword [ebp - 0x44], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x419413
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x44]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x4c]
push edx
push ebx
push 0x20
push str.Select__From_Win32_OperatingSystem
push 0x43ea4c
mov dword [ebp - 0x4c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, ebx
jl 0x419413
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 0x419409
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
lea edx, [ebp - 0x48]
push edx
push edi
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x54], ebx
je 0x419409
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x64]
push edx
push ebx
push str.InstallDate
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x10]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [0x45a0f4]
call dword [0x45a0bc]
push 0x104
push ebx
push eax
call dword [0x45a03c]
mov esi, eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x1e]
push eax
push str._d__d__d__d:_d:_d
push esi
call dword [0x459e98]
add esp, 0x20
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ebx
push edi
lea ecx, [ebp - 0x40]
call fcn.004043c5
mov eax, esi
jmp 0x419418
push ebx
push edi
lea ecx, [ebp - 0x40]
call fcn.004043c5
mov eax, str.Unknown
call fcn.00424e2a
ret
Function at 0x41966e
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x84
mov eax, 0x437360
call fcn.00424dce
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 0x43fa84
xor edi, edi
inc edi
push edi
push ebx
push 0x43fb54
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
push str.rootSecurityCenter2
mov dword [ebp - 0x70], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x4197de
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x70]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x78]
push edx
push ebx
push 0x20
push str.Select__From_AntiVirusProduct
push 0x43ea4c
mov dword [ebp - 0x78], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, ebx
jl 0x4197de
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 0x4197d4
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x80]
push edx
push edi
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x74], ebx
je 0x4197d4
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x90]
push edx
push ebx
push str.displayName
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x10]
push dword [ebp - 0x88]
lea ecx, [ebp - 0x4c]
call fcn.004194d1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x69]
mov byte [ebp - 4], 3
call fcn.0041cb79
cmp dword [eax + 0x14], 0x10
jb 0x4197a3
mov esi, dword [eax]
jmp 0x4197a5
mov esi, eax
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.004043c5
push ebx
push edi
lea ecx, [ebp - 0x4c]
call fcn.00409205
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.004043c5
mov eax, esi
jmp 0x4197e3
push ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.004043c5
mov eax, str.Unknown
call fcn.00424e2a
ret
Function at 0x419d7b
Capabilities:
Reference http user-agent string

Disassembly:
push 0x28
mov eax, 0x4374e7
call fcn.00424d98
mov esi, dword [ebp + 8]
xor edi, edi
push 0x43bc8c
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
call fcn.00404923
mov dword [ebp - 4], edi
xor ebx, ebx
mov edi, str.Mozilla_5.0__Windows_NT_10.0_
inc ebx
push edi
mov dword [ebp - 0x30], ebx
call fcn.00423f30
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004048ae
call fcn.00418fb9
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0040b635
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00404952
push 0
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004043c5
push 0x43eb88
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0040b635
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00404952
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004043c5
mov eax, esi
call fcn.00424e1b
ret 4

Function at 0x41a3f6
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4476f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41a45e
jmp 0x41a44d
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00432c8f
pop ecx
pop ecx
test eax, eax
jne 0x41a44d
mov bl, 1
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41a438
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0042265a
leave
ret