joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ea00
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x48d628
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 0x41eb4d
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 0x41eb46
mov eax, dword [esp + 0x270]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x41eb2d
lea ecx, [esp + 0x60]
push 0x104
push ecx
push eax
call fcn.0041dc50
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 0x41eb2d
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 0x41eb41
lea eax, [esp + 0x268]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
cmp eax, ebx
jne 0x41ead7
jmp 0x41eb46
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 0x41eb80
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 0x41ebe9
cmp eax, 5
jne 0x41ec14
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41ec0f
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0
push ecx
call fcn.004020c0
add esp, 8
call fcn.0041ea00
add esp, 4
test eax, eax
je 0x41ec14
mov esi, 1
test edi, edi
je 0x41ec1f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
add esp, 0x20
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x48d6d4
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.00436102
mov bl, 1
push 0x4b00b8
push 0x4b2ee4
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], bl
call sub.MFC42u.DLL_CString::Replace
push 0x4b0b7c
lea ecx, [esp + 0x14]
call fcn.0043613e
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 0x41f94b
mov esi, dword [esp + 0x288]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp word [esp + 0x50], 0x2e
je 0x41f934
mov al, byte [esp + 0x24]
lea ecx, [esp + 0x284]
test al, 0x10
lea eax, [esp + 0x50]
push eax
push ecx
je 0x41f8f8
lea edx, [esp + 0x24]
push edx
call sub.MFC42u.DLL_operator_2
push 0x4b00b8
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.00436102
call fcn.0041f7f0
add esp, 8
mov byte [esp + 0x27c], bl
lea ecx, [esp + 0x18]
jmp 0x41f92f
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.00436102
call fcn.0041f4d0
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 0x41f87d
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 0x421c60
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x48d9ee
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], 0x496d54
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.0040b2e0
add esp, 0x10
lea eax, [esi + 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp edi, ebx
je 0x421de3
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 0x421d8f
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 0x421d8f
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 0x421dad
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 0x421dcd
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 0x421ed0
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 0x421f04
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x421ef7
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 0x421f30
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x421f30
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 0x421f41
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 0x4222e0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 8]
push edi
test eax, eax
je 0x4223d1
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4223d1
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x4223d1
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x422327
push 0
push 0
push ebx
push 0x422290
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 0x4223d1
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 0x4223d1
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 0x422392
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x42239a
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 0x4223b2
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 0x422470
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x48da38
push eax
mov eax, 0x1008
mov dword fs:[0], esp
call fcn.004365f0
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 0x422508
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0x1000
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x422508
mov ebx, dword [esp + 0x10]
shr ebx, 2
je 0x422508
lea edi, [esp + 0x18]
push ecx
lea edx, [esp + 0x102c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00436102
mov eax, dword [edi]
mov ecx, ebp
push eax
call fcn.00422750
test eax, eax
jne 0x422538
inc esi
add edi, 4
cmp esi, ebx
jb 0x4224db
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 0x42251d
Function at 0x422560
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 0x4225e8
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 0x4225df
mov edi, dword [esp + 0x244]
mov ebp, dword [sym.imp.MSVCRT.dll__wcsicmp]
cmp edi, dword [esp + 0x18]
je 0x4225ca
mov edx, dword [esp + 0x240]
lea ecx, [esp + 0x34]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
je 0x4225db
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4225ae
jmp 0x4225df
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 0x422610
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 0x422669
call esi
cmp eax, 0x3f0
je 0x42264c
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 0x422669
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 0x4226ca
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 0x4226ed
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 0x422700
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 0x422732
mov ecx, esi
call fcn.00422610
push edi
push 0
push 1
call ebx
test eax, eax
jne 0x422732
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 0x422750
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x48da58
push eax
mov eax, 0x120c
mov dword fs:[0], esp
call fcn.004365f0
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 0x422807
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 0x422800
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, 0xfffffffc
jbe 0x422800
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 0x4227f1
mov eax, dword [esp + 0x1230]
lea edx, [esp + 0x14]
push edx
push eax
call ebp
add esp, 8
test eax, eax
je 0x42283b
mov ecx, dword [esp + 0x10]
inc edi
shr ecx, 2
add esi, 4
cmp edi, ecx
jb 0x4227c4
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 0x422820
Function at 0x422a50
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48db18
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 0x422a9f
mov word [eax], cx
add eax, 2
dec esi
jne 0x422a8b
jmp 0x422aa3
test esi, esi
jne 0x422aab
sub eax, 2
mov edi, 0x8007007a
test edi, edi
mov word [eax], 0
jge 0x422ae4
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 0x422b6e
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 0x422bbe
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 0x422bbe
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 0x424600
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0x40c]
test eax, eax
jne 0x4246ea
mov eax, dword [esi + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi], eax
jne 0x42462c
pop esi
add esp, 0x14
ret
push str.EngLib_Init
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x424652
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 0x424670
mov ecx, esi
call fcn.00424700
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 0x4246e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 1
push ecx
push 3
mov ecx, esi
call fcn.004247c0
lea edx, [esp + 0x14]
mov ecx, esi
push edx
push 4
mov dword [esp + 0x1c], 4
call fcn.00424790
mov dword [esi + 0x40c], 1
mov eax, 1
pop esi
add esp, 0x14
ret

Function at 0x424870
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
Function at 0x42a7c0
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
jne 0x42a7d1
pop edi
pop esi
xor eax, eax
pop ebx
ret
cmp word [ebx], 0x5a4d
je 0x42a7de
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov edi, dword [ebx + 0x3c]
mov eax, edi
cdq
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, edx
add esi, 0xf8
cdq
adc ecx, 0
cmp edx, ecx
ja 0x42a806
jb 0x42a800
cmp eax, esi
ja 0x42a806
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [edi + ebx]
xor ecx, ecx
mov edi, dword [eax]
cmp edi, 0x4550
pop edi
setne cl
dec ecx
pop esi
and eax, ecx
pop ebx
ret
Function at 0x42c2e0
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
mov ecx, 0x4baf88
jmp fcn.0042c2f0
Function at 0x42de60
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x42de8f
push str.GetFileSizeEx__
push eax
push 0x112
push str.E:_build360BaseQHImageHlp.c
call fcn.00426b80
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret

Function at 0x42e0e0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x42e11c
push str.SetFilePointerEx__
push eax
push 0xed
push str.E:_build360BaseQHImageHlp.c
call fcn.00426b80
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42e155
push str.ReadFile__
push eax
push 0xf0
push str.E:_build360BaseQHImageHlp.c
call fcn.00426b80
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x42e179
push 0x4b43e4
push 1
push 0xf2
push str.E:_build360BaseQHImageHlp.c
call fcn.00426f40
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret
Function at 0x4336f0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004336c0
test eax, eax
je 0x433735
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x433735
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x433735
lea edx, [esp + 4]
push 0
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x433735
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8
or eax, 0xffffffff
pop esi
pop ecx
ret 8

Function at 0x433740
Capabilities:
Get file size

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004336c0
test eax, eax
jne 0x433756
or eax, 0xffffffff
or edx, 0xffffffff
pop esi
pop ecx
ret
mov ecx, dword [esi + 4]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
mov esi, eax
call fcn.00436590
xor ecx, ecx
add eax, esi
adc edx, ecx
pop esi
pop ecx
ret

Function at 0x4338d0
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

Function at 0x434f70
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x434fa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x434fd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret