joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fdf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x31c
lea eax, [esp]
push esi
push eax
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp eax, 2
mov dword [0x5e8038], ecx
mov dword [0x5e8044], ecx
mov dword [0x5e803c], ecx
mov dword [0x5e8040], ecx
mov esi, 1
jne 0x46fe80
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x46fe57
mov eax, dword [esp + 0xc]
cmp eax, ecx
jne 0x46fe4b
mov dword [0x5e8044], esi
jmp 0x46fe8a
cmp eax, esi
jne 0x46fe8a
mov dword [0x5e803c], esi
jmp 0x46fe8a
cmp eax, 6
jne 0x46fe8a
mov eax, dword [esp + 0xc]
cmp eax, ecx
je 0x46fe68
cmp eax, esi
jne 0x46fe8a
cmp eax, esi
mov dword [0x5e803c], esi
mov dword [0x5e8040], esi
jne 0x46fe8a
mov dword [0x5e8048], esi
jmp 0x46fe8a
cmp eax, esi
jne 0x46fe8a
mov dword [0x5e8038], esi
mov cx, word [0x50fce0]
push edi
mov word [esp + 0x11c], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x11e]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x11c]
push 0x103
push edx
stosw word es:[edi], ax
call fcn.00470a20
mov ax, word [esp + 0x124]
add esp, 8
cmp ax, 0x37
pop edi
jne 0x46fede
mov dword [0x5e804c], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x36
jne 0x46fef2
mov dword [0x5e8050], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x38
jne 0x46fefe
mov dword [0x5e8054], esi
pop esi
add esp, 0x31c
ret

Function at 0x46ff10
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x46ff82
cmp dword [esp + 4], 5
jne 0x46ff82
cmp dword [esp + 8], 1
jne 0x46ff82
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [esp + 0x18]
push str.Service_Pack_2
push ecx
call esi
add esp, 8
test eax, eax
je 0x46ff75
lea edx, [esp + 0x18]
push str.Service_Pack_3
push edx
call esi
add esp, 8
test eax, eax
je 0x46ff75
xor eax, eax
pop esi
add esp, 0x114
ret
mov eax, 1
pop esi
add esp, 0x114
ret
xor eax, eax
add esp, 0x114
ret

Function at 0x46fff0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
test esi, esi
jne 0x470011
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x470030
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
push 0xd
xor edi, edi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x47009d
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x47009d
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x470092
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x470092
mov edi, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push eax
push 0x4f6574
push edi
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov word [ebx + edi*2 - 2], 0
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop esi
pop edi
ret
mov eax, edi
pop edi
ret

Function at 0x4700b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
xor esi, esi
push ebp
mov dword [esp + 0x10], esi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
add esp, 4
test edi, edi
jle 0x470159
push esi
inc edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x470159
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea esi, [edi + edi]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x470149
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x470142
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x470142
mov dword [esp + 0x10], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x470420
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x470454
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x47043d
xor eax, eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x470454
cmp eax, 0x20
je 0x470454
mov eax, 1
pop esi
ret
mov eax, dword [0x5e8038]
test eax, eax
je 0x470471
push 0
push esi
call fcn.00470490
add esp, 8
neg eax
sbb eax, eax
pop esi
neg eax
inc eax
ret
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 2
pop esi
ret
Function at 0x470690
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push 0x207
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x470719
cmp eax, 0x207
ja 0x470719
lea ecx, [esp]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 - 2], 0x5c
je 0x4706da
lea edx, [esp]
push 0x4f6a18
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, dword [esp + 0x214]
lea eax, [esp + 8]
push str.wininit.ini
push eax
push 0x4f6608
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov word [edi + esi*2 - 2], 0
mov eax, 1
pop edi
pop esi
add esp, 0x208
ret
xor eax, eax
add esp, 0x208
ret
Function at 0x4709e0
Capabilities:
Get common file path
Get program files directory

Disassembly:
cmp word [0x5e8060], 0
jne 0x470a0e
push 0
push 0x26
push 0x5e8060
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push 0x5e8060
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, 0x5e8060
ret

Function at 0x470ef0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 8], ebp
je 0x47101b
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x24]
push eax
push 0x40000
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x47100a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ecx
push 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x47100a
mov eax, dword [esp + 0x30]
test eax, eax
je 0x471005
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push 0x20019
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x47100a
push eax
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push ebp
lea eax, [esp + 0x40]
push edx
push eax
push ebp
push ebp
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x47100a
push 0x20a
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
xor edi, edi
test eax, eax
jbe 0x470ffc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edx, dword [esp + 0x10]
push 0x105
push esi
push edi
push edx
call ebx
test eax, eax
jne 0x470fec
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
call fcn.00470ef0
add esp, 0x10
jmp 0x470ff3
cmp eax, 0x103
je 0x470ffc
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jb 0x470fc3
push esi
call fcn.004ace19
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x47101b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x471190
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x54
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x6c]
push esi
push 1
push eax
push edi
call fcn.00470160
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0x10
test eax, eax
jne 0x4711ca
lea ecx, [esp + 0x10]
push ecx
call ebx
push eax
call ebp
push esi
mov esi, dword [esp + 0x78]
push 0
push esi
push edi
call fcn.00470160
add esp, 0x10
test eax, eax
jne 0x4711e5
push esi
call ebx
push eax
call ebp
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
call edi
push 0x50fce0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
mov ebx, 2
test esi, esi
mov dword [esp + 0x40], 0x24
mov dword [esp + 0x44], esi
je 0x47122d
lea ecx, [esp + 0x40]
push ecx
push 4
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov ebx, eax
lea edx, [esp + 0x30]
push edx
push esi
call ebp
test bl, 2
jne 0x471257
mov eax, dword [0x5e8048]
test eax, eax
jne 0x471257
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x10]
push eax
push ecx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov esi, dword [esp + 0x70]
lea edx, [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_SubtractRect]
test bl, 1
je 0x4712cb
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
cmp ecx, eax
je 0x471288
add eax, 2
pop edi
mov dword [esi], eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 8]
cmp ecx, eax
je 0x4712a1
add eax, 0xfffffffe
pop edi
mov dword [esi + 8], eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 4]
cmp ecx, eax
je 0x4712ba
add eax, 2
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xc]
cmp ecx, eax
je 0x4712cb
add eax, 0xfffffffe
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x471980
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2b8
push esi
lea eax, [esp + 4]
xor esi, esi
push eax
push esi
push esi
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4719f9
mov edx, dword [esp + 4]
test edx, edx
je 0x4719f9
push edi
mov ecx, 0xac
lea edi, [esp + 0x10]
mov dword [esp + 0xc], eax
rep stosd dword es:[edi], eax
push 0x4009
lea ecx, [esp + 0x10]
push 0x2b4
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, eax
pop edi
test esi, esi
je 0x4719ee
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Duplicate]
mov esi, eax
test esi, esi
je 0x4719ee
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
pop esi
add esp, 0x2b8
ret

Function at 0x472c90
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
push edi
push 0xa000
mov dword [esp + 0x10], 0xa000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x472d7c
mov ecx, 0x2800
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push esi
push 0x50b980
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
test ebx, ebx
jne 0x472ce9
push esi
call fcn.004ace19
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x14]
push ebp
push edx
call fcn.00472c40
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push eax
push ecx
push edx
call fcn.004db7d0
add esp, 0xc
test eax, eax
je 0x472d41
mov eax, dword [esi + 4]
push eax
call ebp
test eax, eax
jne 0x472d41
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x472d41
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileA]
mov edx, dword [esi + 4]
push edx
call ebp
mov ecx, 0x2800
xor eax, eax
mov edi, esi
mov dword [esp + 0x10], 0xa000
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push esi
push ebx
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x472d01
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.004ace19
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x472d90
Capabilities:
Enumerate browser history

Disassembly:
sub esp, 0x240
push ebx
push esi
call fcn.00438bf0
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x472db0
pop esi
xor eax, eax
pop ebx
add esp, 0x240
ret
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], bx
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x250]
lea eax, [esp + 0x44]
push edi
push 0x4f6574
push 0x103
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], 1
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
push edi
call fcn.00472bb0
mov edi, dword [esp + 0x278]
add esp, 0x20
cmp edi, ebx
jne 0x472eec
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x472e81
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], ebx
push ecx
push 0x4e73c0
push 3
push ebx
push 0x4e7340
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, esi
call fcn.0043b470
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x472efd
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x20]
dec ecx
add eax, 0xfffff894
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.MSVCRT.dll_mktime]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00439190
mov ecx, dword [esp + 0x268]
add esp, 0x14
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, esi
call fcn.0043b420
jmp 0x472efd
push edi
call fcn.00472c90
add esp, 4
mov ecx, esi
push edi
call fcn.0043b620
push ebx
push 0xe
push 1
call fcn.0042cbe0
mov ecx, eax
call fcn.0042dbf0
mov eax, dword [0x5e8048]
pop edi
cmp eax, ebx
je 0x472f21
push ebx
call fcn.004861a0
add esp, 4
pop esi
mov eax, 1
pop ebx
add esp, 0x240
ret
Function at 0x472f30
Capabilities:
Delete internet cache
Enumerate internet cache
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1bc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0xa000
mov dword [ebp - 0x10], esp
push 0xa000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x472f9d
mov ecx, 0x2800
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push ecx
push esi
push str.cookie:
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
test ebx, ebx
jne 0x472fae
push esi
call fcn.004ace19
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
push edx
call fcn.00472c40
add esp, 4
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push eax
push ecx
push edx
call fcn.004db7d0
add esp, 0xc
test eax, eax
je 0x473002
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
push eax
call edi
test eax, eax
jne 0x473002
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x473002
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileA]
mov edx, dword [esi + 4]
push edx
call edi
mov ecx, 0x2800
xor eax, eax
mov edi, esi
mov dword [ebp - 0x14], 0xa000
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push ecx
push esi
push ebx
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x472fbd
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.004ace19
mov eax, dword [ebp + 0xc]
xor ebx, ebx
add esp, 4
cmp eax, ebx
jne 0x472f9d
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
mov word [ebp - 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, 0x6b5318
push esi
call edi
add esp, 4
test eax, eax
jne 0x47308e
push ebx
lea edx, [ebp - 0x21c]
push 0x21
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x47308e
lea esi, [ebp - 0x21c]
push esi
call edi
add esp, 4
test eax, eax
jbe 0x472f9d
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x422]
mov word [ebp - 0x424], bx
rep stosd dword es:[edi], eax
push str._.txt
push esi
stosw word es:[edi], ax
push 0x4f76fc
lea eax, [ebp - 0x424]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [ebp - 0x424]
push 1
push ecx
mov dword [ebp - 4], ebx
call fcn.004290d0
mov ecx, dword [ebp - 0xc]
add esp, 0x1c
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473100
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x14000
mov dword [esp + 0x10], 0xa000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x4731e6
mov ecx, 0x5000
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push esi
push 0
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
test ebx, ebx
jne 0x473156
push esi
call fcn.004ace19
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x18]
push ebp
push edx
call fcn.00472c40
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
add esp, 4
mov dword [esp + 0x1c], eax
test dword [esi + 0xc], 0x100000
jne 0x4731ab
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push eax
push ecx
push edx
call fcn.004db7d0
add esp, 0xc
test eax, eax
je 0x4731ab
mov eax, dword [esi + 4]
push eax
call ebp
test eax, eax
jne 0x4731ab
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileW]
mov edx, dword [esi + 4]
push edx
call ebp
mov ecx, 0x5000
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0xa000
push eax
push esi
push ebx
mov dword [esi], 0xa000
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x47316e
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.004ace19
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x473670
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
push 0
push ebx
call fcn.00473590
mov eax, dword [0x5e8048]
add esp, 8
test eax, eax
mov dword [esp + 0x10], 0
je 0x4736cb
lea eax, [esp + 0x10]
push eax
push 0x50bb30
push 1
push 0
push 0x4e6e88
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4736cb
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
push 1
push ebx
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
push ebx
call edi
push 1
push ebx
mov esi, eax
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, eax
push 5
push esi
mov dword [esp + 0x1c], edi
call ebp
push 0
push edi
call ebp
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x70000
push 0
push 0x401
push esi
call edi
push 0
push 1
push 0x402
push esi
call edi
mov bl, byte [esp + 0x20]
test bl, 1
je 0x473737
mov eax, dword [esp + 0x24]
push eax
push 0
call fcn.00473100
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 2
push 0x402
push esi
call edi
test bl, 2
je 0x473761
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0
call fcn.00472d90
add esp, 0xc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 3
push 0x402
push esi
call edi
test bl, 4
je 0x473789
mov edx, dword [esp + 0x24]
push edx
push 0
call fcn.00472f30
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 4
push 0x402
push esi
call edi
test bl, 8
je 0x4737a7
call fcn.00473490
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 5
push 0x402
push esi
call edi
test bl, 0x10
je 0x4737c5
call fcn.004731f0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 6
push 0x402
push esi
call edi
test bl, 0x20
je 0x4737e3
call fcn.004734c0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 7
push 0x402
push esi
call edi
test bl, 0x40
je 0x473801
call fcn.004734f0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call ebp
mov eax, dword [esp + 0x14]
push 5
push eax
call ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47383b
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0
push esi
push eax
call dword [ecx + 0x28]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x47383f
mov esi, dword [esp + 0x1c]
push 1
push esi
call fcn.00473590
add esp, 8
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret