joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40be20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4462e8
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
call fcn.00442837
movzx ecx, word [esp + 0x28]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x40]
push 0x448ed0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40be6e
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
push edi
call fcn.00442837
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
call fcn.00442837
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x40]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x28]
push 0x1001
push edx
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.0043e26a
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 0x20], 0
lea ecx, [esp + 8]
jne 0x40bee9
mov dword [esp + 0x20], 0xffffffff
call fcn.0043de7a
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
push esi
push edi
call fcn.0043db8e
lea ecx, [esp + 8]
call fcn.0043ddd9
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0043de7a
mov ecx, dword [esp + 0x18]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x40cfa0
Capabilities:
Delete file
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x45b1e4]
push esi
push edi
mov dword [esp + 0x214], eax
mov esi, ecx
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x81
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
push 0x26
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 8]
push str.Language.ini
push ecx
call fcn.00429220
add esp, 8
push 0x8b
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0040be20
test eax, eax
jne 0x40d01c
mov ecx, dword [esp + 0x214]
call fcn.00428731
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0040c210
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x214]
mov eax, 1
call fcn.00428731
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
mov dword [esp + 4], ecx
call fcn.00442837
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
push 0x44aa10
push 0xa1
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40d435
push ebx
push ebp
push edi
call fcn.00442837
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x40]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
call fcn.00442837
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x40]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + esi + 2]
push eax
call fcn.0043da51
mov ebx, eax
lea ecx, [esi + 1]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
shr esi, 1
push esi
mov ecx, edx
and ecx, 3
push ebp
push ebx
rep stosb byte es:[edi], al
call fcn.004297c3
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ebx
push 0x423
call fcn.0043cdf4
push ebx
call fcn.0043da4c
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret

Function at 0x40d660
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push 0x44aab4
mov esi, ecx
call ebx
test eax, eax
mov dword [esi], eax
jne 0x40d67a
pop esi
pop ebx
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi]
push str.IsWow64Process
push eax
call edi
mov ecx, dword [esi]
push str.Wow64DisableWow64FsRedirection
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi]
push str.Wow64RevertWow64FsRedirection
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi]
push str.GetSystemWow64DirectoryW
push eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
test eax, eax
mov dword [esi + 4], eax
jne 0x40d6d2
pop edi
pop esi
pop ebx
ret
push str.Wow64RevertWow64FsRedirection
push eax
call edi
mov ecx, dword [esi + 4]
push str.Wow64RevertWow64FsRedirection
push ecx
mov dword [esi + 0x20], eax
call edi
pop edi
mov dword [esi + 0x1c], eax
pop esi
mov eax, 1
pop ebx
ret
Function at 0x40fe20
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x45b1e4]
push esi
push edi
mov dword [esp + 0x21c], eax
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x81
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
push 0xf003f
xor esi, esi
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40fead
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push 0x44b680
push eax
mov dword [esp + 0x24], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40fe9e
mov esi, 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40fec1
xor eax, eax
mov ecx, dword [esp + 0x21c]
call fcn.00428731
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x21c]
neg eax
sbb eax, eax
neg eax
call fcn.00428731
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410780
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x45b1e4]
push edi
mov dword [esp + 0x214], eax
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x81
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4107ff
push 0x104
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
lea edx, [esp + 0x24]
push edx
mov word [esp + 0x2e], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [esp + 4]
mov ecx, dword [ebp + 8]
push eax
push str._.8X
push ecx
call fcn.00428c0a
add esp, 0xc
mov ecx, dword [esp + 0x214]
call fcn.00428731
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x411170
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0xf003f
push 0
push 0x449ba0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x411196
xor eax, eax
pop ecx
ret 4
push esi
mov esi, dword [esp + 0xc]
push esi
call fcn.004290eb
mov ecx, dword [esp + 8]
add esp, 4
shl eax, 1
push eax
push esi
push 1
push 0
push str.Start_Page
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x45c16c]
mov ecx, dword [eax + 0x28]
call fcn.004093a0
mov eax, 1
pop esi
pop ecx
ret 4
Function at 0x4111e0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x414
mov eax, dword [0x45b1e4]
mov ecx, dword [esp + 0x41c]
mov edx, dword [0x45c16c]
mov dword [esp + 0x410], eax
lea eax, [esp + 0x208]
push eax
push ecx
mov ecx, dword [edx + 0x28]
call fcn.00408b60
lea eax, [esp + 0x208]
push eax
lea ecx, [esp + 4]
push 0x448cf8
push ecx
call fcn.00428c0a
lea edx, [esp + 0xc]
push 0x5c
push edx
call fcn.00429604
mov word [eax + 2], 0
lea eax, [esp + 0x14]
push str.TheWorld.ini
push eax
call fcn.00429220
add esp, 0x1c
lea ecx, [esp]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41126e
mov ecx, dword [esp + 0x410]
call fcn.00428731
add esp, 0x414
ret 8
mov eax, dword [esp + 0x418]
lea edx, [esp]
push edx
push eax
push str.Home
push str.Browser
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x410]
mov eax, 1
call fcn.00428731
add esp, 0x414
ret 8

Function at 0x4112b0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x414
mov eax, dword [0x45b1e4]
mov ecx, dword [esp + 0x41c]
mov edx, dword [0x45c16c]
mov dword [esp + 0x410], eax
push ebx
lea eax, [esp + 0x20c]
push eax
push ecx
mov ecx, dword [edx + 0x28]
call fcn.00408b60
lea eax, [esp + 0x20c]
push eax
lea ecx, [esp + 8]
push 0x448cf8
push ecx
call fcn.00428c0a
lea edx, [esp + 0x10]
push 0x5c
push edx
call fcn.00429604
mov word [eax + 2], 0
lea eax, [esp + 0x18]
push str.Configconfig.ini
push eax
call fcn.00429220
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x1c
lea ecx, [esp + 4]
push ecx
call ebx
test eax, eax
jne 0x411343
pop ebx
mov ecx, dword [esp + 0x410]
call fcn.00428731
add esp, 0x414
ret 8
push esi
mov esi, dword [esp + 0x420]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea edx, [esp + 0xc]
push edx
push esi
push str.Homepage
push str.Settings
call edi
lea eax, [esp + 0x214]
push eax
lea ecx, [esp + 0x10]
push 0x448cf8
push ecx
call fcn.00428c0a
lea edx, [esp + 0x18]
push 0x5c
push edx
call fcn.00429604
mov word [eax + 2], 0
lea eax, [esp + 0x20]
push str.Config_backupconfig.ini
push eax
call fcn.00429220
add esp, 0x1c
lea ecx, [esp + 0xc]
push ecx
call ebx
test eax, eax
jne 0x4113c2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x410]
call fcn.00428731
add esp, 0x414
ret 8
lea edx, [esp + 0xc]
push edx
push esi
push str.Homepage
push str.Settings
call edi
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
mov eax, 1
pop ebx
call fcn.00428731
add esp, 0x414
ret 8
Function at 0x411400
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x414
mov eax, dword [0x45b1e4]
mov ecx, dword [esp + 0x41c]
mov edx, dword [0x45c16c]
mov dword [esp + 0x410], eax
lea eax, [esp + 0x208]
push eax
push ecx
mov ecx, dword [edx + 0x28]
call fcn.00408b60
lea eax, [esp + 0x208]
push eax
lea ecx, [esp + 4]
push 0x448cf8
push ecx
call fcn.00428c0a
lea edx, [esp + 0xc]
push 0x5c
push edx
call fcn.00429604
mov word [eax + 2], 0
lea eax, [esp + 0x14]
push str.SharedAccountConfigconfig.ini
push eax
call fcn.00429220
add esp, 0x1c
lea ecx, [esp]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41148e
mov ecx, dword [esp + 0x410]
call fcn.00428731
add esp, 0x414
ret 8
mov eax, dword [esp + 0x418]
lea edx, [esp]
push edx
push eax
push str.HomePage
push str.Startup
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x410]
mov eax, 1
call fcn.00428731
add esp, 0x414
ret 8

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

Disassembly:
sub esp, 0x3ec
mov eax, dword [0x45b1e4]
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
mov dword [esp + 0x3f0], eax
push 0x23
lea eax, [esp + 0xc]
push eax
push 0
call edi
test eax, eax
jne 0x411510
pop edi
mov ecx, dword [esp + 0x3e8]
call fcn.00428731
add esp, 0x3ec
ret 4
push esi
lea ecx, [esp + 8]
push str._tencentTencentTraveler100TtConf.dat
push ecx
call fcn.00429220
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 8
lea edx, [esp + 8]
push edx
call esi
test eax, eax
je 0x41156d
mov ecx, dword [esp + 0x3f8]
lea eax, [esp + 8]
push eax
push ecx
push str.strHomePageUrl
push str.COMMON
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop esi
mov eax, 1
pop edi
mov ecx, dword [esp + 0x3e8]
call fcn.00428731
add esp, 0x3ec
ret 4
push 0
push 0x1a
lea edx, [esp + 0x10]
push edx
push 0
call edi
test eax, eax
je 0x4115aa
lea eax, [esp + 8]
push str._tencentTencentTraveler100TtConf.dat
push eax
call fcn.00429220
add esp, 8
lea ecx, [esp + 8]
push ecx
call esi
test eax, eax
je 0x4115aa
mov eax, dword [esp + 0x3f8]
lea edx, [esp + 8]
push edx
push eax
jmp 0x411541
mov ecx, dword [esp + 0x3f0]
pop esi
xor eax, eax
pop edi
call fcn.00428731
add esp, 0x3ec
ret 4
Function at 0x4115d0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x45b1e4]
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
mov dword [esp + 0x21c], eax
mov ebx, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x81
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
push 0x19
lea eax, [esp + 0x18]
push eax
push 0
call esi
test eax, eax
je 0x4116fe
lea ecx, [esp + 0x10]
push 0x44ba1c
push ecx
call fcn.00429220
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 8
lea edx, [esp + 0x10]
push edx
call edi
test eax, eax
jne 0x411732
push eax
push 0x10
lea edx, [esp + 0x18]
push edx
push eax
call esi
test eax, eax
je 0x4116fe
lea eax, [esp + 0x10]
push 0x44ba1c
push eax
call fcn.00429220
add esp, 8
lea ecx, [esp + 0x10]
push ecx
call edi
test eax, eax
je 0x41169a
mov eax, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, ebx
call fcn.00411400
mov ecx, dword [esp + 0x21c]
call fcn.00428731
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0x23
lea ecx, [esp + 0x18]
push ecx
push 0
call esi
test eax, eax
je 0x4116fe
lea edx, [esp + 0x10]
push 0x44b9b0
push edx
call fcn.00429220
add esp, 8
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
je 0x4116ed
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
mov ecx, ebx
call fcn.00411400
mov ecx, dword [esp + 0x21c]
call fcn.00428731
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0x1a
lea eax, [esp + 0x18]
push eax
push 0
call esi
test eax, eax
jne 0x411715
xor eax, eax
mov ecx, dword [esp + 0x21c]
call fcn.00428731
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x10]
push 0x44b9b0
push ecx
call fcn.00429220
add esp, 8
lea edx, [esp + 0x10]
push edx
call edi
test eax, eax
je 0x411757
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, ebx
call fcn.00411400
mov ecx, dword [esp + 0x21c]
call fcn.00428731
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x21c]
mov eax, 1
call fcn.00428731
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x411df0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x418
mov eax, dword [0x45b1e4]
push esi
push edi
mov dword [esp + 0x41c], eax
mov esi, ecx
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x81
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x19
lea eax, [esp + 0x10]
push eax
push 0
call edi
test eax, eax
je 0x411f67
lea ecx, [esp + 0x210]
push ecx
push 0x44bac0
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00411780
test eax, eax
jne 0x411ff0
lea edx, [esp + 0x210]
push edx
push str.Maxthon
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00411780
test eax, eax
jne 0x411f14
push eax
push 0x10
lea eax, [esp + 0x10]
push eax
push 0
call edi
test eax, eax
je 0x411f67
lea ecx, [esp + 0x210]
push ecx
push 0x44bac0
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00411780
test eax, eax
jne 0x411ff0
lea edx, [esp + 0x210]
push edx
push str.Maxthon
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00411780
test eax, eax
jne 0x411f14
push eax
push 0x23
lea eax, [esp + 0x10]
push eax
push 0
call edi
test eax, eax
je 0x411f67
lea ecx, [esp + 8]
push str.MicrosoftInternet_ExplorerQuick_Launch_
push ecx
call fcn.00429220
add esp, 8
lea edx, [esp + 0x210]
push edx
push 0x44bac0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00411780
test eax, eax
je 0x411f3b
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x210]
push ecx
push edx
mov ecx, esi
call fcn.004112b0
mov ecx, dword [esp + 0x41c]
call fcn.00428731
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x210]
push eax
push str.Maxthon
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00411780
test eax, eax
jne 0x411fac
push eax
push 0x1a
lea ecx, [esp + 0x10]
push ecx
push eax
call edi
test eax, eax
jne 0x411f7d
xor eax, eax
mov ecx, dword [esp + 0x41c]
call fcn.00428731
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 8]
push str.MicrosoftInternet_ExplorerQuick_Launch_
push edx
call fcn.00429220
add esp, 8
lea eax, [esp + 0x210]
push eax
push 0x44bac0
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00411780
test eax, eax
je 0x411fd3
mov eax, dword [ebp + 8]
lea edx, [esp + 0x210]
push edx
push eax
mov ecx, esi
call fcn.004112b0
mov ecx, dword [esp + 0x41c]
call fcn.00428731
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x210]
push ecx
push str.Maxthon
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00411780
test eax, eax
je 0x412017
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x210]
push eax
push ecx
mov ecx, esi
call fcn.004112b0
mov ecx, dword [esp + 0x41c]
call fcn.00428731
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x41c]
mov eax, 1
call fcn.00428731
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4122d0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xa3c
mov eax, dword [0x45b1e4]
push esi
push edi
mov dword [esp + 0xa40], eax
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.softwareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41244b
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
push 0x4492fc
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x412444
lea eax, [esp + 0x18]
push 0x4492fc
push eax
call fcn.00428c0a
mov ecx, dword [0x45c16c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
push eax
lea ecx, [esp + 0x63c]
push str._sUninst.exe
push ecx
call fcn.00428c0a
mov edx, dword [0x45c16c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [esp + 0x238]
push str._suninst.exe
push edx
call fcn.00428c0a
lea eax, [esp + 0x448]
push 0x44bd8c
push eax
call fcn.00428c0a
lea ecx, [esp + 0x860]
push str.http:__www.wn51.com_
push ecx
call fcn.00428c0a
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0x30
push 0x104
lea edx, [esp + 0x1c]
push edx
push 1
push 0
push str.DisplayName
push eax
call esi
mov edx, dword [esp + 8]
push 0x104
lea ecx, [esp + 0x634]
push ecx
push 1
push 0
push 0x44b680
push edx
call esi
mov ecx, dword [esp + 8]
push 0x104
lea eax, [esp + 0x224]
push eax
push 1
push 0
push str.DisplayIcon
push ecx
call esi
mov eax, dword [esp + 8]
push 0x104
lea edx, [esp + 0x42c]
push edx
push 1
push 0
push str.Publisher
push eax
call esi
mov edx, dword [esp + 8]
push 0x104
lea ecx, [esp + 0x83c]
push ecx
push 1
push 0
push str.URLInfoAbout
push edx
call esi
mov eax, dword [esp + 8]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea edx, [esp + 0x10]
push edx
push str.wnDealDown
push SysReAllocString
call edi
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push 0
push str.wnDealDownfiles
push 1
push 0x448de4
push eax
call esi
mov ecx, dword [esp + 0x10]
push 0x104
push str.wnDealDown.exe__1
push 1
push str.shellopencommand_
push ecx
call esi
lea edx, [esp + 0x14]
push edx
push 0x44bc88
push SysReAllocString
call edi
mov eax, dword [esp + 0x14]
push 0x104
push str.wnDealDown
push 1
push 0x448de4
push eax
call esi
mov ecx, dword [esp + 0xa40]
pop edi
pop esi
call fcn.00428731
add esp, 0xa3c
ret
Function at 0x4124e0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x412500
xor eax, eax
add esp, 0x14
ret
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4124fa
push eax
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
add esp, 0x14
ret

Function at 0x412630
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x46c
mov eax, dword [0x45b1e4]
push edi
mov dword [esp + 0x46c], eax
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [0x45c16c]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x94]
mov ecx, dword [eax + 0x48]
push str._BuildTable
push str.wnwbWnExeTool.exe
push ecx
lea edx, [esp + 0x68]
push str._s_s__s
push edx
call fcn.00428c0a
add esp, 0x14
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0x7c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
jne 0x412703
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x264]
push 0x44be7c
push ecx
call fcn.00428c0a
mov ecx, dword [0x45c16c]
add esp, 0xc
push 0
lea edx, [esp + 0x264]
push edx
call fcn.00409eb0
xor eax, eax
mov ecx, dword [esp + 0x468]
call fcn.00428731
add esp, 0x46c
ret
mov eax, dword [esp]
push esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x268]
push 0x44be68
push eax
call fcn.00428c0a
add esp, 0xc
push 0
lea ecx, [esp + 0x268]
push ecx
mov ecx, dword [0x45c16c]
call fcn.00409eb0
mov ecx, dword [esp + 0x46c]
mov eax, 1
pop esi
call fcn.00428731
add esp, 0x46c
ret
Function at 0x412780
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x46c
mov eax, dword [0x45b1e4]
mov dword [esp + 0x468], eax
xor eax, eax
push edi
mov edx, ecx
mov ecx, 0x11
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x3c]
test eax, eax
mov dword [esp + 0x18], 0x44
pop edi
je 0x4127eb
mov ecx, dword [0x45c16c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x94]
mov ecx, dword [eax + 0x48]
push str._SetDefault_StartUp
push str.wnwbWnExeTool.exe
push ecx
push str._s_s__s
lea edx, [esp + 0x68]
push edx
jmp 0x412811
mov eax, dword [0x45c16c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x94]
mov eax, dword [edx + 0x48]
push str._SetDefault
push str.wnwbWnExeTool.exe
push eax
push str._s_s__s
lea ecx, [esp + 0x68]
push ecx
call fcn.00428c0a
add esp, 0x14
lea edx, [esp]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [esp + 0x78]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x412883
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x264]
push 0x44be7c
push eax
call fcn.00428c0a
add esp, 0xc
push 0
lea ecx, [esp + 0x264]
push ecx
mov ecx, dword [0x45c16c]
call fcn.00409eb0
xor eax, eax
mov ecx, dword [esp + 0x468]
call fcn.00428731
add esp, 0x46c
ret
mov edx, dword [esp]
push esi
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 4]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x268]
push 0x44be68
push edx
call fcn.00428c0a
mov ecx, dword [0x45c16c]
add esp, 0xc
push 0
lea eax, [esp + 0x268]
push eax
call fcn.00409eb0
mov ecx, dword [esp + 0x46c]
mov eax, 1
pop esi
call fcn.00428731
add esp, 0x46c
ret