joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e660
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
sub esp, 0x208
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, 0x103
sub edx, eax
lea eax, [esp + 8]
push edx
push str.Internet_Exploreriexplore.exe
push eax
call dword [sym.imp.MSVCRT.dll_wcsncat]
mov ecx, dword [esp + 0x220]
add esp, 0x10
lea edx, [esp + 4]
push 5
push 0
push ecx
push edx
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
add esp, 0x208
ret

Function at 0x41e6e0
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 0x828
push ebx
push esi
push edi
push str.360sd
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun360Disabled
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ax, word [0x4b99c0]
mov ecx, 0x103
mov word [esp + 0x424], ax
xor eax, eax
lea edi, [esp + 0x426]
lea edx, [esp + 0x424]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x104
xor eax, eax
lea edi, [esp + 0x424]
mov dword [esp + 0xc], 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0xc]
push ecx
push edx
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0x410
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x424], 0
je 0x41e857
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push str.SoftMgr_somextrainfo.ini
call ebx
push eax
lea ecx, [esp + 0x42c]
push str.SoftMgr_somextrainfo.ini
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncat]
mov dx, word [0x4b99c0]
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x26]
mov word [esp + 0x24], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x424]
lea ecx, [esp + 0x14]
push eax
push 0x208
push ecx
push 0
push 0x4b2e24
push str.AllRuns
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
lea edx, [esp + 0x14]
push str.360sd
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x41e857
push 0x4b2e0c
push esi
call edi
mov edi, eax
add esp, 8
test edi, edi
lea eax, [esp + 0x14]
je 0x41e827
push eax
call ebx
mov ecx, edi
lea edx, [esp + 0x18]
sub ecx, edx
add edi, 6
sar ecx, 1
sub eax, ecx
push eax
push edi
push esi
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0x10
jmp 0x41e83a
cmp esi, eax
jne 0x41e834
mov word [esp + 0x14], 0
jmp 0x41e83a
mov word [esi - 6], 0
lea ecx, [esp + 0x424]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x4b2e24
push str.AllRuns
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x828
ret
Function at 0x41e870
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x48d7d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x484
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62]
mov word [esp + 0x60], bx
mov dword [esp + 0x49c], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x14], eax
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], ebx
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4a4]
push str.360rp.exe
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42u.DLL_operator_2
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
lea edx, [esp + 0x18]
push edx
push ebx
push eax
call ebp
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x41e9bd
mov ecx, 0x8a
xor eax, eax
lea edi, [esp + 0x26c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x268]
mov dword [esp + 0x268], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebx
je 0x41e9b6
mov eax, dword [esp + 0x270]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x41e99d
lea ecx, [esp + 0x60]
push 0x104
push ecx
push eax
call fcn.0041dac0
add esp, 0xc
lea edx, [esp + 0x3c]
lea eax, [esp + 0x60]
push edx
push ebx
push eax
call ebp
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x5c]
cmp ecx, eax
jne 0x41e99d
mov eax, dword [esp + 0x4a4]
lea edx, [esp + 0x60]
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x41e9b1
lea eax, [esp + 0x268]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
cmp eax, ebx
jne 0x41e947
jmp 0x41e9b6
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x4a4]
mov dword [esp + 0x49c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x494]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x490
ret
Function at 0x41e9f0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
push esi
push edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 8]
push 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
xor esi, esi
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push esi
push esi
lea ecx, [esp + 0x1c]
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.Global360rp
lea eax, [esp + 0xc]
lea edx, [esp + 0x18]
push esi
push eax
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41ea59
cmp eax, 5
jne 0x41ea84
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41ea7f
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0
push ecx
call fcn.004020b0
add esp, 8
call fcn.0041e870
add esp, 4
test eax, eax
je 0x41ea84
mov esi, 1
test edi, edi
je 0x41ea8f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
add esp, 0x20
ret

Function at 0x41f660
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x48d884
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x284]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x280], 0
call fcn.00436032
mov bl, 1
push 0x4b00b0
push 0x4b2ee4
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], bl
call sub.MFC42u.DLL_CString::Replace
push 0x4b0b74
lea ecx, [esp + 0x14]
call fcn.0043606e
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41f7bb
mov esi, dword [esp + 0x288]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp word [esp + 0x50], 0x2e
je 0x41f7a4
mov al, byte [esp + 0x24]
lea ecx, [esp + 0x284]
test al, 0x10
lea eax, [esp + 0x50]
push eax
push ecx
je 0x41f768
lea edx, [esp + 0x24]
push edx
call sub.MFC42u.DLL_operator_2
push 0x4b00b0
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x284], 2
push eax
call sub.MFC42u.DLL_operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27c], 4
call sub.MFC42u.DLL_CString::CString
push esi
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00436032
call fcn.0041f660
add esp, 8
mov byte [esp + 0x27c], bl
lea ecx, [esp + 0x18]
jmp 0x41f79f
lea edx, [esp + 0x1c]
push edx
call sub.MFC42u.DLL_operator_2
push esi
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x288], 5
call fcn.00436032
call fcn.0041f340
add esp, 8
mov byte [esp + 0x27c], bl
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
push ecx
push edi
call ebp
test eax, eax
jne 0x41f6ed
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x284]
mov dword [esp + 0x27c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x270
ret
Function at 0x421af0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x48db7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x40]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0xc
mov dword [esp + 0x14], esi
mov byte [esi + 0x214], al
call sub.MFC42u.DLL_operatornew
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esi + 0x218], eax
mov dword [esi + 0x21c], ebx
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
push ecx
lea ebp, [esi + 0x238]
push str..pipe360_s
lea edx, [esi + 0x14]
push 0x100
push edx
mov dword [esp + 0x54], ebx
mov dword [esi], 0x496cdc
mov dword [esi + 8], 1
mov dword [esi + 4], edi
mov dword [ebp], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 0xffffffff
call fcn.0040b210
add esp, 0x10
lea eax, [esi + 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp edi, ebx
je 0x421c73
push ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x38]
push 1
push ecx
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 1
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x421c1f
mov edx, dword [ebp]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esi + 0x23c]
lea ecx, [esp + 0x1c]
push eax
push ebx
push ecx
push 1
mov dword [esp + 0x2c], 0x10000000
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 5
mov dword [esp + 0x48], edx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x421c1f
push str.SetEntriesInAcl_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edi, [esi + 0x240]
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x421c3d
push str.InitializeSecurityDescriptor_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esi + 0x23c]
push ebx
push edx
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x421c5d
push str.SetSecurityDescriptorDacl_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x254], 0xc
mov dword [esi + 0x258], edi
mov dword [esi + 0x25c], ebx
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x421d60
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x10]
mov dword [esi + 8], 0
cmp eax, 0xffffffff
je 0x421d94
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x421d87
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov eax, dword [esi + 0x10]
push eax
call edi
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x421dc0
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x421dc0
mov ecx, dword [esi + 0xc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0xc]
push edx
call edi
mov eax, dword [esi + 0x238]
test eax, eax
je 0x421dd1
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
add esi, 0x220
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
pop esi
ret
Function at 0x422150
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 8]
push edi
test eax, eax
je 0x422241
mov esi, dword [esp + 0x14]
test esi, esi
je 0x422241
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x422241
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x422197
push 0
push 0
push ebx
push 0x422100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0xc], eax
push 0xc
call sub.MFC42u.DLL_operatornew
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x14], edi
je 0x422241
mov eax, dword [esp + 0x1c]
push ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x422241
mov ecx, ebp
mov edi, eax
mov edx, ecx
lea ebp, [ebx + 0x220]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx + 0x218]
push 0xc
mov edi, dword [esi + 4]
call sub.MFC42u.DLL_operatornew
add esp, 4
mov ecx, esi
test esi, esi
jne 0x422202
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x42220a
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x422222
mov edx, dword [esp + 0x14]
mov dword [eax], edx
mov ecx, dword [ebx + 0x21c]
push ebp
inc ecx
mov dword [ebx + 0x21c], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc

Function at 0x4222e0
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x48dbc8
push eax
mov eax, 0x1008
mov dword fs:[0], esp
call fcn.00436520
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor esi, esi
push str..exe
lea ecx, [esp + 0x102c]
mov dword [esp + 0x1024], esi
call sub.MFC42u.DLL_CString::Find
or edi, 0xffffffff
cmp eax, edi
je 0x422378
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0x1000
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x422378
mov ebx, dword [esp + 0x10]
shr ebx, 2
je 0x422378
lea edi, [esp + 0x18]
push ecx
lea edx, [esp + 0x102c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00436032
mov eax, dword [edi]
mov ecx, ebp
push eax
call fcn.004225c0
test eax, eax
jne 0x4223a8
inc esi
add edi, 4
cmp esi, ebx
jb 0x42234b
or edi, 0xffffffff
lea ecx, [esp + 0x1028]
mov dword [esp + 0x1020], edi
call sub.MFC42u.DLL_CString::CString
mov eax, edi
mov ecx, dword [esp + 0x1018]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1014
ret 4
mov esi, dword [esp + esi*4 + 0x18]
lea ecx, [esp + 0x1028]
mov dword [esp + 0x1020], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, esi
jmp 0x42238d
Function at 0x4223d0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push ebx
push esi
push 0
push 2
or ebx, 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x422458
push ebp
push edi
mov ecx, 0x8a
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42244f
mov edi, dword [esp + 0x244]
mov ebp, dword [sym.imp.MSVCRT.dll__wcsicmp]
cmp edi, dword [esp + 0x18]
je 0x42243a
mov edx, dword [esp + 0x240]
lea ecx, [esp + 0x34]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
je 0x42244b
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42241e
jmp 0x42244f
mov ebx, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
lea ecx, [esp + 0x238]
call sub.MFC42u.DLL_CString::CString
mov eax, ebx
pop esi
pop ebx
add esp, 0x22c
ret 8

Function at 0x422480
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x28
lea eax, [esp]
push esi
push eax
push 0
push 0x28
mov dword [esp + 0x14], 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4224d9
call esi
cmp eax, 0x3f0
je 0x4224bc
xor eax, eax
pop esi
add esp, 0x28
ret
lea ecx, [esp + 4]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4224d9
pop esi
add esp, 0x28
ret
lea edx, [esp + 0x10]
mov dword [esp + 0xc], 1
push edx
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x24], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
lea eax, [esp + 8]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 8]
push ecx
lea edx, [esp + 0x14]
push 0x10
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x42253a
call esi
mov ecx, dword [esp + 4]
mov esi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
add esp, 0x28
ret
call esi
cmp eax, 0x514
jne 0x42255d
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
add esp, 0x28
ret
mov eax, 1
pop esi
add esp, 0x28
ret

Function at 0x422570
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push edi
push 0
push 1
call ebx
test eax, eax
jne 0x4225a2
mov ecx, esi
call fcn.00422480
push edi
push 0
push 1
call ebx
test eax, eax
jne 0x4225a2
pop edi
pop esi
pop ebx
ret 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebx
ret 4
Function at 0x4225c0
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x48dbe8
push eax
mov eax, 0x120c
mov dword fs:[0], esp
call fcn.00436520
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x122c]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x422677
lea ecx, [esp + 0x10]
lea edx, [esp + 0x21c]
push ecx
push 0x1000
push edx
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x422670
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, 0xfffffffc
jbe 0x422670
mov ebp, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea esi, [esp + 0x21c]
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push 0x208
push eax
push ecx
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x422661
mov eax, dword [esp + 0x1230]
lea edx, [esp + 0x14]
push edx
push eax
call ebp
add esp, 8
test eax, eax
je 0x4226ab
mov ecx, dword [esp + 0x10]
inc edi
shr ecx, 2
add esi, 4
cmp edi, ecx
jb 0x422634
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1230]
mov dword [esp + 0x1224], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x121c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1218
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1230]
mov dword [esp + 0x1224], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, 1
jmp 0x422690
Function at 0x4228c0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48dca8
push eax
mov dword fs:[0], esp
sub esp, 0xa5c
push esi
push edi
mov edx, dword [esp + 0xa74]
lea ecx, [esp + 0x264]
xor edi, edi
mov esi, 0x400
lea eax, [esp + 0x264]
sub edx, ecx
mov cx, word [edx + eax]
test cx, cx
je 0x42290f
mov word [eax], cx
add eax, 2
dec esi
jne 0x4228fb
jmp 0x422913
test esi, esi
jne 0x42291b
sub eax, 2
mov edi, 0x8007007a
test edi, edi
mov word [eax], 0
jge 0x422954
lea ecx, [esp + 0xa74]
mov dword [esp + 0xa6c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0xa5c]
mov dword fs:[0], ecx
add esp, 0xa68
ret
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
xor edx, edx
rep stosd dword es:[edi], eax
mov dword [esp + 8], eax
push ebx
mov dword [esp + 0x10], edx
lea eax, [esp + 0xc]
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edx
push eax
push ecx
push edx
push edx
mov ebp, dword [sym.imp.KERNEL32.dll_CreateProcessW]
push edx
push edx
push edx
mov dword [esp + 0x38], edx
push edx
lea edx, [esp + 0x28c]
push edx
push 0
mov dword [esp + 0x48], 0x44
mov word [esp + 0x78], 5
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4229de
mov eax, dword [esp + 0x10]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x14]
xor ecx, ecx
cmp eax, 0x102
push edx
sete cl
mov esi, ecx
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebx
test esi, esi
jne 0x422a2e
mov ecx, 0x1a
mov esi, str.rundll32.exe_shell32.dll__Control_RunDLL_Appwiz.cpl
lea edi, [esp + 0x64]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x68
lea edi, [esp + 0xcc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x84]
push eax
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x422a2e
mov ecx, dword [esp + 0x14]
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call ebx
lea ecx, [esp + 0xa7c]
mov dword [esp + 0xa74], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xa6c]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xa68
ret
Function at 0x424470
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0x40c]
test eax, eax
jne 0x42455a
mov eax, dword [esi + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi], eax
jne 0x42449c
pop esi
add esp, 0x14
ret
push str.EngLib_Init
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4244c2
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
xor eax, eax
pop esi
add esp, 0x14
ret
lea ecx, [esi + 8]
push ecx
mov dword [ecx], 0x404
call eax
test eax, eax
jne 0x4244e0
mov ecx, esi
call fcn.00424570
xor eax, eax
pop esi
add esp, 0x14
ret
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
lea eax, [esp + 0x10]
push edx
push eax
push str.ProxyEnable
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 4
mov dword [esp + 0x20], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, dword [esp + 4]
test eax, eax
jne 0x424550
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 1
push ecx
push 3
mov ecx, esi
call fcn.00424630
lea edx, [esp + 0x14]
mov ecx, esi
push edx
push 4
mov dword [esp + 0x1c], 4
call fcn.00424600
mov dword [esi + 0x40c], 1
mov eax, 1
pop esi
add esp, 0x14
ret

Function at 0x4246e0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4