joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4035a8
Capabilities:
Copy file
Create directory
Get common file path
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x421c40]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
push ebx
push 0x417960
mov edi, str.TEST
push edi
push edi
call esi
push ebx
xor ebp, ebp
push ebp
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x4035fd
push ebx
push 0x41794c
push edi
push edi
call esi
xor eax, eax
jmp 0x40368b
xor eax, eax
push 0x206
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
push ebp
push eax
call fcn.004081e0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ebp
push ebp
push 0x801a
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x403688
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x10]
push str.WinTools
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x10]
push ebp
push eax
call esi
push str.RAMSaverPro
lea eax, [esp + 0x14]
push eax
call edi
push ebp
lea eax, [esp + 0x14]
push eax
call esi
push str._ramsaverpro.ini
lea eax, [esp + 0x14]
push eax
call edi
push 1
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00407258
add esp, 0x20c
ret

Function at 0x403a4a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x421c40]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xa
push 0xa
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.0040920d
add esp, 0x10
lea eax, [ebp - 0x18]
push 0
push eax
push 0x417514
call fcn.00403ef3
pop ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403a90
Capabilities:
Get memory capacity
Read .ini file

Disassembly:
push esi
push edi
mov esi, 0x422418
mov edi, 0x417a10
push esi
push 0
push edi
push str.Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x423154], eax
cmp eax, 2
jne 0x403b00
push 0x423158
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [0x423164], 0
ja 0x403ae4
cmp dword [0x423160], 0x3fef2000
jae 0x403ae4
and dword [0x423154], 0
push esi
push 0x41794c
jmp 0x403af4
push esi
mov dword [0x423154], 1
push 0x417960
push edi
push 0x417950
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
ret
Function at 0x403b03
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x421c40]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x422e40
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.killproc.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 5
mov eax, 0x4178dc
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
push str.open
push dword [0x42356c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407258
leave
ret

Function at 0x403b67
Capabilities:
Create thread
Open clipboard
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x422418
xor esi, esi
push esi
push str.Clipboard
push str.Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x403b9d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 4
push str.Free
call fcn.00403f59
imul eax, eax, 0xffa80
pop ecx
pop ecx
push 0x49
mov dword [0x423570], eax
pop eax
mov word [0x421008], ax
cmp dword [0x421004], esi
je 0x403bda
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x403bdd
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
leave
ret

Function at 0x403e34
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x423160]
xor edx, edx
push ebx
mov ebx, 0xffa80
div ebx
push ebp
push esi
push edi
push 0x64
pop ecx
xor edx, edx
xor ebp, ebp
div ecx
push ebp
push ebx
push dword [0x42316c]
mov edi, eax
xor esi, esi
push dword [0x423168]
imul edi, dword [esp + 0x24]
inc esi
call fcn.00407520
cmp edx, ebp
ja 0x403e7a
jb 0x403e76
cmp eax, edi
jae 0x403e7a
mov esi, edi
sub esi, eax
imul eax, esi, 0xffa80
push 0x49
mov dword [0x423570], eax
pop eax
mov word [0x421008], ax
cmp dword [0x421004], ebp
je 0x403eaa
lea eax, [esp + 0x14]
push eax
push ebp
push ebp
push 0x403bdd
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x403f59
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x7f94]
mov eax, 0x8014
call fcn.00407610
mov eax, dword [0x421c40]
xor eax, ebp
mov dword [ebp + 0x7f90], eax
push esi
mov esi, dword [ebp + 0x7f9c]
lea eax, [ebp - 0x7c]
push edi
push eax
lea eax, [ebp - 0x74]
xor edi, edi
push eax
push edi
push 0x20019
push edi
push edi
push edi
push str.SOFTWAREGodlike_DevelopersRAM_Saver_Pro
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x403faf
mov eax, dword [ebp + 0x7fa0]
jmp 0x403ff0
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0x4000
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push esi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403fdf
lea eax, [ebp - 0x70]
push eax
call fcn.0040a0d4
pop ecx
mov esi, eax
jmp 0x403fe5
mov esi, dword [ebp + 0x7fa0]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp + 0x7f90]
pop edi
xor ecx, ebp
pop esi
call fcn.00407258
add ebp, 0x7f94
leave
ret

Function at 0x404114
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar
Read .ini file

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
mov ebp, str.BUTTON
push ebx
push ebp
mov esi, eax
push ebx
push esi
call edi
push ebx
push str.ReBarWindow32
push ebx
push esi
mov dword [esp + 0x20], eax
call edi
push str.Quick_Launch
push str.ToolbarWindow32
mov ebx, eax
push 0
push ebx
call edi
push 0
push str.MSTaskSwWClass
push 0
push ebx
mov dword [esp + 0x24], eax
call edi
push 0
push str.TrayNotifyWnd
push 0
push esi
mov dword [esp + 0x28], eax
call edi
push 0
push ebp
xor ebp, ebp
mov esi, eax
push ebp
push esi
call edi
push ebp
push str.SysPager
push ebp
push esi
call edi
push ebp
push str.TrayClockWClass
push ebp
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebp, eax
push 0x422418
push 0
push str.Hide1
push 0x417950
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x4041c3
push 5
jmp 0x4041c5
push 0
push dword [esp + 0x14]
call esi
push 0x422418
push 0
push str.Hide2
push 0x417950
call edi
test eax, eax
jne 0x4041e6
push 5
jmp 0x4041e8
push 0
push ebx
call esi
push 0x422418
xor ebx, ebx
push ebx
push str.Hide3
push 0x417950
call edi
test eax, eax
jne 0x404207
push 5
jmp 0x404208
push ebx
push dword [esp + 0x18]
call esi
push 0x422418
push ebx
push str.Hide4
push 0x417950
call edi
test eax, eax
jne 0x404228
push 5
jmp 0x404229
push ebx
push dword [esp + 0x1c]
call esi
push 0x422418
push ebx
push str.Hide5
push 0x417950
call edi
test eax, eax
jne 0x404249
push 5
jmp 0x40424a
push ebx
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4042e9
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xbc
mov eax, dword [0x421c40]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
xor ecx, ecx
push esi
push edi
push eax
xor esi, esi
mov dword [ebp - 0x48], 0x44
xor edi, edi
mov dword [ebp - 0x44], esi
lea eax, [ebp + 0xc]
mov dword [ebp - 0x40], esi
inc edi
mov dword [ebp - 0x3c], esi
push str.CONTROL.EXE__s
push eax
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x18], di
mov word [ebp - 0x16], cx
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
push esi
push 0x20
push esi
push esi
push esi
lea eax, [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40436d
push dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 4]
call esi
mov eax, edi
jmp 0x40436f
xor eax, eax
mov ecx, dword [ebp + 0x70]
pop edi
xor ecx, ebp
pop esi
call fcn.00407258
add ebp, 0x74
leave
ret
Function at 0x40502c
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x421c40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4050a1
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4050a1
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
jmp 0x4050a3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00407258
leave
ret

Function at 0x4050f7
Capabilities:
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1810
call fcn.00407610
mov eax, dword [0x421c40]
xor eax, esp
mov dword [esp + 0x180c], eax
push ebx
push edi
mov edi, 0x422418
xor ebx, ebx
push edi
push ebx
push 0x4184b4
push 0x417950
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x405215
push ebp
push esi
mov esi, 0x7fe
mov word [esp + 0x1c], ax
push esi
lea eax, [esp + 0x22]
push ebx
push eax
call fcn.004081e0
xor eax, eax
push esi
mov word [esp + 0x82c], ax
lea eax, [esp + 0x82e]
push ebx
push eax
call fcn.004081e0
xor eax, eax
push esi
mov word [esp + 0x1038], ax
lea eax, [esp + 0x103a]
push ebx
push eax
call fcn.004081e0
add esp, 0x24
lea eax, [esp + 0x14]
mov esi, 0x400
push ebx
push ebx
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push esi
lea eax, [esp + 0x1034]
push eax
push 0x4184bc
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push dword [esp + 0x10]
lea eax, [esp + 0x20]
push 0x4184c4
push esi
push eax
call fcn.0040723c
add esp, 0x10
lea eax, [esp + 0x81c]
mov ebp, str.Trash
mov ebx, str.SYSFILES
push edi
push esi
push eax
mov esi, 0x4178dc
push esi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x81c]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x405213
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.Temp
push ebx
call esi
push edi
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
call esi
pop esi
pop ebp
mov ecx, dword [esp + 0x1814]
pop edi
pop ebx
xor ecx, esp
call fcn.00407258
add esp, 0x1810
ret

Function at 0x40522c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
movzx eax, word [ecx]
test ax, ax
je 0x40524d
mov edx, eax
xor edx, 1
mov word [ecx], dx
lea ecx, [ecx + 2]
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x40523a
xor eax, eax
ret
Function at 0x405250
Capabilities:
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
or esi, 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
jmp 0x40527a
movzx eax, word [edi]
dec ecx
xor eax, esi
lea edi, [edi + 2]
movzx eax, al
shr esi, 8
xor esi, dword [eax*4 + 0x421018]
test ecx, ecx
jg 0x405264
not esi
pop edi
mov eax, esi
pop esi
ret
Function at 0x405285
Capabilities:
Create directory
Delete file
Get common file path
Read .ini file

Disassembly:
mov eax, 0x1184
call fcn.00407610
mov eax, dword [0x421c40]
xor eax, esp
mov dword [esp + 0x1180], eax
push ebp
xor eax, eax
xor ebp, ebp
push 0x98
mov word [esp + 0xc], ax
lea eax, [esp + 0xe]
push ebp
push eax
call fcn.004081e0
add esp, 0xc
lea eax, [esp + 8]
push 0x422418
push 0x4d
push eax
push 0x4178dc
push str.Temp
push str.SYSFILES
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4053ef
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esp + 0xc]
push eax
call esi
cmp eax, 0x14
jl 0x4053ee
push ebx
push edi
lea eax, [esp + 0x14]
push eax
call esi
mov ecx, 0x237
lea edi, [esp + 0x8b0]
mov esi, str.YNGLUREYNGLIUERYTMLG4S7GY6JK7Y5KG6MY5O86GYJ5IYH6J8YH58YTE4756J8475YKGMJYD69L45Y6GJODY5OM7JY6D8OT47YN5TO8DHM5JVYSDO7G5YOS7DH6Y5H8OY76EJIO8FY56DO4YJ5T6I7Y5JGDHY54KID6GY7KD57Y6J8G5486G5Y68E4JG567GEG4MNV568YDHG5DYJ5GY6D785JYMG6D78YG5J76YDO875MJVYH6N8DO75Y687JDYH5HG6D8OJ7H6BY5T78ODOYG587JH6DO8J45VY6ODJ785Y46MJODYO4578YG546HD476YG8OJ75Y687V5E4S34S32432Q345FWQ3524W521W1W6451561517IY187YM1O8YN1O98YN178Y3OM871YN38O1YMON37Y1ON73YI1UYM3NUIYN13LMUYH1NL8I3YM1YN3781YM3NY1N9731M178Y3M87Y1M38Y18Y37M81Y3N1N783Y1MY3M71Y7YFRDG61B16541T5RT16G51FED1FE1FC1Z1ZC1CX11ZVX14VX1XG14EX154EX15D145G1D6514D1G654DF1G6541D541DD7J81Y891JY891YK198Y189Y1F9Y7J97Y1891YJ917R198YRJY718Y1MKJY1OJY11YM1YMYNO91YMRYO17Y1OMD1Y1DKOM1YDN78NDY1O8NDJ7O81YJY1E71YHJ7RY17Y1R7YT7YTNH7YTHN7T771NT71Y745JY837YG4M5N3Y48T5JY34YM58FYV3N478563874YNG6873YJH4683G4J76YJ3G8Y7645873YG874Y6G83468G38746G346G37HJ78J7Y7J8YJ7GY475Y6HG8J4Y76Y4J567Y4857JYHF648IY5JI78YH4IG5J487IG5768IY5JI786IFY78Y4IIIIIIIII5GIJ8G7Y5H8IH7Y456YE6Y5J8EY54786YE8I745G6E45G4E56GE4JHSRSHTEF4EF34527JTG98534YTM2J7Y5T8J73Y45T3EK47C54T327AG75Y3N74Y568IJY3687IY38YJ6TJI738Y4I687Y3546EC5T78M37KXRGYH5783JG65Y3986YJTG837Y6
mov ebx, eax
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x8b0]
push eax
movsw word es:[edi], word [esi]
call fcn.0040522c
pop ecx
lea eax, [esp + ebx*2 - 4]
push eax
lea eax, [esp + 0x8b4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
pop edi
pop ebx
test eax, eax
jne 0x405362
push ebp
mov esi, str.rvsmr
push esi
call fcn.00403f59
pop ecx
pop ecx
test eax, eax
jne 0x4053ee
push 0x417960
push esi
jmp 0x4053e7
lea eax, [esp + 0xc]
push eax
call fcn.004050b0
pop ecx
test eax, eax
jne 0x4053dd
lea eax, [esp + 8]
push eax
push 0x1a
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
test eax, eax
jne 0x4053b9
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push str.Godlike
lea eax, [esp + 0xac]
push eax
call esi
push ebp
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str._rvsmr.dll
lea eax, [esp + 0xac]
push eax
call esi
lea eax, [esp + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x41794c
jmp 0x4053e2
push 0x417960
push str.rvsmr
call fcn.00406dac
pop ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1184]
pop ebp
xor ecx, esp
call fcn.00407258
add esp, 0x1184
ret
Function at 0x405405
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x2a8
mov eax, dword [0x421c40]
xor eax, ebp
mov dword [ebp + 0x74], eax
push edi
xor edi, edi
push edi
push str.rvsmr
call fcn.00403f59
pop ecx
pop ecx
test eax, eax
je 0x40544f
push 0x422418
push str.37474384
push str.Data
push 0x417950
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
jmp 0x405521
push esi
xor eax, eax
push 0x98
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x26]
push edi
push eax
call fcn.004081e0
add esp, 0xc
lea eax, [ebp - 0x28]
push 0x422418
push 0x4d
push eax
push 0x4178dc
push str.Temp
push str.SYSFILES
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40551e
lea eax, [ebp - 0x28]
push eax
call fcn.0040522c
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x28]
pop ecx
push eax
call esi
cmp eax, 0x14
jl 0x40551e
xor eax, eax
push 0x206
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x22e]
push edi
push eax
call fcn.004081e0
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x28]
push eax
call esi
sub eax, 0x10
lea esi, [eax + eax]
lea eax, [ebp - 0x28]
add eax, esi
push eax
call fcn.00405250
mov edi, eax
pop ecx
cmp esi, 0x208
jae 0x405531
xor eax, eax
mov word [ebp + esi - 0x230], ax
lea eax, [ebp - 0x230]
push eax
call fcn.0040a0fe
pop ecx
xor ecx, ecx
cmp edi, eax
sete cl
mov eax, ecx
jmp 0x405520
xor eax, eax
pop esi
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop edi
call fcn.00407258
add ebp, 0x78
leave
ret
call fcn.00407389
int3

Function at 0x4055a5
Capabilities:
Read .ini file

Disassembly:
push esi
push 0x422418
xor esi, esi
push esi
push str.Nosaver
push 0x417950
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 2
push esi
test eax, eax
jne 0x4055c9
push 1
jmp 0x4055ca
push esi
push 0x11
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
pop esi
ret

Function at 0x4065c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x421c40]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x422e40
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.killproc.exe_1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 5
mov eax, 0x4178dc
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
push str.open
push dword [0x42356c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407258
leave
ret
Function at 0x40662c
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, 0x422418
push edi
push ebx
xor edi, edi
mov ebp, str.Options
push edi
push str.Auto
push ebp
call esi
mov dword [0x42319c], eax
sub eax, edi
je 0x4066c8
sub eax, 1
je 0x4066a2
sub eax, 1
jne 0x4066d6
push edi
push ebx
push 0xf
push str.Interval
push ebp
call esi
imul eax, eax, 0xea60
push eax
push 2
push dword [0x42356c]
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
push 1
push 0x4181f0
push ebp
call esi
push ebx
push 0xf
push str.Reach
push ebp
mov dword [0x423198], eax
call esi
mov dword [0x4231a0], eax
jmp 0x4066d6
push edi
push 0x124f80
push 2
push dword [0x42356c]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x423198], 4
mov dword [0x4231a0], edi
jmp 0x4066d6
push 2
push dword [0x42356c]
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
ret

Function at 0x406725
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x421c40]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x422e40
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.moncpu.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 5
mov eax, 0x4178dc
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
push str.open
push dword [0x42356c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407258
leave
ret
push 0x422418
push 0
push str.MonCPU
push 0x417950
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x406500
jmp fcn.00403067

Function at 0x406749
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x421c40]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x422e40
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.monram.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 5
mov eax, 0x4178dc
push eax
push eax
lea eax, [ebp - 0x20c]
push eax
push str.open
push dword [0x42356c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407258
leave
ret
push 0x422418
push 0
push 0x417968
push 0x417950
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x406564
jmp fcn.00403086
Function at 0x406dac
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 6
push esi
push esi
push esi
push str.SOFTWAREGodlike_DevelopersRAM_Saver_Pro
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x406dda
xor eax, eax
jmp 0x406e0a
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x406dff
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x407d35
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407d74
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407d74
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407d74
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407d74
cmp dword [ecx + 0x74], 0xe
jbe 0x407d74
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40a2b1
Capabilities:
Get common file path
Set current directory

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

Function at 0x416580
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4165ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4165ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret