joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4236dd
Capabilities:
Check if file exists
Copy file
Delete file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push ebx
push esi
push edi
mov esi, ecx
push 0x43fc4c
push dword [esi + 0x4c]
lea eax, [esi + 0x48]
push 0x43d538
push eax
call fcn.00409d55
push dword [esi + 0x4c]
call fcn.00424317
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 8], 0
lea ebx, [esi + 0x44]
push str.data360sefav.db
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00418344
push dword [ebp - 0xc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
jne 0x42373e
mov dword [ebp - 8], 1
push dword [ebx]
mov ecx, esi
push str.IDR_ZIP_MAJOR_DATA
call fcn.00422c19
push dword [esi + 0x4c]
mov ecx, esi
push str.IDR_ZIP_MAJOR
call fcn.00422c19
cmp dword [ebp - 8], 0
je 0x4238ad
cmp dword [esi + 0x1510], 0
je 0x4238ad
mov eax, dword [esi + 0x30]
push str.3.0.0.0
push eax
call fcn.004241a7
pop ecx
test eax, eax
pop ecx
jl 0x4238ad
mov eax, dword [esi + 0x30]
push str.3.2.0.0
push eax
call fcn.004241a7
pop ecx
test eax, eax
pop ecx
jge 0x4238ad
push str.data_bookmarks.dat
lea eax, [ebp - 8]
push ebx
push eax
call fcn.00418344
push dword [ebp - 8]
call edi
test eax, eax
jne 0x4237f4
add esi, 0x50
push str.data_bookmarks.dat
lea eax, [ebp - 4]
push esi
push eax
call fcn.00418344
push dword [ebp - 4]
call edi
test eax, eax
je 0x4237ec
push 0
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 4]
call fcn.00404beb
push dword [ebp - 8]
call edi
test eax, eax
je 0x4238a5
push str.data360sefav.db
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00418344
push dword [ebp - 4]
call edi
test eax, eax
je 0x423822
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and word [ebp - 0x814], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x812]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultFAV
lea eax, [ebp - 0x814]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x14]
mov edi, SysReAllocString
push 4
mov dword [ebp - 0x14], 1
pop ebx
push ebx
push eax
push ebx
lea eax, [ebp - 0x814]
push str.FAVSOURCE
push eax
push edi
call esi
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push ebx
push eax
push ebx
lea eax, [ebp - 0x814]
push str.isinit2
push eax
push edi
call esi
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
lea ecx, [ebp - 0xc]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4240e1
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424175
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x424175
push esi
push edi
mov byte [ebp - 1], bl
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
pop ecx
cmp esi, ebx
je 0x424167
push esi
push edi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x424167
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp + 8]
push eax
push 0x43f51c
push esi
mov dword [ebp + 8], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x424167
push 0x34
lea eax, [ebp - 0x40]
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x40], 0xfeef04bd
sete byte [ebp - 1]
push esi
call dword [sym.imp.MSVCRT.dll_free]
cmp byte [ebp - 1], bl
pop ecx
pop esi
jne 0x424179
xor al, al
jmp 0x4241a3
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0xc]
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
movzx eax, word [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x14]
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
movzx eax, word [ebp - 0x34]
mov dword [ecx], eax
mov al, 1
pop edi
pop ebx
leave
ret

Function at 0x42439b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x424414
and word [ebp - 0x208], 0
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x208]
push dword [ebp + 8]
push str._s_d.tmp
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [ebp - 0x208]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
pop edi
jne 0x424418
xor al, al
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
leave
ret
Function at 0x424430
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
and dword [ebp - 0x254], 0
push ebx
push esi
push edi
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x250]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
mov ax, word [0x467104]
mov ecx, 0x81
mov word [ebp - 0x86c], ax
xor eax, eax
lea edi, [ebp - 0x86a]
push 0x465df4
push dword [ebp + 8]
mov ebx, 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x43d538
lea eax, [ebp - 0x86c]
push ebx
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x4244b8
xor eax, eax
jmp 0x4245b5
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x228]
push 0x465df0
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x424580
lea eax, [ebp - 0x228]
push 0x43f5d0
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x424580
test byte [ebp - 0x254], 0x10
mov ax, word [0x467104]
je 0x42453f
mov word [ebp - 0x45c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x45a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x45c]
push dword [ebp + 8]
push 0x43d538
push ebx
push eax
call esi
lea eax, [ebp - 0x45c]
push eax
call fcn.00424430
add esp, 0x18
jmp 0x424580
mov word [ebp - 0x664], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x662]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x664]
push dword [ebp + 8]
push 0x43d538
push ebx
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4244b8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4245ba
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424611
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], esi
push eax
mov word [ebp - 0x10], 0x50
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x42460f
push dword [ebp - 0xa]
call dword [sym.imp.SHELL32.dll_SHFreeNameMappings]
mov eax, esi
pop esi
leave
ret
Function at 0x424614
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x260
push ebx
push ebp
push esi
push edi
push dword [esp + 0x278]
mov dword [esp + 0x1c], 1
call fcn.00424317
mov ebp, 0x208
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
pop ecx
mov ebx, 0x104
push dword [esp + 0x274]
mov dword [esp + 0x18], eax
push 0x465dfc
push ebx
push eax
call esi
and dword [esp + 0x30], 0
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x34]
add esp, 0x10
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x424752
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea eax, [esp + 0x4c]
push 0x465df0
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x42473b
lea eax, [esp + 0x4c]
push 0x43f5d0
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x42473b
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x278]
push 0x43d538
push ebx
push edi
call esi
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x18
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], eax
push ecx
push dword [esp + 0x27c]
push 0x43d538
push ebx
push eax
call esi
add esp, 0x14
test byte [esp + 0x20], 0x10
je 0x424715
push dword [esp + 0x10]
push edi
call fcn.00424614
pop ecx
pop ecx
jmp 0x424722
push 0
push dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x42472a
and dword [esp + 0x18], eax
push edi
call fcn.0043259a
push dword [esp + 0x14]
call fcn.0043259a
pop ecx
pop ecx
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42468f
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esp + 0x14]
call fcn.0043259a
mov eax, dword [esp + 0x1c]
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret

Function at 0x424775
Capabilities:
Move file

Disassembly:
push 1
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret
Function at 0x424786
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
and dword [ebp - 0x254], 0
push ebx
push esi
push edi
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x250]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
mov ax, word [0x467104]
mov ecx, 0x81
mov word [ebp - 0x86c], ax
xor eax, eax
lea edi, [ebp - 0x86a]
push 0x465df4
push dword [ebp + 8]
mov ebx, 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x43d538
lea eax, [ebp - 0x86c]
push ebx
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
test eax, eax
mov dword [ebp - 4], eax
je 0x424973
cmp eax, 0xffffffff
je 0x424973
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x228]
push 0x465df0
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x42493c
lea eax, [ebp - 0x228]
push 0x43f5d0
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x42493c
test byte [ebp - 0x254], 0x10
je 0x4248be
mov ax, word [0x467104]
mov ecx, 0x81
mov word [ebp - 0x664], ax
xor eax, eax
lea edi, [ebp - 0x662]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x664]
push dword [ebp + 8]
push 0x43d538
push ebx
push eax
call esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x1c
test eax, eax
je 0x42493c
push dword [ebp + 0x14]
lea eax, [ebp - 0x664]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00424786
add esp, 0x10
jmp 0x42493c
and word [ebp - 0x45c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x45a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x45c]
push dword [ebp + 8]
push 0x43d538
push ebx
push eax
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x1c
test eax, eax
je 0x42493c
push dword [ebp + 0x10]
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x42493c
lea eax, [ebp - 0x45c]
push 0xa0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x424813
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x424975
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424e03
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x432e5c
call fcn.00432730
sub esp, 0x210
push ebx
xor ebx, ebx
push esi
xor esi, esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
push 0x4370ec
push 1
push ebx
push 0x4373cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x424ee0
mov eax, dword [ebp - 0x10]
push edi
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
push dword [ebp + 8]
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
call dword [sym.imp.MSVCRT.dll_wcslen]
push eax
lea eax, [ebp - 0x21c]
push dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x21c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [ebp + 0x10], ebx
pop edi
je 0x424eb6
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x4377fc
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x424ee0
mov eax, dword [ebp - 0x14]
push 2
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x424ee0
push 1
pop esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x424ef0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x424f01
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4253f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
lea eax, [ebp - 0x114]
push esi
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x104], 2
push 1
mov dword [0x46a9c0], eax
mov dword [0x46a9cc], eax
mov dword [0x46a9c4], eax
mov dword [0x46a9c8], eax
pop esi
jne 0x425491
cmp dword [ebp - 0x110], 5
jne 0x42545c
cmp dword [ebp - 0x10c], eax
jne 0x42544c
mov dword [0x46a9cc], esi
jmp 0x42549f
cmp dword [ebp - 0x10c], esi
jne 0x42549f
mov dword [0x46a9c4], esi
jmp 0x42549f
cmp dword [ebp - 0x110], 6
jne 0x42549f
cmp dword [ebp - 0x10c], eax
je 0x425475
cmp dword [ebp - 0x10c], esi
jne 0x42549f
cmp dword [ebp - 0x10c], esi
mov dword [0x46a9c4], esi
mov dword [0x46a9c8], esi
jne 0x42549f
mov dword [0x46a9d0], esi
jmp 0x42549f
cmp dword [ebp - 0x104], esi
jne 0x42549f
mov dword [0x46a9c0], esi
mov ax, word [0x467104]
push edi
mov word [ebp - 0x31c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x31a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x31c]
push 0x103
push eax
call fcn.00426570
cmp word [ebp - 0x31c], 0x37
pop ecx
pop ecx
pop edi
jne 0x4254e4
mov dword [0x46a9d4], esi
jmp 0x425506
cmp word [ebp - 0x31c], 0x36
jne 0x4254f6
mov dword [0x46a9d8], esi
jmp 0x425506
cmp word [ebp - 0x31c], 0x38
jne 0x425506
mov dword [0x46a9dc], esi
pop esi
leave
ret

Function at 0x425578
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x104], 2
jne 0x4255ec
cmp dword [ebp - 0x110], 5
jne 0x4255ec
cmp dword [ebp - 0x10c], 1
jne 0x4255ec
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x100]
push str.Service_Pack_2
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x4255e6
lea eax, [ebp - 0x100]
push str.Service_Pack_3
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x4255e6
xor eax, eax
jmp 0x4255e9
push 1
pop eax
pop esi
leave
ret
xor eax, eax
leave
ret

Function at 0x425db7
Capabilities:
Delete file
Move file

Disassembly:
cmp dword [esp + 8], 0
jne 0x425dd8
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x425dd0
xor eax, eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x425ddb
push 5
pop eax
cmp eax, 5
je 0x425de9
cmp eax, 0x20
je 0x425de9
push 1
pop eax
ret
cmp dword [0x46a9c0], 0
je 0x425e0a
push 0
push dword [esp + 8]
call fcn.00425e1c
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setne cl
inc ecx
mov eax, ecx
ret
push 4
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 2
pop eax
ret
Function at 0x425ffb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, 0x207
lea eax, [ebp - 0x208]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42607c
cmp eax, esi
ja 0x42607c
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
cmp word [ebp + eax*2 - 0x20a], 0x5c
pop ecx
je 0x42604d
lea eax, [ebp - 0x208]
push 0x43f51c
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
pop ecx
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x208]
push str.wininit.ini
push eax
push 0x43f5d8
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
and word [edi + esi*2 - 2], 0
push 1
pop eax
pop edi
jmp 0x42607e
xor eax, eax
pop esi
leave
ret

Function at 0x426081
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x167c
call fcn.00432650
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x42617a
push ebx
push edi
mov ecx, 0x513
xor eax, eax
lea edi, [ebp - 0x167a]
mov word [ebp - 0x167c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x465ecc]
mov ebx, dword [sym.imp.MSVCRT.dll_wcstok]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call ebx
pop ecx
pop ecx
mov edx, eax
test edx, edx
je 0x42613c
and word [ebp - 0x22c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x22a]
rep stosd dword es:[edi], eax
push edx
push dword [ebp + 8]
stosw word es:[edi], ax
push str._s_s
lea eax, [ebp - 0x22c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp + esi*2 - 0x167c]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 4]
lea esi, [esi + edi + 1]
push eax
push 0
call ebx
add esp, 0x28
jmp 0x4260cd
xor esi, esi
push 0x1e
lea eax, [ebp - 0x24]
push esi
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x167c]
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xe], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xa], esi
mov dword [ebp - 0x20], 3
mov word [ebp - 0x14], 0x454
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop ebx
jmp 0x42617c
xor eax, eax
pop esi
leave
ret

Function at 0x426522
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push esi
cmp word [0x46a9ec], ax
mov esi, 0x46a9ec
jne 0x42654c
push eax
push 0x26
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push esi
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
pop ecx
mov eax, esi
pop esi
ret
Function at 0x426570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push esi
call fcn.00426522
push eax
call fcn.004299fe
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4265c1
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 4
push eax
lea eax, [ebp + 8]
push esi
push eax
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4265c1
cmp word [esi], ax
je 0x4265c1
push 1
pop edi
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x426b57
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 0xc], edi
mov dword [ebp - 4], edi
je 0x426c57
lea eax, [ebp - 4]
push esi
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x40000
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x426c48
push dword [ebp + 0x10]
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x426c48
cmp dword [ebp + 0x14], edi
je 0x426c45
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x426c48
push edi
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x426c48
push 0x20a
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp dword [ebp - 8], edi
pop ecx
mov esi, eax
jbe 0x426c3e
push 0x105
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, edi
jne 0x426c31
push 1
push dword [ebp + 0x10]
push esi
push dword [ebp - 4]
call fcn.00426b57
add esp, 0x10
jmp 0x426c38
cmp eax, 0x103
je 0x426c3e
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x426c0a
push esi
call fcn.0043259a
pop ecx
push 1
pop ebx
cmp dword [ebp - 4], edi
pop esi
je 0x426c57
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop ebx
leave
ret