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

Disassembly:
push 0xffffffffffffffff
push 0x4877e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4b20c8]
mov dword [esp + 0x10], 0
mov dword [esp], eax
mov ecx, dword [esp + 0x1c]
lea edx, [esp]
push ecx
push str.SOFTWAREMicrosoftInternet_ExplorerActiveX_Compatibility_s
push edx
mov byte [esp + 0x1c], 1
call fcn.0047617b
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x409daf
mov eax, dword [esp]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
jmp 0x409df2
mov edx, dword [esp]
lea ecx, [esp + 0x18]
push ecx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push str.Compatibility_Flags
push ecx
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp]
mov byte [esp + 0x10], 0
call fcn.0047c0f3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x40a270
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x487898
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
call fcn.004834fa
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.0044cdf0
test eax, eax
je 0x40a2a6
mov ecx, edi
call fcn.00409e30
lea eax, [esi + 0xd0]
push 0x4ad124
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.0047c388
push str.clsid.pcp
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.0047c4cf
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call fcn.0047be68
mov ecx, esi
call fcn.0044cfb0
test eax, eax
je 0x40a2f9
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret

Function at 0x40a570
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4878f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
call fcn.004834fa
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.0044cc30
test eax, eax
je 0x40a5ed
mov ecx, esi
call fcn.0044d040
test eax, eax
jg 0x40a5ef
add esi, 0xd0
push 0x4ad124
lea eax, [esp + 8]
push esi
push eax
call fcn.0047c388
push str.VerChk_01.txt
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call fcn.0047c4cf
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.0047c0f3
xor eax, eax
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40a600
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.004834fa
mov edi, dword [eax + 4]
lea eax, [ebp - 0x24]
push eax
xor ebx, ebx
xor esi, esi
call fcn.00476352
lea ecx, [ebp - 0x14]
push str._Y_m_d
push ecx
lea ecx, [ebp - 0x24]
call fcn.00476365
mov edi, dword [edi + 0xd4]
lea edx, [ebp - 0x1c]
push edx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x40a7b6
mov eax, dword [0x4b20c8]
mov dword [ebp - 0x18], eax
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x138]
lea edx, [ebp - 0x138]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push ecx
push edx
push ebx
push ebx
push str.Excute_Count_Time
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x138]
lea edx, [ebp - 0x18]
push ecx
push 0x4ad12c
push edx
call fcn.0047617b
mov eax, dword [ebp - 0x18]
push 0x4b61a0
push eax
call fcn.00463ffe
add esp, 0x14
test eax, eax
jne 0x40a6f2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x14]
push eax
push eax
call fcn.0047c523
mov edx, dword [ebp - 0x1c]
push eax
push 1
push ebx
push str.Excute_Count_Time
push edx
jmp 0x40a72a
mov eax, dword [ebp - 0x18]
push eax
call fcn.00463fa1
mov ecx, dword [ebp - 0x14]
mov edi, eax
push ecx
call fcn.00463fa1
add esp, 8
cmp eax, edi
jle 0x40a735
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [edx - 8]
push eax
push eax
call fcn.0047c523
push eax
mov eax, dword [ebp - 0x1c]
push 1
push ebx
push str.Excute_Count_Time
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, 1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0047c0f3
cmp esi, ebx
je 0x40a7b6
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
lea ecx, [ebp - 0x38]
call fcn.00481c50
push ebx
push ebx
push 1
push 1
push str.http:__log.globallic.com_pcclear_app_pcclear_excute.asp
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00481d93
mov esi, eax
mov dword [ebp - 4], 2
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x4c]
cmp esi, ebx
je 0x40a787
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x38]
call fcn.00481cf5
mov byte [ebp - 4], bl
jmp 0x40a7ae
lea ecx, [ebp - 0x38]
call fcn.00481c0b
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ad30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48796b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x458
push esi
push edi
mov esi, ecx
call fcn.004834fa
mov eax, dword [eax + 4]
push str.PCClearPlusUpdate.exe
add eax, 0xd0
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0047c388
mov edx, dword [esp + 8]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
xor ecx, ecx
push edx
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x64]
mov dword [esp + 0x14], ecx
push str.__s__1_1
mov dword [esp + 0x1c], ecx
push eax
mov dword [esp + 0x474], 0
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x60]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40adf1
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
lea ecx, [esp + 8]
mov dword [esp + 0x468], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x460]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x464
ret
Function at 0x40b9a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x487a88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0xc]
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
mov dword [esp + 0x28], 0
call ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40ba58
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x24]
push eax
push eax
call fcn.0047c523
mov edx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Start_Page
push edx
call esi
push str.http:__www.microsoft.com_isapi_redir.dll_prdiepver6armsnhome
lea ecx, [esp + 0x14]
call fcn.0047c161
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Default_Page_URL
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.0047c0f3
lea eax, [esp + 0xc]
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x40badb
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x24]
push eax
push eax
call fcn.0047c523
mov edx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Start_Page
push edx
call esi
push str.http:__www.microsoft.com_isapi_redir.dll_prdiepver6armsnhome
lea ecx, [esp + 0x14]
call fcn.0047c161
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 2
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Default_Page_URL
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.0047c0f3
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x40bbf0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 4]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 8]
push 0
push ecx
push 0
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
add esp, 0x1c
ret
Function at 0x40d2e0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x487ce8
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
call fcn.004834fa
mov esi, dword [eax + 4]
lea eax, [esp + 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersion_run
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x40d32f
lea ecx, [esp + 4]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersion_run
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40d438
mov edx, dword [0x4b20c8]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 0
test eax, eax
je 0x40d3a8
add esi, 0xd0
lea eax, [esp + 8]
push esi
push 0x4adcc4
push eax
call fcn.0047c3fc
push str.PCClearPlus.exe___shide
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x20], 1
call fcn.0047c388
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 2
call fcn.0047c22c
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 1
call fcn.0047c0f3
mov byte [esp + 0x14], 0
lea ecx, [esp + 8]
jmp 0x40d3f9
add esi, 0xd0
lea edx, [esp + 8]
push esi
push 0x4adcc4
push edx
call fcn.0047c3fc
push str.PCClearPlus.exe___hide
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x1c], 3
push eax
call fcn.0047c388
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 4
call fcn.0047c22c
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 3
call fcn.0047c0f3
mov byte [esp + 0x14], 0
lea ecx, [esp + 8]
call fcn.0047c0f3
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x1c]
push eax
push eax
call fcn.0047c523
mov edx, dword [esp + 8]
push eax
push 1
push 0
push str.PCClearPlus
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047c0f3
jmp 0x40d460
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
push str.PCClearPlus
push str.SoftwareMicrosoftWindowsCurrentVersion_run
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.PCClearPlus
push str.SoftwareMicrosoftWindowsCurrentVersion_run
push SysReAllocStringLen
call esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x40f680
Capabilities:
Delete file

Disassembly:
sub esp, 0x124
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], ebx
lea ebp, [esp + 0x30]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x138]
or ecx, 0xffffffff
mov edx, dword [eax]
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx - 8]
mov byte [esp + ecx + 0x31], bl
call fcn.0047d2d3
cmp eax, ebx
je 0x40f6f1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x40f6f3
xor eax, eax
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov word [esp + 0x24], 0x410
mov dword [esp + 0x26], ebx
mov dword [esp + 0x2a], ebx
mov dword [esp + 0x2e], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 4
Function at 0x40fa30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x487f31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], ecx
call fcn.004834fa
mov esi, dword [eax + 4]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 0x14]
mov eax, dword [esi + 0xdc]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
mov edx, dword [0x4b20c8]
mov dword [esp + 0x10], edx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x12c], 0
test eax, eax
jne 0x40fad9
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x24]
mov edx, dword [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0
push str.lic_code
push edx
mov dword [esp + 0x30], 0x100
call ebx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push 0x4ad12c
push ecx
call fcn.0047617b
add esp, 0xc
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
push 0x4b61a0
push eax
call fcn.00463ffe
add esp, 8
test eax, eax
jne 0x40fb87
mov eax, dword [esi + 0xdc]
lea ecx, [esp + 0x14]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
mov edx, dword [0x4b20c8]
mov dword [esp + 0x18], edx
test eax, eax
mov byte [esp + 0x12c], 1
jne 0x40fb6b
mov ecx, 0x40
lea edi, [esp + 0x24]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0
push str.lic_code
push edx
call ebx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
push 0x4ad12c
push ecx
call fcn.0047617b
add esp, 0xc
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], 0
call fcn.0047c0f3
mov eax, dword [esp + 0x10]
push 0x4b61a0
push eax
call fcn.00463ffe
add esp, 8
test eax, eax
je 0x40fbe9
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], 0x1e
jle 0x40fbe9
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0047be68
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
call fcn.0040fc50
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 2
call fcn.0047c22c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 0
call fcn.0047c0f3
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x114]
call fcn.0047c22c
mov edx, dword [esp + 0x10]
push 0x4b61a0
push edx
call fcn.00463ffe
add esp, 8
mov dword [esp + 0x12c], 0xffffffff
test eax, eax
lea ecx, [esp + 0x10]
je 0x40fc2a
call fcn.0047c0f3
mov eax, 1
jmp 0x40fc31
call fcn.0047c0f3
xor eax, eax
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x120
ret
Function at 0x410190
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x48800f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x4b20c8]
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
xor edi, edi
push ecx
push edi
mov dword [esp + 0x24], 1
mov dword [esp + 0x14], 4
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4101f7
mov edx, dword [esp + 0xc]
push edx
call fcn.00464500
add esp, 4
mov edi, eax
lea eax, [esp + 0xc]
push eax
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
test edi, edi
je 0x4102c4
push ebp
mov ebp, dword [esp + 0x2c]
xor ecx, ecx
xor edx, edx
mov cl, byte [edi + 0x199]
mov dl, byte [edi + 0x198]
xor eax, eax
push ecx
mov al, byte [edi + 0x197]
push edx
xor ecx, ecx
push eax
mov cl, byte [edi + 0x196]
xor edx, edx
mov dl, byte [edi + 0x195]
xor eax, eax
mov al, byte [edi + 0x194]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push str._0.2X_0.2X_0.2X_0.2X_0.2X_0.2X
push ecx
call fcn.0047617b
add esp, 0x20
lea esi, [edi + 0x1ac]
lea edx, [esi + 4]
mov ecx, ebp
push edx
call fcn.0047c27c
mov esi, dword [esi]
test esi, esi
jne 0x410252
mov eax, dword [esp + 0xc]
push str.000000000000
push eax
call fcn.00463ffe
add esp, 8
test eax, eax
je 0x4102b9
mov ecx, dword [esp + 0xc]
push 0x4b61a0
push ecx
call fcn.00463ffe
add esp, 8
test eax, eax
je 0x4102b9
mov eax, dword [ebp]
push str.0.0.0.0
push eax
call fcn.00463ffe
add esp, 8
test eax, eax
je 0x4102b9
mov eax, dword [ebp]
push 0x4b61a0
push eax
call fcn.00463ffe
add esp, 8
test eax, eax
jne 0x4102c3
mov edi, dword [edi]
test edi, edi
jne 0x410204
pop ebp
mov esi, dword [esp + 0x24]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0047be68
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.0047c0f3
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x411980
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4882d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov dword [esp + 0x10], 0
call fcn.004834fa
mov esi, dword [eax + 4]
lea ecx, [esp + 4]
push ecx
mov eax, dword [esi + 0xdc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4119d9
mov esi, dword [esi + 0xdc]
lea edx, [esp + 4]
push edx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [esp + 8]
push eax
push 3
push 0
push str.lic_code
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x416f30
Capabilities:
Change the wallpaper

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x2c]
push edi
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0047f70e
mov eax, dword [eax + 8]
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x48
push eax
push 0x48
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp + 0x400], eax
xor ebx, ebx
mov edi, 0x4af340
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x404], ebx
mov dword [ebp + 0x408], ebx
mov dword [ebp + 0x40c], ebx
mov dword [ebp + 0x410], 0x2bc
mov byte [ebp + 0x414], bl
mov byte [ebp + 0x415], bl
mov byte [ebp + 0x416], bl
mov byte [ebp + 0x417], 1
mov byte [ebp + 0x418], 2
mov byte [ebp + 0x419], 1
mov byte [ebp + 0x41a], bl
mov byte [ebp + 0x41b], bl
lea edx, [ebp + 0x41c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0x400]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0x43c]
call fcn.00481893
push ebx
lea ecx, [esp + 0x14]
push ebp
lea esi, [ebp + 0x348]
push ecx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00481548
push 0x4ad198
push 0x202
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push 1
push 0xb
push 0x77
push 0x5a
push 0x3e
push 0x568
mov ecx, ebp
call fcn.0047b58f
mov ecx, eax
call fcn.0047b777
push 1
push 0xb
push 0x3c
push 0x5a
push 0xb1
push 0x56a
mov ecx, ebp
call fcn.0047b58f
mov ecx, eax
call fcn.0047b777
push 1
push 0xb
push 0xa0
push 0x6a
push 0x43
push 0x569
mov ecx, ebp
call fcn.0047b58f
mov ecx, eax
call fcn.0047b777
push 1
push 9
lea esi, [ebp + 0x5c]
push 0xa
push 0xa
push 0x104
mov ecx, esi
call fcn.0047b777
push 0x16d
push 0x16d
push 0x16d
push 0x16d
mov ecx, esi
call fcn.00459400
push 1
push 0x14
lea esi, [ebp + 0x1d0]
push 0x44
push 0x89
push 0x6a
mov ecx, esi
call fcn.0047b777
push 0x203
push 0x203
push 0x203
push 0x203
mov ecx, esi
call fcn.00459400
lea edx, [esp + 0x20]
push ebx
push edx
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push ebx
sub edi, edx
sub esi, ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
push ebx
add edi, 0xfffffee8
push 0x118
push esi
push edi
mov ecx, ebp
mov dword [ebp + 0x44c], esi
mov dword [ebp + 0x450], 0x14
mov dword [ebp + 0x454], ebx
mov dword [ebp + 0x448], edi
call fcn.0047b777
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret