joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422ce8
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, 0x4696f8
call fcn.00404768
lea ecx, [ebp - 4]
call fcn.00404beb
push dword [0x4696f8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422e39
lea eax, [ebp - 0x10]
xor esi, esi
push eax
lea eax, [ebp - 0xc]
push esi
push eax
push 0x422cd8
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 0x422d6c
push dword [0x4696f8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x422d7b
push 4
push esi
push dword [0x4696f8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [0x468814], esi
je 0x422df4
push edi
push str.5.0.7.8
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
cmp dword [0x468810], esi
jne 0x422e39
mov eax, 0x4649bc
add ebx, 0x48
push eax
push ebx
push eax
lea eax, [ebp - 8]
push eax
call fcn.004236d3
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.00427e77
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.00404beb
pop esi
pop ebx
leave
ret

Function at 0x422ea3
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.00422b6d
push dword [esi + 0x44]
mov ecx, esi
push str.IDR_ZIP_DATA
call fcn.00422b6d
cmp dword [esi + 0x150c], 1
jne 0x422f26
cmp dword [esi + 0x14ec], 0
jne 0x422f26
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 0x464ae4
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 0x422f26
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 0x422f37
mov ecx, esi
call fcn.00422ce8
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 0x423317
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 0x4233be
push 0
push 0xbb8
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00427e77
add esp, 0x10
leave
ret

Function at 0x423e8b
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 0x423f1f
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 0x423f1f
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 0x423f11
push esi
push edi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x423f11
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp + 8]
push eax
push 0x43e5b4
push esi
mov dword [ebp + 8], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x423f11
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 0x423f23
xor al, al
jmp 0x423f4d
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 0x424145
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 0x4241be
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 0x4241c2
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 0x4241da
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 [0x466054]
mov ecx, 0x81
mov word [ebp - 0x86c], ax
xor eax, eax
lea edi, [ebp - 0x86a]
push 0x464d50
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 0x424262
xor eax, eax
jmp 0x42435f
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x228]
push 0x464d4c
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x42432a
lea eax, [ebp - 0x228]
push 0x43e668
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x42432a
test byte [ebp - 0x254], 0x10
mov ax, word [0x466054]
je 0x4242e9
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.004241da
add esp, 0x18
jmp 0x42432a
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 0x424262
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 0x424364
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 0x4243bb
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 0x4243b9
push dword [ebp - 0xa]
call dword [sym.imp.SHELL32.dll_SHFreeNameMappings]
mov eax, esi
pop esi
leave
ret

Function at 0x4243be
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.004240c1
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 0x464d58
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 0x4244fc
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea eax, [esp + 0x4c]
push 0x464d4c
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x4244e5
lea eax, [esp + 0x4c]
push 0x43e668
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x4244e5
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 0x4244bf
push dword [esp + 0x10]
push edi
call fcn.004243be
pop ecx
pop ecx
jmp 0x4244cc
push 0
push dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4244d4
and dword [esp + 0x18], eax
push edi
call fcn.00432250
push dword [esp + 0x14]
call fcn.00432250
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 0x424439
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esp + 0x14]
call fcn.00432250
mov eax, dword [esp + 0x1c]
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret

Function at 0x42451f
Capabilities:
Move file

Disassembly:
push 1
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret
Function at 0x424530
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 [0x466054]
mov ecx, 0x81
mov word [ebp - 0x86c], ax
xor eax, eax
lea edi, [ebp - 0x86a]
push 0x464d50
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 0x42471d
cmp eax, 0xffffffff
je 0x42471d
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x228]
push 0x464d4c
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x4246e6
lea eax, [ebp - 0x228]
push 0x43e668
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x4246e6
test byte [ebp - 0x254], 0x10
je 0x424668
mov ax, word [0x466054]
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 0x4246e6
push dword [ebp + 0x14]
lea eax, [ebp - 0x664]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00424530
add esp, 0x10
jmp 0x4246e6
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 0x4246e6
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 0x4246e6
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 0x4245bd
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 0x42471f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424bad
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x432b24
call fcn.004323c0
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 0x4360ec
push 1
push ebx
push 0x4363cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x424c8a
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 0x424c60
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 0x4367fc
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x424c8a
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 0x424c8a
push 1
pop esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x424c9a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x424cab
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 0x42519a
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 [0x469910], eax
mov dword [0x46991c], eax
mov dword [0x469914], eax
mov dword [0x469918], eax
pop esi
jne 0x42523b
cmp dword [ebp - 0x110], 5
jne 0x425206
cmp dword [ebp - 0x10c], eax
jne 0x4251f6
mov dword [0x46991c], esi
jmp 0x425249
cmp dword [ebp - 0x10c], esi
jne 0x425249
mov dword [0x469914], esi
jmp 0x425249
cmp dword [ebp - 0x110], 6
jne 0x425249
cmp dword [ebp - 0x10c], eax
je 0x42521f
cmp dword [ebp - 0x10c], esi
jne 0x425249
cmp dword [ebp - 0x10c], esi
mov dword [0x469914], esi
mov dword [0x469918], esi
jne 0x425249
mov dword [0x469920], esi
jmp 0x425249
cmp dword [ebp - 0x104], esi
jne 0x425249
mov dword [0x469910], esi
mov ax, word [0x466054]
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.0042631a
cmp word [ebp - 0x31c], 0x37
pop ecx
pop ecx
pop edi
jne 0x42528e
mov dword [0x469924], esi
jmp 0x4252b0
cmp word [ebp - 0x31c], 0x36
jne 0x4252a0
mov dword [0x469928], esi
jmp 0x4252b0
cmp word [ebp - 0x31c], 0x38
jne 0x4252b0
mov dword [0x46992c], esi
pop esi
leave
ret

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

Function at 0x425b61
Capabilities:
Delete file
Move file

Disassembly:
cmp dword [esp + 8], 0
jne 0x425b82
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x425b7a
xor eax, eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x425b85
push 5
pop eax
cmp eax, 5
je 0x425b93
cmp eax, 0x20
je 0x425b93
push 1
pop eax
ret
cmp dword [0x469910], 0
je 0x425bb4
push 0
push dword [esp + 8]
call fcn.00425bc6
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 0x425da5
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 0x425e26
cmp eax, esi
ja 0x425e26
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
cmp word [ebp + eax*2 - 0x20a], 0x5c
pop ecx
je 0x425df7
lea eax, [ebp - 0x208]
push 0x43e5b4
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 0x43e670
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 0x425e28
xor eax, eax
pop esi
leave
ret

Function at 0x425e2b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x167c
call fcn.00432300
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x425f24
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 [0x464e28]
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 0x425ee6
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 0x425e77
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 0x425f26
xor eax, eax
pop esi
leave
ret

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

Disassembly:
xor eax, eax
push esi
cmp word [0x46993c], ax
mov esi, 0x46993c
jne 0x4262f6
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 0x42631a
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.004262cc
push eax
call fcn.004296b4
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x42636b
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 0x42636b
cmp word [esi], ax
je 0x42636b
push 1
pop edi
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x426901
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 0x426a01
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 0x4269f2
push dword [ebp + 0x10]
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x4269f2
cmp dword [ebp + 0x14], edi
je 0x4269ef
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 0x4269f2
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 0x4269f2
push 0x20a
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp dword [ebp - 8], edi
pop ecx
mov esi, eax
jbe 0x4269e8
push 0x105
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, edi
jne 0x4269db
push 1
push dword [ebp + 0x10]
push esi
push dword [ebp - 4]
call fcn.00426901
add esp, 0x10
jmp 0x4269e2
cmp eax, 0x103
je 0x4269e8
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x4269b4
push esi
call fcn.00432250
pop ecx
push 1
pop ebx
cmp dword [ebp - 4], edi
pop esi
je 0x426a01
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop ebx
leave
ret