joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43af40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x18]
push ebx
push esi
push edi
mov eax, dword [eax + 0x30]
mov ebx, ecx
push 0
push 0
mov dword [ebp - 0xc], 0
mov eax, dword [eax + 0x10]
movzx edi, word [eax + 0x40]
mov esi, dword [eax + 0x44]
mov eax, dword [ebx]
add eax, edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call sym.SystemInformer.exe_PhCreateString3
push edi
push esi
mov dword [ebp - 0xc], eax
push dword [eax + 4]
call fcn.00581150
add esp, 0xc
push dword [ebx]
push dword [ebx + 4]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 4]
add eax, edi
push eax
call fcn.00581150
add esp, 0xc
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
push 0x20
push 4
push dword [0x633f94]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x60], 0x48
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor ecx, ecx
mov edx, 0x20007
cmp dword [0x62dbb0], 0x71
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 4], 1
mov dword [ebp - 0x1c], eax
jb 0x43b082
mov dword ds:[ebp - 0xc], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x111000
mov dword [ebp - 0x14], 0x10000101
mov dword [ebp - 0x10], 0x1110
push 0x10
jmp 0x43b095
mov dword [ebp - 0x10], 0x111000
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], 0x10000101
push 8
push ecx
mov ecx, eax
call fcn.004fb5e0
lea ecx, [ecx]
test eax, eax
jns 0x43b0b8
lfence
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 0x180
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push dword [ebx + 4]
push 0
call sym.SystemInformer.exe_PhCreateProcessWin32Ex
mov esi, eax
test esi, esi
js 0x43b0e6
push 0
call dword [sym.imp.ntdll.dll_RtlExitUserProcess]
lfence
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43b0ff
push eax
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43b112
call fcn.004fbe40
mov ecx, dword ds:[ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
Function at 0x459820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x6345d0]
push esi
push edi
mov edi, ecx
cmp edi, ebx
je 0x45990d
mov dword [0x6345d0], edi
test ebx, ebx
je 0x459878
mov esi, dword ds:[ebx + 0xc]
mov ecx, esi
push 0
push edi
push 3
push ebx
call dword [0x5a28f0]
call esi
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x459878
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x34], 0
jne 0x4598da
mov esi, dword ds:[edi + 0xc]
xor eax, eax
push eax
mov dword [ebp - 0x18], eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 5
push edi
call dword [0x5a28f0]
call esi
test al, al
je 0x4598da
cmp byte [ebp - 0x18], 0
jne 0x4598da
push dword [ebp - 8]
mov ecx, dword [0x634500]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00508da0
movzx ecx, byte [0x63361f]
push ecx
push eax
mov dword [edi + 0x34], eax
call sym.SystemInformer.exe_PhInitializeWindowTheme
mov eax, dword ds:[edi + 0x34]
test eax, eax
je 0x4598ed
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00459980
call fcn.00459a60
mov esi, dword [edi + 0xc]
mov ecx, esi
push 0
push 0
push 2
push edi
call dword [0x5a28f0]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
Function at 0x476840
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.00476700
test al, al
je 0x476865
mov esi, str.Do_you_want_to_restore_the_default_Windows_Task_Manager_
jmp 0x47687e
mov edx, str.Changing_the_default_Task_Manager
mov ecx, edi
mov esi, str.Do_you_want_to_make_System_Informer_the_default_Windows_Task_Manager_
call fcn.00477e60
test al, al
je 0x476a30
push esi
push 0x5caac0
push 0xfffd
push 6
push edi
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x14
cmp eax, 6
jne 0x476a30
push 0
push 0
push 0x80
push 0x62ecf8
push 0xfffffffffffffffd
push 0x2001f
lea eax, [ebp - 8]
push eax
call sym.SystemInformer.exe_PhCreateKey
mov esi, eax
or ebx, 0xffffffff
test esi, esi
js 0x47696e
call fcn.00476700
test al, al
je 0x47690a
mov ecx, dword [0x62ef40]
mov word [ebp - 0x10], cx
lea eax, [ecx + 2]
mov word [ebp - 0xe], ax
mov eax, dword [str.Debugger]
mov dword [ebp - 0xc], eax
cmp ecx, 0xfffe
jbe 0x4768f9
mov esi, 0xc0000106
jmp 0x47695c
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov esi, eax
jmp 0x47695c
call sym.SystemInformer.exe_PhGetApplicationFileNameWin32
mov dword [ebp - 0xc], eax
test eax, eax
je 0x47695c
push 0x62f058
push eax
push 0x62f058
call sym.SystemInformer.exe_PhConcatStringRef3
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov ecx, dword ds:[eax]
add ecx, 2
push ecx
push dword [eax + 4]
push 1
push 0x62ef40
push dword [ebp - 8]
call sym.SystemInformer.exe_PhSetValueKey
mov ecx, dword [ebp - 0xc]
mov esi, eax
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x47695c
call fcn.004fbe40
push dword ds:[ebp - 8]
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
jns 0x476a1c
cmp esi, 0xc0000022
je 0x4769a3
cmp esi, 0xc0000005
je 0x4769a3
mov eax, esi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x476991
movzx eax, si
jmp 0x4769ad
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x4769b1
mov eax, esi
jmp 0x4769ad
push esi
lfence
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x4769bc
push esi
lfence
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x4769c5
push eax
lfence
call sym.SystemInformer.exe_PhGetWin32Message
mov esi, eax
test esi, esi
je 0x476a07
lfence
lfence
push dword [esi + 4]
push 0x5cc39c
push str.Unable_to_replace_Task_Manager
push 0xfffe
push 0x20
push edi
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x18
lea ecx, [esi - 8]
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x476a1c
lfence
call fcn.004fbe40
jmp 0x476a1c
push str.Unable_to_replace_Task_Manager
push 0x5cc39c
push 0x10
push edi
call sym.SystemInformer.exe_PhShowMessage
add esp, 0x10
mov eax, dword [0x63355c]
test eax, eax
je 0x476a30
cmp dword [eax], 0
je 0x476a30
push eax
call sym.SystemInformer.exe_PhSaveSettings
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
Function at 0x47eee0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x62dbb0], 0xffffffff
push ebx
push esi
mov esi, dword [0x636ec0]
mov ebx, edx
push edi
mov edi, ecx
jae 0x47ef0d
cmp esi, 0x40
jae 0x47ef0d
lfence
mov eax, dword fs:[0x18]
mov eax, dword [eax + esi*4 + 0xe10]
jmp 0x47ef14
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 0x47ef3f
cmp edx, esi
jb 0x47ef3f
cmp eax, dword [ecx + 0x20]
ja 0x47ef3f
lea ecx, [ebx - 1]
test edx, ecx
jne 0x47ef3f
pop edi
pop esi
lfence
mov eax, edx
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x494cc0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
mov esi, ecx
push edi
test byte [esi + 0x3a8], 8
jne 0x494db8
mov eax, dword [esi + 0x3d0]
lea edi, [esi + 0x3d0]
mov dword [edi], 0
test eax, eax
je 0x494d05
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x494d05
mov edi, edi
call fcn.004fbe40
mov eax, dword [esi + 0x54]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x494db1
test dword ds:[eax + 0x7c], 0x8000
jne 0x494db1
mov ecx, dword [esi + 0x3cc]
test ecx, ecx
jne 0x494d90
mov eax, dword [esi + 0x50]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0x1d], 1
mov dword [esp + 0xc], edx
test edx, edx
je 0x494d69
cmp dword [0x62dbb0], 0x3e
jb 0x494d69
mov ecx, edx
call fcn.00509c80
mov byte [esp + 0x1c], al
lea eax, [esp + 0x10]
push eax
push 0x5098c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x14]
test eax, eax
mov ecx, dword [esp + 0x10]
cmovne ecx, eax
mov dword [esi + 0x3cc], ecx
test ecx, ecx
je 0x494db1
push edi
push 1
push ecx
call sym.SystemInformer.exe_PhGetWindowTextEx
push dword ds:[esi + 0x3cc]
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
setne al
mov byte [esi + 0x3d4], al
or dword [esi + 0x3a8], 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b8dc0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004b8d20
push dword [0x633f7c]
push 0xc
call sym.SystemInformer.exe_PhCreateObject
push 0x28
mov esi, eax
push 4
push dword [0x633f94]
mov dword [esi], 0
mov dword [esi + 4], 0xa
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 8], eax
mov dword [ebp - 0xc], esi
call fcn.0050b660
mov dword ds:[ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x4b8c80
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push eax
call dword [sym.imp.USER32.dll_EnumDesktopsW]
mov eax, dword [ebp - 0xc]
xor esi, esi
cmp dword [eax], esi
jbe 0x4b8e96
mov eax, dword ds:[eax + 8]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4b8e49
mov eax, dword [eax + 4]
jmp 0x4b8e4b
xor eax, eax
push eax
push 0
push 0x143
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4b8e8e
push 4
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [ebp - 0xc]
push eax
push edi
push 0x151
mov ecx, dword [ecx + 8]
push ebx
mov ecx, dword [ecx + esi*4]
mov dword [eax], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xc]
inc esi
cmp esi, dword [eax]
jb 0x4b8e36
or esi, 0xffffffff
lea ecx, [eax - 8]
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4b8eab
call fcn.004fbe40
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], esi
dec esi
jne 0x4b8ebe
call fcn.004fbe40
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
Function at 0x4c9be0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 4], eax
push esi
push edi
push 0x800
push 0
push str.sechost.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4c9c49
push 0x200
push eax
push str.sechost.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4c9c49
cmp dword [0x62dbb0], 0x3e
jae 0x4c9cd0
push eax
push eax
push str.sechost.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x4c9cd0
cmp byte [0x63361d], 0
je 0x4c9c83
cmp dword [0x62dbb0], 0x3e
jb 0x4c9c83
push 0
mov edx, str.SubscribeServiceChangeNotifications
mov ecx, esi
call fcn.00528020
push 0
mov edx, str.UnsubscribeServiceChangeNotifications
mov dword [0x635338], eax
mov ecx, esi
call fcn.00528020
mov dword [0x635748], eax
jmp 0x4c9cd0
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4c9cc9
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4c9cc9
cmp eax, 0x7fffffff
jae 0x4c9cc9
cmp dword [eax + esi], 0x4550
jne 0x4c9cc9
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x4c9cc9
cmp dword [edx + 4], 0
je 0x4c9cc9
push 0
add eax, esi
mov ecx, esi
push str.NotifyServiceStatusChangeW
push eax
call fcn.005281c0
jmp 0x4c9ccb
xor eax, eax
mov dword [0x63533c], eax
mov byte [0x634468], 1
mov eax, 1
mov ecx, 0x635334
xchg dword [ecx], eax
cmp dword [0x63533c], 0
je 0x4c9cf8
push 0
push 0x4c95a0
call sym.SystemInformer.exe_PhCreateThread2
cmp dword [0x635338], 0
nop
je 0x4c9d5d
xor ecx, ecx
mov edi, 0x635f34
xor eax, eax
lock cmpxchg dword [edi], ecx
mov esi, eax
test esi, esi
jne 0x4c9d3e
push 5
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edx, eax
test edx, edx
je 0x4c9d3e
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov esi, eax
test esi, esi
jne 0x4c9d37
mov esi, edx
jmp 0x4c9d3e
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [esp + 8]
push eax
push 0
push 0x4c9bb0
push 0
push esi
mov esi, dword [0x635338]
mov ecx, esi
call dword [0x5a28f0]
call esi
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
Function at 0x4cb400
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov ecx, dword [edi + 0x14]
cmp ecx, dword [0x635750]
jne 0x4cb442
mov ecx, edi
call fcn.004cc800
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
cmp ecx, dword [0x635758]
jne 0x4cb54a
mov eax, dword [edi + 0x24]
sub eax, dword [edi + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
push ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x4cb537
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 8]
mov esi, eax
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x63361f], 0
je 0x4cb4cd
mov ecx, dword [0x636a90]
sub ecx, 1
jne 0x4cb4f2
push 0x2b2b2b
jmp 0x4cb4d2
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [ebp - 0x14]
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 [ebp - 0x18]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword ds:[ebp - 0x1c]
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 ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x635764]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
je 0x4cb56f
mov ecx, dword [ecx + 8]
jmp 0x4cb560
mov esi, dword [ecx]
cmp ebx, dword [esi + 0x5c]
je 0x4cb582
inc eax
add ecx, 4
cmp eax, edx
jb 0x4cb560
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
lea eax, [edi + 0x1c]
push eax
mov ecx, esi
call fcn.004cc9e0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
Function at 0x4cc800
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [edi + 0x24]
sub eax, dword [edi + 0x1c]
push dword [edi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4cc9b0
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword ds:[ebp - 8]
mov esi, eax
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x63361f], 0
je 0x4cc8dc
mov ecx, dword [0x636a90]
sub ecx, 0
je 0x4cc8bd
sub ecx, 1
jne 0x4cc906
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [0x62dbb8]
push esi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x4cc8f6
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x4cc8f6
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
cmp byte [0x634469], 0
jne 0x4cc918
cmp byte [0x63446b], 0
je 0x4cc94d
cmp byte [0x63446a], 0
nop
je 0x4cc9c1
mov ebx, dword [0x635c80]
test ebx, ebx
je 0x4cc94a
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push eax
push 2
push 1
push esi
push dword [0x635800]
call dword [0x5a28f0]
call ebx
mov ebx, dword [ebp - 0x18]
push dword [0x635774]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x25
lea eax, [ebp - 0x14]
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 [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 [ebp - 0x1c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x20]
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 ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x4cc94d
Function at 0x4cd400
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x6357cc], 0
push ebx
push esi
push edi
je 0x4cd4ce
mov eax, dword [0x635764]
xor ecx, ecx
xor esi, esi
mov dword [0x6357cc], ecx
mov dword [0x635808], ecx
cmp dword [eax], ecx
jbe 0x4cd498
lea esp, [esp]
mov eax, dword [eax + 8]
push 0
push ecx
push 3
mov ebx, dword [eax + esi*4]
push ebx
mov edi, dword [ebx + 0xc]
mov ecx, edi
call dword [0x5a28f0]
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 0x4cd486
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x635764]
inc esi
cmp esi, dword [eax]
jae 0x4cd498
mov ecx, dword [0x6357cc]
jmp 0x4cd430
push 0
push dword [0x6357d4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x635750]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x635758]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
jmp fcn.004cce20
pop edi
pop esi
pop ebx
ret
Function at 0x4d1540
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100
push 4
push dword [0x633f94]
mov dword [ebp - 8], 0x100
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push 0x64
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
xor esi, esi
cmp edi, 0xc0000004
jne 0x4d15d4
jmp 0x4d1590
cmp esi, 8
jae 0x4d15f1
push ebx
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [ebp - 8]
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push 0x64
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
inc esi
cmp edi, 0xc0000004
je 0x4d1590
test edi, edi
js 0x4d15f1
mov eax, edi
mov dword [0x6358ec], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
push ebx
push 0
lfence
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret

Function at 0x4d19e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x62dbb0], 0x64
push ebx
push esi
mov ebx, ecx
jb 0x4d1ad3
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0xaf
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov esi, dword [ebp - 8]
test esi, esi
je 0x4d1ad3
push edi
add esi, 4
mov byte [ebp - 0x11], 0
push esi
push 4
push dword [0x633f94]
mov dword [ebp - 8], esi
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
mov edi, eax
push 0
push edi
call fcn.00580ff0
add esp, 0xc
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push 0
push dword [ebp - 8]
push edi
push 4
push eax
push 0xaf
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov edi, edi
test eax, eax
js 0x4d1ab0
mov edx, dword [edi]
lea ecx, [edi + 0x20]
add edx, edi
mov eax, edi
cmp ecx, edx
ja 0x4d1ab0
movzx ecx, byte [eax + 0xe]
cmp ecx, ebx
je 0x4d1aa8
add eax, dword [eax]
mov edx, dword [eax]
lea ecx, [eax + 0x20]
add edx, eax
cmp ecx, edx
jbe 0x4d1a91
jmp 0x4d1ab0
mov al, byte [eax + 0x13]
and al, 1
mov byte [ebp - 0x11], al
push edi
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov al, byte [ebp - 0x11]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
mov ecx, dword ds:[ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
Function at 0x4e3fd0
Capabilities:
Encode data using xor

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