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

Disassembly:
push ebp
lea ebp, [esp - 0x7a0]
sub esp, 0x820
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x79c], eax
mov eax, dword [ebp + 0x7a8]
push ebx
push edi
mov edi, ecx
push 1
push edi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edi
call dword [sym.imp.GDI32.dll_SetBkMode]
xor eax, eax
cmp dword [esi + 0x28], eax
jne 0x40c00f
push eax
push eax
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x28], eax
push dword [esi + 0x28]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call ebx
push dword [esi + 0x24]
mov dword [ebp - 0x70], eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xfffffffffffffff0
push dword [esi + 4]
xor edi, edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
je 0x40c03c
inc edi
jmp 0x40c043
test al, 2
je 0x40c043
push 2
pop edi
lea eax, [ebp - 0x80]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push eax
call fcn.0043e330
add esp, 0xc
push 0x400
lea eax, [ebp - 0x64]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
or edi, 0x20
push edi
lea eax, [ebp - 0x80]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x70]
push dword [ebp - 0x68]
call ebx
push dword [ebp - 0x6c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp + 0x79c]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop ebx
call fcn.0043b2b9
add ebp, 0x7a0
leave
ret 4
Function at 0x40c5fa
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.0043e330
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 0x40c6f0
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 0x40c6aa
xor edi, edi
inc edi
jmp 0x40c6bf
test eax, 0x100
je 0x40c6b5
xor edi, edi
jmp 0x40c6bf
test eax, 0x200
je 0x40c6bf
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.0043b2b9
leave
ret 4
Function at 0x40de54
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 0x40de90
mov eax, dword [esi + 0x84]
jmp 0x40de9b
cmp eax, 1
jne 0x40deaa
mov eax, dword [esi + 0x88]
cmp eax, 0xffffffff
jne 0x40dead
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x40dead
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 0x40df30
lea eax, [edi + edi + 2]
call fcn.0044dbb0
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 0x40df30
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor ecx, ecx
test al, 1
je 0x40df09
inc ecx
jmp 0x40df10
test al, 2
je 0x40df10
push 2
pop ecx
test al, 0xb
je 0x40df17
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.0043b2b9
leave
ret 4
Function at 0x40f95f
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.0041032f
lea edi, [esi + 0x80]
mov eax, dword [edi]
test eax, eax
je 0x40f988
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.00410d1a
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.00410d1a
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x40f9c6
cmp eax, dword [esp + 0x18]
je 0x40f9cb
call fcn.00440cd5
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x1c]
jae 0x40f9ed
lea esi, [esp + 0x10]
call fcn.00410a76
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.00410d3a
jmp 0x40f9aa
mov eax, edi
call fcn.0041086a
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, ebx
je 0x40fa22
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 0x40fa47
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 0x40fa8f
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 0x40facb
mov ecx, esi
call fcn.0041053f
test eax, eax
je 0x40fad0
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x40fee6
push edi
push edi
call fcn.0043ec55
add esp, 0x18
mov dword [esi + 0x78], eax
cmp eax, edi
je 0x40facb
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 0x40facb
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 0x40facb
push edi
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
inc eax
jmp 0x40facd

Function at 0x40fbe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x47539c
push 0xeb
push dword [0x485f90]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40fc94
push esi
push dword [0x485f90]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40fc94
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 0x40fc8d
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 0x40fc86
cmp dword [ebp - 4], 0
je 0x40fc86
push edi
push eax
push dword [ebp - 4]
call fcn.0043e3b0
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.0040f64f
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x40fc96
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 0x411bad
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x46b5c0
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 0x475678
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.00406b10
lea ecx, [esp + 0x20]
push str.drv_uninst.exe
push ecx
mov ecx, eax
mov byte [esp + 0x38], 1
call fcn.00406b10
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.0043ee09
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.0043ee09
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 0x476660
call fcn.0043ee09
pop ecx
add eax, eax
push eax
push 0x476660
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 0x411d34
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push 0xc
mov eax, 0x46b0d2
call fcn.004438a7
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.0040be70
cmp eax, 0xffffffff
je 0x411dec
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
push ecx
xor ecx, ecx
call fcn.00406a8f
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, 0x475678
push esi
call fcn.0043ee09
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.0044397f
ret

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

Disassembly:
push 0x214
mov eax, 0x46b09a
call fcn.00443910
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
xor ebx, ebx
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.0043e330
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, 0x475678
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 0x411f00
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x411f00
push dword [ebp - 0x220]
call fcn.00416a34
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 0x411f40
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi - 0x10]
call fcn.004031f6
call fcn.00443993
ret
Function at 0x411f4e
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, 0x46b588
call fcn.004438a7
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.0043e330
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 0x475678
mov dword [ebp - 4], edi
mov edi, 0x476660
push edi
lea eax, [ebp]
push eax
mov ebx, 0x4767bc
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 0x411fff
mov esi, dword [ebp - 0x10]
push esi
call fcn.004168eb
pop ecx
test eax, eax
jne 0x411fff
lea eax, [esi - 0x10]
jmp 0x4120cc
push 0x4767d0
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.00406b10
lea ecx, [ebp - 0x14]
push str.drv_uninst.exe
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00406b10
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.00418f00
push 0x4767fc
push 0x476660
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.00418f00
xor eax, eax
cmp dword [0x484d74], eax
je 0x4120be
push eax
push 0x19
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x475678
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.00418f00
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.0043b2b9
add ebp, 0x20c
leave
ret 4
Function at 0x4120f6
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 0x412136
lea eax, [ebp - 4]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
jmp 0x41213a
test eax, eax
jne 0x412161
cmp dword [ebp - 4], 0
je 0x412161
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 0x412167
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.0043e330
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 0x412254
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412254
call fcn.00412267
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 0x412254
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412254
lea eax, [ebp - 0x218]
push eax
push 0x475100
push 0x103
push dword [ebp - 0x224]
call fcn.0043f583
xor eax, eax
add esp, 0x10
inc eax
jmp 0x412256
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b2b9
leave
ret 4
Function at 0x412b06
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0x820
mov eax, 0x46b548
call fcn.00443910
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 0x4768ec
push 0x4768f4
push eax
lea esi, [ebp - 0x82c]
mov dword [ebp - 4], edi
call fcn.0040b936
test eax, eax
jne 0x412b60
call fcn.00443993
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.0040baf8
test eax, eax
jne 0x412b9c
mov eax, dword [ebp - 0x81c]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, edi
jmp 0x412b58
push 0x800
lea eax, [ebp - 0x814]
push edi
push eax
call fcn.0043e330
mov edi, dword [ebp - 0x81c]
add esp, 0xc
push 0x476914
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 0x412c1a
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x412c1a
mov ecx, edi
call fcn.00416dba
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 0x412b8a

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

Disassembly:
cmp dword [esi + 0x34], 0
je 0x412c61
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 0x412c90
push edi
xor edi, edi
push dword [esi + 0x2c]
inc edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x412c8f
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 5
jl 0x412c74
pop edi
push dword [esi + 0x2c]
call ebx
pop ebx
test eax, eax
je 0x412ca7
push 4
push 0
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret