joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d3aa
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [ecx + 0x58], 0
push esi
je 0x40d42b
push dword [ecx + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x40d42b
push ebx
mov ebx, 0x42bde0
push edi
push ebx
call fcn.00415b4e
and word [ebp - 0x208], 0
pop ecx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._s360SEUP.dll
lea eax, [ebp - 0x208]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call esi
pop edi
pop ebx
test eax, eax
je 0x40d42b
push 4
lea eax, [ebp - 0x208]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
leave
ret

Function at 0x40d42e
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
and word [ebp - 0x208], 0
push esi
mov edx, 0x81
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x206]
and word [ebp - 0x410], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push dword [ebp + 0xc]
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x40e]
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x103
push 0x425944
lea eax, [ebp - 0x208]
push edi
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
push str._s.bak
lea eax, [ebp - 0x410]
push edi
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x410]
push 0
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop edi
pop esi
leave
ret 8
Function at 0x40d69e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22ec
call fcn.0041f330
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
je 0x40d7ba
cmp word [ebx], si
je 0x40d7ba
mov ax, word [0x42c4b4]
push edi
mov word [ebp - 0x25c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x25a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x25c]
push 0x103
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x12a2]
mov word [ebp - 0x12a4], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x425548
lea eax, [ebp - 0x12a4]
push 0x823
push eax
call ebx
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x22ea]
mov word [ebp - 0x22ec], si
rep stosd dword es:[edi], eax
add esp, 0x10
stosw word es:[edi], ax
lea eax, [ebp - 0x12a4]
push eax
lea eax, [ebp - 0x25c]
push str._post
push eax
push str._s__s_s
lea eax, [ebp - 0x22ec]
push 0x823
push eax
call ebx
add esp, 0x18
xor eax, eax
lea edi, [ebp - 0x50]
mov dword [ebp - 0x10], esi
push 0x10
pop ecx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov word [ebp - 0x24], si
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x22ec]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x40d7ba
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
pop esi
pop ebx
leave
ret 4
Function at 0x40d7c0
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall23F3F476_BE34_4f48_9C77_2806A8393EC4
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov ebp, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [0x425504]
push 0x4255d4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x425548
push eax
call fcn.00403a7b
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.DisplayName
push edi
push esi
call ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.DisplayIcon
push edi
push esi
call ebx
mov eax, dword [ebp + 4]
push 0x427e64
add eax, 0x14
push 0x427e60
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00411c85
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00411c85
lea ecx, [esp + 0x18]
call fcn.00403e55
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.UninstallString
push edi
push esi
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push str.3.7.1.2
call ebp
pop ecx
shl eax, 1
push eax
push str.3.7.1.2
push 1
push str.DisplayVersion
push edi
push esi
call ebx
push 0x427e10
call ebp
pop ecx
shl eax, 1
push eax
push 0x427e10
push 1
push str.Publisher
push edi
push esi
call ebx
push str.www.360.cn
call ebp
pop ecx
shl eax, 1
push eax
push str.www.360.cn
push 1
push str.Publisher
push edi
push esi
call ebx
lea ecx, [esp + 0x14]
call fcn.00403e55
lea ecx, [esp + 0x10]
call fcn.00403e55
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x40d8e2
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 4]
mov eax, dword [esi + 4]
add eax, 0x14
push eax
call fcn.004073f5
mov esi, dword [esi + 0x14]
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov eax, dword [esi - 8]
shl eax, 1
push eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
push 0x42c4b4
push ebx
push edi
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.Path
push ebx
push edi
call esi
push 0x5c
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcsrchr]
pop ecx
test eax, eax
pop ecx
je 0x40d97c
sub eax, dword [ebp - 4]
sar eax, 1
cmp eax, 0xffffffff
je 0x40d97c
push eax
lea eax, [ebp - 8]
push 0
push eax
lea ecx, [ebp - 4]
call fcn.00407395
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.PathSub
push ebx
push edi
call esi
lea ecx, [ebp - 8]
call fcn.00403e55
lea ecx, [ebp - 4]
call fcn.00403e55
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e0b6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x425504]
push ebx
push esi
mov esi, str.360se.exe
mov dword [ebp - 4], eax
mov eax, esi
xor ebx, ebx
push edi
test eax, eax
je 0x40e0de
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [ebp - 4]
call fcn.0040897e
mov ecx, 0x83
xor eax, eax
lea edi, [ebp - 0x214]
mov byte [ebp - 0x230], 0x28
mov byte [ebp - 0x22f], 2
mov byte [ebp - 0x22e], bl
mov byte [ebp - 0x22d], bl
mov byte [ebp - 0x22c], 1
mov byte [ebp - 0x22b], bl
mov byte [ebp - 0x22a], bl
mov byte [ebp - 0x229], bl
mov byte [ebp - 0x228], bl
mov byte [ebp - 0x227], bl
mov byte [ebp - 0x226], 0x81
mov byte [ebp - 0x225], bl
mov byte [ebp - 0x224], bl
mov byte [ebp - 0x223], bl
mov byte [ebp - 0x222], bl
mov byte [ebp - 0x221], bl
mov byte [ebp - 0x220], 0x1a
mov byte [ebp - 0x21f], 0xe4
mov byte [ebp - 0x21e], 0x73
mov byte [ebp - 0x21d], 0xc
mov byte [ebp - 0x21c], 0x19
mov byte [ebp - 0x21b], 0xfb
mov byte [ebp - 0x21a], 0xca
mov byte [ebp - 0x219], 1
mov byte [ebp - 0x218], 0x21
mov byte [ebp - 0x217], bl
mov byte [ebp - 0x216], bl
mov byte [ebp - 0x215], bl
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 4]
mov eax, dword [eax - 8]
add eax, eax
push eax
push 0x104
call fcn.00403dba
push eax
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x230]
mov dword [ebp - 8], ebx
push 0x228
push eax
push 3
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_ManagementARPCache23F3F476_BE34_4f48_9C77_2806A8393EC4
push str.SlowInfoCache
mov edi, SysReAllocStringLen
push ebx
push edi
call esi
lea eax, [ebp - 8]
push 4
push eax
push 4
push str.Changed
push ebx
push edi
call esi
lea ecx, [ebp - 4]
call fcn.00403e55
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e21a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x425504]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
push esi
push edi
add eax, 0x14
push str.360se.exe
push eax
lea eax, [ebp - 8]
push eax
call fcn.00411c85
push eax
lea ecx, [ebp - 4]
call fcn.00411c35
lea ecx, [ebp - 8]
call fcn.00403e55
xor ebx, ebx
mov ecx, 0x83
xor eax, eax
lea edi, [ebp - 0x218]
mov byte [ebp - 0x234], 0x28
mov byte [ebp - 0x233], 2
mov byte [ebp - 0x232], bl
mov byte [ebp - 0x231], bl
mov byte [ebp - 0x230], 1
mov byte [ebp - 0x22f], bl
mov byte [ebp - 0x22e], bl
mov byte [ebp - 0x22d], bl
mov byte [ebp - 0x22c], bl
mov byte [ebp - 0x22b], bl
mov byte [ebp - 0x22a], 0x81
mov byte [ebp - 0x229], bl
mov byte [ebp - 0x228], bl
mov byte [ebp - 0x227], bl
mov byte [ebp - 0x226], bl
mov byte [ebp - 0x225], bl
mov byte [ebp - 0x224], bl
mov byte [ebp - 0x223], bl
mov byte [ebp - 0x222], bl
mov byte [ebp - 0x221], bl
mov byte [ebp - 0x220], bl
mov byte [ebp - 0x21f], bl
mov byte [ebp - 0x21e], bl
mov byte [ebp - 0x21d], bl
mov byte [ebp - 0x21c], bl
mov byte [ebp - 0x21b], bl
mov byte [ebp - 0x21a], bl
mov byte [ebp - 0x219], bl
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x234]
mov dword [ebp - 0xc], ebx
push 0x228
push eax
push 3
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_ManagementARPCache23F3F476_BE34_4f48_9C77_2806A8393EC4
push str.SlowInfoCache
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push ebx
push edi
call esi
lea eax, [ebp - 0xc]
push 4
push eax
push 4
push str.Changed
push ebx
push edi
call esi
lea ecx, [ebp - 4]
call fcn.00403e55
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e9fc
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 1
push ecx
mov ecx, esp
push 0x427aa8
call fcn.00407334
mov ecx, esi
call fcn.0040f740
push 9
push ecx
mov ecx, esp
push str.seext.dll
call fcn.00407334
mov ecx, esi
call fcn.0040f740
push 2
push ecx
mov ecx, esp
push str.360SEUP.dll
call fcn.00407334
mov ecx, esi
call fcn.0040f740
push 4
push ecx
mov ecx, esp
push str.seup.exe
call fcn.00407334
mov ecx, esi
call fcn.0040f740
push 8
push ecx
mov ecx, esp
push 0x427e64
call fcn.00407334
mov ecx, esi
call fcn.0040f740
push 7
push ecx
mov ecx, esp
push str.sqlite3.dll
call fcn.00407334
mov ecx, esi
call fcn.0040f740
push 5
push ecx
mov ecx, esp
push str.sefix.exe
call fcn.00407334
mov ecx, esi
call fcn.0040f740
mov edi, 0x428ecc
lea eax, [esi + 0x18]
push edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.00411c85
mov ebx, dword [eax]
add esi, 0x1c
push edi
lea eax, [ebp - 4]
push esi
push eax
call fcn.00411c85
mov eax, dword [eax]
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 4]
call fcn.00403e55
lea ecx, [ebp - 8]
call fcn.00403e55
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40eae4
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
mov edi, ecx
push 0x1d
push ecx
mov ecx, esp
push str.SafeCentral.dll
call fcn.00407334
push ecx
mov esi, str.SafeCentral
mov ecx, esp
push esi
call fcn.00407334
mov ecx, edi
call fcn.0040f89d
push 0x20
push ecx
mov ecx, esp
push str.urlprocnet.dll
call fcn.00407334
push ecx
mov ecx, esp
push esi
call fcn.00407334
mov ecx, edi
call fcn.0040f89d
push 0x1e
push ecx
mov ecx, esp
push str.urlproc.dll
call fcn.00407334
push ecx
mov ecx, esp
push esi
call fcn.00407334
mov ecx, edi
call fcn.0040f89d
push 0x1f
push ecx
mov ecx, esp
push str.urlproc.exe
call fcn.00407334
push ecx
mov ecx, esp
push esi
call fcn.00407334
mov ecx, edi
call fcn.0040f89d
push 0x21
push ecx
mov ecx, esp
push str.wdui2.dll
call fcn.00407334
push ecx
mov ecx, esp
push esi
call fcn.00407334
mov ecx, edi
call fcn.0040f89d
mov esi, str.extensionsSafeCentralurllibauth.dat
lea ebx, [edi + 0x18]
push esi
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00411c85
mov eax, dword [eax]
push esi
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x1c]
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 8]
push eax
call fcn.00411c85
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push dword [ebp - 0x14]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e55
lea ecx, [ebp - 4]
call fcn.00403e55
add edi, 0x10
push str.extensionsSafeCentral
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00411c85
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ec03
push dword [ebp - 0xc]
call fcn.00415a35
pop ecx
lea eax, [ebp - 0xc]
push str.esimple.ini
push eax
lea eax, [ebp - 8]
push eax
call fcn.00411c85
mov edi, dword [eax]
push str.extensionsSafeCentralesimple.ini
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
call fcn.00411c85
mov eax, dword [eax]
push 0
push edi
push eax
call esi
lea ecx, [ebp - 4]
call fcn.00403e55
lea ecx, [ebp - 8]
call fcn.00403e55
lea eax, [ebp - 0xc]
push str.SafeProtect.dat
push eax
lea eax, [ebp - 8]
push eax
call fcn.00411c85
mov edi, dword [eax]
push str.extensionsSafeCentralSafeProtect.dat
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
call fcn.00411c85
mov eax, dword [eax]
push 0
push edi
push eax
call esi
lea ecx, [ebp - 4]
call fcn.00403e55
lea ecx, [ebp - 8]
call fcn.00403e55
and word [ebp - 0x21c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
push str._sefix.exe_downloadurllib
push dword [ebx]
stosw word es:[edi], ax
push 0x428f58
lea eax, [ebp - 0x21c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00415416
add esp, 0x20
lea ecx, [ebp - 0xc]
call fcn.00403e55
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f5ec
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x425504]
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
push dword [ebx + 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 0x425944
push eax
call fcn.00403a7b
add esp, 0x10
lea edi, [ebx + 0x10]
lea eax, [ebp - 4]
push dword [ebp + 8]
push dword [edi]
push str._sextensionsFavorites_s
push eax
call fcn.00403a7b
add esp, 0x10
lea eax, [ebp - 8]
push dword [ebp + 8]
push dword [edi]
push str._sextensionsFavorites_s.bak
push eax
call fcn.00403a7b
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x40f719
push str.extensionsFavorites_
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00411c85
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x40f67f
push dword [ebp - 0x10]
call fcn.00415a35
pop ecx
push dword [ebp - 4]
call esi
test eax, eax
je 0x40f703
push dword [ebp - 8]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40f69c
push dword [ebp - 8]
call edi
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00415e3b
pop ecx
pop ecx
push dword [ebp - 4]
call esi
test eax, eax
je 0x40f6cf
push dword [ebp + 0xc]
lea eax, [ebp + 8]
mov dword [ebx + 0x50], 3
push ecx
mov ecx, esp
push eax
call fcn.004073f5
mov ecx, ebx
call fcn.0040f56e
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40f6f3
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00415e3b
pop ecx
pop ecx
push dword [ebp - 8]
call esi
test eax, eax
je 0x40f711
push dword [ebp - 8]
call edi
jmp 0x40f711
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x10]
call fcn.00403e55
lea ecx, [ebp - 8]
call fcn.00403e55
lea ecx, [ebp - 4]
call fcn.00403e55
lea ecx, [ebp - 0xc]
call fcn.00403e55
lea ecx, [ebp + 8]
call fcn.00403e55
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40f740
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x425504]
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
push dword [edi + 0x1c]
mov dword [ebp - 8], eax
mov esi, 0x425944
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00403a7b
add esp, 0x10
lea eax, [ebp - 4]
push dword [ebp + 8]
push dword [edi + 0x18]
push esi
push eax
call fcn.00403a7b
add esp, 0x10
lea eax, [ebp - 8]
push dword [ebp + 8]
push dword [edi + 0x18]
push str._s_s.bak
push eax
call fcn.00403a7b
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x40f876
mov eax, dword [0x425504]
push dword [edi + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 0x425548
push eax
call fcn.00403a7b
add esp, 0xc
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x40f7dc
push dword [ebp - 0x10]
call fcn.00415a35
pop ecx
push dword [ebp - 4]
call esi
test eax, eax
je 0x40f860
push dword [ebp - 8]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40f7f9
push dword [ebp - 8]
call ebx
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00415e3b
pop ecx
pop ecx
push dword [ebp - 4]
call esi
test eax, eax
je 0x40f82c
push dword [ebp + 0xc]
lea eax, [ebp + 8]
mov dword [edi + 0x50], 3
push ecx
mov ecx, esp
push eax
call fcn.004073f5
mov ecx, edi
call fcn.0040f56e
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40f850
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00415e3b
pop ecx
pop ecx
push dword [ebp - 8]
call esi
test eax, eax
je 0x40f86e
push dword [ebp - 8]
call ebx
jmp 0x40f86e
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x10]
call fcn.00403e55
lea ecx, [ebp - 8]
call fcn.00403e55
lea ecx, [ebp - 4]
call fcn.00403e55
lea ecx, [ebp - 0xc]
call fcn.00403e55
lea ecx, [ebp + 8]
call fcn.00403e55
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40f89d
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x425504]
push edi
push dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
push dword [ebp + 8]
mov dword [ebp - 8], eax
mov edi, str._sextensions_s_s
lea eax, [ebp - 0xc]
push dword [esi + 0x1c]
push edi
push eax
call fcn.00403a7b
add esp, 0x14
lea eax, [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x18]
push edi
push eax
call fcn.00403a7b
add esp, 0x14
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x18]
push str._sextensions_s_s.bak
push eax
call fcn.00403a7b
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x40f9d5
push dword [ebp + 8]
mov eax, dword [0x425504]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push dword [esi + 0x18]
push str._sextensions_s
push eax
call fcn.00403a7b
push dword [ebp - 0x10]
call fcn.00415a35
add esp, 0x14
push dword [ebp - 4]
call edi
test eax, eax
je 0x40f9bf
push dword [ebp - 8]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40f958
push dword [ebp - 8]
call ebx
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00415e3b
pop ecx
pop ecx
push dword [ebp - 4]
call edi
test eax, eax
je 0x40f98b
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov dword [esi + 0x50], 3
push ecx
mov ecx, esp
push eax
call fcn.004073f5
mov ecx, esi
call fcn.0040f56e
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 4]
call edi
test eax, eax
jne 0x40f9af
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00415e3b
pop ecx
pop ecx
push dword [ebp - 8]
call edi
test eax, eax
je 0x40f9cd
push dword [ebp - 8]
call ebx
jmp 0x40f9cd
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x10]
call fcn.00403e55
lea ecx, [ebp - 8]
call fcn.00403e55
lea ecx, [ebp - 4]
call fcn.00403e55
lea ecx, [ebp - 0xc]
call fcn.00403e55
lea ecx, [ebp + 8]
call fcn.00403e55
lea ecx, [ebp + 0xc]
call fcn.00403e55
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40fdd1
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 4]
cmp dword [eax + 8], esi
je 0x40fded
call fcn.004111dd
mov eax, dword [ebx + 4]
cmp dword [eax + 8], esi
je 0x40fe2b
push dword [ebx + 0xc]
push 0xffffffffffffffff
push str.FAVSOURCE
push 0x429cb0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x40fe17
mov ecx, ebx
call fcn.004112f8
jmp 0x40fe2b
cmp eax, 1
jne 0x40fe2b
mov ecx, ebx
call fcn.004112f8
test eax, eax
je 0x410028
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 4]
push dword [eax + 0x2c]
lea eax, [ebp - 0x20c]
push 0x429ca4
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebx + 4]
add esp, 0x10
cmp dword [eax + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jne 0x40ffa4
and word [ebp - 0xa2c], 0
mov edx, 0x81
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0xa2a]
and word [ebp - 0xc34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0xc32]
and word [ebp - 0x414], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x412]
and word [ebp - 0x61c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x61a]
and word [ebp - 0x824], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x822]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [ebp - 0x20c]
push eax
push 0x429c8c
lea eax, [ebp - 0xa2c]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x429c70
lea eax, [ebp - 0xc34]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x429c54
lea eax, [ebp - 0x414]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x429c38
lea eax, [ebp - 0x61c]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x429c1c
lea eax, [ebp - 0x824]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0xa2c]
push eax
call esi
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x61c]
push eax
call esi
lea eax, [ebp - 0x824]
push eax
call esi
mov eax, dword [ebx + 4]
push 0x429bf8
push 0x2c
pop edi
add eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00411c85
push dword [eax]
call esi
lea ecx, [ebp - 4]
call fcn.00403e55
mov eax, dword [ebx + 4]
push 0x429bd8
add eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00411c85
push dword [eax]
call esi
lea ecx, [ebp - 4]
call fcn.00403e55
mov eax, dword [ebx + 4]
push 0x429bbc
add eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00411c85
push dword [eax]
call esi
lea ecx, [ebp - 4]
call fcn.00403e55
mov eax, dword [ebx + 4]
push 0x429ba0
add eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00411c85
push dword [eax]
call esi
lea ecx, [ebp - 4]
call fcn.00403e55
pop edi
pop esi
pop ebx
leave
ret