joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6fc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d7b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 4], 0x55908c
mov dword [edi + 0x2c], 0x559094
mov dword [edi + 0x3c1c], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], ebx
mov byte [edi + 0x1c], bl
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [ebp - 0x10], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov byte [edi + 0x38], bl
mov dword [ebp - 4], ebx
mov dword [edi], vtable.CPhotoFilerPage.0
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], ebx
lea eax, [edi + 0x74]
call fcn.00503a60
lea esi, [edi + 0x120]
call fcn.004a81d0
lea eax, [edi + 0xc38]
push eax
mov byte [ebp - 4], 4
call fcn.004a37b0
mov ecx, 0xc
lea eax, [edi + 0x3bf4]
mov byte [eax], bl
inc eax
dec ecx
jne 0x4a7087
mov dword [edi + 0x3c00], ebx
mov dword [edi + 0x3bf0], ebx
mov byte [edi + 0x3c05], bl
mov dword [edi + 0x3c08], ebx
mov dword [edi + 0x3c0c], ebx
mov dword [edi + 0x3c14], ebx
mov dword [edi + 0x3c18], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a7620
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
lea edi, [ebx + 0x14c]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.0051c000
test al, al
je 0x4a7666
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
jmp 0x4a766c
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
lea esi, [ebx + 0x120]
call fcn.004a8720
cmp byte [ebx + 0x3c05], 0
lea eax, [ebx + 0x4c]
je 0x4a768a
push str.PhotoFilerPage_Mini_PanelWnd
jmp 0x4a768f
push str.PhotoFilerPage_PanelWnd
call fcn.005080c0
mov eax, dword [ebx + 0x4c]
test eax, eax
jne 0x4a76a0
mov eax, 0x54ee24
xor edi, edi
cmp dword [ebx + 0x44], edi
jle 0x4a76cd
test eax, eax
je 0x4a76cd
cmp word [eax], di
je 0x4a76cd
mov ecx, dword [ebx + 0x40]
test ecx, ecx
jne 0x4a76bc
mov ecx, 0x54ee24
push ecx
push 0
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
jne 0x4a76d9
mov ecx, 0x54ee24
xor esi, esi
cmp dword [ebx + 0x44], esi
jle 0x4a7706
test ecx, ecx
je 0x4a7706
cmp word [ecx], si
je 0x4a7706
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x4a76f5
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
jne 0x4a7712
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebx + 0x44], eax
jle 0x4a773d
test ecx, ecx
je 0x4a773d
cmp word [ecx], ax
je 0x4a773d
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x4a772e
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
mov eax, ebx
call fcn.004a7bc0
movzx ecx, byte [ebx + 0x3c05]
movzx edx, byte [ebx + 0x3c04]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
mov edx, dword [ebx + 0x3c18]
push ecx
push eax
mov eax, dword [ebx + 0x3c14]
push esi
push edi
push edx
push eax
lea edi, [ebx + 0x120]
call fcn.004a8400
mov ecx, dword [ebx + 0x3c10]
test eax, eax
je 0x4a778f
test ecx, ecx
je 0x4a778f
mov dword [ebx + 0xcc], eax
mov dword [ebx + 0xd0], ecx
push ebx
call fcn.004a7c50
push ebx
call fcn.004a7cf0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
mov eax, edi
call fcn.004a8850
mov eax, dword [ebx + 0x3c10]
push 0
push 0x180b
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0051eacc
mov esp, ebp
pop ebp
ret
Function at 0x4a8050
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
lea esi, [edi + 0x3c]
push esi
mov ecx, 0x554c48
call fcn.00470260
xor ebx, ebx
lea eax, [edi + 0x4c]
cmp byte [ebp + 0x1c], bl
je 0x4a807a
push str.PhotoFilerPage_Mini_PanelSplitBar
jmp 0x4a807f
push str.PhotoFilerPage_PanelSplitBar
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp eax, ebx
jne 0x4a8092
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], ebx
jle 0x4a80bc
cmp ecx, ebx
je 0x4a80bc
cmp word [ecx], bx
je 0x4a80bc
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4a80ae
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x3c00], eax
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x4a80ce
mov eax, 0x54ee24
mov dword [ebp - 8], ebx
cmp dword [esi + 8], ebx
jle 0x4a80fc
cmp eax, ebx
je 0x4a80fc
cmp word [eax], bx
je 0x4a80fc
mov ecx, dword [esi + 4]
cmp ecx, ebx
jne 0x4a80eb
mov ecx, 0x54ee24
push ecx
push ebx
push str.ColorR
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4a8108
mov ecx, 0x54ee24
mov dword [ebp - 4], ebx
cmp dword [esi + 8], ebx
jle 0x4a8136
cmp ecx, ebx
je 0x4a8136
cmp word [ecx], bx
je 0x4a8136
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4a8125
mov eax, 0x54ee24
push eax
push ebx
push str.ColorG
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4a8142
mov ecx, 0x54ee24
mov dword [ebp + 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x4a8170
cmp ecx, ebx
je 0x4a8170
cmp word [ecx], bx
je 0x4a8170
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4a815f
mov eax, 0x54ee24
push eax
push ebx
push str.ColorB
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [edi + 0x3c00]
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push edx
lea esi, [edi + 0x74]
mov edi, dword [ebp + 8]
push eax
call fcn.00503c40
mov edi, eax
test edi, edi
je 0x4a81c1
cmp dword [esi + 0x48], 0
jne 0x4a81bd
movzx ecx, byte [ebp + 0x1c]
movzx edx, byte [ebp - 4]
movzx eax, byte [ebp - 8]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x48], eax
mov byte [esi + 0x55], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4a8850
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, eax
mov dword [esi + 0xad8], ecx
mov eax, dword [esi + 0x30]
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x4a897e
test edi, edi
jle 0x4a896b
test ecx, ecx
jle 0x4a896b
push 6
push ecx
push edi
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
jne 0x4a88a7
mov eax, dword [esi + 0x2c]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi + 0x2c], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [esi + 0xae8]
cmp dword [esi + 0x4e0], 0
mov dword [ebp + 0xc], ecx
je 0x4a88e6
cmp byte [esi + 0x433], 0
je 0x4a88e6
mov edx, dword [esi + 0xad8]
sub edx, dword [esi + 0xae4]
mov eax, dword [esi + 0xadc]
push 1
push edx
lea ecx, [esi + 0x5f8]
push eax
call fcn.0051c2b0
push str.PanelFncBtn_BtnWnd
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [esi + 0x4c]
mov ecx, eax
test eax, eax
jne 0x4a8901
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x4a892c
test ecx, ecx
je 0x4a892c
cmp word [ecx], ax
je 0x4a892c
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4a891d
mov eax, 0x54ee24
push eax
push 0
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edx, [eax + eax]
mov ecx, edi
sub ecx, edx
lea eax, [esi + 0x74]
call fcn.0043bb60
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4a8991
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test eax, eax
jne 0x4a89a5
mov eax, dword [esi + 0xa0]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi + 0xa0], eax
mov edi, dword [ebp + 8]
jmp 0x4a89a5
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x2c], 0x57
jmp 0x4a88aa
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x2c], 6
jmp 0x4a88aa
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0xa0], 6
lea eax, [esi + 0x5cc]
mov ecx, edi
call fcn.0043bb60
mov eax, dword [esi + 0x5fc]
test eax, eax
je 0x4a89e2
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test eax, eax
jne 0x4a89f6
mov eax, dword [esi + 0x5f8]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi + 0x5f8], eax
mov edi, dword [ebp + 8]
jmp 0x4a89f6
mov ecx, dword [esi + 0x5f8]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x5f8], 6
mov ecx, edi
lea eax, [esi + 0x320]
call fcn.0043bb60
mov eax, dword [esi + 0x350]
test eax, eax
je 0x4a8a33
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test eax, eax
jne 0x4a8a47
mov eax, dword [esi + 0x34c]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi + 0x34c], eax
mov edi, dword [ebp + 8]
jmp 0x4a8a47
mov ecx, dword [esi + 0x34c]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x34c], 6
mov ebx, dword [ebp + 0xc]
push edi
lea eax, [esi + 0x878]
push eax
call fcn.00427a90
push edi
add esi, 0x930
push esi
call fcn.00427a90
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4a9170
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esi + 0x8a8]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4a918a
push 0
push eax
call edi
jmp 0x4a919e
mov eax, dword [esi + 0x8a4]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x8a4], 6
cmp dword [esi + 0x4e0], 0
lea ebx, [esi + 0x320]
je 0x4a91c8
cmp byte [ebx + 0x113], 0
je 0x4a91c8
mov eax, dword [ebx + 0x10]
push eax
mov word [ebx + 0x113], 0
call fcn.0043c520
mov edx, dword [esi + 0xae4]
add edx, dword [esi + 0xae0]
mov eax, dword [esi + 0xadc]
push 1
push edx
push eax
lea ecx, [esi + 0x5f8]
call fcn.0051c2b0
lea eax, [esi + 0x96c]
call fcn.0044a3b0
mov eax, dword [esi + 0x960]
test eax, eax
je 0x4a9207
push 5
push eax
call edi
pop edi
pop ebx
pop ecx
ret
mov ecx, dword [esi + 0x95c]
mov edx, dword [ecx + 4]
pop edi
mov dword [esi + edx + 0x95c], 6
pop ebx
pop ecx
ret
Function at 0x4ad770
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540230
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], 0x559448
mov dword [esi + 0x2c], 0x559450
mov dword [esi + 0x12920], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x1c], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [ebp - 0x10], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CPhotoPageWnd.0
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
lea eax, [esi + 0x5c]
push eax
mov byte [ebp - 4], 1
call fcn.004a6fc0
lea ecx, [esi + 0x3c7c]
push ecx
mov byte [ebp - 4], 2
call fcn.0049cf90
lea edx, [esi + 0xbe90]
push edx
call fcn.004b9ae0
lea eax, [esi + 0x1284c]
call fcn.004452c0
mov dword [esi + 0x12918], ebx
mov dword [esi + 0x1291c], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4adad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1291c]
cmp eax, 0x2349
jne 0x4adaf3
push edi
lea edi, [ebx + 0xbe90]
call fcn.004baad0
pop edi
jmp 0x4adb39
cmp eax, 0x2348
jne 0x4adb09
push esi
lea esi, [ebx + 0x3c7c]
call fcn.0049d8b0
pop esi
jmp 0x4adb39
cmp eax, 0x2347
jne 0x4adb39
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x4adb25
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4adb39
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx + 0x88], 6
add ebx, 0x5c
call fcn.004a7620
mov eax, dword [ebp + 8]
mov dword [eax + 0x12918], 0
mov dword [eax + 0x1291c], 0x2347
pop ebx
pop ebp
ret 4
Function at 0x4adf20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
lea eax, [ecx - 0x17cb]
cmp eax, 0x2a
ja case.default.0x4adf3d
movzx eax, byte [eax + 0x4ae170]
push edi
jmp dword [eax*4 + 0x4ae15c]
mov eax, dword [ebx + 0x1291c]
mov dword [ebx + 0x12918], eax
cmp eax, 0x2347
jne 0x4adf64
lea ecx, [ebx + 0x88]
call fcn.0051c5f0
jmp 0x4adfba
cmp eax, 0x2348
jne 0x4adfba
lea ecx, [ebx + 0x3ca8]
call fcn.0051c5f0
mov eax, dword [ebx + 0xbde8]
test eax, eax
je 0x4adfba
mov eax, dword [eax + 0xe6c]
test eax, eax
jne 0x4adfaa
call fcn.00513ce0
cmp eax, 0x100000
je 0x4adfa1
test eax, eax
je 0x4adfa1
call fcn.00513640
jmp 0x4adfa6
call fcn.00513420
test eax, eax
je 0x4adfba
push 0xffffffffffffffff
push 0
push 0x8311
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x50000
mov dword [ebx + 0x1291c], 0x2349
call fcn.00513eb0
lea edi, [ebx + 0xbe90]
call fcn.004baa00
pop edi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebx + 0x1291c]
mov dword [ebx + 0x12918], ecx
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x4ae000
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ae014
mov edx, dword [ebx + 0x88]
mov eax, dword [edx + 4]
mov dword [ebx + eax + 0x88], 6
push 0x40000
mov dword [ebx + 0x1291c], 0x2348
call fcn.00513eb0
lea ecx, [ebx + 0x3c7c]
push ecx
call fcn.0049d790
mov ebx, dword [ebx + 0xbde8]
test ebx, ebx
je case.0x4adf3d.6095
mov ecx, dword [ebx + 0xe7c]
imul ecx, dword [ebx + 0xe78]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle case.0x4adf3d.6095
push eax
mov eax, ebx
call fcn.0046bac0
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebx + 0x1291c]
push esi
cmp eax, 0x2349
jne 0x4ae091
lea edi, [ebx + 0xbe90]
call fcn.004baad0
jmp 0x4ae0a3
cmp eax, 0x2348
jne 0x4ae0a3
lea esi, [ebx + 0x3c7c]
call fcn.0049d8b0
mov eax, dword [ebx + 0x12918]
mov dword [ebx + 0x1291c], eax
cmp eax, 0x2348
jne 0x4ae110
lea ecx, [ebx + 0x3ca8]
call fcn.0051c5d0
mov esi, dword [ebx + 0xbde8]
test esi, esi
je 0x4ae0f5
mov ecx, dword [esi + 0xe7c]
imul ecx, dword [esi + 0xe78]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x4ae0f5
push eax
mov eax, esi
call fcn.0046bac0
push 0x40000
mov dword [ebx + 0x12918], 0x2347
call fcn.00513eb0
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ecx, [ebx + 0x88]
call fcn.0051c5d0
push 0x30000
call fcn.00513eb0
lea eax, [ebx + 0x5c]
call fcn.004a8010
pop esi
pop edi
pop ebx
pop ebp
ret 8
movzx eax, word [ebp + 0xc]
mov edx, dword [ebp + 8]
movzx ecx, cx
push edx
mov edx, dword [ebx + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4aebb0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537f38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor al, al
xor ebx, ebx
cmp dword [esi + 8], 0xffffffff
mov byte [ebp - 0xd], al
jne 0x4aecbe
push str..pipe_
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebx
jle 0x4aec3f
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov ecx, edi
lea ebx, [ebp - 0x28]
call fcn.00507c00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x4aec3f
lea edx, [edi + 1]
push edx
push str..pipe_
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x18], edi
push str.ControlCenter4_UxSystem_Pipe_Command
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.ControlCenter4_UxSystem_Pipe_Command
lea edi, [ebp - 0x1c]
call fcn.00507dd0
mov edi, dword [ebp - 0x1c]
mov ecx, edi
cmp edi, ebx
jne 0x4aec68
mov ecx, 0x54ee24
mov eax, dword [esi + 0xc]
push ebx
push ebx
push eax
push eax
push 0xff
push 6
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
je 0x4aec8d
mov dword [esi + 8], eax
mov byte [ebp - 0xd], 1
jmp 0x4aec96
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4aecaa
push edi
call fcn.0051eadb
add esp, 4
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 4], 0xb7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b3b60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor eax, eax
sub esp, 8
cmp edx, eax
je 0x4b3c77
push esi
push edi
mov edi, edx
mov ecx, 0xa
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [edx + 0x24], eax
mov dword [edx + 0x20], eax
mov eax, dword [edx + 8]
mov ecx, 0x18
mov word [edx + 0xe], cx
mov ecx, dword [ebp + 8]
cdq
mov esi, eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*2]
xor esi, edx
lea eax, [eax*8 + 7]
sub esi, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
and eax, 0xfffffffc
imul esi, eax
mov dword [ecx + 0x14], esi
cmp dword [ebx + 8], 0
lea edx, [ebx + 0x428]
lea eax, [ecx + 0x28]
mov dword [ebp + 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jle 0x4b3c73
mov esi, dword [ebx + 4]
mov eax, dword [ebp + 8]
xor edi, edi
test esi, esi
jle 0x4b3c1a
mov esi, dword [ebp - 4]
add esi, 2
movzx edx, byte [eax]
movzx edx, byte [ebx + edx*4 + 0x28]
mov byte [esi - 2], dl
movzx edx, byte [eax]
movzx edx, byte [ebx + edx*4 + 0x29]
mov byte [esi - 1], dl
movzx edx, byte [eax]
movzx edx, byte [ebx + edx*4 + 0x2a]
mov byte [esi], dl
inc edi
inc eax
add esi, 3
cmp edi, dword [ebx + 4]
jl 0x4b3bf0
movzx eax, word [ebx + 0xe]
mov esi, dword [ebx + 4]
imul eax, esi
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
and eax, 0xfffffffc
add dword [ebp + 8], eax
movzx eax, word [ecx + 0xe]
imul eax, dword [ecx + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
and eax, 0xfffffffc
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 8]
jl 0x4b3be1
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4baad0
Capabilities:
Hide graphical window

Disassembly:
push ebx
lea ebx, [edi + 0x78]
call fcn.00509db0
call fcn.00513ce0
pop ebx
cmp eax, 0x100000
je 0x4baaf1
test eax, eax
je 0x4baaf1
call fcn.00513640
jmp 0x4baaf6
call fcn.00513420
test eax, eax
je 0x4bab0a
push 0xffffffffffffffff
push 0
push 0x8310
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
lea esi, [edi + 0x1690]
call fcn.004b0ab0
mov eax, dword [edi + 0x30]
pop esi
test eax, eax
je 0x4bab28
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 4]
mov dword [edi + ecx + 0x2c], 6
ret
Function at 0x4bdf10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531c50
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x2c]
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x40], edi
mov dword [esi + 4], edi
mov byte [esi + 0xc], 0
mov eax, dword [ebx + 0xc]
push 1
push eax
mov ecx, esi
call fcn.0051c380
push 0x7531
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov ecx, eax
test eax, eax
jne 0x4bdf85
mov ecx, 0x54ee24
mov eax, dword [esi + 4]
test eax, eax
je 0x4bdfb3
test ecx, ecx
je 0x4bdfb3
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4bdfbf
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
add eax, esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x4bdfbf
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x7572
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
xor esi, esi
cmp eax, esi
je 0x4bdffd
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea esi, [ebx + 0x50]
test edi, edi
je 0x4be03a
push 0x177b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4be026
push 0x177b
push edi
mov edi, eax
call fcn.00435080
mov edi, dword [ebp + 8]
jmp 0x4be04a
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x4be04a
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x4be056
mov ecx, 0x54ee24
mov eax, dword [ebx + 0x64]
lea esi, [ebx + 0x60]
test eax, eax
je 0x4be087
test ecx, ecx
je 0x4be087
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4be093
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x4be093
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
mov eax, edi
lea ecx, [ebx + 0x74]
call fcn.004be140
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4be0af
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4be0c5
mov eax, dword [ebx + 0x84]
mov ecx, dword [eax + 4]
lea ebx, [ecx + ebx + 0x84]
mov dword [ebx], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4be0dc
push eax
call fcn.0051eadb
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc