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

Disassembly:
sub esp, 0x64
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword fs:[0x18]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x30]
mov ebx, ecx
push edi
push 0
push 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x64], 0
movzx edi, word [eax + 0x40]
mov esi, dword [eax + 0x44]
mov eax, dword [ebx]
add eax, edi
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
push eax
call sym.SystemInformer.exe_Ordinal_1331
mov ebp, eax
push edi
push esi
push dword [ebp + 4]
call fcn.00586310
mov eax, dword ss:[ebp + 4]
add esp, 0xc
add eax, edi
push dword [ebx]
push dword [ebx + 4]
push eax
call fcn.00586310
add esp, 0xc
mov dword [esp + 0x10], 0x48
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
push 0x20
push 4
push dword [0x633a74]
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
cmp dword [0x62db64], 0x71
xorps xmm0, xmm0
mov dword [esp + 0x58], 0x111000
mov edx, 0x20007
mov dword [esp + 0x5c], 0x10000101
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 4], 1
mov dword [esp + 0x54], eax
jb 0x43aede
mov dword [esp + 0x60], 0x1110
lea ecx, [esp + 0x58]
mov dword [esp + 0x64], 0
push 0x10
jmp 0x43aee4
push 8
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.004fd790
test eax, eax
jns 0x43af09
lfence
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00583f7f
add esp, 0x64
ret
push 0
push 0
push 0
push 0
push 0x180
lea eax, [esp + 0x24]
push eax
push 0
push 0
push dword [ebp + 4]
push 0
call sym.SystemInformer.exe_Ordinal_1606
mov esi, eax
test esi, esi
js 0x43af37
push 0
call dword [sym.imp.ntdll.dll_RtlExitUserProcess]
lfence
mov eax, dword [esp + 0x54]
test eax, eax
je 0x43af53
push eax
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
lea ecx, ss:[ebp - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43af68
call fcn.004fe0c0
mov ecx, dword [esp + 0x6c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x64
ret
Function at 0x4594a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [0x6340c0]
push esi
push edi
mov edi, ecx
cmp edi, ebx
je 0x45958f
mov dword [0x6340c0], edi
test ebx, ebx
je 0x4594f8
mov esi, dword ds:[ebx + 0xc]
mov ecx, esi
push 0
push edi
push 3
push ebx
call dword [0x5a9914]
call esi
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4594f8
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x34], 0
jne 0x45955f
mov esi, dword ds:[edi + 0xc]
lea eax, [esp + 0xc]
push 0
push eax
push 5
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
push edi
mov ecx, esi
movups xmmword [esp + 0x1c], xmm0
call dword [0x5a9914]
call esi
test al, al
je 0x45955f
cmp byte [esp + 0xc], 0
jne 0x45955f
push dword [esp + 0x1c]
mov ecx, dword [0x633fec]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.0050b180
movzx ecx, byte [0x6330fd]
push ecx
push eax
mov dword [edi + 0x34], eax
call sym.SystemInformer.exe_Ordinal_1833
mov eax, dword [edi + 0x34]
test eax, eax
je 0x45956f
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00459620
call fcn.00459700
mov esi, dword [edi + 0xc]
mov ecx, esi
push 0
push 0
push 2
push edi
call dword [0x5a9914]
call esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x18
ret
Function at 0x47faa0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x62db64], 0xffffffff
push ebx
push esi
mov esi, dword [0x636a20]
mov ebx, edx
push edi
mov edi, ecx
jae 0x47facd
cmp esi, 0x40
jae 0x47facd
lfence
mov eax, dword fs:[0x18]
mov eax, dword [eax + esi*4 + 0xe10]
jmp 0x47fad4
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov esi, dword [ecx + 0x1c]
add edx, esi
add eax, edx
cmp eax, edx
jb 0x47faff
cmp edx, esi
jb 0x47faff
cmp eax, dword [ecx + 0x20]
ja 0x47faff
lea ecx, [ebx - 1]
test edx, ecx
jne 0x47faff
pop edi
pop esi
lfence
mov eax, edx
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x4ba9c0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x14
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push ebp
push esi
mov eax, ecx
push edi
mov dword [esp + 0x10], eax
call fcn.004ba920
push dword [0x633a5c]
push 0xc
call sym.SystemInformer.exe_Ordinal_1240
push 0x28
mov esi, eax
push 4
push dword [0x633a74]
mov dword [esi], 0
mov dword [esi + 4], 0xa
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 8], eax
mov dword [esp + 0x14], esi
call fcn.0050dc80
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push 0x4ba8e0
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push eax
call dword [sym.imp.USER32.dll_EnumDesktopsW]
mov eax, dword [esp + 0x14]
xor ebp, ebp
cmp dword [eax], ebp
jbe 0x4baaa9
xor edi, edi
xor ebx, ebx
nop
mov eax, dword [eax + 8]
mov eax, dword [edi + eax]
test eax, eax
je 0x4baa4f
mov eax, dword [eax + 4]
jmp 0x4baa51
xor eax, eax
push eax
push 0
push 0x143
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4baa9a
push 4
push 4
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [esp + 0x14]
push eax
push esi
push 0x151
mov ecx, dword [ecx + 8]
push dword [esp + 0x1c]
mov ecx, dword [ebx + ecx]
mov dword [eax], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x14]
inc ebp
add edi, 4
add ebx, 4
cmp ebp, dword [eax]
jb 0x4baa40
or esi, 0xffffffff
lea ecx, [eax - 8]
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4baabe
call fcn.004fe0c0
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], esi
dec esi
jne 0x4baad2
call fcn.004fe0c0
mov ecx, dword ds:[esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x14
ret
Function at 0x4c7d60
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x3c
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
mov ebx, ecx
push ebp
push esi
push edi
test byte [ebx + 0xbc], 4
jne 0x4c7eb8
mov eax, dword [ebx + 0x48]
push dword [eax + 8]
lea eax, [esp + 0x28]
push 1
push eax
call sym.SystemInformer.exe_Ordinal_1937
nop dword [eax + eax]
test eax, eax
js 0x4c7eb1
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
push 0x10
lea eax, [esp + 0x30]
mov dword [esp + 0x20], ebp
push eax
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
push 0
push ebp
movups xmmword [esp + 0x3c], xmm0
movq qword [esp + 0x4c], xmm0
call dword [sym.imp.ntdll.dll_NtQueryKey]
nop dword [eax + eax]
cmp eax, 0x80000005
jne 0x4c7df9
mov esi, dword [esp + 0x28]
mov eax, esi
mov ecx, dword [esp + 0x2c]
or eax, ecx
jne 0x4c7e9b
mov esi, 0x100
mov dword [esp + 0x1c], 0x10
push esi
push 4
push dword [0x633a74]
mov dword [esp + 0x20], esi
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
nop dword [eax + eax]
lea eax, [esp + 0x14]
push eax
push esi
push edi
push 0
push ebp
call dword [sym.imp.ntdll.dll_NtQueryKey]
mov esi, eax
test esi, esi
jns 0x4c7e79
push edi
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp esi, 0x80000005
jne 0x4c7ea7
push dword ds:[esp + 0x14]
mov ebp, dword [0x633a74]
push 4
push ebp
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
sub dword [esp + 0x1c], 1
mov edi, eax
je 0x4c7e7f
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
jmp 0x4c7e20
mov ebp, dword [0x633a74]
nop
test esi, esi
js 0x4c7ea7
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
push 0
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0xa8], esi
mov dword [ebx + 0xac], ecx
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
or dword [ebx + 0xbc], 4
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x3c
ret
Function at 0x4cda40
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x1c
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebx, ecx
mov ecx, dword [edi + 0x14]
cmp ecx, dword [0x635230]
jne 0x4cda89
mov ecx, edi
call fcn.004ced40
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00583f7f
add esp, 0x1c
ret
cmp ecx, dword [0x635238]
jne 0x4cdb9e
mov eax, dword ds:[edi + 0x24]
sub eax, dword [edi + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
push ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x4cdb89
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x20]
mov esi, eax
push dword [esp + 0x20]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x6330fd], 0
je 0x4cdb1a
mov ecx, dword [0x6365d4]
sub ecx, 1
jne 0x4cdb49
push 0x2b2b2b
jmp 0x4cdb1f
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
mov eax, dword [0x6357b0]
test eax, eax
jne 0x4cdb3c
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x6357b0], eax
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push 0xcc0020
push 0
push 0
push esi
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x10]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00583f7f
add esp, 0x1c
ret
mov ecx, dword [0x635244]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
je 0x4cdbbf
mov ecx, dword [ecx + 8]
nop
mov esi, dword [ecx]
cmp ebx, dword [esi + 0x5c]
je 0x4cdbd4
inc eax
add ecx, 4
cmp eax, edx
jb 0x4cdbb0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00583f7f
add esp, 0x1c
ret
mov edx, dword ds:[edi + 0x18]
lea eax, [edi + 0x1c]
push eax
mov ecx, esi
call fcn.004cef40
mov ecx, dword [esp + 0x24]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x1c
ret
Function at 0x4ced40
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x24
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x10], 0
push ebp
push esi
push edi
mov eax, dword [ebx + 0x24]
sub eax, dword [ebx + 0x1c]
push dword [ebx + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x20]
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
test ebp, ebp
je 0x4cef26
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x28]
mov esi, eax
push dword [esp + 0x28]
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x6330fd], 0
je 0x4cee4e
mov ecx, dword [0x6365d4]
sub ecx, 0
je 0x4cee1f
nop word [eax + eax]
sub ecx, 1
jne 0x4cee6c
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [0x62dbbc]
push esi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
mov eax, dword [0x6357b0]
test eax, eax
jne 0x4cee1c
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x6357b0], eax
push eax
jmp 0x4cee60
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
mov eax, dword [0x6357b0]
test eax, eax
jne 0x4cee1c
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x6357b0], eax
push eax
jmp 0x4cee60
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 6
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
cmp byte [0x633f5f], 0
jne 0x4cee7e
cmp byte [0x634025], 0
je 0x4ceebc
cmp byte [0x634024], 0
je 0x4ceeae
mov edi, dword [0x635760]
test edi, edi
je 0x4ceebc
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
push eax
push 2
push 1
push esi
push dword [0x6352f8]
call dword [0x5a9914]
call edi
jmp 0x4ceebc
push 6
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push dword [0x635254]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x25
lea eax, [esp + 0x20]
push eax
push 4
push str.Back
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xcc0020
push 0
push 0
push esi
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x14]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x24
ret
Function at 0x4cf980
Capabilities:
Hide graphical window

Disassembly:
push ecx
cmp dword [0x6352ac], 0
push ebx
push ebp
push esi
push edi
je 0x4cfa4b
mov eax, dword [0x635244]
xor ecx, ecx
xor esi, esi
mov dword [0x6352ac], ecx
mov dword [0x635300], ecx
cmp dword [eax], ecx
jbe 0x4cfa1b
xor ebp, ebp
nop dword [eax]
mov eax, dword [eax + 8]
push 0
push ecx
push 3
mov ebx, dword [eax + ebp]
push ebx
mov edi, dword [ebx + 0xc]
mov ecx, edi
call dword [0x5a9914]
call edi
mov edi, dword [ebx + 0x20]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 3
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4cfa06
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x635244]
inc esi
add ebp, 4
cmp esi, dword [eax]
jae 0x4cfa1b
mov ecx, dword [0x6352ac]
jmp 0x4cf9b0
push 0
push dword [0x6352b4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x635230]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x635238]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004cf380
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4d35a0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 8
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push esi
push edi
push 0x100
push 4
push dword [0x633a74]
mov dword [esp + 0x18], 0x100
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push 0x100
push ebx
push 0x64
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
xor esi, esi
cmp edi, 0xc0000004
jne 0x4d3637
cmp esi, 8
jae 0x4d3655
push ebx
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [esp + 0xc]
push 4
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push ebx
push 0x64
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
inc esi
cmp edi, 0xc0000004
je 0x4d35f2
test edi, edi
js 0x4d3655
mov eax, edi
mov dword [0x6353e0], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00583f7f
add esp, 8
ret
push ebx
push 0
lfence
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 8
ret
Function at 0x4d3960
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x10
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0xc], eax
cmp dword [0x62db64], 0x64
push ebp
push edi
mov ebp, ecx
jb 0x4d3ab2
push esi
mov esi, dword [0x635420]
test esi, esi
je 0x4d39b1
push esi
push 4
push dword [0x633a74]
mov dword [esp + 0x18], esi
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
mov edi, eax
push 0
push edi
call fcn.005861b0
mov eax, dword [esp + 0x18]
add esp, 0xc
jmp 0x4d39b9
xor eax, eax
xor edi, edi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
push ecx
push eax
push edi
push 4
lea eax, [esp + 0x20]
push eax
push 0xaf
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov ecx, eax
cmp ecx, 0xc0000023
jne 0x4d3a59
add dword [esp + 0xc], 4
push edi
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, dword [esp + 0xc]
push esi
push 4
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
mov edi, eax
push 0
push edi
call fcn.005861b0
add esp, 0xc
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push 0
push dword [esp + 0x10]
push edi
push 4
push eax
push 0xaf
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov ecx, eax
test ecx, ecx
js 0x4d3a59
cmp dword [0x635420], 0x100000
ja 0x4d3a59
mov eax, dword [esp + 0xc]
mov dword [0x635420], eax
pop esi
test edi, edi
je 0x4d3ab2
push ebx
xor bl, bl
test ecx, ecx
js 0x4d3a8f
mov edx, dword [edi]
lea ecx, [edi + 0x20]
add edx, edi
mov eax, edi
cmp ecx, edx
ja 0x4d3a8f
movzx ecx, byte [eax + 0xe]
cmp ecx, ebp
je 0x4d3a89
add eax, dword [eax]
mov edx, dword [eax]
lea ecx, [eax + 0x20]
add edx, eax
cmp ecx, edx
jbe 0x4d3a72
jmp 0x4d3a8f
mov bl, byte [eax + 0x13]
and bl, 1
push edi
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov al, bl
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00583f7f
add esp, 0x10
ret
mov ecx, dword ds:[esp + 0x14]
xor al, al
pop edi
pop ebp
xor ecx, esp
call fcn.00583f7f
add esp, 0x10
ret
Function at 0x4d3c60
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x34
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x2c], eax
cmp byte [0x633a68], 0
xorps xmm0, xmm0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x34], ecx
movlpd qword [esp + 0x28], xmm0
je 0x4d3d46
mov eax, dword [0x635348]
push 0
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [0x6353c8]
push 0x17
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebp, dword [0x635348]
mov ebx, dword [0x6353c8]
test eax, eax
jns 0x4d3cd0
lea eax, [ebp*2]
add eax, ebp
shl eax, 3
push eax
push 0
push ebx
call fcn.005861b0
add esp, 0xc
xorps xmm0, xmm0
xor eax, eax
movlpd qword [esp + 0x18], xmm0
mov edi, dword [esp + 0x1c]
movlpd qword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
cmp ebp, 2
jb 0x4d3d22
lea esi, [ebp - 2]
shr esi, 1
lea eax, [ebx + 0x1c]
mov ebx, dword [esp + 0x18]
inc esi
lea ecx, [esi + esi]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x14]
add ebx, dword [eax - 0x18]
lea eax, [eax + 0x30]
adc edi, 0
add edx, dword [eax - 0x30]
adc ecx, 0
sub esi, 1
jne 0x4d3d06
mov eax, dword ds:[esp + 0x38]
jmp 0x4d3d2a
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, ebp
jae 0x4d3e43
mov esi, dword [0x6353c8]
lea eax, [eax + eax*2]
mov eax, dword [esi + eax*8 + 4]
xor esi, esi
jmp 0x4d3e4b
xor eax, eax
xor esi, esi
mov word [esp + 0x38], ax
cmp ax, word [0x633a6c]
jae 0x4d3dd0
nop dword [eax + eax]
push dword [esp + 0x38]
call sym.SystemInformer.exe_Ordinal_1505
movzx eax, ax
mov dword [esp + 0x18], eax
movzx eax, ax
push 0
lea edi, [eax + eax*2]
movzx eax, si
shl edi, 3
push edi
lea ebx, [eax + eax*2]
mov eax, dword [0x6353c8]
shl ebx, 3
add eax, ebx
push eax
push 2
lea eax, [esp + 0x48]
push eax
push 0x17
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov ebp, dword [0x6353c8]
test eax, eax
jns 0x4d3db5
push edi
lea eax, [ebx + ebp]
push 0
push eax
call fcn.005861b0
add esp, 0xc
mov ax, word [esp + 0x38]
add esi, dword [esp + 0x18]
inc ax
mov word [esp + 0x38], ax
cmp ax, word [0x633a6c]
jb 0x4d3d60
jmp 0x4d3dd6
mov ebp, dword [0x6353c8]
mov ecx, dword [0x635348]
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
xor eax, eax
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
movlpd qword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
cmp ecx, 2
jb 0x4d3e2c
lea esi, [ecx - 2]
shr esi, 1
lea eax, [ebp + 0x1c]
inc esi
lea ecx, [esi + esi]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
add ebx, dword [eax - 0x18]
lea eax, [eax + 0x30]
adc edi, 0
add edx, dword [eax - 0x30]
adc ecx, 0
sub esi, 1
jne 0x4d3e12
mov eax, dword [esp + 0x18]
jmp 0x4d3e30
mov ecx, dword [esp + 0x24]
cmp eax, dword [0x635348]
jae 0x4d3e43
lea eax, [eax + eax*2]
xor esi, esi
mov eax, dword [ebp + eax*8 + 4]
jmp 0x4d3e4b
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add edx, ebx
adc ecx, edi
add eax, edx
pop edi
adc esi, ecx
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], esi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x34]
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x34
ret
Function at 0x4e60a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0x84]
cmp dword [esi], ebx
jbe 0x4e60e5
movzx eax, dl
push edi
xor edi, edi
lea ecx, [eax*4]
mov dword [esp + 0x10], ecx
mov eax, dword ds:[esi + 8]
lea edi, [edi + 4]
inc ebx
mov edx, dword [edi + eax - 4]
xor ecx, dword [edx]
and ecx, 4
xor dword [edx], ecx
mov esi, dword [ebp + 0x84]
mov ecx, dword [esp + 0x10]
cmp ebx, dword [esi]
jb 0x4e60c3
pop edi
push 0
push 0
push 0x404
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebp
pop ebx
pop ecx
ret