joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422520
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x804
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, dword [esp + 0x80c]
push edi
mov edi, dword [esp + 0x814]
test esi, esi
je 0x4225e3
test edi, edi
je 0x4225e3
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00457170
add esp, 0xc
push edi
push esi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4225e3
push ebx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test bl, 1
je 0x4225a6
and ebx, 0xfffffffe
push ebx
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
pop ebx
je 0x4225d8
cmp dword [esp + 0x818], 0
jne 0x4225e3
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0045715c
add esp, 0x804
ret
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.0045715c
add esp, 0x804
ret

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

Disassembly:
sub esp, 0xa0c
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0xa08], eax
lea eax, [esp + 0x800]
push eax
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x800
lea ecx, [esp + 4]
push 0
push ecx
call fcn.00457170
add esp, 0xc
push 0x479284
lea edx, [esp + 0x804]
push edx
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0xa08]
xor ecx, esp
call fcn.0045715c
add esp, 0xa0c
ret

Function at 0x422680
Capabilities:
Delete file

Disassembly:
sub esp, 0x804
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push 0x800
lea eax, [esp + 8]
push 0
push eax
mov esi, ecx
call fcn.00457170
mov ecx, dword [esi + 8]
add esp, 0xc
push str.360setupscan.exe
push ecx
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.0045715c
add esp, 0x804
ret

Function at 0x4226e0
Capabilities:
Delete file

Disassembly:
sub esp, 0x804
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push esi
mov esi, dword [esp + 0x810]
push edi
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00457170
add esp, 0xc
push str.safemonSelfProtectAPI2.dll
push esi
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
push 0xc8
call edi
lea edx, [esp + 0xc]
push edx
call ebx
test eax, eax
jne 0x422749
inc esi
cmp esi, 0xa
jl 0x422731
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045715c
add esp, 0x804
ret 4
Function at 0x422770
Capabilities:
Check if file exists
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x180c
call fcn.004580a0
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x1808], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x422892
test esi, esi
je 0x422892
push 0x800
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00457170
add esp, 0xc
push edi
push esi
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x10]
push edx
call ebx
test eax, eax
jne 0x422892
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422892
push 0x80
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x42280b
lea edx, [esp + 0x10]
push edx
call ebx
push 0x800
lea eax, [esp + 0x814]
push 0
mov ecx, 0x200
lea esi, [esp + 0x18]
lea edi, [esp + 0x1018]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00457170
add esp, 0xc
lea ecx, [esp + 0x1010]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x810]
push edx
push 0
push 0x47923c
lea eax, [esp + 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [esp + 0x810]
push ecx
call ebx
lea edx, [esp + 0x810]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x422892
push 4
push 0
lea ecx, [esp + 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x1814]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045715c
mov esp, ebp
pop ebp
ret 8
Function at 0x4228d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x470fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x810]
mov dword fs:[0], eax
push str.SafemonFixRegSrv
mov esi, ecx
call fcn.00419ac0
mov eax, dword [0x48f014]
add esp, 4
mov dword [esp + 8], eax
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x81c], 0
call fcn.0043ce50
push 0x800
lea edx, [esp + 0x10]
push 0
push edx
call fcn.00457170
mov eax, dword [esp + 0x14]
add esp, 0xc
push 0x477c78
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.00404070
test eax, eax
jne 0x4229a1
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4229a1
lea eax, [esp + 0xc]
push eax
call fcn.004040f0
add esp, 4
test eax, eax
jne 0x4229a1
push 1
call fcn.00456cf0
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00456f00
add esp, 0xc
jmp 0x4229b0
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x422a16
lea eax, [esp + 0xc]
push eax
push str.Module__s_not_found_
call fcn.00419ac0
add esp, 8
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x48f010]
je 0x4229ef
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4229ef
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00457d84
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x810]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0045715c
add esp, 0x814
ret
push str.FixRegSrv
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4229c2
call eax
push str.FixRegSrv_Done
call fcn.00419ac0
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
add esp, 4
cmp ecx, dword [0x48f010]
je 0x422a62
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x422a62
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00457d84
add esp, 4
mov eax, 1
jmp 0x4229f1
Function at 0x422f20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
mov ebp, dword [sym.imp.SHELL32.dll_SHGetMalloc]
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov esi, ecx
call ebp
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x422f9c
lea ecx, [esp + 0x14]
push ecx
push 0x25
push 0
call ebx
test eax, eax
jl 0x422f90
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x10]
call fcn.0041c500
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x422fec
lea ecx, [esp + 0x14]
push ecx
push 0x24
push 0
call ebx
test eax, eax
jl 0x422fe0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x14]
call fcn.0041c500
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x42303c
lea ecx, [esp + 0x14]
push ecx
push 2
push 0
call ebx
test eax, eax
jl 0x423030
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x18]
call fcn.0041c500
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x42308c
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call ebx
test eax, eax
jl 0x423080
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x1c]
call fcn.0041c500
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
jl 0x4230dc
lea ecx, [esp + 0x14]
push ecx
push 0x15
push 0
call ebx
test eax, eax
jl 0x4230d0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x20]
call fcn.0041c500
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045715c
add esp, 0x214
ret
Function at 0x4235f0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4718cb
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x818]
mov dword fs:[0], eax
mov esi, dword [esp + 0x828]
test esi, esi
je 0x4236ed
push 0x800
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00457170
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push esi
push str.SOFTWAREKasperskyLabSetupFolders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4236ed
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
call fcn.0041e3d0
lea ecx, [esp + 8]
mov dword [esp + 0x820], 0
call fcn.00422d90
push 0x22
lea ecx, [esp + 0xc]
call fcn.00422e60
lea ecx, [esp + 8]
call fcn.00422df0
push 0x22
lea ecx, [esp + 0xc]
call fcn.00422ec0
mov edx, dword [esp + 8]
push str.avp.exe
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 8]
test eax, eax
jne 0x4236f1
call fcn.0041a630
xor eax, eax
jmp 0x4236fb
call fcn.0041a630
mov eax, 1
mov ecx, dword [esp + 0x818]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0045715c
add esp, 0x81c
ret 4
Function at 0x424a30
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x471a76
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x830]
push 0x800
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00457170
mov ebp, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.360safe360move
push esi
lea ecx, [esp + 0x24]
push ecx
call ebp
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424b83
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041e3d0
push str.360safe_move
push esi
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x834], 0
call ebp
lea edx, [esp + 0x1c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push edi
mov ecx, ebx
call fcn.004215f0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041e3d0
push str.360safe
push esi
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x834], 1
call ebp
lea eax, [esp + 0x1c]
push eax
call fcn.00401d20
add esp, 4
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov esi, dword [esp + 0x14]
push edi
push esi
mov ecx, ebx
call fcn.004215f0
push esi
call fcn.00401d20
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
add esp, 4
cmp ecx, dword [0x48f010]
je 0x424b65
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x424b65
push esi
call fcn.00457d84
add esp, 4
lea edx, [edi - 0xc]
cmp edx, dword [0x48f010]
je 0x424b83
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x424b83
push esi
call fcn.00457d84
add esp, 4
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0045715c
add esp, 0x818
ret 4
Function at 0x425480
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [esp + 0x10]
push eax
mov esi, ecx
call edi
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x4254fb
lea ecx, [esp + 0x14]
push ecx
push 0x23
push 0
call ebp
test eax, eax
jl 0x4254ef
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00424a30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
jl 0x42554a
lea ecx, [esp + 0x14]
push ecx
push 0x1a
push 0
call ebp
test eax, eax
jl 0x42553e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00424a30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0045715c
add esp, 0x214
ret

Function at 0x425720
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x218
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x228]
mov dword [esp + 0x10], 0x104
test edi, edi
je 0x4257be
mov ebx, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push edi
push 0
mov dword [esp + 0x28], 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4257be
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4257be
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4257be
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
push 0
call ebx
test eax, eax
je 0x4257b7
mov eax, esi
jmp 0x4257c0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045715c
add esp, 0x218
ret 4
Function at 0x425870
Capabilities:
Compare security identifiers

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
test eax, eax
je 0x425904
lea ecx, [esp]
push ecx
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclW]
test eax, eax
jne 0x425904
push edi
mov edi, dword [esp + 8]
add edi, 0xffffffff
js 0x425903
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_EqualSid]
push esi
mov esi, edi
shl esi, 5
jmp 0x4258c0
mov ecx, dword [esp + 0x20]
cmp dword [esi + eax + 4], ecx
jne 0x4258f8
test ebx, ebx
je 0x4258e8
cmp dword [esi + eax + 0x14], 0
jne 0x4258f8
push ebx
lea edx, [esi + eax + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_GetTrusteeNameW]
push eax
call ebp
test eax, eax
je 0x4258f4
mov eax, dword [esp + 0x1c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteAce]
mov eax, dword [esp + 0x10]
dec edi
sub esi, 0x20
test edi, edi
jge 0x4258c0
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc

Function at 0x426cf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x471cb4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CCommandParser.0
mov eax, dword [0x48f014]
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [0x48f014]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esi + 8], ecx
mov edx, dword [0x48f014]
mov dword [esi + 0xc], edx
mov ecx, dword [0x48f014]
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x20]
mov ecx, 1
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 3
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
call fcn.0041e3d0
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.0041c4a0
mov eax, dword [esp + 0x20]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x48f010]
je 0x426dc3
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426dc3
push edi
call fcn.00457d84
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x428080
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
push ebp
push esi
test ecx, ecx
je 0x42808e
lea ebp, [ecx - 0x4c]
jmp 0x428090
xor ebp, ebp
cmp dword [esp + 0x3c], 0
mov ecx, dword [ebp + 4]
je 0x428117
mov eax, dword [esp + 0x30]
push ebx
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [esp + 0x3c]
mov edi, eax
push edi
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0041aba0
test eax, eax
je 0x42810b
mov edx, dword [esi]
mov dword [edx - 8], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi]
test eax, eax
je 0x42810b
lea edx, [edi + 1]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.0041aca0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
mov dword [ecx - 8], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp dword [esp + 0x10], edi
pop edi
pop ebx
jge 0x428166
xor esi, esi
jmp 0x428130
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, eax
test esi, esi
jne 0x42815c
push 0xffffffffffffffff
add ebp, 0x4c
call dword [sym.imp.USER32.dll_MessageBeep]
test ebp, ebp
je 0x428144
lea eax, [ebp - 0x4c]
jmp 0x428146
xor eax, eax
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, esi
pop esi
pop ebp
add esp, 0x24
ret 0x18
cmp dword [esp + 0x40], 0
je 0x428199
mov ecx, dword [esi]
mov edx, dword [ecx - 8]
cmp edx, dword [esp + 0x44]
jle 0x428199
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
lea ecx, [ebp + 0x4c]
call fcn.00427a70
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret 0x18
pop esi
mov eax, 1
pop ebp
add esp, 0x24
ret 0x18
Function at 0x428440
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x471e48
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
push edi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x482174]
mov dx, word [esp + 0x38]
mov esi, ecx
mov ecx, dword [0x482178]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov ecx, esi
mov word [esp + 0x1c], dx
call fcn.00439570
test eax, eax
je 0x428596
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, esi
cmp eax, 3
je 0x42859a
call fcn.00439270
mov edi, eax
test edi, edi
je 0x428548
cmp dword [esp + 0x3c], 0
jne 0x428548
push 0x96
lea ecx, [esp + 0x1c]
call fcn.0041caa0
mov ebx, eax
push 0x9f
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.0041caa0
mov ebx, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [esi + 4]
push 1
push 0x10
push ebx
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x44], 1
call fcn.0043bed0
lea ecx, [esp + 0x14]
call fcn.0041a630
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041a630
mov ecx, edi
call fcn.0043bec0
mov ecx, eax
call fcn.004267a0
cmp dword [eax], 0
je 0x428596
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
push 0xffffffffffffffff
call eax
xor eax, eax
jmp 0x4285a5
push 0x9f
lea ecx, [esp + 0x14]
call fcn.0041caa0
mov ecx, dword [eax]
push ecx
lea ecx, [esi + 0x50]
mov dword [esp + 0x34], 2
call fcn.0041c500
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, dword [0x48f010]
je 0x428596
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428596
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00457d84
add esp, 4
xor eax, eax
jmp 0x4285a5
call fcn.004392d0
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0045715c
add esp, 0x24
ret 8