joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415f81
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 0x415f9d
call fcn.004171ae
mov eax, dword [ebx + 4]
cmp dword [eax + 8], esi
je 0x415fdb
push dword [ebx + 0x10]
push 0xffffffffffffffff
push str.FAVSOURCE
push 0x4337e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x415fc7
mov ecx, ebx
call fcn.004172c9
jmp 0x415fdb
cmp eax, 1
jne 0x415fdb
mov ecx, ebx
call fcn.004172c9
test eax, eax
je 0x4161d8
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 0x4337d4
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 0x416154
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 0x4337bc
lea eax, [ebp - 0xa2c]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x4337a0
lea eax, [ebp - 0xc34]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x433784
lea eax, [ebp - 0x414]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x433768
lea eax, [ebp - 0x61c]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x43374c
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 0x433728
push 0x2c
pop edi
add eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418da8
push dword [eax]
call esi
lea ecx, [ebp - 4]
call fcn.00404c0d
mov eax, dword [ebx + 4]
push 0x433708
add eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418da8
push dword [eax]
call esi
lea ecx, [ebp - 4]
call fcn.00404c0d
mov eax, dword [ebx + 4]
push 0x4336ec
add eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418da8
push dword [eax]
call esi
lea ecx, [ebp - 4]
call fcn.00404c0d
mov eax, dword [ebx + 4]
push 0x4336d0
add eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418da8
push dword [eax]
call esi
lea ecx, [ebp - 4]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416ceb
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
and word [ebp - 0x20c], 0
push ebx
push esi
mov esi, ecx
mov ebx, 0x81
push edi
push dword [esi + 0x10]
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
push 0
push str.IsSave
push str.AddUnstall
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and word [ebp - 0x414], 0
mov dword [ebp - 4], eax
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x412]
push dword [esi + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x414]
push 0x104
push eax
mov ebx, 0x433c58
push 0x434ee4
mov edi, str.Main
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x414], 0
je 0x416d78
cmp dword [ebp - 4], 1
jne 0x416d88
push dword [esi + 0x10]
push 0x436a74
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esi + 4]
cmp dword [eax + 8], 0
je 0x416d9b
push dword [esi + 0x1c]
push str._s_seup.exe__reinstall
jmp 0x416db0
cmp dword [esi + 0x24], 0
push dword [esi + 0x1c]
jne 0x416dab
push str._s_seup.exe__install__m
jmp 0x416db0
push str._s_seup.exe__install
lea eax, [ebp - 0x20c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041cacf
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4171ae
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1458
call fcn.00427310
and word [ebp - 0x410], 0
push ebx
push esi
mov edx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x40e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [edx + 4]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
mov ebx, 0x103
push dword [eax + 0x2c]
lea eax, [ebp - 0x410]
push 0x4337d4
push ebx
push eax
call esi
and word [ebp - 0x208], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
add esp, 0x10
stosw word es:[edi], ax
lea eax, [ebp - 0x410]
push eax
push 0x433e74
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x4172c4
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4172c4
and word [ebp - 0x1458], 0
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x1456]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x1458]
push 0x823
push eax
push 0x434ee4
push 0x433e6c
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x1458], 0
je 0x4172c4
lea eax, [ebp - 0x1458]
push eax
push str.http:__avc.360.cn_index.html_a6073
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x4172c4
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4172c9
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x145c
call fcn.00427310
and word [ebp - 0x414], 0
push ebx
push esi
mov edx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x412]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [edx + 4]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
and dword [ebp - 4], 0
mov ebx, 0x103
push dword [eax + 0x2c]
lea eax, [ebp - 0x414]
push 0x4337d4
push ebx
push eax
call esi
and word [ebp - 0x20c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
add esp, 0x10
stosw word es:[edi], ax
lea eax, [ebp - 0x414]
push eax
push str._s_
lea eax, [ebp - 0x20c]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x417422
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417406
and word [ebp - 0x145c], 0
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x145a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
mov edi, 0x433e6c
push eax
lea eax, [ebp - 0x145c]
push 0x823
push eax
push 0x434ee4
mov esi, str.InternetShortcut
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x145c], 0
je 0x4173fd
lea eax, [ebp - 0x145c]
push eax
push str.http:__www.baidu.com_index.php_tn360se_dg
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x4173fd
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
push str.http:__www.baidu.com_index.php_se360se_dg
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 4], 1
jmp 0x417422
lea eax, [ebp - 0x20c]
push eax
push str.http:__www.baidu.com_index.php_se360se_dg
push 0x433e6c
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41742a
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push 1
add ecx, 0x1c
pop ebx
push ecx
lea ecx, [ebp - 4]
call fcn.004046e3
xor esi, esi
lea ecx, [ebp - 4]
push esi
push 0x42fa54
call fcn.00404a64
cmp eax, esi
jle 0x4174c2
add eax, 2
push edi
push eax
lea eax, [ebp - 8]
push esi
push eax
lea ecx, [ebp - 4]
call fcn.0040c92d
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
stosd dword es:[edi], eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x10], esi
stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4174b9
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
push 0x14
pop ecx
call fcn.00427460
push str.8.05
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wtoi]
cmp eax, edi
pop ecx
jbe 0x4174b9
xor ebx, ebx
lea ecx, [ebp - 8]
call fcn.00404c0d
pop edi
lea ecx, [ebp - 4]
call fcn.00404c0d
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x41785a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x517c
call fcn.00427310
mov ecx, dword [ebp + 8]
push esi
call fcn.00418cd4
lea eax, [ebp - 8]
xor esi, esi
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x417944
push ebx
push edi
mov ecx, 0x1459
lea edi, [ebp - 0x517a]
mov word [ebp - 0x517c], si
mov dword [ebp - 0x10], 0x28b3
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x517c]
push eax
push esi
push esi
push str.Secondary_Start_Pages
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417939
mov esi, dword [ebp - 0x10]
lea ebx, [ebp - 0x517c]
shr esi, 1
dec esi
test esi, esi
jle 0x417939
lea eax, [ebp - 0x517a]
mov edi, 0x4338bc
mov dword [ebp - 0xc], eax
mov ax, word [ebx]
test ax, ax
je 0x417903
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
jmp 0x417923
mov eax, dword [ebp - 4]
inc eax
cmp eax, esi
jge 0x41792b
mov eax, dword [ebp - 0xc]
cmp word [eax], 0
je 0x41792b
mov eax, edi
test eax, eax
je 0x417921
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, dword [ebp + 8]
call fcn.00404d28
inc dword [ebp - 4]
add dword [ebp - 0xc], 2
inc ebx
inc ebx
cmp dword [ebp - 4], esi
jl 0x4178f0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x417a58
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
and word [ebp - 0x414], 0
push ebx
push esi
mov edx, ecx
push edi
mov ecx, 0x81
push dword [edx + 0x1c]
xor eax, eax
lea edi, [ebp - 0x412]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, 0x103
push str._s_seup.exe__delv3cfg
lea eax, [ebp - 0x414]
push ebx
push eax
mov dword [ebp - 4], edx
call esi
and word [ebp - 0x20c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 4]
add esp, 0x10
push dword [eax + 0x1c]
lea eax, [ebp - 0x20c]
push str._s_seup.exe
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
test eax, eax
pop ebx
je 0x417aff
push 0
push 0xbb8
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0041cacf
add esp, 0x10
leave
ret

Function at 0x417b01
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [ebp - 0x208]
push 0x1a
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
pop edi
je 0x417b93
lea eax, [ebp - 0x208]
push str.360se
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417b93
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x417b93
test al, 0x10
jne 0x417b93
lea eax, [ebp - 0x208]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
leave
ret
Function at 0x417b95
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
add ecx, 0x14
push str._v3update_
lea eax, [ebp - 0xc]
push ecx
push eax
call fcn.00418da8
lea eax, [ebp - 0xc]
push str.v3update.ini
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418da8
lea eax, [ebp - 0xc]
push str.v3update.ini.bak
push eax
lea eax, [ebp - 8]
push eax
call fcn.00418da8
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebp - 4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x417c12
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x417c0d
test al, 0x10
jne 0x417c0d
push 0x80
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
test eax, eax
je 0x417c3d
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0041d509
pop ecx
pop ecx
push dword [ebp - 8]
call esi
test eax, eax
jne 0x417c3d
push 4
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp - 0xc]
call fcn.00404c0d
pop edi
pop esi
leave
ret

Function at 0x417c59
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2090
call fcn.00427310
push esi
mov esi, ecx
push str.3.9.1.5
mov eax, dword [esi + 8]
push eax
call fcn.0041cf95
pop ecx
test eax, eax
pop ecx
jl 0x417cba
mov eax, dword [esi + 8]
push str.4.0.0.0
push eax
call fcn.0041cf95
pop ecx
test eax, eax
pop ecx
jle 0x417ca5
mov eax, dword [esi + 8]
push str.4.0.0.9
push eax
call fcn.0041cf95
pop ecx
test eax, eax
pop ecx
jl 0x417cba
push dword [ebp + 0xc]
mov ecx, 0x434eb0
push dword [ebp + 8]
call fcn.0040411f
jmp 0x417d5e
and word [ebp - 0x2090], 0
push ebx
push edi
mov ecx, 0x823
xor eax, eax
lea edi, [ebp - 0x208e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0xc]
mov ebx, str.HomePage
test eax, eax
mov edi, str.option
je 0x417d0e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417d0e
lea eax, [ebp - 0x2090]
push 0x1047
push eax
push ebx
push edi
mov ecx, 0x434eb0
push dword [esi + 0xc]
push 0
call fcn.00403195
cmp word [ebp - 0x2090], 0
jne 0x417d41
push dword [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417d41
push dword [esi + 0x10]
lea eax, [ebp - 0x2090]
push 0x1047
push eax
push 0x434ee4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2090]
push eax
push 0x42eb18
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x417d7f
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x417e75
lea eax, [ebp + 8]
push str._skin.ini
push eax
add ecx, 0x1c
push str.Skin_
lea eax, [ebp - 0xc]
push ecx
push eax
call fcn.00418da8
push eax
lea eax, [ebp - 8]
push eax
call fcn.00418d67
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418da8
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 0xc]
call fcn.00404c0d
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417e6d
and word [ebp - 0x214], 0
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x212]
push dword [ebp - 4]
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x103
stosw word es:[edi], ax
lea eax, [ebp - 0x214]
mov ebx, 0x434ee4
push eax
push ebx
mov edi, str.General
push 0x434124
push edi
call esi
cmp word [ebp - 0x214], 0
jne 0x417e4b
push dword [ebp - 4]
lea eax, [ebp - 0x214]
push 0x103
push eax
push ebx
push str.TheWorld
push edi
call esi
cmp word [ebp - 0x214], 0x33
pop edi
pop esi
pop ebx
jne 0x417e6d
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp + 8]
call fcn.00404c0d
push 1
pop eax
jmp 0x417e7f
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp + 8]
call fcn.00404c0d
xor eax, eax
leave
ret 4
Function at 0x418267
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x427b80
call fcn.004273d0
sub esp, 0x490
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
or dword [ebp - 0x474], 0xffffffff
xor esi, esi
mov word [ebp - 0x220], si
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x434294
push dword [ebx + 0x1c]
push 0x43427c
push 0x103
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov word [ebp - 0x1a], si
mov dword [ebp - 4], esi
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x474], edi
cmp edi, 0xffffffff
je 0x418388
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
push 0x434278
lea eax, [ebp - 0x444]
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x41836b
push 0x434270
lea eax, [ebp - 0x444]
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x41836b
test byte [ebp - 0x470], 0x10
je 0x41836b
push ecx
mov ecx, esp
lea eax, [ebp - 0x444]
push eax
call fcn.00404729
mov ecx, ebx
call fcn.00417d7f
test eax, eax
je 0x41836b
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x480]
call fcn.00404729
lea eax, [ebp - 0x480]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418c74
lea ecx, [ebp - 0x480]
call fcn.00404c0d
lea eax, [ebp - 0x470]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4182f4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x474], 0xffffffff
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x418596
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x42e50c]
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 + 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 0x42f9cc
push eax
call fcn.0040959f
add esp, 0x10
lea edi, [ebx + 0x14]
lea eax, [ebp - 4]
push dword [ebp + 8]
push dword [edi]
push str._sextensionsFavorites_s
push eax
call fcn.0040959f
add esp, 0x10
lea eax, [ebp - 8]
push dword [ebp + 8]
push dword [edi]
push str._sextensionsFavorites_s.bak
push eax
call fcn.0040959f
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x41871c
push str.extensionsFavorites_
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00418da8
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x418629
push dword [ebp - 0x10]
call fcn.0041d105
pop ecx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4186dc
push dword [ebp - 8]
call esi
test eax, eax
je 0x418648
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0041d509
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
pop ecx
pop ecx
call edi
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
call esi
test eax, eax
je 0x418689
push dword [ebp + 0xc]
lea eax, [ebp + 8]
mov dword [ebx + 0x54], 3
push dword [ebp - 0x14]
push ecx
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, ebx
call fcn.004183bf
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call edi
push dword [ebp - 4]
mov edi, eax
call esi
test eax, eax
jne 0x4186c8
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push edi
push ecx
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, ebx
call fcn.004183bf
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0041d509
pop ecx
pop ecx
push dword [ebp - 8]
call esi
test eax, eax
je 0x418712
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x418712
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov edi, eax
call esi
test eax, eax
jne 0x418712
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push edi
push ecx
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, ebx
call fcn.004183bf
lea ecx, [ebp - 0x10]
call fcn.00404c0d
jmp 0x418739
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 0xc]
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, ebx
call fcn.004183bf
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp - 0xc]
call fcn.00404c0d
lea ecx, [ebp + 8]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret 8