joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428810
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f618
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x428854
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42888c
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00403880
mov esi, dword [ebp - 0x10]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push dword [esi - 8]
push esi
call fcn.0045ed24
add esp, 8
test eax, eax
js 0x4289d1
cmp eax, dword [esi - 8]
jg 0x4289d1
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
or ebx, 0xffffffff
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4289db
cmp eax, 0xe6
jg 0x4289db
lea ecx, [eax - 1]
test ecx, ecx
js 0x4289d1
cmp ecx, eax
jg 0x4289d1
cmp word [esi + ecx*2], 0x5c
je 0x4288fe
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004185b0
mov esi, dword [ebp - 0x10]
push str..exe
lea ecx, [ebp - 0x18]
call fcn.00403ac0
push str.installer
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403ac0
mov ebx, dword [ebp + 8]
xor edi, edi
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push esi
push str._s_s_i_s
push ebx
call fcn.004040a0
inc edi
add esp, 0x18
cmp edi, 0x3e8
jge 0x428951
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x428925
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edi, 0x3e8
setne al
or ebx, 0xffffffff
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428980
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42899e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4289bd
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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 0x80070057
call fcn.004039a0
xor edi, edi
jmp 0x4289a1

Function at 0x4297e0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [eax], 1
push 0
push eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
push esi
mov dword [esi + 0x14], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push 0
push 0
push 0
push 0x429780
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, esi
pop esi
ret
Function at 0x42a850
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f798
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0
push 0
push 0
test ecx, ecx
je 0x42a88e
push 0x42a830
jmp 0x42a893
push 0x42a840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0x2710
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42a8e4
push str.InstallThread_timeout
push 3
push 3
push 0x1b8
push str.InstallAsync
push str.Installer.cpp
lea ecx, [ebp - 0x1c]
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test esi, esi
je 0x42a8ef
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42b1f0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 4], eax
cmp ebx, eax
je 0x42b242
push 1
push eax
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0xa
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 4]
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0xa
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ccd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
mov dword [esi + 0x60], eax
mov dword [esi + 0x94], 0
jne 0x42ccfb
call fcn.0042cdf0
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [0x4b04a8], 0
je 0x42cd1f
mov eax, dword [esi + 0x90]
test eax, eax
je 0x42cd1f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x90], 0
push 0
push 0
push esi
push 0x42cd90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x90], eax
test eax, eax
jne 0x42cd76
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_creating_working_thread__error:__u.
push 3
push 3
push 0x1f7
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
lea ecx, [ebp - 0xc]
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x14
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x42cdb0
Capabilities:
Create thread

Disassembly:
cmp dword [0x4b04c4], 0
je 0x42cdc1
add ecx, 0x64
jmp fcn.00433a60
push esi
lea esi, [ecx + 0x64]
mov ecx, esi
call fcn.00433d80
cmp dword [esi + 8], 0
jne 0x42cde9
push 0
push 0
push esi
push 0x4338b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop esi
ret
Function at 0x42f560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
test eax, eax
je 0x42f582
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42f596
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
push 0x490870
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42f5b4
pop edi
xor al, al
pop esi
pop ebp
ret 0xc
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x42f66c
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x42f66c
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi], eax
test eax, eax
je 0x42f665
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x42f665
push ebx
push dword [ebp + 8]
push eax
call fcn.0045be40
add esp, 0xc
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push 0
push dword [esi]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x42f665
mov ecx, dword [ebp + 8]
call fcn.0042f510
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42f665
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
test eax, eax
jne 0x42f65e
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
mov al, 1
pop esi
pop ebp
ret 0xc
mov dword [esi + 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
xor al, al
pop esi
pop ebp
ret 0xc

Function at 0x42fd10
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x28], 1
test eax, eax
je 0x42fd48
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x42fd48
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x2c], 0
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x80]
test eax, eax
je 0x42fd74
mov byte [eax + 2], 1
mov eax, dword [esi + 0x80]
mov byte [eax + 3], 1
pop esi
ret
Function at 0x42fdc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fd98
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x38
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], 0x3c
push 0
push eax
call fcn.0045b910
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x54], 0x40
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str._norestart__pipe
lea ecx, [ebp + 8]
call fcn.00403ac0
mov dword [ebp - 4], 0
mov edx, dword [esi + 0x6c]
test edx, edx
jne 0x42fe34
xor ecx, ecx
jmp 0x42fe4f
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fe40
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 8]
call fcn.00409770
push 3
push 0x497378
lea ecx, [ebp + 8]
call fcn.00409770
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x42fe83
xor esi, esi
jmp 0x42ff06
lea eax, [esi + 0x68]
push eax
push dword [ebp - 0x20]
lea ecx, [esi + 0x74]
call fcn.0042fb60
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0xffffffff
push eax
push dword [ebp - 0x20]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42fefd
mov eax, dword [ebp - 0x10]
cmp eax, 0xbc2
jne 0x42fec5
call fcn.0043ca80
mov eax, dword [ebp - 0x10]
mov esi, 1
jmp 0x42fecf
test eax, eax
mov ecx, 1
cmove esi, ecx
push dword [0x4b0490]
lea ecx, [ebp - 0x1c]
push eax
push edi
push str.Prerequisite_install_path__retCode__RebootRequired_:__s___u___i.
push 1
push 3
push 0x61
push str.CInstActionDotNet4Client::InstallWithChainer
push str.c:_buildagentwork_b0d71a1a28f6c898installerActionsInstActionDotNet4Client.h
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x1c
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42ff28
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x430280
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x28], 1
test eax, eax
je 0x4302bb
push 0xffffffffffffffff
push eax
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4302bb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x2c], 0
push 0xffffffffffffffff
push dword [esi + 0x20]
call edi
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x6c], 1
test eax, eax
je 0x4302f3
push 0xffffffffffffffff
push eax
call edi
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4302f3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x70], 0
pop edi
pop esi
ret

Function at 0x430460
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ce28
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x4b04b0], 0
je 0x4304ad
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x497998
lea ecx, [ebp - 0x10]
call fcn.00403ac0
mov dword [ebp - 4], 0
mov ecx, esi
push dword [ebp - 0x10]
push dword [esi + 0x64]
call fcn.00440bd0
test eax, eax
jne 0x4304ef
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test eax, eax
jne 0x4304e2
call fcn.0042f230
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
jmp 0x430512
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x4b0478], 0
mov ecx, str.4B6C7001_C7D6_3710_913E_5BC23FCE91E6
jne 0x43050b
mov ecx, str.9BE518E6_ECC6_35A9_88E4_87755C07200F
call fcn.00447470
mov esi, eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x430534
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430600
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fe68
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x4b04e4], 0
je 0x43064a
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
cmp dword [0x4b0498], 0
je 0x43067c
cmp dword [0x4b04a0], 0x21
je 0x43067c
push 0
push 0
push 0x21
push 0x409b00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x43067c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x430698
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp dword [0x4b0488], 0
je 0x4306c4
push 0xa
push str._NOSTART1
lea ecx, [ebp - 0x10]
call fcn.00409770
push 0x16
push str._REBOOTReallySuppress
lea ecx, [ebp - 0x10]
call fcn.00409770
test ebx, ebx
je 0x4306dc
lea eax, [ebx + 0x68]
jmp 0x4306de
xor eax, eax
mov edi, dword [ebp - 0x10]
push ecx
push edi
push dword [ebx + 0x64]
lea ecx, [ebx + 0x6c]
push eax
call fcn.00446980
test eax, eax
jne 0x43072e
push str.Install_error.
push 3
push 3
push 0x3f
push str.CInstActionPCKeeper::DoAction
push str.c:_buildagentwork_b0d71a1a28f6c898installerActionsInstActionPCKeeper.h
lea ecx, [ebp - 0x20]
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
call fcn.0042f230
push dword [ebx + 0x64]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
jmp 0x4307e7
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x43074a
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
push 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004039c0
mov byte [ebp - 4], 2
cmp dword [0x4b0498], 0
jne 0x43077d
cmp dword [0x4b04a0], 0x21
je 0x43078c
push 8
push str._autorun
lea ecx, [ebp - 0x14]
call fcn.004039c0
cmp dword [0x4b0490], 0
mov esi, dword [ebp - 0x14]
jne 0x4307c6
cmp dword [0x4b049c], 0
jne 0x4307c6
push 0
push esi
push str.PCKeeper.exe
mov edx, str.29650533_2E1B_4517_9D0C_B7243F12DF94
mov ecx, str.299FFF17_0FDF_47F4_A894_1DADF0D98007
call fcn.0040b850
mov ecx, dword [ebx + 4]
add esp, 0xc
test ecx, ecx
je 0x4307c6
mov eax, dword [ecx]
call dword [eax]
mov ebx, 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4307e7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x430806
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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 0x430be0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b05d4]
sub esp, 8
push esi
mov esi, dword [eax]
cmp esi, eax
je 0x430cb0
cmp byte [esi + 0x18], 0
jne 0x430c0c
mov esi, dword [esi]
cmp esi, eax
jne 0x430bf6
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 8]
xor edi, edi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push edi
push 0x2001f
push 0x102
push edi
push edi
push str.SoftwareKromtechPCKeeper
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x430c40
mov edi, dword [ebp - 4]
jmp 0x430c57
push dword [esi + 0x10]
push dword [esi + 0x14]
push 3
push 0
push str.zi_inf
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
lea eax, [ebp - 8]
xor ebx, ebx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push 0x102
push ebx
push ebx
push ebx
push str.SoftwareEssentwarePckeeper
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [esi + 0x10]
test eax, eax
push dword [esi + 0x14]
cmove ebx, dword [ebp - 4]
push 3
push 0
push str.zi_inf
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x430ca7
push ebx
call esi
pop ebx
test edi, edi
je 0x430caf
push edi
call esi
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431710
Capabilities:
Delete file

Disassembly:
cmp dword [0x4ac910], 0
je 0x43171c
xor eax, eax
ret
cmp dword [0x4b047c], 0
jne 0x431732
mov dword [ecx + 0x50], 0x2710
mov eax, 0x2710
ret
jmp fcn.00408080

Function at 0x431740
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ffa8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x4b047c], 0
je 0x4318c7
push dword [esi + 0x64]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4318c7
push str._APP_ARGUMENTS__silent__DistributionSource_PCK_
lea ecx, [ebp - 0x18]
call fcn.00403ac0
push str._REBOOTReallySuppress
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00403ac0
mov byte [ebp - 4], 1
cmp dword [0x4b0490], 0
je 0x4317c4
push 0xa
push str._NOSTART1
lea ecx, [ebp - 0x14]
call fcn.00409770
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.0041a7c0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
push dword [ebp - 0x10]
push str.ZoomDiagnosticsPC_start_params:__s
push 1
push 3
push 0x3f
push str.CInstActionZoomDiagnosticsPC::DoAction
push str.c:_buildagentwork_b0d71a1a28f6c898installerActionsInstActionZoomDiagnosticsPC.h
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
lea eax, [esi + 0x68]
lea ecx, [esi + 0x6c]
push dword [ebp - 0x10]
push dword [esi + 0x64]
push eax
call fcn.00446980
test eax, eax
jne 0x431851
push str.Install_error.
push 3
push 3
push 0x43
push str.CInstActionZoomDiagnosticsPC::DoAction
push str.c:_buildagentwork_b0d71a1a28f6c898installerActionsInstActionZoomDiagnosticsPC.h
lea ecx, [ebp - 0x24]
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
call fcn.0042f230
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
jmp 0x431856
mov edi, 1
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431877
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431895
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4318b4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431bd0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x10102
push 0
push str.SoftwareEssentware
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431c16
mov eax, dword [ebp - 4]
test eax, eax
je 0x431c16
push str.PCKAV
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x10102
push 0
push str.SoftwareEssentware
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431c51
mov eax, dword [ebp - 4]
test eax, eax
je 0x431c51
push str.PCKAV
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x432bd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x4b048c]
mov edx, 0x493400
lea eax, [eax + eax*8]
mov eax, dword [eax*4 + 0x4ac968]
nop dword [eax]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x432c36
test cx, cx
je 0x432c32
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x432c36
add eax, 4
add edx, 4
test cx, cx
jne 0x432c10
xor eax, eax
jmp 0x432c3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x432d3e
cmp dword [edi + 0x9c], 0
jne 0x432d3e
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x432c6c
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x12
push str._SYSTEMCOMPONENT1
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00409770
cmp dword [0x4b049c], 0
je 0x432ca7
push 5
push str._UP1
lea ecx, [ebp - 0x10]
call fcn.00409770
mov esi, dword [ebp - 0x10]
lea eax, [edi + 0x68]
push ecx
push esi
push dword [edi + 0x64]
lea ecx, [edi + 0x6c]
push eax
call fcn.00446980
test eax, eax
jne 0x432d07
cmp dword [edi + 0x94], 0x21
mov ecx, str.LangAV_install_error.
mov eax, str.LangPCK_install_error.
cmovne eax, ecx
lea ecx, [ebp - 0x1c]
push eax
push 3
push 3
push 0x43
push str.CInstActionLang::DoAction
push str.c:_buildagentwork_b0d71a1a28f6c898installerActionsInstActionLang.h
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
call fcn.0042f230
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
jmp 0x432d0c
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x432d2b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x432f70
Capabilities:
Delete file

Disassembly:
cmp dword [ecx + 0xa0], 0
je 0x432f7f
mov eax, 1
ret
jmp method.CInstActionLangPCKAV_es.1.virtual_40