joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4226d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00431de0
push ebx
push esi
push edi
mov esi, ecx
call fcn.00422556
cmp dword [esi + 0x150c], 0
mov ecx, esi
sete al
push eax
call fcn.00422469
mov ecx, esi
call fcn.0041ffce
and word [ebp - 0x1008], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x1006]
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.Software360360se5
stosw word es:[edi], ax
push str._sdefaultoption
lea eax, [ebp - 0x1008]
push 0x3ff
push eax
call ebx
mov eax, dword [esi + 0x30]
push str.5.1.0.0
push eax
call fcn.00423c9d
mov edi, eax
mov eax, dword [esi + 0x30]
push str.5.1.0.9
push eax
call fcn.00423c9d
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x30]
push str.5.0.3.8
push eax
call fcn.00423c9d
add esp, 0x28
test edi, edi
jl 0x422773
cmp dword [ebp - 4], 0
jl 0x422777
test eax, eax
jge 0x4227a3
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp - 0x1008]
push str.TabWidthMin
push eax
push SysReAllocString
call edi
lea eax, [ebp - 0x1008]
push str.TabWidthMax
push eax
push SysReAllocString
call edi
cmp dword [0x4681e4], 0
je 0x422818
push str.5.0.7.1
lea ecx, [ebp - 4]
call fcn.00404707
and word [ebp - 0x808], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x806]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultmain
lea eax, [ebp - 0x808]
push 0x3ff
push eax
call ebx
mov eax, dword [ebp - 4]
add esp, 0x10
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
lea eax, [ebp - 0x808]
push str.Version
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 4]
call fcn.00404beb
xor eax, eax
cmp dword [esi + 0x1520], eax
jne 0x4228b9
cmp dword [0x4681e0], eax
jne 0x4228b9
mov ecx, 0x1ff
lea edi, [ebp - 0x806]
mov word [ebp - 0x808], ax
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._sdefaultWnd
lea eax, [ebp - 0x808]
push 0x3ff
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x808]
push 0x4644e8
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov eax, 0x4644e4
add esi, 0x48
push eax
push esi
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042342b
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
lea ecx, [ebp - 8]
call fcn.00404beb
push 0
push 0
push 1
push dword [ebp - 4]
call fcn.0042795f
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422a39
Capabilities:
Check if file exists
Create thread
Delete file
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
mov ebx, ecx
push esi
push str.dataie8core.dll
lea eax, [ebx + 0x44]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
push eax
mov ecx, 0x4690c8
call fcn.00404768
lea ecx, [ebp - 4]
call fcn.00404beb
push dword [0x4690c8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422b91
lea eax, [ebp - 0x10]
xor esi, esi
push eax
lea eax, [ebp - 0xc]
push esi
push eax
push 0x422a29
push esi
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push 0x493e0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x422abd
push dword [0x4690c8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x422acc
push 4
push esi
push dword [0x4690c8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [0x4681e4], esi
je 0x422b45
push edi
push str.5.0.7.1
lea ecx, [ebp - 4]
call fcn.00404707
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80e]
mov word [ebp - 0x810], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultmain
lea eax, [ebp - 0x810]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebp - 4]
add esp, 0x10
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
lea eax, [ebp - 0x810]
push str.Version
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
mov ecx, ebx
call fcn.00422556
cmp dword [0x4681e0], esi
jne 0x422b91
mov eax, 0x4644e4
add ebx, 0x48
push eax
push ebx
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042342b
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
lea ecx, [ebp - 8]
call fcn.00404beb
push esi
push esi
push 1
push dword [ebp - 4]
call fcn.0042795f
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.00404beb
pop esi
pop ebx
leave
ret

Function at 0x422bfb
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x4c]
push str.IDR_ZIP_MINOR
call fcn.004228be
push dword [esi + 0x44]
mov ecx, esi
push str.IDR_ZIP_DATA
call fcn.004228be
cmp dword [esi + 0x150c], 1
jne 0x422c7e
cmp dword [esi + 0x14ec], 0
jne 0x422c7e
push 4
lea eax, [ebp - 8]
pop edi
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x46460c
mov ebx, SysReAllocString
push str.Software360360se3
push ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x422c7e
lea eax, [ebp - 4]
push edi
push eax
push edi
push str.switch
push str.Software360360se5defaultie8c
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor edi, edi
cmp dword [esi + 0x1520], edi
je 0x422c8f
mov ecx, esi
call fcn.00422a39
push edi
push edi
push 0x1405
call fcn.00410026
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42306f
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 + 0x4c]
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 + 0x4c]
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 0x423116
push 0
push 0xbb8
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0042795f
add esp, 0x10
leave
ret

Function at 0x423bd7
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 0x423c6b
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 0x423c6b
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 0x423c5d
push esi
push edi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x423c5d
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp + 8]
push eax
push 0x43e5ac
push esi
mov dword [ebp + 8], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x423c5d
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 0x423c6f
xor al, al
jmp 0x423c99
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 0x423e91
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 0x423f0a
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 0x423f0e
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 0x423f26
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 [0x465a24]
mov ecx, 0x81
mov word [ebp - 0x86c], ax
xor eax, eax
lea edi, [ebp - 0x86a]
push 0x464878
push dword [ebp + 8]
mov ebx, 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x43c530
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 0x423fae
xor eax, eax
jmp 0x4240ab
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x228]
push 0x464874
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x424076
lea eax, [ebp - 0x228]
push 0x43e660
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x424076
test byte [ebp - 0x254], 0x10
mov ax, word [0x465a24]
je 0x424035
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 0x43c530
push ebx
push eax
call esi
lea eax, [ebp - 0x45c]
push eax
call fcn.00423f26
add esp, 0x18
jmp 0x424076
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 0x43c530
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 0x423fae
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 0x4240b0
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 0x424107
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 0x424105
push dword [ebp - 0xa]
call dword [sym.imp.SHELL32.dll_SHFreeNameMappings]
mov eax, esi
pop esi
leave
ret

Function at 0x42410a
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.00423e0d
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 0x464880
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 0x424248
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea eax, [esp + 0x4c]
push 0x464874
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x424231
lea eax, [esp + 0x4c]
push 0x43e660
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x424231
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 0x43c530
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 0x43c530
push ebx
push eax
call esi
add esp, 0x14
test byte [esp + 0x20], 0x10
je 0x42420b
push dword [esp + 0x10]
push edi
call fcn.0042410a
pop ecx
pop ecx
jmp 0x424218
push 0
push dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x424220
and dword [esp + 0x18], eax
push edi
call fcn.00431d38
push dword [esp + 0x14]
call fcn.00431d38
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 0x424185
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esp + 0x14]
call fcn.00431d38
mov eax, dword [esp + 0x1c]
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret

Function at 0x42426b
Capabilities:
Move file

Disassembly:
push 1
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret
Function at 0x42427c
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 [0x465a24]
mov ecx, 0x81
mov word [ebp - 0x86c], ax
xor eax, eax
lea edi, [ebp - 0x86a]
push 0x464878
push dword [ebp + 8]
mov ebx, 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x43c530
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 0x424469
cmp eax, 0xffffffff
je 0x424469
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x228]
push 0x464874
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x424432
lea eax, [ebp - 0x228]
push 0x43e660
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x424432
test byte [ebp - 0x254], 0x10
je 0x4243b4
mov ax, word [0x465a24]
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 0x43c530
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 0x424432
push dword [ebp + 0x14]
lea eax, [ebp - 0x664]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0042427c
add esp, 0x10
jmp 0x424432
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 0x43c530
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 0x424432
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 0x424432
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 0x424309
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 0x42446b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4248f9
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x4325fc
call fcn.00431ea0
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 0x4360dc
push 1
push ebx
push 0x4363bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4249d6
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 0x4249ac
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 0x4367ec
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x4249d6
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 0x4249d6
push 1
pop esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4249e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4249f7
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 0x424ee6
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 [0x4692e0], eax
mov dword [0x4692ec], eax
mov dword [0x4692e4], eax
mov dword [0x4692e8], eax
pop esi
jne 0x424f87
cmp dword [ebp - 0x110], 5
jne 0x424f52
cmp dword [ebp - 0x10c], eax
jne 0x424f42
mov dword [0x4692ec], esi
jmp 0x424f95
cmp dword [ebp - 0x10c], esi
jne 0x424f95
mov dword [0x4692e4], esi
jmp 0x424f95
cmp dword [ebp - 0x110], 6
jne 0x424f95
cmp dword [ebp - 0x10c], eax
je 0x424f6b
cmp dword [ebp - 0x10c], esi
jne 0x424f95
cmp dword [ebp - 0x10c], esi
mov dword [0x4692e4], esi
mov dword [0x4692e8], esi
jne 0x424f95
mov dword [0x4692f0], esi
jmp 0x424f95
cmp dword [ebp - 0x104], esi
jne 0x424f95
mov dword [0x4692e0], esi
mov ax, word [0x465a24]
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.00426066
cmp word [ebp - 0x31c], 0x37
pop ecx
pop ecx
pop edi
jne 0x424fda
mov dword [0x4692f4], esi
jmp 0x424ffc
cmp word [ebp - 0x31c], 0x36
jne 0x424fec
mov dword [0x4692f8], esi
jmp 0x424ffc
cmp word [ebp - 0x31c], 0x38
jne 0x424ffc
mov dword [0x4692fc], esi
pop esi
leave
ret

Function at 0x42506e
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 0x4250e2
cmp dword [ebp - 0x110], 5
jne 0x4250e2
cmp dword [ebp - 0x10c], 1
jne 0x4250e2
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 0x4250dc
lea eax, [ebp - 0x100]
push str.Service_Pack_3
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x4250dc
xor eax, eax
jmp 0x4250df
push 1
pop eax
pop esi
leave
ret
xor eax, eax
leave
ret

Function at 0x4258ad
Capabilities:
Delete file
Move file

Disassembly:
cmp dword [esp + 8], 0
jne 0x4258ce
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x4258c6
xor eax, eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4258d1
push 5
pop eax
cmp eax, 5
je 0x4258df
cmp eax, 0x20
je 0x4258df
push 1
pop eax
ret
cmp dword [0x4692e0], 0
je 0x425900
push 0
push dword [esp + 8]
call fcn.00425912
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 0x425af1
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 0x425b72
cmp eax, esi
ja 0x425b72
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
cmp word [ebp + eax*2 - 0x20a], 0x5c
pop ecx
je 0x425b43
lea eax, [ebp - 0x208]
push 0x43e5ac
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 0x43e668
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 0x425b74
xor eax, eax
pop esi
leave
ret

Function at 0x425b77
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x167c
call fcn.00431de0
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x425c70
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 [0x464950]
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 0x425c32
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 0x425bc3
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 0x425c72
xor eax, eax
pop esi
leave
ret

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

Disassembly:
xor eax, eax
push esi
cmp word [0x46930c], ax
mov esi, 0x46930c
jne 0x426042
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