joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a67a8
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
cmp esi, 0x7ff80000
push edi
mov ebx, 0x10000
jbe 0x4a67cb
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x4a67ce
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x4a67e1
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x4a67e8
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x5441b0]
test eax, eax
mov ecx, dword [0x5441ac]
jne 0x4a6802
test ecx, ecx
je 0x4a6817
mov eax, ecx
mov dword [0x5441b0], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x4a6817
cmp edx, dword [ebp - 4]
jb 0x4a6817
cmp edx, dword [ebp - 8]
jbe 0x4a68e8
mov eax, ecx
test ecx, ecx
jmp 0x4a683b
test eax, eax
je 0x4a6836
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4a6836
cmp ecx, dword [ebp - 4]
jb 0x4a6836
cmp ecx, dword [ebp - 8]
jbe 0x4a68e8
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x5441b0], eax
jne 0x4a681d
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, dword [ebp - 4]
mov edi, esi
jbe 0x4a697d
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x4a6868
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4a697d
cmp dword [ebp - 0x30], ebx
jne 0x4a6887
cmp dword [ebp - 0x34], ebx
jae 0x4a689a
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x4a6856
jmp 0x4a697d
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [0x5441b0], eax
je 0x4a697d
mov ecx, dword [0x5441ac]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x5441ac], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x4a68da
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x4a6982
cmp esi, dword [ebp - 8]
ja 0x4a6982
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov eax, esi
jmp 0x4a6984
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x4a6929
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4a6982
cmp dword [ebp - 0x14], ebx
jne 0x4a6974
cmp dword [ebp - 0x18], ebx
jb 0x4a6974
movzx ecx, si
test ecx, ecx
je 0x4a6958
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [0x5441b0], eax
jne 0x4a68b6
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [eax + ecx]
cmp esi, dword [ebp - 8]
jb 0x4a6917
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a69aa
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x531910
call fcn.004d5f64
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4a69fc
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp word [eax], 0x5a4d
jne 0x4a69f8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4a69f8
cmp word [ecx + 0x14], 0
je 0x4a69f8
or dword [ebp - 4], 0xffffffff
jmp 0x4a69fe
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.004d5f9f
ret

Function at 0x4a6a46
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x5441b8], edi
je 0x4a6a59
mov eax, 0x10dd
jmp 0x4a6ab4
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x5441b8
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x4a6a52
push esi
mov esi, dword [0x5441ac]
mov dword [0x5441b4], edi
mov dword [0x5441c8], edi
mov dword [0x5441c4], edi
mov dword [0x5441bc], edi
mov dword [0x5441c0], edi
jmp 0x4a6aad
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x4a6a97
xor eax, eax
pop esi
pop edi
pop ecx
ret

Function at 0x4a6ab7
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x5441b8], eax
je 0x4a6acd
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x5441c8]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x4a6b18
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x4a6b09
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x4a6b09
call fcn.004a6989
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x4a6adc
mov dword [0x5441c8], ebx
call fcn.004a6781
mov esi, dword [0x5441c4]
cmp esi, ebx
je 0x4a6b45
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x4a6b2d
pop edi
pop esi
mov dword [0x5441c4], ebx
mov dword [0x5441b8], ebx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4a6d72
Capabilities:
Suspend thread

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x5441bc]
test eax, eax
jne 0x4a6ddf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp edi, eax
jne 0x4a6d8c
xor eax, eax
pop edi
ret
push esi
push 8
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
test esi, esi
pop ecx
jne 0x4a6da0
push 8
pop edi
jmp 0x4a6dbb
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x4a6dcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
and dword [0x5441c0], 0
mov dword [0x5441bc], edi
mov eax, edi
jmp 0x4a6dde
mov eax, dword [0x5441c4]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x5441c4], esi
xor eax, eax
pop esi
pop edi
ret
Function at 0x4a6de1
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x5441b8], eax
je 0x4a6e05
mov eax, 0x10dd
jmp 0x4a6fda
mov eax, dword [0x5441bc]
cmp eax, edi
jne 0x4a6fda
mov ecx, dword [ebp + 8]
cmp ecx, edi
jne 0x4a6e21
push 6
pop eax
jmp 0x4a6fda
push ebx
push esi
mov esi, dword [ecx]
cmp esi, edi
jne 0x4a6e3c
push 6
pop eax
mov dword [0x5441bc], eax
mov dword [0x5441c0], ecx
jmp 0x4a6fd8
mov dword [ebp - 0xc], edi
call fcn.004a6a04
mov esi, dword [ebp + 0xc]
mov ebx, eax
mov dword [ebp - 8], ebx
call fcn.004a6a04
mov esi, eax
cmp esi, ebx
jne 0x4a6e68
cmp dword [0x5441b4], edi
jne 0x4a6f8a
jmp 0x4a6f6a
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [ebp - 0xc], eax
jne 0x4a6e83
mov dword [ebp - 4], 8
jmp 0x4a6f6a
mov eax, ebx
call fcn.004a67a8
mov edi, eax
test edi, edi
je 0x4a6e77
mov ecx, ebx
xor ebx, ebx
jmp 0x4a6e99
mov ecx, dword [ebp - 4]
and dword [ebp + 0xc], 0
lea edx, [ebx + edi]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], ecx
call fcn.004a70de
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], eax
jne 0x4a6eca
mov ecx, dword [ebp - 0x14]
mov ebx, eax
sub ebx, dword [ebp - 8]
call fcn.004a6736
test eax, eax
jne 0x4a6eca
cmp ebx, 5
jl 0x4a6e96
cmp ebx, 5
jge 0x4a6ee8
cmp dword [0x5441b4], 0
mov dword [ebp - 4], 9
jne 0x4a6f72
jmp 0x4a6f6a
cmp ebx, 0x12
jbe 0x4a6ef6
mov dword [ebp - 4], 6
jmp 0x4a6f6a
mov eax, dword [ebp - 8]
lea edx, [ebx + eax]
mov dword [edi + 0x1c], esi
lea ecx, [ebx + edi]
mov dword [edi + 0x18], edx
lea eax, [edi + 0x17]
lea esi, [ecx + 5]
mov byte [eax], bl
mov byte [ecx], 0xe9
inc ecx
sub edx, esi
mov dword [ecx], edx
add ecx, 4
call fcn.004a6714
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x40
push ebx
push dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
test eax, eax
je 0x4a6f61
push dword [ebp - 8]
call fcn.004a69aa
mov esi, eax
test esi, esi
pop ecx
je 0x4a6fad
cmp word [esi + 0x1c], 0x6544
je 0x4a6fad
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0x40
push 0x40
push esi
call ebx
test eax, eax
jne 0x4a6f95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [0x5441bc], eax
test edi, edi
je 0x4a6f7b
call fcn.004a6989
cmp dword [ebp - 0xc], 0
je 0x4a6f8a
push dword [ebp - 0xc]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
jmp 0x4a6e31
mov word [esi + 0x1c], 0x6544
mov word [esi + 0x1e], 0x6f74
mov word [esi + 0x20], 0x7275
mov word [esi + 0x22], 0x2173
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
and dword [eax + 4], 0
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x5441c8]
mov dword [eax], ecx
mov dword [0x5441c8], eax
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret 8
Function at 0x4a6fdf
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x5441b8], eax
je 0x4a6ffb
mov eax, 0x10dd
jmp 0x4a70da
mov eax, dword [0x5441bc]
test eax, eax
jne 0x4a70da
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4a7018
push 6
pop eax
jmp 0x4a70d9
cmp dword [esi], 0
jne 0x4a7030
push 6
pop eax
mov dword [0x5441bc], eax
mov dword [0x5441c0], esi
jmp 0x4a70d9
push ebx
push edi
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x4a7045
push 8
pop esi
jmp 0x4a70bc
mov edi, dword [esi]
mov esi, dword [ebp + 0xc]
call fcn.004a6a04
movzx ecx, byte [edi + 0x17]
mov esi, dword [edi + 0x18]
xor edx, edx
sub esi, ecx
cmp ecx, edx
je 0x4a70b1
cmp ecx, 0x17
ja 0x4a70b1
cmp dword [edi + 0x1c], eax
jne 0x4a70b1
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push esi
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4a7087
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4a70bc
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov dword [ebx + 4], 1
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], esi
mov eax, dword [ebp - 4]
mov dword [ebx + 0x14], eax
mov eax, dword [0x5441c8]
mov dword [ebx], eax
mov dword [0x5441c8], ebx
xor eax, eax
jmp 0x4a70d7
cmp dword [0x5441b4], edx
push 9
pop esi
jne 0x4a70c2
mov dword [0x5441bc], esi
test ebx, ebx
je 0x4a70cd
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x5441c0], eax
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret 8

Function at 0x4a75df
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
push ebx
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
xor ebx, ebx
mov word [ebp - 0x20c], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4a7642
call fcn.00431230
test eax, eax
lea eax, [ebp - 0x20c]
je 0x4a7636
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar.
jmp 0x4a763b
push str.MicrosoftInternet_ExplorerQuick_Launch.
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4a769a
cmp word [ebp - 0x430], 0x2e
je 0x4a7685
lea eax, [ebp - 0x430]
push str.desktop.ini
push eax
call dword [sym.imp.MSVCR80.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x4a7685
inc esi
cmp esi, dword [ebp + 8]
jg 0x4a769a
lea eax, [ebp - 0x45c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4a765d
xor ebx, ebx
inc ebx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x4a7bc4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
xor eax, eax
push edi
push 0x208
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x20019
push str.SOFTWAREliebao
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
call fcn.004017a0
test eax, eax
jne 0x4a7cbc
push str.Install_Path_Dir
lea eax, [ebp - 4]
push eax
lea esi, [ebp - 8]
lea edi, [ebp - 0x218]
call fcn.00401739
test eax, eax
jne 0x4a7cbc
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, edi
push eax
lea eax, [ebp - 8]
call fcn.004014ce
push str.liebao.exe
lea eax, [ebp - 8]
push eax
call fcn.00407371
push dword [ebp - 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x4a7c8e
mov eax, edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040127c
push str.LBBrowserliebao.exe
lea eax, [ebp - 8]
push eax
call fcn.00407371
push dword [ebp - 8]
call esi
test eax, eax
je 0x4a7c95
mov dword [ebp - 0xc], 1
xor esi, esi
cmp dword [ebp - 4], esi
je 0x4a7ca8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
cmp dword [ebp - 0xc], esi
jne 0x4a7d49
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallliebao
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
call fcn.004017a0
test eax, eax
jne 0x4a7d49
push str.UninstallString
lea eax, [ebp - 4]
push eax
lea esi, [ebp - 8]
lea edi, [ebp - 0x218]
call fcn.00401739
test eax, eax
jne 0x4a7d49
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.liebao.exe
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a7d36
mov dword [ebp - 0xc], 1
cmp dword [ebp - 4], 0
je 0x4a7d58
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4a7d58
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a7d60
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, eax
mov eax, dword [0x5438cc]
xor ebx, ebx
mov ecx, 0x5438cc
mov dword [ebp - 0x10], ebx
call dword [eax + 0xc]
push dword [esi]
add eax, 0x10
push dword [edi]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push str._s_s.lnk
push eax
call fcn.0042a016
add esp, 0x10
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
jne 0x4a7dba
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a7e4f
push dword [edi]
call fcn.00478fb8
test eax, eax
pop ecx
je 0x4a7e4f
lea eax, [ebp - 4]
push eax
push 0x4da47c
xor edi, edi
inc edi
push edi
push ebx
push 0x4da52c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4a7e4f
mov eax, dword [ebp - 4]
push dword [esi + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 4]
push dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
push dword [esi + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
push dword [esi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
push dword [esi + 0x18]
mov eax, dword [ebp - 4]
push dword [esi + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x4da53c
push eax
call dword [ecx]
test eax, eax
jl 0x4a7e4f
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push edi
push dword [ebp - 8]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x4a7e4f
mov dword [ebp - 0x10], edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x4a7e62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
pop edi
cmp eax, ebx
pop ebx
je 0x4a7e71
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x4a7e81
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, eax
call fcn.00431090
cmp eax, 7
je 0x4a7eae
call fcn.00431090
cmp eax, 8
je 0x4a7eae
call fcn.00431090
cmp eax, 0xa
je 0x4a7eae
xor eax, eax
jmp 0x4a7fbd
push ebx
lea eax, [ebp - 4]
push edi
push eax
call fcn.004a7ffe
lea eax, [ebp - 4]
mov dword [esp], str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push eax
call fcn.00407371
mov eax, dword [0x5438cc]
mov ecx, 0x5438cc
call dword [eax + 0xc]
push dword [esi]
mov edi, dword [ebp - 4]
add eax, 0x10
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push str._s_s.lnk
push eax
call fcn.0042a016
mov ebx, dword [ebp - 8]
add esp, 0x10
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 4]
je 0x4a7f25
push 1
call fcn.004a7d60
mov esi, eax
pop ecx
lea eax, [ebx - 0x10]
call fcn.00401239
lea eax, [edi - 0x10]
call fcn.00401239
mov eax, esi
jmp 0x4a7fbb
call fcn.004a8010
push dword [esi]
lea ecx, [ebp - 4]
push str._s.lnk
call fcn.0040a313
pop ecx
pop ecx
push 1
lea eax, [ebp - 8]
call fcn.004a8010
call fcn.004a7d60
mov esi, eax
mov eax, dword [ebp - 8]
pop ecx
add eax, 0xfffffff0
call fcn.00401239
xor eax, eax
cmp esi, eax
je 0x4a7f9e
mov esi, dword [ebp - 4]
push eax
push eax
push eax
push esi
push str.taskbarpin
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
call fcn.00401239
lea eax, [ebx - 0x10]
call fcn.00401239
lea eax, [edi - 0x10]
call fcn.00401239
xor eax, eax
cmp dword [ebp - 8], 0x20
setg al
jmp 0x4a7fbb
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
lea eax, [ebx - 0x10]
call fcn.00401239
lea eax, [edi - 0x10]
call fcn.00401239
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4a8010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, eax
mov ecx, 0x5438cc
call fcn.0040121e
and word [ebp - 0x20c], 0
push 0x208
lea eax, [ebp - 0x20a]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4a8086
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
je 0x4a8086
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0040127c
mov eax, esi
pop esi
leave
ret
Function at 0x4a808b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x5438cc
call fcn.0040121e
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 8], esi
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x206
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
je 0x4a8116
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call fcn.0040127c
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x4a8133
mov eax, dword [ebp - 4]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
cmp eax, esi
pop esi
je 0x4a8147
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
leave
ret

Function at 0x4a814c
Capabilities:
Check if file exists
Copy file
Delete file
Move file
Persist via lnk shortcut

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
call fcn.00496e16
lea eax, [ebp - 4]
mov dword [esp], str.vduba_
push eax
call fcn.00407371
push 1
lea eax, [ebp - 4]
call fcn.004a7d60
test eax, eax
pop ecx
je 0x4a81fa
push edi
push dword [esi]
mov edi, str._s.lnk
push edi
lea ecx, [ebp - 4]
call fcn.0040a313
lea eax, [ebp - 8]
push 0x19
push eax
call fcn.004a808b
push dword [esi]
lea ecx, [ebp - 8]
push edi
call fcn.0040a313
mov esi, dword [ebp - 4]
add esp, 0x18
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov edi, dword [ebp - 8]
je 0x4a81ef
mov eax, dword [0x54416c]
test eax, eax
push ebx
push edi
push esi
jne 0x4a81ce
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4a81d0
call eax
mov ebx, eax
test ebx, ebx
je 0x4a81df
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4a81ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebx, eax
lea eax, [edi - 0x10]
call fcn.00401239
pop edi
jmp 0x4a81fd
mov esi, dword [ebp - 4]
lea eax, [esi - 0x10]
call fcn.00401239
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x4a84a4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push str.360se
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
call fcn.004014ce
push 0x51b4c0
push str.kernel32.dll
xor esi, esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x4a84f5
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [ebp - 4], 1
jne 0x4a84f5
inc esi
neg esi
sbb esi, esi
lea eax, [ebp - 8]
push eax
and esi, 0x100
or esi, 0x20019
push esi
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a85b2
mov eax, dword [0x5438cc]
mov ecx, 0x5438cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0xff
lea esi, [ebp - 4]
mov dword [ebp - 0x14], 0x104
call fcn.004015aa
push eax
push ebx
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
mov edi, dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
test edi, edi
jne 0x4a856b
xor eax, eax
jmp 0x4a8573
push edi
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 4]
call fcn.00401354
test esi, esi
je 0x4a859c
push dword [ebp - 0xc]
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00429fa6
cmp eax, 0xffffffff
lea eax, [edi - 0x10]
jne 0x4a85a6
call fcn.00401239
inc ebx
jmp 0x4a8523
lea eax, [edi - 0x10]
call fcn.00401239
jmp 0x4a85b2
call fcn.00401239
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
pop edi
pop esi
pop ebx
je 0x4a85c4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp - 0x10]
leave
ret