joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c3dc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push edi
lea eax, [ebp - 0x820]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
push 0x7fe
mov word [ebp - 0x80c], ax
xor edi, edi
lea eax, [ebp - 0x80a]
push edi
push eax
call fcn.0043e180
add esp, 0xc
push dword [esi + 0x64]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x400
lea eax, [ebp - 0x80c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x40c4d2
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push edi
push edi
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
call ebx
push 0xfffffffffffffff0
push dword [esi + 4]
mov dword [ebp - 0x810], eax
inc edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x300
je 0x40c48c
xor edi, edi
inc edi
jmp 0x40c4a1
test eax, 0x100
je 0x40c497
xor edi, edi
jmp 0x40c4a1
test eax, 0x200
je 0x40c4a1
push 2
pop edi
mov eax, dword [esi + 0x74]
sub dword [ebp - 0x81c], eax
or edi, 0x24
push edi
lea eax, [ebp - 0x820]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x810]
push dword [ebp + 8]
call ebx
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.0043b103
leave
ret 4
Function at 0x40dc34
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push edi
lea eax, [ebp - 0x20]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0xb0]
test eax, eax
jne 0x40dc70
mov eax, dword [esi + 0x84]
jmp 0x40dc7b
cmp eax, 1
jne 0x40dc8a
mov eax, dword [esi + 0x88]
cmp eax, 0xffffffff
jne 0x40dc8d
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x40dc8d
mov eax, dword [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esi + 0x24]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call ebx
push dword [esi + 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jle 0x40dd10
lea eax, [edi + edi + 2]
call fcn.0044da00
mov dword [ebp - 0x10], esp
inc edi
push edi
push dword [ebp - 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40dd10
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor ecx, ecx
test al, 1
je 0x40dce9
inc ecx
jmp 0x40dcf0
test al, 2
je 0x40dcf0
push 2
pop ecx
test al, 0xb
je 0x40dcf7
push 0x24
pop ecx
or ecx, 0x210
push ecx
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0xc]
push dword [ebp + 8]
call ebx
lea esp, [ebp - 0x2c]
pop edi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043b103
leave
ret 4
Function at 0x40f742
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.00410112
lea edi, [esi + 0x80]
mov eax, dword [edi]
test eax, eax
je 0x40f76b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [edi], 0
lea edi, [esi + 0x90]
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x18]
call fcn.00410afd
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x18]
call fcn.00410afd
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x40f7a9
cmp eax, dword [esp + 0x18]
je 0x40f7ae
call fcn.00440b25
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x1c]
jae 0x40f7d0
lea esi, [esp + 0x10]
call fcn.00410859
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.00410b1d
jmp 0x40f78d
mov eax, edi
call fcn.0041064d
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, ebx
je 0x40f805
push dword [esi + 0x74]
push eax
call edi
push dword [esi + 0x60]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esi + 0x70]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x70], ebx
mov eax, dword [esi + 0x64]
cmp eax, ebx
je 0x40f82a
push dword [esi + 0x6c]
push eax
call edi
push dword [esi + 0x64]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esi + 0x68]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.USER32.dll_SetRect]
pop edi
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], 0xffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40f872
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp dword [esi + 0x5c], edi
je 0x40f8ae
mov ecx, esi
call fcn.00410322
test eax, eax
je 0x40f8b3
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x40fcc9
push edi
push edi
call fcn.0043eaa5
add esp, 0x18
mov dword [esi + 0x78], eax
cmp eax, edi
je 0x40f8ae
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
leave
ret
mov eax, dword [esi + 0x80]
cmp eax, edi
je 0x40f8ae
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x80]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x80]
push edi
mov ecx, dword [eax]
neg edx
push edx
push dword [ebp - 8]
push dword [ebp - 4]
push edi
push dword [esi + 0x38]
push dword [esi + 0x34]
push edi
push edi
push dword [esi + 0x60]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x40f8ae
push edi
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
inc eax
jmp 0x40f8b0

Function at 0x40f9c3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x47530c
push 0xeb
push dword [0x485f90]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40fa77
push esi
push dword [0x485f90]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40fa77
push esi
push dword [0x485f90]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40fa70
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40fa69
cmp dword [ebp - 4], 0
je 0x40fa69
push edi
push eax
push dword [ebp - 4]
call fcn.0043e200
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push edi
push esi
call fcn.0040f432
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x40fa79
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x411990
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x46b440
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483260]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360DrvMgr
push ebp
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, 0x485f6c
lea esi, [esp + 0x14]
call fcn.00402b4a
and dword [esp + 0x28], 0
push 0x4755e8
mov eax, esi
push 0x475100
push eax
call fcn.00402e53
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx - 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esp, 0xc
add eax, eax
push eax
push ebx
push 1
push str.DisplayName
push ebp
push edi
call esi
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayIcon
push ebp
push edi
call esi
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x30]
add ecx, 0x20
push 0x474fcc
push eax
mov dword [esp + 0x24], ecx
call fcn.0040bbc2
lea ecx, [esp + 0x20]
push str.drv_uninst.exe
push ecx
mov ecx, eax
mov byte [esp + 0x38], 1
call fcn.0040bbc2
mov eax, dword [esp + 0x40]
add esp, 0x10
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.UninstallString
push ebp
push edi
call esi
push 0x488190
call fcn.0043ec59
pop ecx
add eax, eax
push eax
push 0x488190
push 1
push str.DisplayVersion
push ebp
push edi
call esi
push str.http:__www.360.cn_qudongdashi_
call fcn.0043ec59
pop ecx
add eax, eax
push eax
push str.http:__www.360.cn_qudongdashi_
push 1
push str.URLInfoAbout
push ebp
push edi
call esi
push 0x4765d0
call fcn.0043ec59
pop ecx
add eax, eax
push eax
push 0x4765d0
push 1
push str.Publisher
push ebp
push edi
call esi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.InstallLocation
push ebp
push edi
call esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004031f6
lea eax, [ebx - 0x10]
call fcn.004031f6
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x411b17
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push 0xc
mov eax, 0x46af22
call fcn.004436f7
mov esi, ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax - 0xc]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add ecx, ecx
push ecx
push eax
push 1
mov ebx, 0x474f2c
push ebx
push str.Software360DrvMgrInstallPath
push SysReAllocString
call edi
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push ebx
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360DrvMgr.exe
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [esi + 0x20]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.Path
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov esi, dword [esi + 0x20]
sub esi, 0x10
mov eax, esi
call fcn.00402cca
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
lea esi, [ebp - 0x14]
call fcn.0040bba9
cmp eax, 0xffffffff
je 0x411bcf
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
push ecx
xor ecx, ecx
call fcn.004068cb
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.PathSub
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [esi - 0x10]
call fcn.004031f6
mov esi, 0x4755e8
push esi
call fcn.0043ec59
pop ecx
add eax, eax
push eax
push esi
push 1
push str.product
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ecx, 0x485f6c
lea esi, [ebp - 0x10]
call fcn.00402b4a
push ebx
push str.MACHINE
mov eax, esi
push 0x475124
push eax
mov byte [ebp - 4], 1
call fcn.00402e53
mov eax, dword [ebp - 0x10]
add esp, 0x10
push dword [eax - 0xc]
call fcn.0040315e
push eax
call fcn.004026bc
mov eax, dword [ebp - 0x10]
pop ecx
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004031f6
call fcn.004437cf
ret

Function at 0x411c43
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push 0x214
mov eax, 0x46aeea
call fcn.00443760
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
xor ebx, ebx
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.0043e180
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push ebx
push 0x17
lea eax, [ebp - 0x21c]
push eax
push ebx
call edi
mov ecx, 0x485f6c
lea esi, [ebp - 0x220]
call fcn.00402b4a
mov dword [ebp - 4], ebx
mov ebx, 0x4755e8
push ebx
lea eax, [ebp - 0x21c]
push eax
mov eax, esi
push 0x475124
push eax
call fcn.00402e53
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0x220]
call esi
test eax, eax
je 0x411ce3
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x411ce3
push dword [ebp - 0x220]
call fcn.0041680f
pop ecx
push 0
push 0x10
lea eax, [ebp - 0x21c]
push eax
push 0
call edi
push ebx
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push str._s_s.lnk
push eax
call fcn.00402e53
mov edi, dword [ebp - 0x220]
add esp, 0x10
push edi
call esi
cmp eax, 1
jne 0x411d23
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi - 0x10]
call fcn.004031f6
call fcn.004437e3
ret
Function at 0x411d31
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x46b408
call fcn.004436f7
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x18], eax
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.0043e180
add esp, 0xc
push edi
push 0x17
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, 0x485f6c
lea esi, [ebp - 0x10]
call fcn.00402b4a
push 0x4755e8
mov dword [ebp - 4], edi
mov edi, 0x4765d0
push edi
lea eax, [ebp]
push eax
mov ebx, 0x47672c
mov eax, esi
push ebx
push eax
call fcn.00402e53
mov eax, dword [ebp - 0x10]
add esp, 0x14
push dword [eax - 0xc]
call fcn.0040315e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411de2
mov esi, dword [ebp - 0x10]
push esi
call fcn.004166c6
pop ecx
test eax, eax
jne 0x411de2
lea eax, [esi - 0x10]
jmp 0x411eaf
push 0x476740
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00402e53
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push 0x474fcc
add ecx, 0x20
push eax
call fcn.0040bbc2
lea ecx, [ebp - 0x14]
push str.drv_uninst.exe
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040bbc2
add esp, 0x24
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004031f6
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call fcn.00418cdb
push 0x47676c
push 0x4765d0
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00402e53
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebx + 0x1c]
add esp, 0x14
call fcn.00418cdb
xor eax, eax
cmp dword [0x484d74], eax
je 0x411ea1
push eax
push 0x19
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4755e8
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push str._s_s.lnk
push eax
call fcn.00402e53
mov edi, dword [ebp - 0x10]
mov esi, dword [ebx + 0x1c]
add esp, 0x10
call fcn.00418cdb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004031f6
lea eax, [edi - 0x10]
call fcn.004031f6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043b103
add ebp, 0x20c
leave
ret 4
Function at 0x411ed9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
push esi
push edi
mov dword [eax + 0x24], ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov edi, str.SOFTWARE360DrvMgr
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x411f19
lea eax, [ebp - 4]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
jmp 0x411f1d
test eax, eax
jne 0x411f44
cmp dword [ebp - 4], 0
je 0x411f44
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push str.UEEnabled
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 4

Function at 0x411f4a
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x224], eax
xor eax, eax
mov esi, 0x208
push esi
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x21c], 1
call fcn.0043e180
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x474f2c
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360DrvMgr.exe
push ebx
mov dword [ebp - 0x220], esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x412037
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412037
call fcn.0041204a
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x474f2c
push ebx
push edi
call esi
test eax, eax
jne 0x412037
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412037
lea eax, [ebp - 0x218]
push eax
push 0x475100
push 0x103
push dword [ebp - 0x224]
call fcn.0043f3d3
xor eax, eax
add esp, 0x10
inc eax
jmp 0x412039
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b103
leave
ret 4
Function at 0x4128e9
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0x820
mov eax, 0x46b3c8
call fcn.00443760
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x820], eax
mov eax, dword [0x487d3c]
mov dword [ebp - method.CResourceUnpack.virtual_0], vtable.CResourceUnpack.0
mov dword [ebp - 0x828], edi
mov dword [ebp - 0x824], edi
push 0x47685c
push 0x476864
push eax
lea esi, [ebp - 0x82c]
mov dword [ebp - 4], edi
call fcn.0040b66f
test eax, eax
jne 0x412943
call fcn.004437e3
ret 4
mov ebx, 0x485f6c
mov ecx, ebx
lea esi, [ebp - 0x81c]
call fcn.00402b4a
push edi
mov eax, esi
push eax
lea eax, [ebp - 0x82c]
push eax
mov byte [ebp - 4], 1
call fcn.0040b831
test eax, eax
jne 0x41297f
mov eax, dword [ebp - 0x81c]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, edi
jmp 0x41293b
push 0x800
lea eax, [ebp - 0x814]
push edi
push eax
call fcn.0043e180
mov edi, dword [ebp - 0x81c]
add esp, 0xc
push 0x476884
push edi
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, ebx
lea esi, [ebp - 0x818]
call fcn.00402b4a
mov ebx, esi
mov byte [ebp - 4], 2
call fcn.0040236e
mov esi, dword [ebp - 0x818]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4129fd
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x4129fd
mov ecx, edi
call fcn.00416b95
mov edi, dword [ebp - 0x820]
add edi, 0x2c
lea eax, [ebp - 0x818]
call fcn.00402b81
push dword [edi]
call fcn.004019b6
pop ecx
push 4
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esi - 0x10]
call fcn.004031f6
xor edi, edi
inc edi
jmp 0x41296d

Function at 0x412a35
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
cmp dword [esi + 0x34], 0
je 0x412a44
call fcn.004019dc
and dword [esi + 0x34], 0
push ebx
push dword [esi + 0x2c]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
je 0x412a73
push edi
xor edi, edi
push dword [esi + 0x2c]
inc edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x412a72
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 5
jl 0x412a57
pop edi
push dword [esi + 0x2c]
call ebx
pop ebx
test eax, eax
je 0x412a8a
push 4
push 0
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret
Function at 0x412a8b
Capabilities:
Get disk information
Terminate process

Disassembly:
push 0x34
mov eax, 0x46bd47
call fcn.00443760
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x487d3c]
cmp ebx, edx
je 0x412c50
mov dword [ebp - 0x40], vtable.CResourceUnpack.0
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
push 0x476850
push ecx
push eax
lea esi, [ebp - 0x40]
mov dword [ebp - 4], edx
call fcn.0040b66f
test eax, eax
je 0x412c50
push ebx
mov eax, esi
push eax
call fcn.0040b91c
mov edi, 0x485f6c
mov ecx, edi
lea esi, [ebp - 0x24]
call fcn.00402b4a
push 0x476884
push ebx
mov eax, esi
push 0x475124
push eax
mov byte [ebp - 4], 1
call fcn.00402e53
mov esi, dword [ebp - 0x2c]
xor ecx, ecx
add esi, 0x2c
add esp, 0x10
inc ecx
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.00408983
xor ecx, ecx
inc ecx
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00408983
mov byte [ebp - 4], 3
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x20], 1
call fcn.0040bb10
test eax, eax
je 0x412b4c
mov dword [ebp - 0x20], 3
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
push esi
call fcn.00402445
pop ecx
pop ecx
push 3
pop ecx
cmp eax, ecx
jne 0x412bf7
mov dword [0x48818c], ecx
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, word [ebx]
push eax
lea eax, [ebp - 0x1c]
push str._c:_
push eax
call fcn.0040323a
add esp, 0xc
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, eax
cmp edi, esi
je 0x412bd2
test byte [ebp - 0x20], 8
je 0x412bd2
push ebx
lea eax, [ebp - 0x34]
push eax
call fcn.00402ad3
mov ecx, dword [ebp - 0x2c]
push eax
mov byte [ebp - 4], 5
call fcn.00412c5a
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, edi
jmp 0x412c52
cmp eax, 2
jne 0x412b6b
cmp dword [0x487d40], 0
jne 0x412c48
mov ecx, edi
lea esi, [ebp - 0x20]
call fcn.00402b4a
mov byte [ebp - 4], 4
push dword [ebp - 0x24]
mov eax, esi
push 0x476048
push eax
call fcn.00402e53
mov esi, dword [ebp - 0x20]
add esp, 0xc
push 0x10000
push 0x47607c
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
call fcn.004031f6
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
call fcn.004437e3
ret 4