joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422cf0
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 [0x456020]
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.004482a0
fild dword [esi]
mov dword [esi - 4], eax
fmul st(1)
call fcn.004482a0
mov dword [esi], eax
add esi, 8
cmp esi, 0x461754
jl 0x422dfc
fstp st(0)
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423930
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 0x42399d
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 0x423995
cmp dword [ebp - 0x10], edi
je 0x4239a6
mov edi, dword [0x4615f4]
jmp 0x4239be
mov eax, dword [0x4615f4]
mov esp, ebp
pop ebp
ret
cmp dword [0x4615f4], 0
je 0x4239bc
cmp dword [ebp - 8], 0
jne 0x4239bc
mov edi, 1
jmp 0x4239be
xor edi, edi
test esi, esi
je 0x4239c9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x423f40
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b528
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 0x423fe8
cmp dword [0x4615f4], 0
je 0x423fe8
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.004084d0
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 0x423fe8
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 0x424028
add eax, 0x24
inc ecx
cmp eax, 0x48
jb 0x423ff0
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 0x424870
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44ab45
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 0x424928
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.00424f30
jmp 0x424937
push edx
mov edx, dword [esp + 0xc]
push eax
push edi
push esi
mov ecx, ebx
call fcn.00424a20
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.0042f25f
mov esp, ebp
pop ebp
ret

Function at 0x424970
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449375
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 0x4249ef
call fcn.004260a0
jmp 0x4249f4
call fcn.00425f30
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.0042f25f
mov esp, ebp
pop ebp
ret
Function at 0x426fc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449a78
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 0x4270e5
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 0x427045
mov eax, ebx
lea esi, [esp + 0x1c]
call fcn.0041cd00
test al, al
je 0x42703f
call fcn.00421370
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 0x42705a
test esi, esi
jmp 0x4270d8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x451a28
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 0x4270d6
cmp dword [esp + 0x10], 0x34
jne 0x4270d6
mov eax, dword [esp + 0x14]
cmp dword [eax], 0xfeef04bd
jne 0x4270d6
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 0x4270bd
push esi
call fcn.0042faf3
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 0x4270e3
push esi
call fcn.0042faf3
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 0x427240
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44aa6c
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 0x427350
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 0x427396
push 0xffffffffffffffff
push eax
call ebx
mov eax, dword [esi + 8]
test eax, eax
je 0x427396
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 0x4273c7
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 0x4273e6
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 0x427405
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041b240
mov eax, dword [edi + 0x1c]
xor esi, esi
cmp eax, esi
je 0x42741d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x1c], esi
mov eax, dword [edi + 0x18]
cmp eax, esi
je 0x42742e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x18], esi
pop edi
pop esi
pop ebx
ret

Function at 0x427440
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.004317a0
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 0x4274df
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4274a1
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.0042f25f
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.0042d6f0
push eax
call fcn.0042d910
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0042f25f
mov esp, ebp
pop ebp
ret
Function at 0x427520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44aa18
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 0x42757a
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 0x4275d3
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

Function at 0x4275f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44aa18
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 0x42764a
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 0x1a
push str.Ebon_Maintenance_Service_
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 0x4276a3
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
Function at 0x4276c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x38
xor ebx, ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
mov dword [ebp - 0x60], 0x3c
call fcn.004317a0
add esp, 0xc
push esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x5c], 0x40
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, dword [0x45e020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45e020
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push str._q__norestart
push ecx
mov dword [ebp - 4], ebx
call fcn.004032e0
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
add esp, 8
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x4c], edi
mov dword [edx + 0x50], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x427790
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 0x42777b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 4
mov ecx, dword [ebp - 0x28]
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x18]
push edx
push 1
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x427758
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
push ecx
push edx
mov dword [ebp - 0x10], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x427814
mov eax, dword [ebp - 0x10]
cmp eax, 0xbc2
jne 0x4277d9
call fcn.00423ef0
mov eax, dword [ebp - 0x10]
jmp 0x4277dd
test eax, eax
jne 0x4277e2
mov ebx, 1
mov ecx, dword [0x4615f8]
push ecx
push eax
push esi
push str.Prerequisite_install_path__retCode__RebootRequired_:__s___u___i
push 1
push 3
push 0xac
push str.CInstActionBase::PackageInstall
push str.InstActionBase.cpp
lea ecx, [ebp - 0x24]
call fcn.0042d6f0
push eax
call fcn.0042d910
add esp, 0x1c
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 0x427841
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427980
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x24], 1
test eax, eax
je 0x4279bc
push 0xffffffffffffffff
push eax
call edi
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4279bc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x28], 0
mov ecx, dword [esi + 0x1c]
push 0xffffffffffffffff
push ecx
call edi
mov edx, dword [esi + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
ret
Function at 0x4279e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x45e274]
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
mov eax, dword [edi + 0x4c]
test eax, eax
jne 0x427ba0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xc], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
mov eax, dword [0x45e020]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e020
call edx
add eax, 0x10
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00403300
mov eax, dword [edi + 0x48]
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.0041c780
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
add esp, 8
mov ecx, edi
call eax
test eax, eax
je 0x427a9b
mov edi, dword [edi + 0x4c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427a94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x427ba0
mov ebx, dword [ebp - 0x38]
mov eax, dword [edi + 0x48]
push 0
push ebx
lea esi, [edi + 0x20]
call fcn.0041b360
mov esi, eax
test esi, esi
je 0x427ae6
cmp esi, 1
je 0x427ad7
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
call fcn.00420430
cmp dword [edi + 4], 0
je 0x427ad2
mov esi, 0x2710
jmp 0x427ad4
neg esi
mov dword [edi + 0x4c], esi
mov edi, dword [edi + 0x4c]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
jmp 0x427a7b
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
test eax, eax
je 0x427b0c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [edi + 0x4c]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
jmp 0x427a7b
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov eax, dword [edi + 0x60]
lea ecx, [ebp - 0x34]
push ecx
push 0
push eax
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x427b36
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov esi, dword [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0xc]
lea ecx, [ebp - 0x48]
push eax
push esi
push str.Presequisite__s_DOWNLOADED__time_spent:__u__size:__u
push 1
push 3
push 0x129
push str.CInstActionBase::Download
push str.InstActionBase.cpp
call fcn.0042d6f0
push eax
call fcn.0042d910
lea eax, [ebx - 0x10]
add esp, 0x1c
mov dword [edi + 0x4c], 0x2710
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427b9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x2710
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.0042f25f
mov esp, ebp
pop ebp
ret
Function at 0x427d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi + 0x4c], 0x2710
jne 0x427d9a
cmp dword [esi + 0x1c], 0
jne 0x427d9a
push 0
push 0
push esi
push 0x427be0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 4
xor eax, eax
pop ebp
ret 4