joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403420
Capabilities:
Encrypt data using rc4 prga
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x473ae8
push 0x427890
mov eax, dword fs:[0]
push eax
add esp, 0xffffff8c
mov eax, dword [0x47e014]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x3c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
cmp dword [ebp + 0xc], 0
jne 0x403465
mov dword [ebp - 0x1c], 0x10000
jmp 0x403470
mov eax, dword [ebp + 0xc]
add eax, 0x10000
mov dword [ebp - 0x1c], eax
push 0x1c
push 0
lea ecx, [ebp - 0x38]
push ecx
call fcn.00427170
add esp, 0xc
jmp 0x40348b
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
jne 0x4034a8
jmp 0x4035c7
mov eax, dword [ebp - 0x2c]
and eax, 0xfff
cmp eax, 0xfff
jne 0x4034bc
jmp 0x4035c7
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x1c]
jae 0x4034cc
jmp 0x4035c7
cmp dword [ebp - 0x28], 0x1000
jne 0x4034ed
mov edx, dword [ebp - 0x24]
and edx, 0xff
cmp edx, 1
je 0x4034ed
mov eax, dword [ebp - 0x24]
and eax, 0x100
je 0x4034ef
jmp 0x403482
mov dword [ebp - 4], 0
push 0
push 0x40
lea ecx, [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x40351c
mov dword [ebp - 4], 0xfffffffe
jmp 0x403482
movzx ecx, word [ebp - 0x80]
cmp ecx, 0x5a4d
jne 0x403536
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x2c]
ja 0x403536
cmp dword [ebp - 0x44], 0x40
jae 0x403542
mov dword [ebp - 4], 0xfffffffe
jmp 0x403482
push 0
push 0xf8
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x40356e
mov dword [ebp - 4], 0xfffffffe
jmp 0x403482
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x403585
mov dword [ebp - 4], 0xfffffffe
jmp 0x403482
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x84]
jmp 0x4035c9
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403ed0
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x1c]
or eax, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x34], 0
jne 0x403eee
mov ecx, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp + 0x34], ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp + 0x34]
test eax, eax
jne 0x403f21
xor eax, eax
jmp 0x403f95
mov dword [ebp - 0x20], 0
cmp dword [ebp + 0x30], 0
je 0x403f41
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x30]
mov dword [ebp + eax*4 - 0xc], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00403050
test eax, eax
jne 0x403f66
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
jmp 0x403f95
cmp dword [ebp + 0x2c], 0
je 0x403f7e
push 0x10
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0x2c]
push edx
call fcn.004272d0
add esp, 0xc
mov eax, dword [ebp + 0x1c]
and eax, 4
jne 0x403f90
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x30
Function at 0x405a70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405ac9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405ac9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x405ab8
cmp esi, edx
jae 0x405ac9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x405aa6
cmp esi, edx
jae 0x405ac9
cmp word [esi], 0
je 0x405ac9
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x40acd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 0x10], 0
je 0x40ace8
mov dword [ebp - 8], 1
jmp 0x40acef
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
xor ecx, ecx
jne 0x40acf5
cmp dword [ebp - 0x14], 0
jne 0x40ad09
push 0x80004005
call fcn.00405b20
xor edx, edx
jne 0x40acd9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40ae50
cmp dword [ebp + 8], 0
je 0x40ae50
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jbe 0x40ae3f
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jbe 0x40ae25
cmp dword [ebp - 4], 2
jbe 0x40ad76
cmp dword [ebp - 4], 7
je 0x40adbb
jmp 0x40ae25
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x40ad9b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2 - 2]
test edx, edx
je 0x40adb6
mov eax, 2
imul ecx, eax, 0
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx], dx
mov eax, 0xd
jmp 0x40ae53
jmp 0x40ae3d
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x40ae0b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
cmp eax, 1
jb 0x40ae0b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shr edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
jne 0x40ae0b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
cmp eax, 1
jbe 0x40ae23
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shr edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 4]
test ecx, ecx
je 0x40ae23
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + eax], cx
mov eax, 0xd
jmp 0x40ae53
jmp 0x40ae3d
mov eax, 2
imul ecx, eax, 0
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx], dx
mov eax, 0xd
jmp 0x40ae53
jmp 0x40ae50
mov ecx, 2
imul edx, ecx, 0
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + edx], ax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40af10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x40af19
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40af5c
mov eax, dword [ebp - 8]
jmp 0x40afc2
cmp dword [ebp - 0xc], 1
je 0x40af6f
cmp dword [ebp - 0xc], 2
je 0x40af6f
mov eax, 0xd
jmp 0x40afc2
cmp dword [ebp + 0xc], 0
je 0x40afb6
cmp dword [ebp - 4], 0
je 0x40afa5
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x40af9c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x40afa3
mov eax, 0xd
jmp 0x40afc2
jmp 0x40afb6
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40b120
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x40b129
cmp dword [ebp + 0xc], 0
je 0x40b13c
mov dword [ebp - 4], 1
jmp 0x40b143
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x40b156
mov eax, 0xd
jmp 0x40b185
xor edx, edx
jne 0x40b12d
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042d2d6
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40f300
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov cl, byte [ebp + 8]
mov byte [eax + 0x31], cl
movzx edx, byte [ebp + 8]
test edx, edx
je 0x40f329
push 5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40f338
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4

Function at 0x411720
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
push 0
mov ecx, dword [ebp - 8]
call fcn.0040f490
push 5
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0xc], 0xa
mov dword [ebp - 4], 1
jmp 0x41175b
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jg 0x41178d
mov eax, 0xbe
cdq
idiv dword [ebp - 0xc]
imul eax, dword [ebp - 4]
add eax, 0x3c
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0040f490
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x411752
mov esp, ebp
pop ebp
ret

Function at 0x4125c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
mov byte [edx + 0xc7], 1
push 0
push 0
push 0x200
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esp, ebp
pop ebp
ret

Function at 0x413440
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4134a1
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x3a4]
test edx, edx
je 0x413480
push 5
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x108
call fcn.00405110
push eax
push 0x46cbb8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x380]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x5c]
call edx
push 2
mov ecx, dword [ebp - 4]
call fcn.004125a0
mov esp, ebp
pop ebp
ret 4
Function at 0x418bc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f20b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x47e014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00405300
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00405300
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x34], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x41ec70
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ec80

Function at 0x41ef00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f1b0
Function at 0x435ee6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00435d65

Function at 0x4388d7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00438597

Function at 0x440580
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
push str.SeShutdownPrivilege
call sym.Install_silent.exe_int___cdecl_SetPrivilege_wchar_t_const___int_
add esp, 8
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x4405a9
mov eax, dword [ebp - 4]
or eax, 4
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4405c0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
push 0x46d8f8
call sym.Install_silent.exe_int___cdecl_SetPrivilege_wchar_t_const___int_
add esp, 8
mov dword [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x4405e9
mov eax, dword [ebp - 4]
or eax, 4
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x440600
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
push 0x46d8d0
call sym.Install_silent.exe_int___cdecl_SetPrivilege_wchar_t_const___int_
add esp, 8
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x440629
mov eax, dword [ebp - 4]
or eax, 4
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x440640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sym.Install_silent.exe_int___cdecl_isWin7_void_
test eax, eax
jne 0x440653
xor eax, eax
jmp 0x4406aa
push 0x46d8c8
mov eax, dword [ebp + 8]
push eax
call fcn.0042f9b9
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x440671
xor eax, eax
jmp 0x4406aa
push 0
push 0x15
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043037f
add esp, 0xc
mov byte [ebp - 1], 0x20
mov edx, dword [ebp - 8]
push edx
push 1
push 1
lea eax, [ebp - 1]
push eax
call fcn.0042ff4c
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043001a
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x440d70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f5f6
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], 0
lea ecx, [ebp - 0x28]
call fcn.004090a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x13c], 0x114
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x138], 5
jne 0x440def
cmp dword [ebp - 0x134], 0
jne 0x440def
push str.Windows2000
lea ecx, [ebp - 0x28]
call fcn.00408eb0
jmp 0x440e95
cmp dword [ebp - 0x138], 5
jne 0x440e13
cmp dword [ebp - 0x134], 1
jne 0x440e13
push str.WindowsXP
lea ecx, [ebp - 0x28]
call fcn.00408eb0
jmp 0x440e95
cmp dword [ebp - 0x138], 6
jne 0x440e34
cmp dword [ebp - 0x134], 0
jne 0x440e34
push str.Windows2003
lea ecx, [ebp - 0x28]
call fcn.00408eb0
jmp 0x440e95
cmp dword [ebp - 0x138], 5
jne 0x440e55
cmp dword [ebp - 0x134], 2
jne 0x440e55
push str.windowsvista
lea ecx, [ebp - 0x28]
call fcn.00408eb0
jmp 0x440e95
cmp dword [ebp - 0x138], 6
jne 0x440e76
cmp dword [ebp - 0x134], 1
jne 0x440e76
push str.windows7
lea ecx, [ebp - 0x28]
call fcn.00408eb0
jmp 0x440e95
cmp dword [ebp - 0x138], 6
jne 0x440e95
cmp dword [ebp - 0x134], 2
jne 0x440e95
push str.windows10
lea ecx, [ebp - 0x28]
call fcn.00408eb0
lea ecx, [ebp - 0x164]
push ecx
call fcn.00440f20
add esp, 4
movzx edx, word [ebp - 0x164]
cmp edx, 6
je 0x440ebc
movzx eax, word [ebp - 0x164]
cmp eax, 9
jne 0x440ecb
push str._x64
lea ecx, [ebp - 0x28]
call fcn.00408e90
jmp 0x440ed8
push str._x86
lea ecx, [ebp - 0x28]
call fcn.00408e90
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408fb0
mov edx, dword [ebp - 0x140]
or edx, 1
mov dword [ebp - 0x140], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408ed0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret
Function at 0x441400
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00427170
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._at.exe
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x441462
xor eax, eax
jmp 0x44147f
push 0
push 0
push str._delete__yes
lea ecx, [ebp - 0x20c]
push ecx
call sym.Install_silent.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret

Function at 0x441490
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f667
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00427170
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x46d6a4
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44150d
xor eax, eax
jmp 0x4415a0
lea ecx, [ebp - 0x21c]
call fcn.004050d0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x441543
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._s__every:m_t_w_th_f_s_su___s_
lea eax, [ebp - 0x21c]
push eax
call fcn.00405820
add esp, 0x10
jmp 0x44155f
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x46d6f4
lea eax, [ebp - 0x21c]
push eax
call fcn.00405820
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x21c]
call fcn.00405110
push eax
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_silent.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov dword [ebp - 0x220], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00404fe0
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret
Function at 0x4415c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f6bb
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x9c]
call fcn.004050d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str._sdesktop.ini
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00405820
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x94]
call fcn.00406f90
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa8]
call fcn.00406f50
push eax
lea ecx, [ebp - 0xa0]
call fcn.00406e70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.00406f60
lea ecx, [ebp - 0x98]
call fcn.004090f0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
push str._.ShellClassInfo__r_nIconFile_s_r_nIconIndex_d
lea eax, [ebp - 0x98]
push eax
call fcn.0040a350
add esp, 0x10
lea ecx, [ebp - 0x98]
call fcn.00406f50
push eax
call fcn.0042d240
add esp, 4
push eax
lea ecx, [ebp - 0x98]
call fcn.00406f10
push eax
lea ecx, [ebp - 0x9c]
call fcn.00405110
push eax
call sym.Install_silent.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
push 6
lea ecx, [ebp - 0x9c]
call fcn.00405110
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0xac], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.00406e50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00406e50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00404fe0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret
Function at 0x442ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x47e014]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00427170
add esp, 0xc
mov dword [ebp - 0x218], 0x208
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp + 8]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x442f7c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x442f67
mov dword [ebp - 0x210], 1
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x210]
jmp 0x442f82
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004216bd
mov esp, ebp
pop ebp
ret