joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ef20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
mov dword [esi + 0x78], eax
mov dword [esi + 0xac], 0
jne 0x41ef45
push esi
call fcn.0041f020
mov esp, ebp
pop ebp
ret 4
cmp dword [0x461620], 0
je 0x41ef69
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x41ef69
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa8], 0
push 0
push 0
push esi
push 0x41efd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xa8], eax
test eax, eax
jne 0x41efbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_creating_working_thread__error:__u.
push 3
push 3
push 0x170
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
lea ecx, [ebp - 0xc]
call fcn.0042d570
push eax
call fcn.0042d790
add esp, 0x14
xor eax, eax
mov esp, ebp
pop ebp
ret 4
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x41eff0
Capabilities:
Create thread

Disassembly:
push edi
lea edi, [eax + 0x7c]
call fcn.00421fd0
cmp dword [edi + 4], 0
jne 0x41f016
push 0
push 0
push edi
push 0x421db0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
pop edi
ret
Function at 0x41f930
Capabilities:
Get common file path
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b3a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00422f10
mov ecx, dword [ebp + 0xc]
call fcn.00423940
lea eax, [ebp - 0x10]
push eax
xor esi, esi
push esi
push esi
push 0x44d920
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
cmp eax, esi
jl 0x41f9db
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402c30
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0xe
push str.EbonEbon.exe
lea ebx, [ebp - 0x14]
call fcn.00402e80
mov eax, dword [ebp - 0x14]
push eax
mov edi, 0x4616ec
call fcn.00426f10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f9db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [0x4616e4], 0
jne 0x41fa36
cmp dword [0x461610], 0
jne 0x41fa36
lea edi, [ebp - 0x18]
call fcn.0040e830
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], 0
je 0x41fa13
mov esi, 0x4616e4
call fcn.00426e80
mov edi, dword [ebp - 0x18]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fa36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x461604], 0
jne 0x41fa66
cmp word [0x4616ec], 0
je 0x41fa53
mov dword [0x4615f0], 1
cmp dword [0x46160c], 0
je 0x41fa66
mov dword [0x4615f0], 0
push 0x11
push str.STRING_NOT_FOUND_
mov ecx, 0x461708
call fcn.00403370
mov eax, dword [0x461624]
lea eax, [eax + eax*8]
lea eax, [eax*4 + 0x45fd28]
mov ax, word [eax]
mov ecx, 0x70
mov ebx, 0x461708
call fcn.0040d770
test eax, eax
jne 0x41faab
mov eax, dword [0x45fd28]
mov ecx, 0x70
call fcn.0040d770
push 0x37
push str.Mozilla_5.0__Windows_NT_6.3__WOW64__EBInstaller_1.3.2.0
mov ecx, 0x461704
call fcn.00403370
cmp dword [0x4615f4], 0
mov ecx, dword [ebp + 8]
mov dword [0x461618], ecx
jne 0x41fb08
cmp word [0x4616e4], 0
je 0x41fb08
mov edx, dword [0x4616d8]
mov eax, dword [edx]
cmp eax, edx
je 0x41fb08
mov esi, dword [0x45fd14]
mov ecx, dword [0x45fd0c]
cmp esi, 1
jbe 0x41fb02
test ecx, ecx
je 0x41fb3b
mov edi, dword [ecx + 8]
mov dword [0x46161c], edi
mov eax, dword [eax]
cmp eax, edx
jne 0x41faf0
cmp dword [0x461604], 0
je 0x41fb24
cmp byte [0x4616b0], 0
je 0x41fb24
call fcn.00423f90
call fcn.004240c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403700
int3
Function at 0x420c70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
test eax, eax
je 0x420c90
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x420ca6
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 4], 0
mov ecx, dword [ebp + 8]
push edi
push 0x4522d8
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x420cc7
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x420d80
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x420d80
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi], eax
test eax, eax
je 0x420d76
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x420d76
push ebx
push edi
push eax
call fcn.00432940
mov eax, dword [esi]
add esp, 0xc
lea edx, [ebp + 8]
push edx
xor edi, edi
push edi
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x420d76
mov ecx, dword [ebp + 8]
push ecx
call fcn.00420c30
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi + 4]
cmp eax, edi
je 0x420d76
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
cmp ecx, edi
jne 0x420d73
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
mov dword [esi + 4], edi
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x421200
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44aae0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str._INI_
lea ecx, [ebp - 0x10]
call fcn.00402c30
lea esi, [edi + 0x60]
lea eax, [ebp - 0x14]
push esi
push eax
mov ebx, str..ini_
mov dword [ebp - 4], 0
call fcn.004076d0
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ebx, [ebp - 0x10]
call fcn.00402e80
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421289
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
call fcn.00421170
test eax, eax
jne 0x4212a3
push 3
push 0x454084
lea ecx, [ebp - 0x10]
call fcn.00403370
push 0x38
lea ecx, [ebp - 0x4c]
push 0
push ecx
mov dword [ebp - 0x50], 0x3c
call fcn.00431630
mov edx, dword [esi]
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x3c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [ebp - 0x18]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push esi
push eax
mov ebx, 0x454620
call fcn.004076d0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42131c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42134c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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 0x4218d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b568
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x60]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x42196f
mov edx, dword [0x45e020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45e020
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00427470
test eax, eax
je 0x421949
push 0x24
push str.uninstallEbonBrowserUninstaller.exe
lea ebx, [ebp - 0x10]
call fcn.00402e80
mov ecx, dword [ebp - 0x10]
mov esi, dword [esi + 0x60]
push 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42196f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422f10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor ecx, ecx
cmp word [esp + 0xc], 9
push 0
sete cl
mov dword [0x461600], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 8], eax
fild dword [esp + 8]
push esi
push 0
fdiv qword [0x456018]
fstp dword [0x45fd00]
call dword [sym.imp.USER32.dll_ReleaseDC]
fld dword [0x45fd00]
mov eax, 0x11b
mov dword [0x461710], eax
mov eax, 0x91
mov dword [0x461718], eax
mov eax, 0x5a
mov dword [0x461720], eax
mov eax, 0x67
mov dword [0x461728], eax
mov eax, 0x83
mov dword [0x461730], eax
mov eax, 0x67
mov ecx, 0x35
mov dword [0x461714], ecx
mov ecx, 0x1a
mov dword [0x461738], eax
mov dword [0x461740], eax
mov eax, 0x6d
mov dword [0x46171c], ecx
mov dword [0x461724], ecx
mov dword [0x46172c], ecx
mov dword [0x461734], ecx
mov dword [0x46173c], ecx
mov dword [0x461744], ecx
mov dword [0x461748], eax
mov dword [0x46174c], ecx
mov esi, 0x461714
fild dword [esi - 4]
fmul st(1)
call fcn.00448120
fild dword [esi]
mov dword [esi - 4], eax
fmul st(1)
call fcn.00448120
mov dword [esi], eax
add esi, 8
cmp esi, 0x461754
jl 0x42301c
fstp st(0)
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x423890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push str.SoftwareEbonmediaInstaller
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4238fd
mov eax, dword [ebp - 4]
push esi
push edi
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.ShowUpdateDlg
mov edi, 4
push eax
mov esi, eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4238f5
cmp dword [ebp - 0x10], edi
je 0x423906
mov edi, dword [0x4615f4]
jmp 0x42391e
mov eax, dword [0x4615f4]
mov esp, ebp
pop ebp
ret
cmp dword [0x4615f4], 0
je 0x42391c
cmp dword [ebp - 8], 0
jne 0x42391c
mov edi, 1
jmp 0x42391e
xor edi, edi
test esi, esi
je 0x423929
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423e90
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b568
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
and esi, 0x3ff
cmp dword [0x4615ec], 0
jne 0x423f38
cmp dword [0x4615f4], 0
je 0x423f38
mov eax, dword [0x45e020]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e020
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
movzx eax, si
push eax
lea ecx, [ebp - 0x10]
push str.EbonBrowserDetectSystemLanguage__d
push ecx
mov dword [ebp - 4], 0
call fcn.004032e0
mov edi, dword [ebp - 0x10]
push edi
call fcn.004084b0
lea eax, [edi - 0x10]
add esp, 0x10
mov esi, 0xa
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423f38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
xor eax, eax
lea esp, [esp]
mov dx, word [eax + 0x45fd28]
mov edi, 0x3ff
and dx, di
cmp si, dx
je 0x423f78
add eax, 0x24
inc ecx
cmp eax, 0x48
jb 0x423f40
mov dword [0x461624], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x461624], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4247c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44aa05
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x45e274]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
mov eax, dword [0x45e274]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 2
push 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 4
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [esp + 0x14]
mov dword [esp + 0x140], 0
push eax
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x18], 6
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0xc]
jb 0x424878
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x20]
push ebx
push esi
mov edx, edi
call fcn.00424e80
jmp 0x424887
push edx
mov edx, dword [esp + 0xc]
push eax
push edi
push esi
mov ecx, ebx
call fcn.00424970
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0042f0df
mov esp, ebp
pop ebp
ret
Function at 0x4248c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4491f5
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x45e274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
push 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 4
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x124]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 6
push esi
jb 0x42493f
call fcn.00425ff0
jmp 0x424944
call fcn.00425e80
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f0df
mov esp, ebp
pop ebp
ret
Function at 0x426f10
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449928
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x45e274]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
lea eax, [esp + 0x18]
push eax
xor esi, esi
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
xor eax, eax
cmp ebx, esi
je 0x427035
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
cmp ebx, eax
jbe 0x426f95
mov eax, ebx
lea esi, [esp + 0x1c]
call fcn.0041cd00
test al, al
je 0x426f8f
call fcn.004213a0
mov esi, dword [esp + 0x1c]
xor eax, eax
mov edx, dword [ebp + 8]
push esi
push ebx
push eax
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x426faa
test esi, esi
jmp 0x427028
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x451a20
xor ebx, ebx
push esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x427026
cmp dword [esp + 0x10], 0x34
jne 0x427026
mov eax, dword [esp + 0x14]
cmp dword [eax], 0xfeef04bd
jne 0x427026
movzx edx, word [eax + 0x12]
mov word [edi], dx
mov cx, word [eax + 0x10]
mov word [edi + 2], cx
movzx edx, word [eax + 0x16]
mov word [edi + 4], dx
mov ax, word [eax + 0x14]
mov word [edi + 6], ax
cmp esi, ebx
je 0x42700d
push esi
call fcn.0042f9cf
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, ebx
je 0x427033
push esi
call fcn.0042f9cf
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427190
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a92c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [esi], vtable.CInstActionBase.0
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x1c], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], esi
mov edx, dword [0x45e020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45e020
call eax
add eax, 0x10
mov dword [esi + 0x34], eax
mov edx, dword [0x45e020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45e020
call eax
add eax, 0x10
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov byte [ebp - 4], 2
mov edx, dword [0x45e020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45e020
call eax
add eax, 0x10
mov dword [esi + 0x44], eax
push 0x451464
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 3
call fcn.00402c30
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov eax, dword [0x45e020]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e020
call edx
push edi
push edi
push 1
add eax, 0x10
push edi
mov dword [esi + 0x60], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x18], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4272a0
Capabilities:
Delete file

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x18]
push eax
mov dword [edi], vtable.CInstActionBase.0
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea esi, [edi + 0x20]
mov dword [esi + 4], 1
test eax, eax
je 0x4272e6
push 0xffffffffffffffff
push eax
call ebx
mov eax, dword [esi + 8]
test eax, eax
je 0x4272e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov ecx, dword [edi + 0x1c]
push 0xffffffffffffffff
push ecx
call ebx
mov edx, dword [edi + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x60]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427317
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x48]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427336
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x44]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427355
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041b230
mov eax, dword [edi + 0x1c]
xor esi, esi
cmp eax, esi
je 0x42736d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x1c], esi
mov eax, dword [edi + 0x18]
cmp eax, esi
je 0x42737e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x18], esi
pop edi
pop esi
pop ebx
ret

Function at 0x427390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x45e274]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
mov ebx, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00431630
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42742f
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4273f1
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
call fcn.00403370
push 0xb
push str.Ebonmedia_
call fcn.00402e80
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f0df
mov esp, ebp
pop ebp
ret
push eax
push str.SHGetFolderPath_FAILED__hr___i
push 3
push 3
push 0x4e
push str.CInstActionBase::GetEbonmediaDataFolder
push str.InstActionBase.cpp
lea ecx, [ebp - 0x21c]
call fcn.0042d570
push eax
call fcn.0042d790
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0042f0df
mov esp, ebp
pop ebp
ret
Function at 0x427470
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a8d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x44d920
mov dword [ebp - 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x4274ca
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402c30
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x14]
call fcn.00402e10
push 6
push str.Ebon_
mov ebx, edi
call fcn.00402e80
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret