joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f9e0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066e38
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1008bb60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
je 0x1000fa1b
mov eax, 1
jmp 0x1000fbca
lea ecx, [ebp - 0x14]
call fcn.100016b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1000fbe0
add esp, 4
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x14]
call fcn.100016f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.100016d0
lea ecx, [ebp - 0x14]
call fcn.100015e0
movzx ecx, al
test ecx, ecx
je 0x1000fad1
push 0x104
push 0x10e
lea ecx, [ebp - 0x14]
call fcn.10001730
push eax
push sym.PatchCore.dll_Ordinal_11
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.10006080
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.10002970
add eax, 1
push eax
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x14]
call fcn.100029c0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x14]
call fcn.100016f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100016d0
lea ecx, [ebp - 0x14]
call fcn.10025f80
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.10002af0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.10025f80
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x30]
mov dword [edx + 4], eax
lea ecx, [ebp - 0x24]
call fcn.100016d0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x1000fb38
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x30]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x1000fb38
jmp 0x1000fba9
push str.KVipGetClassObject
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000fb55
jmp 0x1000fba9
mov eax, dword [ebp - 0x30]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x30]
add ecx, 8
push ecx
push 0x1006cdac
call dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1000fb80
mov edx, dword [ebp - 0x30]
cmp dword [edx + 8], 0
jne 0x1000fb82
jmp 0x1000fba9
mov ecx, dword [ebp - 0x30]
call fcn.1000fc60
test eax, eax
je 0x1000fba9
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100016d0
mov eax, dword [ebp - 0x28]
jmp 0x1000fbca
mov ecx, dword [ebp - 0x30]
call fcn.1000fd10
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100016d0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10010dd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x1c], 3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov word [ebp - 0x10], 0x450
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esp, ebp
pop ebp
ret

Function at 0x10010e10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 0x68], 0x44
push 0x40
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 0x74], 0
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0xc
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x68]
push ecx
push 0
push 0
push 0
push 1
push 0
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret
Function at 0x10012e70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x78], 0
push 0x63
push 0
lea eax, [ebp - 0x77]
push eax
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 4], 0x64
lea ecx, [ebp - 8]
push ecx
push 0x101
push 0
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10012ef3
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0x1007286c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10012ee9
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10041df0
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret

Function at 0x10013450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x78], 0
push 0x63
push 0
lea eax, [ebp - 0x77]
push eax
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 4], 0x64
lea ecx, [ebp - 8]
push ecx
push 1
push 0
push str.SOFTWAREMicrosoftOffice11.0Registration90110804_6000_11D3_8CFE_0150048383C9
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10013516
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push str.ProductID
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100134c6
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10041df0
add esp, 8
push 0x64
push 0
lea ecx, [ebp - 0x78]
push ecx
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 4], 0x64
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0x100729e8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001350c
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10041df0
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x10014c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b0
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.10041d70
add esp, 0xc
mov byte [ebp - 0x4b0], 0
push 0xff
push 0
lea ecx, [ebp - 0x4af]
push ecx
call fcn.10041d70
add esp, 0xc
mov byte [ebp - 0x208], 0
push 0xff
push 0
lea edx, [ebp - 0x207]
push edx
call fcn.10041d70
add esp, 0xc
mov byte [ebp - 0x310], 0
push 0xff
push 0
lea eax, [ebp - 0x30f]
push eax
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
mov dword [ebp - 0x3b0], 0x94
lea ecx, [ebp - 0x3b0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x314]
push edx
push 0x101
push 0
push str.Control_PanelDesktop
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10014e3f
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0
push str.Wallpaper
mov edx, dword [ebp - 0x314]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10014d63
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10041df0
add esp, 8
mov dword [ebp - 0x20c], 0x100
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x4b0]
push eax
push 0
push 0
push str.WallpaperStyle
mov ecx, dword [ebp - 0x314]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10014da8
lea edx, [ebp - 0x4b0]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10041df0
add esp, 8
mov dword [ebp - 0x20c], 0x100
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x208]
push edx
push 0
push 0
push str.ScreenSaveActive
mov eax, dword [ebp - 0x314]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10014ded
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.10041df0
add esp, 8
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x310]
push ecx
push 0
push 0
push str.SCRNSAVE.EXE
mov edx, dword [ebp - 0x314]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10014e32
lea eax, [ebp - 0x310]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.10041df0
add esp, 8
mov edx, dword [ebp - 0x314]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x10014e50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x240], 0
push 0x1ff
push 0
lea eax, [ebp - 0x23f]
push eax
call fcn.10041d70
add esp, 0xc
mov byte [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x37], ecx
mov dword [ebp - 0x33], ecx
mov dword [ebp - 0x2f], ecx
mov word [ebp - 0x2b], cx
mov byte [ebp - 0x29], cl
mov byte [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov word [ebp - 0x13], dx
mov byte [ebp - 0x11], dl
mov dword [ebp - 8], 0x10
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x24]
call fcn.100016b0
lea ecx, [ebp - 0x28]
call fcn.100016b0
lea ecx, [ebp - 0xc]
call fcn.100016b0
push 0x200
lea eax, [ebp - 0x240]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x240]
push ecx
push 0x10072f0c
lea edx, [ebp - 0x24]
push edx
call fcn.100030c0
add esp, 0xc
push 0x5c
lea ecx, [ebp - 0x24]
call fcn.10002970
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x24]
call fcn.100029c0
push eax
lea ecx, [ebp - 0x24]
call fcn.100016f0
lea ecx, [ebp - 0x244]
call fcn.100016d0
push 0x10072f10
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x248]
push edx
call fcn.10002af0
add esp, 0xc
push eax
lea ecx, [ebp - 0x24]
call fcn.100016f0
lea ecx, [ebp - 0x248]
call fcn.100016d0
push 0
lea ecx, [ebp - 0x24]
call fcn.10001730
push eax
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0x1006ce8b
push str.file
push 0x10072f24
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
lea ecx, [ebp - 0x24]
call fcn.10001730
push eax
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x20]
push eax
push 0x1006cea3
push str.file4
push 0x10072f34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x38]
push ecx
push 0x10072f3c
lea edx, [ebp - 0x28]
push edx
call fcn.100030c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 0x10072f40
lea ecx, [ebp - 0xc]
push ecx
call fcn.100030c0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.10025900
lea ecx, [ebp - 0xc]
call fcn.10025900
call fcn.1002f500
test eax, eax
je 0x10014ff9
mov dword [ebp - 0x3c], 1
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x24c], edx
lea ecx, [ebp - 0xc]
call fcn.100016d0
lea ecx, [ebp - 0x28]
call fcn.100016d0
lea ecx, [ebp - 0x24]
call fcn.100016d0
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x10016510
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 8], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.100016b0
push 0x100731b0
lea ecx, [ebp - 0x110]
push ecx
call fcn.10041df0
add esp, 8
lea edx, [ebp - 0xc]
push edx
push 0x20119
push 0
lea eax, [ebp - 0x110]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1001659e
lea ecx, [ebp - 0x114]
call fcn.100016d0
jmp 0x10016699
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x100731f4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100165cd
lea ecx, [ebp - 0x114]
call fcn.100016d0
jmp 0x10016699
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 4]
push edx
push 0x10073204
lea eax, [ebp - 0x114]
push eax
call fcn.100030c0
add esp, 0xc
cmp dword [ebp - 4], 0x32
jle 0x1001668e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.100462f8
add esp, 4
call fcn.10046305
cdq
mov ecx, 0x32
idiv ecx
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x118], 0
jge 0x10016633
mov edx, dword [ebp - 0x118]
imul edx, edx, 0xffffffff
mov dword [ebp - 0x118], edx
lea eax, [ebp - 0xc]
push eax
push 0x20106
push 0
lea ecx, [ebp - 0x110]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10016661
lea ecx, [ebp - 0x114]
call fcn.100016d0
jmp 0x10016699
push 4
lea edx, [ebp - 0x118]
push edx
push 4
push 0
push 0x10073208
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1001668e
lea ecx, [ebp - 0x114]
call fcn.100016d0
jmp 0x10016699
lea ecx, [ebp - 0x114]
call fcn.100016d0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x100166b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0x100
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.10041d70
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
push 0x101
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateServices
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001674d
mov dword [ebp - 4], 0x100
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push str.DefaultService
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001673a
mov edx, dword [ebp + 8]
mov dword [edx], 1
jmp 0x10016743
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret

Function at 0x10016760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0xffffdd48
mov dword [ebp - 4], 4
lea eax, [ebp - 8]
push eax
push 0x101
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateReporting
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100167cb
mov dword [ebp - 4], 0x100
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push str.SamplingValue2
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100167c1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x10016da0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 1], 0
push 0x9c
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 0xa8], 0x9c
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa4], 5
jne 0x10016e03
cmp dword [ebp - 0xa0], 1
jne 0x10016e03
movzx edx, word [ebp - 0x14]
cmp edx, 2
jne 0x10016e03
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x10018c50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100675e5
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x214], 0
push 0x1ff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.10041d70
add esp, 0xc
mov byte [ebp - 0x41c], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x41b]
push ecx
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 0x21c], 0x200
lea ecx, [ebp - 0x218]
call fcn.100016b0
mov dword [ebp - 4], 0
push 0x200
lea edx, [ebp - 0x214]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x214]
push eax
push 0x10073bc4
lea ecx, [ebp - 0x218]
push ecx
call fcn.100030c0
add esp, 0xc
push 0x5c
lea ecx, [ebp - 0x218]
call fcn.10002970
push eax
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x218]
call fcn.100029c0
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x42c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.100016f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x420]
call fcn.100016d0
push str.wdcver.dll
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x424]
push eax
call fcn.10002af0
add esp, 0xc
mov dword [ebp - 0x430], eax
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x434], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x434]
push edx
lea ecx, [ebp - 0x218]
call fcn.100016f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x424]
call fcn.100016d0
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
push 0
push 0
lea ecx, [ebp - 0x218]
call fcn.10001730
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10018e40
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x10073bd4
lea ecx, [ebp - 0x41c]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.100016d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret
Function at 0x10019150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 4
mov dword [ebp - 4], 0xffffff9c
lea eax, [ebp - 0xc]
push eax
push 0x101
push 0
push str.SOFTWAREwisedrivercare_flag
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100191a8
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push str.installtype
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100197a0
Capabilities:
Get mac address on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0xc], 0
xor eax, eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov dword [ebp - 0x14], 0x288
mov dword [ebp - 0x28], 0
jmp 0x100197fc
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 2
jge 0x10019864
mov edx, dword [ebp - 0x14]
push edx
call fcn.1003609f
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10019862
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.10041d70
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6f
jne 0x10019860
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.1003609a
add esp, 4
mov dword [ebp - 0x10], 0
jmp 0x10019862
jmp 0x10019864
jmp 0x100197f3
cmp dword [ebp - 0x20], 0
jne 0x10019901
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
je 0x10019901
push 6
push str.vmware
mov edx, dword [ebp - 0x24]
add edx, 0x10c
push edx
call fcn.1005a0d7
add esp, 0xc
test eax, eax
je 0x100198f4
push 8
mov eax, dword [ebp - 0x24]
add eax, 0x194
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.10043d60
add esp, 0xc
movzx edx, byte [ebp - 5]
push edx
movzx eax, byte [ebp - 6]
push eax
movzx ecx, byte [ebp - 7]
push ecx
movzx edx, byte [ebp - 8]
push edx
movzx eax, byte [ebp - 9]
push eax
movzx ecx, byte [ebp - 0xa]
push ecx
movzx edx, byte [ebp - 0xb]
push edx
movzx eax, byte [ebp - 0xc]
push eax
push str._02x__02x__02x__02x__02x__02x__02x__02x
mov ecx, dword [ebp + 8]
push ecx
call fcn.10041cb1
add esp, 0x28
mov dword [ebp - 0x18], 1
jmp 0x10019901
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x24], eax
jmp 0x10019874
lea ecx, [ebp - 0x1c]
call fcn.100016b0
mov ecx, dword [ebp + 8]
push ecx
push str.mac:_s
lea edx, [ebp - 0x1c]
push edx
call fcn.100030c0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10025f80
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x10], 0
je 0x10019945
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.1003609a
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.100016d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret