joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bf6a0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d419
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x62f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [ebp - 4], 4
lea eax, [ecx + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 8
xor edx, edx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov byte [ebp - 4], 9
lea eax, [ecx + 0x30]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov byte [ebp - 4], 0xd
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 7
mov word [eax], dx
mov byte [ebp - 4], 0xe
lea eax, [ecx + 0x48]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xf
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov byte [ebp - 4], 0x12
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4c1630
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58da4f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x62f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ecx, 0x634697
call fcn.00561ea5
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
mov dword [ebp - 0x10], edi
call fcn.00404010
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00404010
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00404010
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.00404010
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00404010
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.00404010
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c5b00
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x62f018]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, ecx
mov ecx, 0x6355a1
push edi
mov edi, dword [esp + 0x14]
call fcn.00561ea5
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4c5b71
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c5b4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4c5b71
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0052f553
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.0052f553
add esp, 8
ret 4
Function at 0x4c6310
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e738
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov ecx, 0x6355a1
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], ebx
call fcn.00561ea5
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4c6366
mov dword [eax], 0
mov dword [ebx], 0
cmp dword [edi], 0xffffffff
je 0x4c64bb
mov eax, dword [ebp + 0xc]
mov ecx, 0x100000
nop dword [eax]
push 0
mov ebx, eax
mov dword [ebp - 0x1c], 0
cmp eax, 0x100000
lea eax, [ebp - 0x1c]
push eax
cmova ebx, ecx
push ebx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
cmp dword [edi + 0x1c], 0
je 0x4c6486
test eax, eax
je 0x4c6486
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
jae 0x4c6489
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ebp - 0x28], eax
cmp ecx, 0xffffffff
je 0x4c640b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c63ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4c640b
mov eax, dword [ebp - 0x14]
xor ecx, ecx
add ecx, esi
adc eax, 0
jmp 0x4c6419
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push 0
push dword [ebp - 0x28]
push eax
push ecx
sub esp, 0x18
lea eax, [edi + 4]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00404010
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x18]
mov esi, dword [ebp - 0x20]
test eax, eax
jne 0x4c6486
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push ebx
add eax, esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, eax
xor edx, edx
test ecx, ecx
mov eax, 0x80004005
cmovne eax, edx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x4c63c4
jmp 0x4c6489
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add dword [ecx], edx
test eax, eax
jne 0x4c64b2
test edx, edx
je 0x4c64ae
mov eax, dword [ebp + 0xc]
add esi, edx
sub eax, edx
mov dword [ebp - 0x20], esi
mov dword [ebp + 0xc], eax
mov ecx, 0x100000
jne 0x4c6380
mov al, 1
jmp 0x4c64bd
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4c64bb
mov dword [ecx], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f553
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c8790
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f09e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x62f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, 0x63550b
call fcn.00561ea5
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 4
lea eax, [esi + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 8
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
lea eax, [esi + 0x30]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0xd
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xe
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], ecx
mov byte [esi + 0x64], cl
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ca3c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f728
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, 0x6355a1
mov edi, dword [ebp + 0xc]
call fcn.00561ea5
push esi
lea eax, [ebp - 0x38]
push eax
call fcn.004caa50
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.004d0500
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x1c], 0
test eax, eax
jne 0x4ca456
xor bl, bl
jmp 0x4ca474
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4ca46e
cmp eax, 0x80
je 0x4ca46e
xor bl, bl
jmp 0x4ca474
mov byte [ebp - 0x14], 1
mov bl, 1
mov byte [ebp - 0x1c], bl
mov byte [ebp - 4], 4
lea eax, [ebp - 0x39]
push eax
push edi
push esi
mov byte [ebp - 0x39], 0
call fcn.004ca530
test al, al
jne 0x4ca4a2
cmp byte [ebp - 0x39], al
je 0x4ca4a2
cmp dword [esi + 0x14], 8
jb 0x4ca49b
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
test bl, bl
je 0x4ca4bc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4ca4b8
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4ca4dc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.00404570
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f553
mov esp, ebp
pop ebp
ret 8
Function at 0x4ce590
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x62f018]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov ecx, 0x6355a1
call fcn.00561ea5
push 0x110
lea eax, [esp + 0xc]
mov dword [esi + 4], 0
push 0
push eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
mov dword [esp + 0x10], 0x114
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x4ce631
cmp dword [esp + 8], 6
jb 0x4ce631
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.0052f553
add esp, 0x118
ret

Function at 0x4ce690
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590670
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x62f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, 0x6355a1
call fcn.00561ea5
push str.wintrust.dll
lea ecx, [ebp - 0x2c]
call fcn.00403ed0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.004a75d0
mov ecx, eax
call fcn.004a76c0
mov ebx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00404570
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
push str.crypt32.dll
call fcn.00403ed0
mov dword [ebp - 4], 5
lea eax, [ebp - 0x44]
push eax
call fcn.004a75d0
mov ecx, eax
call fcn.004a76c0
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00404570
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4ce7d7
test esi, esi
je 0x4ce7d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.WinVerifyTrust
push ebx
mov dword [edi + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d0500
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590a88
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, 0x6355a1
call fcn.00561ea5
mov eax, dword [esi]
test eax, eax
je 0x4d054d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
lea ecx, [ebp - 0x14]
mov word [esi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.004bccb0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x4d0576
add eax, 8
jmp 0x4d0578
xor eax, eax
cmp dword [edi + 0x10], 0
je 0x4d0588
cmp dword [edi + 0x14], 8
jb 0x4d058a
mov edi, dword [edi]
jmp 0x4d058a
xor edi, edi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x4d05ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4d05ab
mov byte [esi + 5], 1
cmp dword [esi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004bcd90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f553
mov esp, ebp
pop ebp
ret 4
Function at 0x4d27d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591160
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, 0x6355a1
call fcn.00561ea5
mov eax, dword [esi]
test eax, eax
je 0x4d28c1
cmp byte [eax + 0x54], 0
je 0x4d28c1
add eax, 0x1c
lea ecx, [ebp - 0x38]
push eax
call fcn.004c88a0
push 0
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0049c990
add esp, 4
mov byte [ebp - 4], 1
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [esi]
cmovae edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x4d285c
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d28a6
push 2
push 0
push 0
push esi
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x30]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004081e0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.004c8930
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052f553
mov esp, ebp
pop ebp
ret 4
Function at 0x4dd380
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593b5c
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, 0x6355a1
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x134], 0
call fcn.00561ea5
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x134], 1
call fcn.004dd660
test al, al
jne 0x4dd417
mov dword [esi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
jmp 0x4dd4cb
mov eax, dword [ebp - 0x128]
movzx ecx, word [ebp - 0x18]
cdq
mov ebx, eax
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x124]
cdq
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x140], edx
cdq
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x168]
push eax
mov dword [ebp - 0x130], edx
mov dword [edi + 8], ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov cx, word [ebp - 0x168]
cmp cx, 9
je 0x4dd475
xor eax, eax
cmp cx, 6
jne 0x4dd47a
mov eax, 1
cmp byte [ebp - 0x12], 1
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x138]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x13c]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x140]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x144]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x130]
mov dword [edi + 0x34], eax
sete al
mov dword [edi + 0x18], ebx
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 4], al
mov dword [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f553
mov esp, ebp
pop ebp
ret 8
Function at 0x4dd580
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593bd6
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, 0x6355a1
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0
call fcn.00561ea5
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x54], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x40
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x4dd631
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], ecx
mov dword [esi], 0
jmp 0x4dd63a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f553
mov esp, ebp
pop ebp
ret 8
Function at 0x4e48b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5950de
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
mov ecx, 0x6355a1
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0
call fcn.00561ea5
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [ebp - 4], 0
push dword [esi + 4]
mov dword [ebp - 0x2c], 1
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4e4939
mov dword [edi], 0xa80356
jmp 0x4e49f5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
test eax, eax
jne 0x4e49e9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x6321a8], 0
je 0x4e49f5
push ecx
mov ecx, 0x6321a8
call fcn.004d1b40
mov eax, dword [0x6321a8]
cmp byte [eax + 0x54], 0
je 0x4e49f5
cmp dword [eax + 0x58], 2
jb 0x4e49f5
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00403f80
push 0x17
push str.TerminateProcess_Failed
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00404640
push 0x633
push str.RC::DM::KillProcessBase
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
push 2
call fcn.004d2490
test bl, bl
je 0x4e49db
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00403de0
jmp 0x4e49f5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f553
mov esp, ebp
pop ebp
ret
Function at 0x4e4b00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595164
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, 0x6355a1
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x3d4], edi
mov dword [ebp - 0x3dc], edi
mov dword [ebp - 0x3d4], esi
mov dword [ebp - 0x3d0], 0
call fcn.00561ea5
mov ecx, esi
call fcn.004e79d0
push 0
mov dword [ebp - 4], 1
push 2
mov dword [ebp - 0x3cc], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
test ebx, ebx
jne 0x4e4c1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [0x6321a8], ebx
je 0x4e4c0d
push ecx
mov ecx, 0x6321a8
call fcn.004d1b40
mov ecx, dword [0x6321a8]
cmp byte [ecx + 0x54], bl
je 0x4e4c0d
cmp dword [ecx + 0x58], 2
jb 0x4e4c0d
mov bl, byte [ecx + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00403f80
push 0x1f
push str.CreateToolhelp32Snapshot_Failed
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00404640
push 0x661
push str.RC::DM::RCProcessDManager::GetAllProcessInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
push 2
call fcn.004d2490
test bl, bl
je 0x4e4c01
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00403de0
mov dword [edi], 0xa80357
mov dword [edi + 4], esi
jmp 0x4e4cae
lea eax, [ebp - 0x3cc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4e4c9a
mov edi, dword [ebp - 0x3d4]
lea ecx, [ebp - 0x1a0]
call fcn.004d56f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1a0]
mov edx, dword [ebp - 0x3c4]
lea ecx, [ebp - 0x3d8]
push eax
mov dword [ebp - 0x19c], edx
call fcn.004e3520
add esp, 4
lea eax, [ebp - 0x1a0]
mov ecx, edi
push eax
call fcn.004e7aa0
lea eax, [ebp - 0x3cc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.004d5840
test esi, esi
jne 0x4e4c33
mov edi, dword [ebp - 0x3dc]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [ebp - 0x3d0], 1
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f553
mov esp, ebp
pop ebp
ret 8