joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401650
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x409760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push edi
mov edi, ecx
lea ecx, [esp + 8]
lea eax, [edi + 0x14]
push eax
push 0x4105f0
push ecx
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call fcn.00409218
mov edx, dword [esp + 8]
push 0
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x40171c
lea eax, [esp + 0xc]
push eax
call fcn.004041a0
add esp, 4
mov eax, dword [eax]
lea esi, [edi + 0x18]
push eax
push str.PROGRESS
mov ecx, esi
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
call fcn.0040923c
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x48], 3
call fcn.0040923c
mov ecx, edi
mov byte [esp + 0x44], 1
call fcn.004018b0
mov eax, dword [esi]
push 0
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x401751
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 8]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x38
ret
mov esi, dword [esi]
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 8]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x38
ret
Function at 0x4018b0
Capabilities:
Access peb ldr_data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4097b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push str.qw8912gda.L_34e
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x28], 2
call fcn.0040923c
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 3
push ecx
lea ecx, [esp + 0x14]
call fcn.0040923c
lea edx, [esp + 0xc]
lea eax, [esp + 4]
push edx
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
call fcn.00401a10
push eax
lea ecx, [esp + 0x14]
call fcn.00401a20
push eax
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0040923c
call fcn.004017a0
add esp, 0x14
cmp eax, 1
jne 0x4019a2
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040923c
call fcn.00401100
mov ecx, dword [esp + 0x14]
push 0x40f054
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4019a2
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
push edx
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov eax, dword [esp + 4]
test eax, eax
je 0x4019b3
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8
Function at 0x403010
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
mov dword [esp + 0x10], 0
push str.ComputerManagerTP
push 0
call edi
test eax, eax
je 0x4030b6
push 0
push 0xf060
push 0x112
push eax
call ebp
push 0x12c
call ebx
push str.ComputerManagerTP
push 0
call edi
test eax, eax
je 0x4030b6
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 0x14]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40309d
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x12c
call ebx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 5
mov dword [esp + 0x10], eax
jl 0x403031
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x403260
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x409b20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
lea eax, [esp + 0x20]
push str.data_rcno.ini
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_operator
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 1
push edx
mov byte [esp + 0x1c], bl
call esi
lea eax, [esp + 0x20]
push str.data_rcno_v2.ini
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
push edx
call esi
lea eax, [esp + 0x20]
push str.data_rcno_v3.ini
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
push edx
call esi
lea eax, [esp + 0x20]
push str.data_rcno_v6.ini
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
push edx
call esi
lea eax, [esp + 0x20]
push str.data_ttbox_uninstall.dat
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x18], bl
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
push edx
call esi
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4033c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x409b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
lea eax, [esp + 0x18]
push str.data_rcno_v2.ini
lea ecx, [esp + 8]
push eax
push ecx
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_operator
mov edx, dword [esp + 4]
push 0x40f054
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x403428
mov eax, dword [esp + 4]
push esi
mov ecx, dword [eax - 8]
push ecx
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x403460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x409b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 1
call fcn.00405960
push 0x80000002
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.00405a00
lea eax, [esp + 0x34]
lea ecx, [esp + 8]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push ecx
call sub.MFC42.DLL_operator_1
push 1
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
mov byte [esp + 0x38], 3
call fcn.0040923c
lea ecx, [esp + 0x1c]
call fcn.00405bc0
test eax, eax
je 0x40359e
lea eax, [esp + 0x38]
push str.uninstall.exe
lea ecx, [esp + 8]
push eax
push ecx
call sub.MFC42.DLL_operator
push ecx
lea edx, [esp + 0x38]
mov bl, 4
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
mov byte [esp + 0x34], bl
call fcn.0040923c
push ecx
mov byte [esp + 0x34], 5
mov ecx, esp
mov dword [esp + 0x18], esp
push str.DisplayName
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.00405e90
push ecx
lea eax, [esp + 8]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0040923c
push ecx
mov byte [esp + 0x34], 6
mov ecx, esp
mov dword [esp + 0x14], esp
push str.DisplayIcon
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.00405e90
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0040923c
push ecx
mov byte [esp + 0x34], 7
mov ecx, esp
mov dword [esp + 0x14], esp
push str.UninstallString
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.00405e90
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00405990
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 8
Function at 0x4041a0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x1fc
mov eax, dword [0x40f49c]
push esi
push edi
mov dword [esp + 0xc], eax
mov ecx, 0x7c
xor eax, eax
lea edi, [esp + 0x10]
push 0x1f4
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
push ecx
push str.ProgramFiles
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0xb], 0x5c
je 0x404222
mov edi, 0x40f048
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x208]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop edi
pop esi
add esp, 0x1fc
ret

Function at 0x404680
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x409df8
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov ecx, 0x4105d8
call fcn.00401b50
test eax, eax
jne 0x4047c9
lea eax, [esp + 4]
push eax
call fcn.004041a0
add esp, 4
lea ecx, [esp + 4]
push 0x40f530
lea edx, [esp + 4]
push ecx
push edx
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_operator
mov ecx, 0x4105d8
mov byte [esp + 0x1c], 1
call fcn.00403010
push ecx
lea eax, [esp + 4]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.0040923c
push ecx
mov byte [esp + 0x24], 2
mov ecx, esp
mov dword [esp + 0x18], esp
push str.data3.dat
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x4105d8
mov byte [esp + 0x24], 1
call fcn.00402f70
test eax, eax
jne 0x4047aa
push ecx
lea edx, [esp + 4]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0040923c
mov ecx, 0x4105d8
call fcn.00403260
push ecx
lea eax, [esp + 4]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0040923c
mov ecx, 0x4105d8
call fcn.004033c0
push ecx
lea edx, [esp + 4]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0040923c
call fcn.00408100
add esp, 4
lea eax, [esp]
lea ecx, [esp + 8]
push str.data_ttboxtimer.exe
push eax
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [esp + 8]
push 5
push 0x410484
push str._ServerRun
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x405b00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40a348
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [esp + 4]
push ecx
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [esi], eax
jne 0x405b94
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 4]
push eax
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi], eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi], 0
jne 0x405b94
mov esi, dword [esp + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x405d10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x40a3aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], 0
push ecx
lea eax, [esp + 0x134]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x12c], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xff
mov edi, ebx
call fcn.0040923c
mov ecx, esi
call fcn.00405b00
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x405d9d
cmp eax, 2
je 0x405d9d
mov esi, dword [esp + 0x12c]
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.0040923c
mov dword [esp + 0xc], ebx
jmp 0x405e3f
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [esi], eax
je 0x405dd5
mov esi, dword [esp + 0x12c]
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.0040923c
jmp 0x405e3b
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x134]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov dword [esi], eax
je 0x405e01
xor edi, edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x405e28
mov esi, dword [esp + 0x12c]
lea edx, [esp + 0x134]
push edx
mov ecx, esi
call fcn.0040923c
jmp 0x405e3b
mov esi, dword [esp + 0x12c]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x130]
mov byte [esp + 0x124], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x134]
mov byte [esp + 0x124], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x11c
ret 0xc
Function at 0x405e90
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x40a3d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
push edi
mov ebp, ecx
mov dword [esp + 0x118], 0
mov edi, dword [esp + 0x124]
mov ebx, 1
cmp dword [edi - 8], 0xfe
jg 0x405f11
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
mov edx, dword [ebp + 4]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0x20006
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop esi
je 0x405f40
lea ecx, [esp + 0x120]
mov byte [esp + 0x118], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x124]
mov dword [esp + 0x118], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x405fba
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x124]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x405f70
xor ebx, ebx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x405f82
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x120]
mov byte [esp + 0x118], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x124]
mov dword [esp + 0x118], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, ebx
mov ecx, dword [esp + 0x110]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 8
Function at 0x407368
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40a738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov eax, dword [0x4105fc]
mov dword [esp + 0x30], 0
cmp eax, 1
je 0x4073a2
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop esi
add esp, 0x30
ret 4
lea eax, [esp + 0x38]
mov ecx, 0x4105f4
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esi + 0xf4]
add esi, 0xb4
push ecx
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4105f4
call fcn.0040923c
push ecx
mov byte [esp + 0x40], 1
mov ecx, esp
mov dword [esp + 0x28], esp
push str.data2.dat
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x4105d8
mov byte [esp + 0x40], 0
call fcn.00401db0
test eax, eax
je 0x40741e
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop esi
add esp, 0x30
ret 4
push str.neter.exe
lea edx, [esp + 0x14]
push 0x4105f4
push edx
call sub.MFC42.DLL_operator
push str.uninstall.exe
lea eax, [esp + 0x10]
push 0x4105f4
push eax
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_operator
push 0x40f368
lea ecx, [esp + 8]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString_2
push str.softwaremountain3_neter
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x38], 5
call fcn.0040923c
push ecx
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x3c], 6
call fcn.0040923c
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x40], 7
call fcn.0040923c
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x44], 8
call fcn.0040923c
push ecx
mov byte [esp + 0x44], 9
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4105f4
call fcn.0040923c
mov ecx, 0x4105d8
mov byte [esp + 0x44], 5
call fcn.00402450
push ecx
mov dword [0x410610], 1
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4105f4
call fcn.0040923c
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x3c], 0xa
call fcn.0040923c
mov ecx, 0x4105d8
mov byte [esp + 0x38], 5
call fcn.00403460
lea ecx, [esp + 8]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x30
ret 4
Function at 0x4075a8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40a7a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov eax, dword [0x410600]
mov dword [esp + 0x30], 0
cmp eax, 1
je 0x4075e2
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop esi
add esp, 0x30
ret 4
lea eax, [esp + 0x38]
mov ecx, 0x4105f8
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, 0x4105d8
call fcn.00403010
lea ecx, [esi + 0xf4]
add esi, 0xb4
push ecx
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4105f8
call fcn.0040923c
push ecx
mov byte [esp + 0x40], 1
mov ecx, esp
mov dword [esp + 0x28], esp
push str.data3.dat
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x4105d8
mov byte [esp + 0x40], 0
call fcn.00401db0
test eax, eax
je 0x407668
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop esi
add esp, 0x30
ret 4
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4105f8
call fcn.0040923c
mov ecx, 0x4105d8
call fcn.00403260
push str.cm.exe
lea edx, [esp + 0x14]
push 0x4105f8
push edx
call sub.MFC42.DLL_operator
push str.uninstall.exe
lea eax, [esp + 0x10]
push 0x4105f8
push eax
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_operator
push 0x40f19c
lea ecx, [esp + 8]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString_2
push str.softwaremountain3jsb
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x38], 5
call fcn.0040923c
push ecx
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x3c], 6
call fcn.0040923c
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x40], 7
call fcn.0040923c
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x44], 8
call fcn.0040923c
push ecx
mov byte [esp + 0x44], 9
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4105f8
call fcn.0040923c
mov ecx, 0x4105d8
mov byte [esp + 0x44], 5
call fcn.00402450
push ecx
mov dword [0x410614], 1
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4105f8
call fcn.0040923c
push ecx
mov byte [esp + 0x38], 0xa
mov ecx, esp
lea edx, [esp + 0xc]
mov dword [esp + 0x28], esp
push edx
call fcn.0040923c
mov ecx, 0x4105d8
mov byte [esp + 0x38], 5
call fcn.00403460
lea ecx, [esp + 8]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x30
ret 4