joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e217
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x240
mov eax, 0x47c33f
call fcn.0045e1e7
mov esi, dword [ebp + 8]
xor edi, edi
push edi
push 2
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
mov ebx, 0x47f268
cmp eax, 0xffffffff
je 0x42e347
push 0x49cc5c
lea ecx, [ebp - 0x244]
call fcn.00422d95
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
mov dword [ebp - 4], edi
call sub.KERNEL32.dll_Process32FirstW
lea eax, [ebp - 0x218]
push eax
call fcn.0045e6b2
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.00417ceb
mov edi, dword [ebp - 0x244]
push ebx
push edi
call fcn.0042dfd3
pop ecx
pop ecx
test eax, eax
je 0x42e304
push dword [ebp - 0x234]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 4
push eax
mov dword [ebp - 0x248], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x42e315
push dword [ebp - 0x248]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x240]
call ebx
add edi, 0xfffffff0
push edi
call fcn.00417b90
pop ecx
mov ecx, edi
jmp 0x42e373
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42e2e8
push str._winword.exe_excel.exe_powerpnt.exe_
push edi
call fcn.0042dfd3
pop ecx
pop ecx
test eax, eax
jne 0x42e2f6
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42e27c
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x10]
call fcn.0041788d
push ebx
lea ecx, [ebp - 0x24c]
call fcn.00418091
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
push eax
mov dword [ebp - 4], 1
call fcn.00417b90
pop ecx
mov ecx, dword [ebp - 0x24c]
add ecx, 0xfffffff0
add eax, 0x10
mov dword [esi], eax
call fcn.0041788d
mov eax, esi
call fcn.0045e26a
ret
Function at 0x42e5a1
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x210], edi
call fcn.0045c380
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push connect
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42e638
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
push 0x49d440
call fcn.0042ee96
add esp, 0x10
jmp 0x42e6b3
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi], eax
cmp ebx, edi
jne 0x42e66b
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x42e693
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
cmp eax, edi
jne 0x42e6a2
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
push 0x49d440
call fcn.0042ee96
add esp, 0x10
jmp 0x42e6ac
mov dword [ebp - 0x210], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bc90
leave
ret

Function at 0x42e7f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 8], 0x1e00000
mov dword [esi + 0x14], eax
jbe 0x42e81b
push str.the_packet_is_too_large
push 0x49d440
call fcn.0042ee96
pop ecx
pop ecx
jmp 0x42e852
call fcn.00417701
mov dword [esi + 0x18], eax
cmp eax, edi
je 0x42e855
push edi
push edi
push esi
push 0x42e7e1
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
push str.LoadProductPacket_CreateThread_return:_d
push 0x49d440
mov dword [esi + 0x10], eax
call fcn.0042ee96
add esp, 0xc
cmp dword [esi + 0x10], edi
je 0x42e855
xor edi, edi
inc edi
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x42e85d
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x47c3a2
call fcn.0045e17e
mov ebx, ecx
xor edi, edi
push 0x49cc5c
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
call fcn.00422d95
push dword [ebp + 8]
mov esi, 0x49d440
push str.GetPacketData__d
push esi
mov dword [ebp - 4], edi
call fcn.0042ee96
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.0042e4bc
mov ebx, eax
push ebx
push str.GetPacketData_return:_d
push esi
call fcn.0042ee96
add esp, 0xc
test ebx, ebx
je 0x42e91a
call fcn.00417701
mov edi, eax
test edi, edi
je 0x42e91a
push str.Extract...
push esi
call fcn.0042ee96
mov eax, dword [edi]
pop ecx
pop ecx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push ebx
push edi
call dword [eax]
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
push eax
push str.Extract_return:_d
push esi
call fcn.0042ee96
add esp, 0xc
test ebx, ebx
je 0x42e913
xor esi, esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0041788d
mov eax, esi
call fcn.0045e256
ret 8
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x42e92a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x42e934
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
mov esi, dword [ebp - 0x18]
jmp 0x42e8fe

Function at 0x42e9a3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x42e9d2
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.00460c82
push dword [esi + 8]
push 2
push 1
push 0x482694
call fcn.00460c82
add esp, 0x20
pop esi
pop ebp
ret 8

Function at 0x42e9ee
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0x80
push 2
push 0
push 3
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42ea18
xor eax, eax
jmp 0x42ea35
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42ea2b
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 4

Function at 0x42ea3a
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp + 0xc]
call esi
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
pop esi
pop ebp
ret 8
Function at 0x42f148
Capabilities:
Create thread

Disassembly:
push 0xd8
mov eax, 0x47c471
call fcn.0045e1e7
mov ebx, dword [ebp + 8]
xor eax, eax
push 0xc6
mov word [ebp - 0xd8], ax
xor edi, edi
lea eax, [ebp - 0xd6]
push edi
push eax
mov esi, ecx
call fcn.0045c380
add esp, 0xc
lea ecx, [esi + 0x18]
push ebx
call fcn.00417f93
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xdc], edi
push 0x2001f
push str.SOFTWAREPPTAssistTest
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], edi
call fcn.004241b6
test eax, eax
je 0x42f1cd
mov dword [esi], edi
inc edi
lea ecx, [ebp - 0xe4]
call fcn.0042419b
mov eax, edi
jmp 0x42f25e
xor ebx, ebx
inc ebx
mov ecx, esi
mov dword [esi], ebx
call fcn.0042ec83
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0xd8]
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
push eax
call fcn.0042ea6c
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 0xc], eax
call ebx
mov dword [esi + 0x10], eax
cmp dword [esi + 0xc], edi
je 0x42f251
cmp eax, edi
je 0x42f251
push edi
push edi
push esi
push 0x42f139
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x14], eax
cmp eax, edi
je 0x42f1bb
lea ecx, [ebp - 0xe4]
call fcn.0042419b
xor eax, eax
inc eax
jmp 0x42f25e
lea ecx, [ebp - 0xe4]
call fcn.0042419b
xor eax, eax
call fcn.0045e26a
ret 4

Function at 0x42f449
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0045c380
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.pptassist
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046162e
push 1
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.0042dc20
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x18
call fcn.0045bc90
leave
ret
Function at 0x42f4c2
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42f596
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0045c380
add esp, 0xc
push 1
push 2
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4827c8
mov esi, 0x104
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0046162e
xor eax, eax
push edi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0045c380
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004615cb
push 0x47f594
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0046162e
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0046162e
add esp, 0x3c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x414]
push eax
call fcn.0042ddce
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045bc90
leave
ret 4

Function at 0x42f5a5
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42f658
push esi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0045c380
add esp, 0xc
push 1
push 0
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0045c380
lea eax, [ebp - 0x414]
push eax
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004615cb
push 0x47f594
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0046162e
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0046162e
add esp, 0x30
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045bc90
leave
ret 4

Function at 0x42f6f1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0042f42e
test eax, eax
je 0x42f72f
push str.uninstallsend_message
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x42f72f
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x4a
push eax
mov dword [ebp - 0xc], 0xd
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.0042c478
leave
ret
Function at 0x42f911
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x2001f
push edi
xor ebx, ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov esi, reloc.WS2_32.dll_accept
push esi
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x810], ebx
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 0x808], ebx
call fcn.004241b6
test eax, eax
jne 0x42f986
push str.PPTAssist
lea ecx, [ebp - 0x810]
call fcn.0042bf06
push str.WpsAssist
lea ecx, [ebp - 0x810]
call fcn.0042bf06
lea ecx, [ebp - 0x810]
call fcn.0042419b
xor eax, eax
push 0x7fe
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push ebx
push eax
call fcn.0045c380
add esp, 0xc
push edi
push str.SoftwarePPTAssistCommon
mov dword [ebp - 0x818], ebx
push esi
lea ecx, [ebp - 0x810]
xor bl, bl
call fcn.004241b6
test eax, eax
jne 0x42fa14
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x804]
push eax
push str.infoGUID
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 0x400
call fcn.00424205
lea eax, [ebp - 0x818]
push eax
push str.WindowCount
lea ecx, [ebp - 0x810]
call fcn.0042f266
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x810]
inc bl
call fcn.0042419b
lea eax, [ebp - 0x804]
push eax
call fcn.0045e6b2
pop ecx
test eax, eax
jne 0x42fa6e
push edi
push str.SoftwareKingsoftWpsAssistCommon
push esi
lea ecx, [ebp - 0x810]
call fcn.004241b6
test eax, eax
jne 0x42fa6e
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x804]
push eax
push str.infoGUID
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 0x400
call fcn.00424205
lea ecx, [ebp - 0x810]
call fcn.0042419b
push edi
push str.Software
push esi
lea ecx, [ebp - 0x810]
call fcn.004241b6
test eax, eax
jne 0x42fa9f
push str.PPTAssist
lea ecx, [ebp - 0x810]
call fcn.0042bf06
lea ecx, [ebp - 0x810]
call fcn.0042419b
push edi
push str.SoftwareKingsoft
push esi
lea ecx, [ebp - 0x810]
call fcn.004241b6
test eax, eax
jne 0x42fad0
push str.WpsAssist
lea ecx, [ebp - 0x810]
call fcn.0042bf06
lea ecx, [ebp - 0x810]
call fcn.0042419b
xor eax, eax
push eax
push eax
push edi
push eax
push eax
push str.SoftwarePPTAssistCommon
push esi
lea ecx, [ebp - 0x810]
call fcn.0042b801
test eax, eax
jne 0x42fb3e
push 1
lea eax, [ebp - 0x804]
push eax
push str.infoGUID
lea ecx, [ebp - 0x810]
call fcn.0042f29e
test bl, bl
je 0x42fb33
mov eax, dword [ebp - 0x818]
push 4
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x814]
push eax
push 4
push 0
push str.WindowCount
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x810]
call fcn.0042419b
lea ecx, [ebp - 0x810]
call fcn.0042419b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bc90
leave
ret
Function at 0x42fefc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
mov eax, dword [edi]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
cmp eax, ecx
je 0x42ff84
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call esi
cmp dword [ebp - 8], 1
je 0x42ff36
cmp dword [ebp - 8], 2
jne 0x42ff83
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.00417a4f
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
shr eax, 1
inc eax
push eax
call fcn.00417c1a
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [edi]
call esi
test eax, eax
jne 0x42ff82
mov eax, dword [ebp - 4]
xor ecx, ecx
shr eax, 1
mov word [ebx + eax*2], cx
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
call fcn.0042fd7e
mov dword [ebp - 0xc], 1
pop ebx
pop esi
mov eax, dword [ebp - 0xc]
pop edi
leave
ret 8
Function at 0x43038e
Capabilities:
Delete file
Move file

Disassembly:
push 0x22c
mov eax, 0x47c5fc
call fcn.0045e1e7
push str.Delete_product_files_...
xor edi, edi
push 0x49d440
mov esi, ecx
mov dword [ebp - 0x230], edi
call fcn.0042ee96
lea eax, [esi + 0xc]
mov dword [ebp - 0x228], eax
mov eax, dword [eax]
pop ecx
pop ecx
cmp dword [eax - 0xc], edi
je 0x4305ab
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x58]
add ecx, dword [esi + 0x4c]
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
mov edi, dword [eax]
mov dword [ebp - 0x234], ecx
mov ebx, 0x49d758
cmp edi, eax
je 0x4304d0
push dword [ebp - 0x234]
inc dword [ebp - 0x220]
push dword [ebp - 0x220]
mov ecx, ebx
call fcn.004351ba
push dword [edi + 8]
lea eax, [ebp - 0x238]
push dword [ebp - 0x228]
push eax
call fcn.00418d2b
add esp, 0xc
mov eax, dword [ebp - 0x238]
and dword [ebp - 4], 0
push eax
mov dword [ebp - 0x22c], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4304b3
push 0x49cc5c
lea ecx, [ebp - 0x224]
call fcn.00422d95
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [ebp - 0x22c]
lea eax, [ebp - 0x224]
push str._s_d__x
push eax
call fcn.00418e04
push dword [ebp - 0x224]
push dword [ebp - 0x22c]
call fcn.0045efa2
add esp, 0x18
test eax, eax
jne 0x43049f
push 4
push eax
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4304a5
inc dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0041788d
mov ecx, dword [ebp - 0x238]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0041788d
mov edi, dword [edi]
cmp edi, dword [esi + 0x48]
jne 0x4303f6
mov eax, dword [esi + 0x54]
mov edi, dword [eax]
cmp edi, eax
je 0x430571
push dword [ebp - 0x234]
inc dword [ebp - 0x220]
push dword [ebp - 0x220]
mov ecx, ebx
call fcn.004351ba
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0045c380
mov eax, dword [edi + 8]
add eax, 4
push eax
push dword [ebp - 0x228]
lea eax, [ebp - 0x22c]
push eax
call fcn.00418d2b
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call fcn.0046122d
mov ecx, dword [ebp - 0x22c]
add esp, 0x20
add ecx, 0xfffffff0
call fcn.0041788d
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.0042dc20
add esp, 0xc
test eax, eax
jne 0x430566
inc dword [ebp - 0x21c]
mov edi, dword [edi]
cmp edi, dword [esi + 0x54]
jne 0x4304dd
cmp dword [ebp - 0x21c], 0
jne 0x430584
mov dword [ebp - 0x230], 1
mov eax, dword [ebp - 0x228]
push dword [eax]
call fcn.0042ddce
mov eax, dword [ebp - 0x228]
push dword [eax]
push str.remove_empty_folder__ws
push 0x49d440
call fcn.0042ee96
add esp, 0x10
push dword [ebp - 0x230]
push str.Delete_product_files_return:_d
push 0x49d440
call fcn.0042ee96
mov eax, dword [ebp - 0x230]
add esp, 0xc
call fcn.0045e26a
ret
Function at 0x430678
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
lea esi, [ecx + 0xc]
lea eax, [ebp - 4]
push esi
push eax
call fcn.00417e93
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0041788d
cmp edi, 0xffffffff
je 0x4306df
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x4306b8
or edi, 1
jmp 0x4306bb
and edi, 0xfffffffe
push dword [ebp + 8]
lea eax, [ebp + 8]
push esi
push eax
call fcn.00417e93
add esp, 0xc
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0041788d
pop edi
pop esi
leave
ret 8

Function at 0x430bd9
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x47c753
call fcn.0045e1e7
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
mov ebx, ecx
mov dword [ebp - 0x220], esi
call fcn.0045c380
add esp, 0xc
push 0x49cc5c
lea ecx, [ebp - 0x21c]
call fcn.00422d95
lea eax, [ebp - 0x218]
push eax
push 0x104
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x430ca8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebx + 0x10]
call fcn.00417f93
push str.pptassist_
lea ecx, [ebx + 0x10]
call fcn.00417f6d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x21c]
push str._x_
push eax
call fcn.00418e04
mov edi, dword [ebp - 0x21c]
add esp, 0xc
push dword [edi - 0xc]
lea ecx, [ebx + 0x10]
push edi
call fcn.00417da6
push dword [ebx + 0x10]
call fcn.00419686
pop ecx
test eax, eax
je 0x430cae
mov dword [ebp - 0x220], 1
jmp 0x430cb6
mov edi, dword [ebp - 0x21c]
lea ecx, [ebx + 0x10]
call fcn.00417a4f
lea ecx, [edi - 0x10]
call fcn.0041788d
mov eax, dword [ebp - 0x220]
call fcn.0045e26a
ret
Function at 0x430ec5
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x220
mov eax, 0x47c7ef
call fcn.0045e1e7
call fcn.0042f42e
xor esi, esi
test eax, eax
je 0x430f16
push str.uninstallsend_message
push esi
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, esi
je 0x430f16
lea ecx, [ebp - 0x22c]
push ecx
push esi
push 0x4a
push eax
mov dword [ebp - 0x22c], 0xc
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.0045c380
add esp, 0xc
push 1
push 2
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x482d48
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0046162e
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00418091
push 0x482d30
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 4], esi
call fcn.00417e93
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
push dword [eax]
call esi
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0041788d
push 0x482d20
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00417e93
add esp, 0xc
push dword [eax]
call esi
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0041788d
lea eax, [ebp - 0x218]
push eax
call fcn.0042ddce
pop ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0041788d
call fcn.0045e26a
ret

Function at 0x4315b7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi], eax
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x431605
mov dword [esi + 4], edi
call fcn.0043012e
cmp dword [esi], edi
jne 0x4315eb
push str.7E3EDCB6_AA19_4598_A948_C59B6B02BF64
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x3c], eax
push edi
push edi
push esi
push 0x4315a6
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
cmp eax, edi
je 0x431605
xor edi, edi
inc edi
mov eax, edi
pop edi
pop esi
pop ebp
ret 4