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

Disassembly:
push 0xffffffffffffffff
push 0x4094d0
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 0x4105a0
push ecx
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call fcn.00408f88
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.00404020
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.00408fac
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x48], 3
call fcn.00408fac
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 0x409528
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.00408fac
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 3
push ecx
lea ecx, [esp + 0x14]
call fcn.00408fac
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.00408fac
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.00408fac
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 0x409890
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 0x4098a8
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 0x404020
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x1fc
mov eax, dword [0x40f440]
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 0x4040a2
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 0x4044f0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x409b18
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov ecx, 0x410588
call fcn.00401b50
test eax, eax
jne 0x404639
lea eax, [esp + 4]
push eax
call fcn.00404020
add esp, 4
lea ecx, [esp + 4]
push 0x40f4d4
lea edx, [esp + 4]
push ecx
push edx
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_operator
mov ecx, 0x410588
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.00408fac
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, 0x410588
mov byte [esp + 0x24], 1
call fcn.00402f70
test eax, eax
jne 0x40461a
push ecx
lea edx, [esp + 4]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00408fac
mov ecx, 0x410588
call fcn.00403260
push ecx
lea eax, [esp + 4]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00408fac
mov ecx, 0x410588
call fcn.004033c0
push ecx
lea edx, [esp + 4]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00408fac
call fcn.00407f30
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 0x410434
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 0x405970
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40a068
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 0x405a04
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 0x405a04
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 0x405b80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x40a0ca
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.00408fac
mov ecx, esi
call fcn.00405970
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x405c0d
cmp eax, 2
je 0x405c0d
mov esi, dword [esp + 0x12c]
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.00408fac
mov dword [esp + 0xc], ebx
jmp 0x405caf
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 0x405c45
mov esi, dword [esp + 0x12c]
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.00408fac
jmp 0x405cab
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 0x405c71
xor edi, edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x405c98
mov esi, dword [esp + 0x12c]
lea edx, [esp + 0x134]
push edx
mov ecx, esi
call fcn.00408fac
jmp 0x405cab
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 0x405d00
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x40a0f0
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 0x405d81
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 0x405db0
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 0x405e2a
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 0x405de0
xor ebx, ebx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x405df2
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 0x407168
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40a450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov eax, dword [0x4105ac]
mov dword [esp + 0x30], 0
cmp eax, 1
je 0x4071a2
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, 0x4105a4
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 0x4105a4
call fcn.00408fac
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, 0x410588
mov byte [esp + 0x40], 0
call fcn.00401db0
test eax, eax
je 0x40721e
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 0x4105a4
push edx
call sub.MFC42.DLL_operator
push str.uninstall.exe
lea eax, [esp + 0x10]
push 0x4105a4
push eax
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_operator
push 0x40f368
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString_2
push str.softwaremountain3_neter
lea ecx, [esp + 8]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x38], 5
call fcn.00408fac
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x3c], 6
call fcn.00408fac
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x40], 7
call fcn.00408fac
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x44], 8
call fcn.00408fac
push ecx
mov byte [esp + 0x44], 9
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4105a4
call fcn.00408fac
mov ecx, 0x410588
mov byte [esp + 0x44], 5
call fcn.00402450
lea ecx, [esp + 4]
mov dword [0x4105c0], 1
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
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 eax, 1
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x407378
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40a4b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov eax, dword [0x4105b0]
mov dword [esp + 0x30], 0
cmp eax, 1
je 0x4073b2
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, 0x4105a8
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, 0x410588
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 0x4105a8
call fcn.00408fac
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, 0x410588
mov byte [esp + 0x40], 0
call fcn.00401db0
test eax, eax
je 0x407438
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 0x4105a8
call fcn.00408fac
mov ecx, 0x410588
call fcn.00403260
push str.cm.exe
lea edx, [esp + 0x14]
push 0x4105a8
push edx
call sub.MFC42.DLL_operator
push str.uninstall.exe
lea eax, [esp + 0x10]
push 0x4105a8
push eax
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_operator
push 0x40f19c
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString_2
push str.softwaremountain3jsb
lea ecx, [esp + 8]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x38], 5
call fcn.00408fac
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x3c], 6
call fcn.00408fac
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x40], 7
call fcn.00408fac
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x44], 8
call fcn.00408fac
push ecx
mov byte [esp + 0x44], 9
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4105a8
call fcn.00408fac
mov ecx, 0x410588
mov byte [esp + 0x44], 5
call fcn.00402450
lea ecx, [esp + 4]
mov dword [0x4105c4], 1
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
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 0x407f30
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x40a628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
lea eax, [esp + 0x18]
push str.data_setupflag.txt
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 0x407f98
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

Function at 0x407fd0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x40a648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 4], esp
push eax
mov dword [esp + 0x14], 0
call fcn.00408fac
call fcn.00407f30
add esp, 4
lea ecx, [esp + 0x14]
lea edx, [esp]
push str.data_ttboxtimer.exe
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [esp]
push 5
push 0x410434
push str._ServerRun
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4089b0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x40a790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 3
push 0x5c
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x408a2a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
inc esi
lea eax, [esp + 8]
push esi
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Left
mov ecx, dword [esp + 8]
push 0
push ecx
mov byte [esp + 0x1c], 1
call edi
push esi
push 0x5c
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Find_2
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
cmp esi, 0xffffffff
jne 0x4089ea
pop edi
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