joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x44a6e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x44a6ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47de8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00451980
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x48eccc
call fcn.0046fbe3
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4510f3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046fbe3
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4510ec
push 0
mov ecx, eax
call fcn.00448200
mov dword [esi + 0xc], eax
jmp 0x4510f5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4510f5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x472246
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47227e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004702fd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004702d5
jmp 0x47228a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47393b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47397d
call fcn.004793f5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47397d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x473974
xor eax, eax
jmp 0x473985
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047398b
pop edi
pop esi
pop ebx
ret 4
Function at 0x4100fa5
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.04101024
jae 0x4100fb1
xor ecx, ecx
call fcn.04101024
jae 0x4100fdb
xor eax, eax
call fcn.04101024
jae 0x4100fec
mov al, 0x10
call fcn.04101024
adc al, al
jae 0x4100fcd
jne 0x4101019
stosb byte es:[edi], al
jmp 0x4100fb2
call fcn.04101030
dec ecx
loop 0x4100ff8
mov eax, ebp
call fcn.0410102e
jmp 0x410101a
lodsb al, byte [esi]
shr eax, 1
je 0x4101040
adc ecx, 2
mov ebp, eax
jmp 0x410101a
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0410102e
cmp eax, 0x7d00
jae 0x4101018
cmp eax, 0x500
jae 0x4101019
cmp eax, 0x7f
ja 0x410101a
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4100fb2
pop ebp
ret 8
Function at 0x401000
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1000
call fcn.00402e40
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
mov edx, dword [esp + 0x1008]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test edx, edx
stosb byte es:[edi], al
je 0x40108d
mov edi, str._ClearCache_
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea ebx, [esp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
lea eax, [esp + 0x1014]
not ecx
push eax
push edx
dec ecx
mov edx, 0xfff
sub edx, ecx
lea eax, [esp + ecx + 0x14]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
pop ebx
pop edi
add esp, 0x1000
ret
Function at 0x401620
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
push 2
xor ebp, ebp
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x401748
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401725
mov edi, dword [esp + 0x13c]
lea ecx, [esp + 0x34]
push edi
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x4016a5
lea edx, [esp + 0x10]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4016aa
lea eax, [esp + 0x34]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x401683
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x401748
mov ecx, dword [esp + 0x18]
push ecx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x4016eb
inc ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._IsProcessExist__OpenProcess_failed_ErrorCode___d
call fcn.00401000
add esp, 8
cmp ebp, 0xa
jg 0x40173b
jmp 0x401701
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str._IsProcessExist__WaitForSingleObject_End
call fcn.00401000
add esp, 4
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x401641
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x128
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x128
ret 4
push str._IsProcessExist__OpenProcess_failed_too_many_times_return_n
call fcn.00401000
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x128
ret 4
Function at 0x401da0
Capabilities:
Delete registry key

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push str.SoftwareMicrosoftInternet_ExplorerTypedURLs
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x401dd4
push eax
push str._ClearIEURL__RegOpenKey_errorcode___d_n
call fcn.00401000
add esp, 8
xor eax, eax
pop ecx
ret
push str.SoftwareMicrosoftInternet_ExplorerTypedURLs
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x401dfa
push eax
push str._ClearIEURL__RegDeleteKey_errorcode___d_n
call fcn.00401000
add esp, 8
xor eax, eax
pop ecx
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareMicrosoftInternet_ExplorerTypedURLs
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
pop ecx
ret
Function at 0x401f10
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
lea eax, [esp + 4]
push esi
push eax
push 0
push ecx
mov dword [esp + 0x14], 0
call ebx
mov eax, dword [esp + 8]
test eax, eax
ja 0x401f4c
push str._ClearInternetInfo__FindFirstUrlCacheEntry_Return_Null_Buffer_n
call fcn.00401000
add esp, 4
xor eax, eax
pop esi
pop ebx
pop ecx
ret 4
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x401f71
push str._ClearInternetInfo__No_Memory_n
call fcn.00401000
add esp, 4
xor eax, eax
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esp + 8]
push ebp
mov edx, ecx
push edi
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push esi
push ecx
call ebx
mov ebx, eax
test ebx, ebx
jne 0x401faa
push str._ClearInternetInfo__FindFirstUrlCacheEntry_Failed_n
jmp 0x402071
mov edi, 1
cmp edi, 1
jne 0x401ff0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x401fd5
test dword [esi + 0xc], 0x300000
jne 0x401ff0
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov eax, dword [esi + 4]
push eax
jmp 0x401fe3
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov edx, dword [esi + 4]
push edx
push str._ClearInternetInfo_Clear:_s_n
call fcn.00401000
add esp, 8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
push eax
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 1
je 0x401fb4
cmp eax, 0x7a
jne 0x402079
push esi
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 8
test esi, esi
je 0x402060
mov ecx, dword [esp + 0x10]
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
mov edi, eax
test edi, edi
je 0x40206c
jmp 0x401faf
push str._ClearInternetInfo__No_Memory_n
call fcn.00401000
jmp 0x402084
push str._ClearInternetInfo__FindNextUrlCacheEntry_Failed_n
call fcn.00401000
add esp, 4
test esi, esi
je 0x402087
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop ebp
test ebx, ebx
je 0x402094
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
pop esi
mov eax, 1
pop ebx
pop ecx
ret 4
Function at 0x4020a0
Capabilities:
Delete file

Disassembly:
sub esp, 0x124
push edi
xor edx, edx
mov ecx, 6
xor eax, eax
lea edi, [esp + 8]
mov dword [esp + 4], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x12c]
pop edi
cmp eax, edx
jne 0x4020f2
mov eax, dword [esp + 0x12c]
cmp eax, edx
jne 0x4020f2
xor eax, eax
add esp, 0x124
ret 0x10
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x130]
push ecx
push edx
push eax
push str._s_s_s
lea eax, [esp + 0x30]
push 0x102
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
lea edx, [esp]
lea ecx, [esp + 0x20]
mov dword [esp + 4], 3
push edx
mov word [esp + 0x14], 0x414
mov dword [esp + 0xc], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x40214d
lea eax, [esp + 0x20]
push eax
push str._DeleteCacheFiles_Delete_Success:_s_n
jmp 0x402157
lea ecx, [esp + 0x20]
push ecx
push str._DeleteCacheFiles_Delete_Failed:_s_n
call fcn.00401000
add esp, 8
mov eax, 1
add esp, 0x124
ret 0x10

Function at 0x402170
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x140
test edx, edx
jne 0x402199
push str._ClearIE78Cache__No_need_to_clear_cache.
call fcn.00401000
add esp, 4
mov eax, 1
add esp, 0x140
ret 4
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x45]
mov byte [esp + 0x44], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
or dh, 1
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x48]
push str.InetCpl.cpl_ClearMyTracksByProcess__d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
call fcn.00401000
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x10]
add esp, 4
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 8]
lea edx, [esp + 0x44]
push eax
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x400
mov dword [esp + 0x18], str.open
mov dword [esp + 0x1c], str.RunDll32.exe
mov dword [esp + 0x20], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov esi, eax
test esi, esi
jne 0x402232
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ShellExecuteEx_errorCode___d
call fcn.00401000
add esp, 8
mov eax, esi
pop edi
pop esi
add esp, 0x140
ret 4
Function at 0x402380
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x46c
push ebx
push esi
mov esi, dword [esp + 0x478]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x1c], ecx
jne 0x4023b6
push str._ClearWin7IE78Cache__No_need_to_clear_cache.
call fcn.00401000
add esp, 4
mov eax, 1
pop esi
pop ebx
add esp, 0x46c
ret 4
push ebp
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x6d]
mov byte [esp + 0x6c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x6c]
push 0x103
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x379]
mov byte [esp + 0x378], bl
rep stosd dword es:[edi], eax
mov ebp, dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea ecx, [esp + 0x6c]
stosw word es:[edi], ax
push str.rundll32.exe
lea edx, [esp + 0x37c]
push ecx
push edx
stosb byte es:[edi], al
call ebp
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x171]
mov byte [esp + 0x170], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x6c]
push str.inetcpl.cpl
lea ecx, [esp + 0x174]
push eax
push ecx
call ebp
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x275]
mov byte [esp + 0x274], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
or esi, 0x100
lea edx, [esp + 0x170]
push esi
push str._ClearMyTracksByProcess
stosb byte es:[edi], al
push edx
push str.rundll32.exe
lea eax, [esp + 0x284]
push str._s__s_s__d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x44]
add esp, 0x18
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x18], ecx
push edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call fcn.00402240
mov esi, eax
cmp esi, ebx
je 0x4024f9
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x290]
push ebx
lea eax, [esp + 0x398]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov esi, eax
cmp esi, ebx
je 0x402507
jmp 0x40251b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetDupTokenHandle_ErrorCode___d
jmp 0x402513
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcessAsUser_ErrorCode___d
call fcn.00401000
add esp, 8
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x402530
push eax
call edi
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40253f
push eax
call edi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40254a
push eax
call edi
pop edi
mov eax, esi
pop ebp
pop esi
pop ebx
add esp, 0x46c
ret 4
Function at 0x4027f0
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x36c
push ebx
push ebp
mov ebp, dword [esp + 0x378]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
jne 0x402826
push str._ClearIE78Cache__No_need_to_clear_cache.
call fcn.00401000
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x36c
ret 4
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x71]
mov byte [esp + 0x70], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x175]
mov byte [esp + 0x174], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 8
mov esi, str._WinX:18_WinY:6_IEFrame:00020336
lea edi, [esp + 0x4c]
lea eax, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push 0x103
push eax
movsb byte es:[edi], byte [esi]
or ebp, 0x2100
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x40288c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x36c
ret 4
lea edi, [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jg 0x4028ab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x36c
ret 4
mov al, byte [esp + ecx + 0x6f]
dec ecx
cmp al, 0x5c
je 0x4028b8
cmp al, 0x2f
jne 0x4028bc
mov byte [esp + ecx + 0x70], bl
mov esi, dword [sym.imp.MSVCRT.dll_strncat]
mov edx, 0x102
sub edx, ecx
lea eax, [esp + 0x70]
push edx
push str._system32
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x70]
lea edx, [esp + 0x174]
push ebp
push ecx
push str._sinetcpl.cpl_ClearMyTracksByProcess_Flags:_d
push 0x207
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x188]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x188]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x206
sub eax, ecx
lea ecx, [esp + 0x60]
push eax
push ecx
push edx
call esi
add esp, 0x20
lea eax, [esp + 0x174]
push eax
push str._ClearIe9Cache__s_n
call fcn.00401000
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x1c]
add esp, 8
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
lea ecx, [esp + 0x174]
push edx
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x20], str.open
mov dword [esp + 0x24], str.RunDll32.exe
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov esi, eax
cmp esi, ebx
jne 0x402998
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ShellExecuteEx_errorCode___d
call fcn.00401000
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x36c
ret 4
Function at 0x4029b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov ebx, dword [esp + 0x21c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push str._ClearIe10Cache__d_n
xor esi, esi
stosb byte es:[edi], al
call fcn.00401000
add esp, 8
test ebx, ebx
jne 0x402a23
push str._ClearWin8IE10Cache__No_need_to_clear_cache.
call fcn.00401000
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x208
ret 4
test bl, 8
je 0x402a2d
mov esi, 0x108
test bl, 2
je 0x402a38
or esi, 0x102
test bl, 1
je 0x402a43
or esi, 0x1c1
test bl, 0x30
je 0x402a4e
or esi, 0x2fa
lea eax, [esp + 0x10]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp eax, 0x104
ja 0x402a14
test eax, eax
je 0x402a14
lea ecx, [esp + 0x10]
push esi
lea edx, [esp + 0x14]
push ecx
push edx
push str._s_system32_rundll32.exe__s_system32inetcpl.cpl_ClearMyTracksByProcess_Flags:_d
lea eax, [esp + 0x124]
push 0x104
push eax
call fcn.00402ab0
add esp, 0x18
lea ecx, [esp + 0x114]
push ecx
mov ecx, ebp
call fcn.00402b20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 4
Function at 0x402b60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x38]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x28], eax
xor ebp, ebp
mov dword [esp + 0x2c], eax
xor esi, esi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
sub eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], 0x44
je 0x402bd4
dec eax
je 0x402bcd
dec eax
je 0x402bc6
push str.error_integrity_level
call fcn.00401000
add esp, 4
jmp 0x402bd9
mov esi, str.S_1_16_12288
jmp 0x402bd9
mov esi, str.S_1_16_8192
jmp 0x402bd9
mov esi, str.S_1_16_4096
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidA]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x402c0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ConvertStringSidToSid
push str._ClearCache_failed_to_call__s_GLE_is__d
call fcn.00401000
add esp, 0xc
jmp 0x402d15
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push 0x82
mov dword [esp + 0x28], 0x20
mov dword [esp + 0x24], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x402c56
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenProcessToken
push str._ClearCache_failed_to_call__s_GLE_is__d
call fcn.00401000
add esp, 0xc
jmp 0x402d15
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push 1
push 1
push ebx
push 0x89
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x402c92
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DuplicateTokenEx
push str._ClearCache_failed_to_call__s_GLE_is__d
call fcn.00401000
add esp, 0xc
jmp 0x402d15
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push 8
push eax
push 0x19
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x402cc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetTokenInformation
push str._ClearCache_failed_to_call__s_GLE_is__d
call fcn.00401000
add esp, 0xc
jmp 0x402d15
lea edx, [esp + 0x24]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x34]
push edx
mov edx, dword [esp + 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov ebp, eax
cmp ebp, ebx
jne 0x402d07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcessAsUser
push str._ClearCache_failed_to_call__s_GLE_is__d
call fcn.00401000
add esp, 0xc
jmp 0x402d15
mov eax, dword [esp + 0x24]
push eax
call esi
mov ecx, dword [esp + 0x28]
push ecx
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x402d20
push eax
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x402d2b
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x402d3a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8