joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f9f4
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x41fbde
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4f845c], 0
jne 0x41fbc3
lea eax, [ebp - 4]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.ADVAPI32.dll_OpenProcessToken
test eax, eax
je 0x41fbbc
xor eax, eax
push ebp
push 0x41fbb5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 3
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_GetTokenInformation
cmp dword [ebp - 8], 0
je 0x41fb9e
mov eax, dword [ebp - 8]
add eax, eax
push eax
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
add eax, eax
push eax
push ebx
push 3
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_GetTokenInformation
test eax, eax
je 0x41fb98
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x4f7e20]
call fcn.00406714
mov eax, dword [ebp - 0x24]
call fcn.004039b8
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x41facc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [0x4f7e24]
call fcn.00406714
mov eax, dword [ebp - 0x28]
call fcn.004039b8
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x41faff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x4f7e28]
call fcn.00406714
mov eax, dword [ebp - 0x2c]
call fcn.004039b8
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x41fb32
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [ebx]
dec esi
test esi, esi
jl 0x41fb84
inc esi
xor ecx, ecx
lea edi, [ecx + ecx*2]
mov eax, dword [ebx + edi*4 + 4]
mov edx, dword [ebx + edi*4 + 8]
cmp edx, dword [ebp - 0xc]
jne 0x41fb4f
cmp eax, dword [ebp - 0x10]
je 0x41fb80
lea eax, [ecx + ecx*2]
mov edx, dword [ebx + eax*4 + 8]
mov eax, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 0x14]
jne 0x41fb64
cmp eax, dword [ebp - 0x18]
je 0x41fb80
lea eax, [ecx + ecx*2]
mov edx, dword [ebx + eax*4 + 8]
mov eax, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 0x1c]
jne 0x41fb79
cmp eax, dword [ebp - 0x20]
je 0x41fb80
or dword [ebx + edi*4 + 0xc], 2
inc ecx
dec esi
jne 0x41fb3c
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_AdjustTokenPrivileges
push ebx
call sub.KERNEL32.dll_LocalFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fbbc
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_CloseHandle
ret
mov byte [0x4f845c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fbe5
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040354c
ret
Function at 0x42537e
Capabilities:
Terminate process

Disassembly:
push 0x30
mov eax, 0x4c13da
call fcn.004a9c3b
lea eax, [ebp - 0x3c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00425647
push 1
push str.msiexec.exe
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0045ff70
pop ecx
pop ecx
test eax, eax
jne 0x425459
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.DoMsiTrackerStop:_no_msiexec.exe_currently_running
push eax
call fcn.00462050
pop ecx
pop ecx
call fcn.00424c41
pop ecx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.DoMsiTrackerStop:_uninjecting_services.exe
push eax
call fcn.00462050
pop ecx
pop ecx
call fcn.00424c41
pop ecx
push ebx
push dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.services.exe
call fcn.00423416
call fcn.00424f42
mov esi, eax
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
mov edx, esi
call fcn.00469060
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [eax]
push str.DoMsiTrackerStop:_uninject_services.exe_returned:__s
push ecx
call fcn.00462050
add esp, 0xc
call fcn.00424c41
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], bl
call fcn.0043bf65
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, esi
call fcn.004a9d13
ret
mov esi, dword [ebp - 0x30]
cmp esi, dword [ebp - 0x2c]
jbe 0x425466
call fcn.004a4f01
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], esi
jbe 0x42547c
call fcn.004a4f01
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x425488
cmp eax, dword [ebp - 0x3c]
je 0x42548d
call fcn.004a4f01
cmp dword [ebp - 0x18], esi
je 0x4253ce
lea esi, [ebp - 0x1c]
call fcn.0043bff4
push dword [eax]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
call fcn.0043bff4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
cmp edi, ebx
je 0x4254e1
push str.DoMsiTrackerStop:_killing_msiexec.exe_PID__d
push ecx
call fcn.00462050
add esp, 0xc
call fcn.00424c41
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4254f5
push str.DoMsiTrackerStop:_cant_open_msiexec.exe_PID__d
push ecx
call fcn.00462050
add esp, 0xc
call fcn.00424c41
pop ecx
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x1c]
call fcn.0042567f
jmp 0x42546f
Function at 0x4256e4
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x45c
mov eax, 0x4bf59b
call fcn.004a9ca4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x454], eax
push 0x5c
push ecx
xor edi, edi
mov dword [ebp - 4], edi
mov eax, esp
mov dword [ebp - 0x458], esp
push eax
xor esi, esi
call fcn.00460f60
pop ecx
lea eax, [ebp - 0x460]
push eax
call fcn.00462560
add esp, 8
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x458], esp
push dword [ebp + 8]
push dword [ebp - 0x460]
push str._s:_CHttpStreaming::DownloadFileToMemory:__s
push eax
call fcn.00462050
add esp, 0x10
call fcn.004256b4
mov eax, dword [0x4f43f4]
pop ecx
cmp eax, edi
jne 0x42577b
push edi
push edi
push edi
push edi
push str.http_cameyo_streaming
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [0x4f43f4], eax
cmp eax, edi
je 0x42586c
push edi
push edi
push edi
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x45c], eax
cmp eax, edi
je 0x42583f
push edi
lea ecx, [ebp - 0x458]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push 0x13
push eax
mov dword [ebp - 0x458], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x50]
push 0x4cd1d0
push eax
call fcn.004a4fd0
pop ecx
pop ecx
test eax, eax
jne 0x425831
mov esi, 0x4000
push esi
call fcn.004a5492
pop ecx
mov ebx, eax
lea eax, [ebp - 0x468]
push eax
push esi
push ebx
jmp 0x42580e
add edi, dword [ebp - 0x468]
cmp dword [ebp - 0x468], esi
jne 0x42581e
lea eax, [edi + 0x4000]
push eax
push ebx
call fcn.004a5600
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0x468]
push eax
push esi
lea eax, [ebx + edi]
push eax
push dword [ebp - 0x45c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4257e3
mov eax, dword [ebp - 0x464]
mov dword [eax], ebx
mov eax, dword [ebp - 0x454]
xor esi, esi
mov dword [eax], edi
inc esi
push dword [ebp - 0x45c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x42586c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x464]
push eax
mov dword [ebp - 0x454], edi
call dword [sym.imp.WININET.dll_InternetGetLastResponseInfoW]
push ecx
mov eax, esp
mov dword [ebp - 0x454], esp
push dword [ebp - 0x460]
push str._s:_CHttpStreaming::DownloadFileToMemory:_out
push eax
call fcn.00462050
add esp, 0xc
call fcn.004256b4
pop ecx
mov ecx, dword [ebp - 0x460]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, esi
call fcn.004a9d27
ret
Function at 0x426032
Capabilities:
Get system information on windows

Disassembly:
push 4
mov eax, 0x4bddc4
call fcn.004a9c3b
mov edi, dword [ebp + 8]
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00421487
push 4
mov byte [ebp - 4], 1
lea ebx, [edi + 0x74]
call fcn.0049602e
pop ecx
cmp eax, esi
je 0x426064
mov dword [eax], ebx
jmp 0x426066
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00423ab3
mov eax, dword [ebp + 0x10]
or dword [edi + 4], 0xffffffff
or dword [edi + 8], 0xffffffff
mov dword [edi + 0x18], eax
lea eax, [edi + 0x4c]
push eax
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
mov dword [edi + 0x8c], esi
mov dword [edi + 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [edi + 0x68]
xor edx, edx
mov eax, 0x400000
div ecx
push dword [ebp + 0x14]
imul eax, ecx
mov dword [edi + 0x70], eax
call fcn.00479430
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, edi
call fcn.004a9d13
ret 0x10
Function at 0x426156
Capabilities:
Set file attributes

Disassembly:
push 0xc
mov eax, 0x4c20fe
call fcn.004a9c3b
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.00423416
and dword [ebp - 4], 0
push 0x5c
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00423a92
lea eax, [ebp - 0x14]
push eax
call fcn.00462690
add esp, 8
mov dword [ebp - 0x18], esp
mov edi, esp
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call fcn.00423a92
call fcn.0047c340
pop ecx
call fcn.00464b00
cmp dword [ebp + 0x18], 0
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ecx
mov dword [ebp - 0x18], eax
jne 0x42626e
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp + 0x18], esp
mov ecx, esp
push eax
call fcn.00423a92
lea esi, [ebp + 0x18]
call fcn.004627c0
pop ecx
mov edx, dword [ebp + 0xc]
mov byte [ebp - 4], 2
push dword [eax]
mov eax, dword [ebp + 8]
call fcn.00478f60
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
cmp esi, 0x200
jne 0x426283
push 0
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp + 0x18], esp
mov ecx, esp
push eax
call fcn.00423a92
lea edi, [ebp + 0x18]
call fcn.0047c340
pop ecx
push dword [eax]
call ebx
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.0042101a
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp + 0x18], esp
mov ecx, esp
push eax
call fcn.00423a92
lea esi, [ebp + 0x18]
call fcn.004627c0
pop ecx
mov edx, dword [ebp + 0xc]
mov byte [ebp - 4], 3
push dword [eax]
mov eax, dword [ebp + 8]
call fcn.00478f60
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
jmp 0x426283
push dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
call fcn.00478fa0
pop ecx
pop ecx
mov esi, eax
test esi, esi
jne 0x4262c8
cmp dword [ebp + 0x14], esi
je 0x4262b6
push dword [ebp + 0x14]
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp + 0x18], esp
mov ecx, esp
push eax
call fcn.00423a92
lea edi, [ebp + 0x18]
call fcn.0047c340
pop ecx
push dword [eax]
call ebx
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.0042101a
cmp dword [ebp - 0x18], 0
jne 0x4262c8
push 1
push dword [ebp - 0x14]
call fcn.0046df60
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, esi
call fcn.004a9d13
ret
Function at 0x42720c
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x14
mov eax, 0x4c1b05
call fcn.004a9c3b
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xd], bl
call fcn.00423416
push str.VirtApp.ini
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004279d8
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4272ac
push ebx
push edi
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 2]
push 1
push eax
call fcn.004a5403
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
shr esi, 1
push esi
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.004262fd
add esp, 0xc
test al, al
je 0x4272a3
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
call fcn.004a5375
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
mov al, byte [ebp - 0xd]
call fcn.004a9d13
ret

Function at 0x427583
Capabilities:
Enumerate files on windows

Disassembly:
push 0x264
mov eax, 0x4bdd77
call fcn.004a9ca4
push 0x24c
lea eax, [ebp - 0x25c]
push 0
mov dword [ebp - 4], 1
and dword [ebp - 0x260], 0
push eax
call fcn.004a5560
push dword [ebp + 8]
lea eax, [ebp - 0x26c]
push str._s..stamp
push eax
call fcn.00462050
mov eax, dword [eax]
add esp, 0x18
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
cmp esi, 0xffffffff
je 0x427681
push ecx
mov dword [ebp - 0x268], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
push 0x4cb098
call fcn.00423416
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call fcn.00423416
push ecx
mov dword [ebp - 0x264], esp
mov ebx, esp
push 0x5c
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x264], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.00423a92
push ebx
call fcn.00462690
add esp, 0xc
mov byte [ebp - 4], 1
call fcn.00461ba0
add esp, 0xc
call fcn.00465760
pop ecx
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4275f3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x4cd12c
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x264], esp
mov ecx, esp
push eax
xor edi, edi
call fcn.00423a92
call fcn.00462e30
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
call fcn.004a9d27
ret
Function at 0x428734
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x10
mov eax, 0x4c115b
call fcn.004a9c3b
lea eax, [ebp + 8]
xor ebx, ebx
push eax
mov ecx, 0x4f4aac
mov dword [ebp - 4], ebx
call fcn.00423ab3
lea eax, [ebp + 8]
mov esi, 0x4f48b8
push eax
mov ecx, esi
call fcn.00423ab3
push 1
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push esi
call fcn.00423a92
lea edi, [ebp - 0x14]
call fcn.00461f60
pop ecx
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00423ab3
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.004235be
mov edi, 0x4cb098
push edi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004239bd
test eax, eax
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.0042101a
cmp byte [ebp - 0xd], bl
je 0x4287d4
push edi
mov ecx, esi
call fcn.004279d8
mov esi, dword [0x4f48b8]
call fcn.00464ba0
push dword [0x4f48b8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x428821
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Diff_Init:_Cannot_create_TempDir
call fcn.00423416
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.General
mov byte [ebp - 4], 3
call fcn.00423416
push 3
mov byte [ebp - 4], bl
call fcn.00466f00
add esp, 0xc
push 0x4f48e0
call fcn.0042887a
mov esi, 0x4cd12c
push esi
mov ecx, 0x4f48bc
call fcn.00423ebc
push esi
mov ecx, 0x4f48c4
call fcn.00423ebc
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.00423416
push 0x4f48f8
call fcn.0042891a
call fcn.0044a300
call fcn.0043f2f0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
inc eax
call fcn.004a9d13
ret
Function at 0x429b00
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
xor eax, eax
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x14], ecx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], ecx
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x24]
push ecx
push eax
call ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call ebx
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
sub esi, dword [ebp - 0xc]
sub edi, dword [ebp - 8]
sub esi, dword [ebp - 0x24]
sub edi, dword [ebp - 0x20]
add esi, dword [ebp - 0x14]
add edi, dword [ebp - 0x18]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x429b96
lea ecx, [ebp - 0x34]
push ecx
push eax
call ebx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
test eax, eax
jg 0x429b88
test ecx, ecx
jle 0x429b96
jmp 0x429b8d
sub eax, dword [ebp - 0x28]
add edi, eax
test ecx, ecx
jle 0x429b96
sub ecx, dword [ebp - 0x2c]
add esi, ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 1
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x429cf3
Capabilities:
Create directory
Create thread

Disassembly:
push 0x30
mov eax, 0x4c03bf
call fcn.004a9c3b
xor esi, esi
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov ebx, 0x4cb5c0
push ebx
mov dword [ebp - 0x18], esi
call fcn.00423416
lea eax, [ebp - 0x10]
push eax
call fcn.00461750
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
push 0x10
call fcn.0049602e
mov edi, eax
pop ecx
cmp edi, esi
je 0x429d5a
lea ecx, [edi + 8]
call fcn.00421487
lea ecx, [edi + 0xc]
call fcn.00421487
mov dword [0x4f4848], edi
jmp 0x429d60
mov dword [0x4f4848], esi
push ecx
mov edi, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4cb098
call fcn.00423416
push ecx
mov dword [ebp - 4], esi
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Troubleshoot.log
call fcn.00423416
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
call fcn.00423416
mov eax, dword [ebp - 0x14]
push eax
call fcn.00461750
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
call fcn.00461ba0
add esp, 0xc
call fcn.00429717
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp + 8]
push 0x429a20
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x429def
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x3c]
push eax
call edi
test eax, eax
jg 0x429ddb
mov eax, dword [ebp - 0x34]
call fcn.004a9d13
ret 4
Function at 0x42a576
Capabilities:
Move file

Disassembly:
push 0x18
mov eax, 0x4bf37f
call fcn.004a9c3b
mov esi, ecx
and dword [ebp - 4], 0
push 0
call fcn.004a5d1c
push eax
call fcn.004a5ce8
pop ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4cb098
call fcn.00423416
mov byte [ebp - 4], 1
call fcn.004a5cfa
push ecx
mov edi, esp
mov dword [ebp - 0x20], esp
push eax
push 0x5c
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00423a92
lea eax, [ebp - 0x18]
push eax
call fcn.00462560
add esp, 0xc
mov byte [ebp - 4], 2
push dword [eax]
push str._s._d.ToDelete
push edi
call fcn.00462050
add esp, 0xc
lea eax, [esi + 0x44]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 3
call fcn.00423401
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00461ba0
add esp, 0xc
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp + 8]
push ecx
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00423a92
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0047c3d0
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, esi
call fcn.004a9d13
ret
Function at 0x42a667
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0x274
mov eax, 0x4bf32f
call fcn.004a9ca4
xor edi, edi
push 0x24c
lea eax, [ebp - 0x260]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x264], edi
call fcn.004a5560
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
mov esi, 0x4cb098
push esi
call fcn.00423416
push ecx
mov dword [ebp - 4], edi
mov ecx, esp
mov dword [ebp - 0x280], esp
push str..ToDelete
call fcn.00423416
push ecx
mov byte [ebp - 4], 1
add ebx, 0x44
mov ecx, esp
mov dword [ebp - 0x27c], esp
push ebx
call fcn.00423401
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x274]
call fcn.00461ba0
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x274]
cmp eax, 0xffffffff
setne byte [ebp - 0x265]
add ecx, 0xfffffff0
mov dword [ebp - 0x270], eax
call fcn.0042101a
cmp byte [ebp - 0x265], 0
je 0x42a7df
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], esp
push esi
call fcn.00423416
push ecx
mov dword [ebp - 4], 2
lea eax, [ebp - 0x238]
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
call fcn.00423416
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
push ebx
mov byte [ebp - 4], 3
call fcn.00423401
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x26c]
call fcn.00461ba0
add esp, 8
mov eax, esp
mov dword [ebp - 0x278], esp
mov dword [ebp - 4], 4
push dword [ebp - 0x26c]
push str.DeleteSharingViolationRemains:_deleting__s
push eax
call fcn.00462050
add esp, 0xc
call fcn.0042a10d
pop ecx
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0042101a
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42a721
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.004a9d27
ret