joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ab10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c492
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c3718]
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 ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push ebx
push edi
call fcn.0045aa70
push str.textcolor
push ebx
call fcn.0042a0e0
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
push str.bsingleline
push ebx
call fcn.0042a080
push str.font
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0042a360
mov ecx, eax
lea esi, [edi + 0x34]
add esp, 0x20
mov dword [ebp - 0x44], ecx
cmp esi, ecx
je 0x45abc0
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x45ab99
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404150
mov ecx, dword [ebp - 0x44]
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x45abb1
mov eax, dword [esi]
jmp 0x45abb3
mov eax, esi
xor edx, edx
push ecx
mov ecx, esi
mov word [eax], dx
call fcn.00405a40
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x45abdc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404150
push str.halign
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0042a360
mov ecx, eax
lea esi, [edi + 0x4c]
add esp, 0xc
mov dword [ebp - 0x44], ecx
cmp esi, ecx
je 0x45ac37
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x45ac10
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404150
mov ecx, dword [ebp - 0x44]
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x45ac28
mov eax, dword [esi]
jmp 0x45ac2a
mov eax, esi
xor edx, edx
push ecx
mov ecx, esi
mov word [eax], dx
call fcn.00405a40
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x45ac53
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404150
push str.valign
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0042a360
add esp, 0xc
lea esi, [edi + 0x64]
mov ebx, eax
cmp esi, ebx
je 0x45aca8
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x45ac81
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404150
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x45ac99
mov eax, dword [esi]
jmp 0x45ac9b
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00405a40
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x45acbd
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00404150
mov eax, 1
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.00472961
mov esp, ebp
pop ebp
ret 8
Function at 0x45be30
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x45bf65
cmp word [esi], 0
je 0x45bf65
mov ecx, dword [ebp + 8]
call fcn.0045b950
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45bf65
test esi, esi
je 0x45bf65
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x45bf54
push edi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp + 0xc], 0
jne 0x45bece
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45bf2b
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x40]
test eax, eax
je 0x45bf2b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x45c8d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4c3718]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x45c94f
cmp eax, 0x104
ja 0x45c94f
push esi
push 0
push 0x4a9444
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x45c94f
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ecx, ecx
cmp eax, 0xffffffff
pop esi
cmove eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00472961
mov esp, ebp
pop ebp
ret 4
Function at 0x45ca30
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4c3718]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x45cb21
cmp dword [ebp + 0x10], 0
jle 0x45cb21
mov eax, dword [esi + 0x210]
test eax, eax
je 0x45ca78
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
mov dword [esi + 0x210], 0
push edi
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0045c8d0
mov edi, eax
test edi, edi
je 0x45cb0c
push 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push dword [ebp + 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
je 0x45caf9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x50
push 0
push 0
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 0x210], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x210]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00472961
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45ebe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4c3718]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0047ce98
mov ebx, dword [ebp + 0x10]
add esp, 4
mov eax, ebx
sub eax, 0x113
je 0x45ed59
sub eax, 0x6d6
je 0x45ed2e
sub eax, 1
jne 0x45ed35
test esi, esi
je 0x45ed70
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub eax, 0x6a94b199
cmp dword [ebp + 0x14], eax
jne 0x45ed70
movaps xmm0, xmmword [str.CheckRemoteDebug]
xor eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov word [ebp - 0x14], ax
mov byte [ebp - 0x2e], al
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4c], 0
push eax
mov dword [ebp - 0x2c], 0x65004b
mov dword [ebp - 0x28], 0x6e0072
mov dword [ebp - 0x24], 0x6c0065
mov dword [ebp - 0x20], 0x320033
mov dword [ebp - 0x1c], 0x64002e
mov dword [ebp - 0x18], 0x6c006c
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x50726567
mov dword [ebp - 0x34], 0x65736572
mov word [ebp - 0x30], 0x746e
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x45ecd1
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [ebp - 0x4c], 0
jne 0x45ed0f
call fcn.0047ce77
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0xa
jge 0x45ed0f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x74697845
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xc], 0x636f7250
push eax
mov dword [ebp - 8], 0x737365
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x45ed24
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
jmp 0x45ed70
mov ecx, edi
call fcn.0045efd0
push esi
push dword [ebp + 0x14]
push ebx
push dword [ebp - 0x4c]
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp + 0x14]
cmp esi, 0x64
jne 0x45ed68
mov ecx, edi
call fcn.0045ed90
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472961
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45ed90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4c3718]
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 ebx, ecx
lea eax, [ebx + 0x28]
mov dword [ebp - 0x18], 1
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
mov dword [ebp - 4], 0
test eax, 0xfffffffc
je 0x45ee90
mov dl, byte [ebp - 0x14]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
mov byte [ebp - 0x14], dl
lea edx, [ebp - 0x14]
push edx
mov edx, eax
sub edx, ecx
sar edx, 2
push edx
push eax
push ecx
call fcn.0045e910
mov eax, dword [ebx + 0x1c]
add esp, 0x10
mov eax, dword [eax]
mov esi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
jb 0x45ee40
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
cmp eax, edi
jbe 0x45ee75
mov eax, dword [ebx + 0x1c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub eax, 0x6a94b199
push eax
push 0x7ea
push dword [ebx + 0xc]
call esi
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
lea edx, [eax + 4]
sub ecx, edx
push ecx
push edx
push eax
call fcn.004742d0
add esp, 0xc
add dword [ebx + 0x20], 0xfffffffc
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
test eax, 0xfffffffc
je 0x45ee90
push 0
push 0
push 0x7e9
push dword [ebx + 0xc]
call esi
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.00472961
mov esp, ebp
pop ebp
ret
Function at 0x45efd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4c3718]
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 ebx, ecx
lea eax, [ebx + 0x28]
mov dword [ebp - 0x18], 1
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
mov dword [ebp - 4], 0
test eax, 0xfffffffc
je 0x45f0d3
mov dl, byte [ebp - 0x14]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
mov byte [ebp - 0x14], dl
lea edx, [ebp - 0x14]
push edx
mov edx, eax
sub edx, ecx
sar edx, 2
push edx
push eax
push ecx
call fcn.0045e910
mov eax, dword [ebx + 0x1c]
add esp, 0x10
mov eax, dword [eax]
mov esi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
jb 0x45f09a
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, edi
ja 0x45f09a
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [esi + edi]
sub ecx, eax
push ecx
push 0x64
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x45f0d3
mov eax, dword [ebx + 0x1c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub eax, 0x6a94b199
push eax
push 0x7ea
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
lea edx, [eax + 4]
sub ecx, edx
push ecx
push edx
push eax
call fcn.004742d0
add esp, 0xc
add dword [ebx + 0x20], 0xfffffffc
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.00472961
mov esp, ebp
pop ebp
ret

Function at 0x45f960
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4c3718]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x45f9b9
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x45f999
cmp dword [ebp - 8], 0x103
jne 0x45f9b9
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45f9b9
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x45fa00
push 0
push 0
call fcn.0047bd48
xor ebx, ebx
mov dword [esi + 4], eax
add esp, 0x18
test eax, eax
setne bl
test eax, eax
je 0x45f9e7
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
xor ecx, ebp
pop esi
call fcn.00472961
mov esp, ebp
pop ebp
ret
Function at 0x45fb00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4c3718]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
push edi
xor edi, edi
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edi
jb 0x45fb2e
mov eax, dword [esi]
jmp 0x45fb30
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x45fb49
mov ecx, SysReAllocString
jmp 0x45fb5b
cmp eax, 2
jne 0x45fb55
mov ecx, SysReAllocString
jmp 0x45fb5b
cmp eax, 3
cmove ecx, ecx
cmp dword [ebp + 0x14], 0x40
lea eax, [ebp - 0x424]
push eax
mov eax, 0x20119
mov dword [ebp - 0x428], 0x20019
cmovne eax, dword [ebp - 0x428]
push eax
push 0
push edx
push ecx
mov dword [ebp - 0x424], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45fba4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret
push 0x412
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], 0x208
push 0
push eax
call fcn.00474170
add esp, 0xc
mov dword [ebp - 0x420], 1
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push ebx
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45fc33
cmp word [ebp - 0x418], di
jne 0x45fc03
xor ecx, ecx
jmp 0x45fc1f
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fc10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x418]
mov ecx, esi
push eax
call fcn.00404000
mov edi, 1
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x45fc44
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472961
mov esp, ebp
pop ebp
ret
Function at 0x461110
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4c3718]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
test esi, esi
jne 0x461140
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret
push edi
push 0x228
lea eax, [ebp - 0x240]
mov dword [ebp - 0x244], 0x22c
push 0
push eax
call fcn.00474170
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x461184
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x244]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46125e
nop dword [eax]
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0047d16f
add esp, 8
test eax, eax
je 0x4611ca
lea eax, [ebp - 0x244]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4611a0
jmp 0x46125e
cmp dword [ebp + 0xc], 0
mov ebx, 1
je 0x46125e
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
push str.SeShutdownPrivilege
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push 0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x23c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472961
mov esp, ebp
pop ebp
ret

Function at 0x461850
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4c3718]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push str.GetNativeSystemInfo
push str.kernel32.dll
movaps xmmword [ebp - 0x40], xmm0
movaps xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4618a8
lea ecx, [ebp - 0x40]
push ecx
call eax
jmp 0x4618b2
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x40]
cmp ax, 6
je 0x4618da
cmp ax, 0xa
je 0x4618da
cmp ax, 9
je 0x4618da
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4619a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
pop ebp
ret
Function at 0x48e85e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048e6dd
Function at 0x40af00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47040b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00464bba
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40af82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046286d
mov eax, dword [eax]
push 0x48b1d0
push eax
call fcn.00454dd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00464e45
test bl, bl
je 0x40af82
push 0x48b1d0
lea ecx, [esp + 0xc]
call fcn.004651d5
push 0x48ed54
lea ecx, [esp + 0xc]
call fcn.004651d5
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40afbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00464e45
jmp 0x40b089
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40b042
lea edx, [esp + 0x7c]
push 0x48ed50
push edx
call fcn.00454dd4
add esp, 8
test eax, eax
je 0x40b042
lea eax, [esp + 0x7c]
push 0x48ed4c
push eax
call fcn.00454dd4
add esp, 8
test eax, eax
je 0x40b042
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40afd2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00464e45
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40b880
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40b8e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc