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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531268
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x559024]
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], 0x53f914
mov dword [edi + 0x2c], 0x53f91c
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.004f88a0
lea esi, [edi + 0x120]
call fcn.0049ea20
lea eax, [edi + 0xc38]
push eax
mov byte [ebp - 4], 4
call fcn.00499fe0
mov ecx, 0xc
lea eax, [edi + 0x3bf4]
mov byte [eax], bl
inc eax
dec ecx
jne 0x49d8c7
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 0x49de70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x559024]
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.00510dc0
test al, al
je 0x49deb6
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 0x49debc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
lea esi, [ebx + 0x120]
call fcn.0049ef70
cmp byte [ebx + 0x3c05], 0
lea eax, [ebx + 0x4c]
je 0x49deda
push str.PhotoFilerPage_Mini_PanelWnd
jmp 0x49dedf
push str.PhotoFilerPage_PanelWnd
call fcn.004fcf00
mov eax, dword [ebx + 0x4c]
test eax, eax
jne 0x49def0
mov eax, 0x538640
xor edi, edi
cmp dword [ebx + 0x44], edi
jle 0x49df1d
test eax, eax
je 0x49df1d
cmp word [eax], di
je 0x49df1d
mov ecx, dword [ebx + 0x40]
test ecx, ecx
jne 0x49df0c
mov ecx, 0x538640
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 0x49df29
mov ecx, 0x538640
xor esi, esi
cmp dword [ebx + 0x44], esi
jle 0x49df56
test ecx, ecx
je 0x49df56
cmp word [ecx], si
je 0x49df56
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x49df45
mov eax, 0x538640
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 0x49df62
mov ecx, 0x538640
xor eax, eax
cmp dword [ebx + 0x44], eax
jle 0x49df8d
test ecx, ecx
je 0x49df8d
cmp word [ecx], ax
je 0x49df8d
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x49df7e
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
mov eax, ebx
call fcn.0049e410
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.0049ec50
mov ecx, dword [ebx + 0x3c10]
test eax, eax
je 0x49dfdf
test ecx, ecx
je 0x49dfdf
mov dword [ebx + 0xcc], eax
mov dword [ebx + 0xd0], ecx
push ebx
call fcn.0049e4a0
push ebx
call fcn.0049e540
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
mov eax, edi
call fcn.0049f0a0
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.00513498
mov esp, ebp
pop ebp
ret
Function at 0x49e8a0
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, 0x53b7a8
call fcn.00466b30
xor ebx, ebx
lea eax, [edi + 0x4c]
cmp byte [ebp + 0x1c], bl
je 0x49e8ca
push str.PhotoFilerPage_Mini_PanelSplitBar
jmp 0x49e8cf
push str.PhotoFilerPage_PanelSplitBar
call fcn.004fcf00
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp eax, ebx
jne 0x49e8e2
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], ebx
jle 0x49e90c
cmp ecx, ebx
je 0x49e90c
cmp word [ecx], bx
je 0x49e90c
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x49e8fe
mov eax, 0x538640
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 0x49e91e
mov eax, 0x538640
mov dword [ebp - 8], ebx
cmp dword [esi + 8], ebx
jle 0x49e94c
cmp eax, ebx
je 0x49e94c
cmp word [eax], bx
je 0x49e94c
mov ecx, dword [esi + 4]
cmp ecx, ebx
jne 0x49e93b
mov ecx, 0x538640
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 0x49e958
mov ecx, 0x538640
mov dword [ebp - 4], ebx
cmp dword [esi + 8], ebx
jle 0x49e986
cmp ecx, ebx
je 0x49e986
cmp word [ecx], bx
je 0x49e986
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x49e975
mov eax, 0x538640
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 0x49e992
mov ecx, 0x538640
mov dword [ebp + 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x49e9c0
cmp ecx, ebx
je 0x49e9c0
cmp word [ecx], bx
je 0x49e9c0
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x49e9af
mov eax, 0x538640
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.004f8a80
mov edi, eax
test edi, edi
je 0x49ea11
cmp dword [esi + 0x48], 0
jne 0x49ea0d
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 0x49f0a0
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 0x49f1ce
test edi, edi
jle 0x49f1bb
test ecx, ecx
jle 0x49f1bb
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 0x49f0f7
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 0x49f136
cmp byte [esi + 0x433], 0
je 0x49f136
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.00511070
push str.PanelFncBtn_BtnWnd
lea eax, [esi + 0x4c]
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
mov ecx, eax
test eax, eax
jne 0x49f151
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x49f17c
test ecx, ecx
je 0x49f17c
cmp word [ecx], ax
je 0x49f17c
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x49f16d
mov eax, 0x538640
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.00433960
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x49f1e1
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test eax, eax
jne 0x49f1f5
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 0x49f1f5
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x2c], 0x57
jmp 0x49f0fa
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x2c], 6
jmp 0x49f0fa
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.00433960
mov eax, dword [esi + 0x5fc]
test eax, eax
je 0x49f232
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test eax, eax
jne 0x49f246
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 0x49f246
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.00433960
mov eax, dword [esi + 0x350]
test eax, eax
je 0x49f283
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test eax, eax
jne 0x49f297
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 0x49f297
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.00438ec0
push edi
add esi, 0x930
push esi
call fcn.00438ec0
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x49f9a0
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 0x49f9ba
push 0
push eax
call edi
jmp 0x49f9ce
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 0x49f9f8
cmp byte [ebx + 0x113], 0
je 0x49f9f8
mov eax, dword [ebx + 0x10]
push eax
mov word [ebx + 0x113], 0
call fcn.00434320
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.00511070
lea eax, [esi + 0x96c]
call fcn.00441c90
mov eax, dword [esi + 0x960]
test eax, eax
je 0x49fa37
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 0x4a4010
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5338f0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x559024]
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], 0x53fcd0
mov dword [esi + 0x2c], 0x53fcd8
mov dword [esi + 0x126c0], 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.0049d800
lea ecx, [esi + 0x3c7c]
push ecx
mov byte [ebp - 4], 2
call fcn.004937d0
lea edx, [esi + 0xbd60]
push edx
call fcn.004afe20
lea eax, [esi + 0x125ec]
call fcn.0043d000
mov dword [esi + 0x126b8], ebx
mov dword [esi + 0x126bc], 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 0x4a4370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x126bc]
cmp eax, 0x2349
jne 0x4a4393
push edi
lea edi, [ebx + 0xbd60]
call fcn.004b0e10
pop edi
jmp 0x4a43d9
cmp eax, 0x2348
jne 0x4a43a9
push esi
lea esi, [ebx + 0x3c7c]
call fcn.004940f0
pop esi
jmp 0x4a43d9
cmp eax, 0x2347
jne 0x4a43d9
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x4a43c5
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4a43d9
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx + 0x88], 6
add ebx, 0x5c
call fcn.0049de70
mov eax, dword [ebp + 8]
mov dword [eax + 0x126b8], 0
mov dword [eax + 0x126bc], 0x2347
pop ebx
pop ebp
ret 4
Function at 0x4a47c0
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.0x4a47dd
movzx eax, byte [eax + 0x4a4a10]
push edi
jmp dword [eax*4 + 0x4a49fc]
mov eax, dword [ebx + 0x126bc]
mov dword [ebx + 0x126b8], eax
cmp eax, 0x2347
jne 0x4a4804
lea ecx, [ebx + 0x88]
call fcn.005113b0
jmp 0x4a485a
cmp eax, 0x2348
jne 0x4a485a
lea ecx, [ebx + 0x3ca8]
call fcn.005113b0
mov eax, dword [ebx + 0xbcb8]
test eax, eax
je 0x4a485a
mov eax, dword [eax + 0xe6c]
test eax, eax
jne 0x4a484a
call fcn.00508800
cmp eax, 0x100000
je 0x4a4841
test eax, eax
je 0x4a4841
call fcn.00508160
jmp 0x4a4846
call fcn.00507f20
test eax, eax
je 0x4a485a
push 0xffffffffffffffff
push 0
push 0x8311
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x50000
mov dword [ebx + 0x126bc], 0x2349
call fcn.005089e0
lea edi, [ebx + 0xbd60]
call fcn.004b0d40
pop edi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebx + 0x126bc]
mov dword [ebx + 0x126b8], ecx
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x4a48a0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4a48b4
mov edx, dword [ebx + 0x88]
mov eax, dword [edx + 4]
mov dword [ebx + eax + 0x88], 6
push 0x40000
mov dword [ebx + 0x126bc], 0x2348
call fcn.005089e0
lea ecx, [ebx + 0x3c7c]
push ecx
call fcn.00493fd0
mov ebx, dword [ebx + 0xbcb8]
test ebx, ebx
je case.0x4a47dd.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.0x4a47dd.6095
push eax
mov eax, ebx
call fcn.00462570
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebx + 0x126bc]
push esi
cmp eax, 0x2349
jne 0x4a4931
lea edi, [ebx + 0xbd60]
call fcn.004b0e10
jmp 0x4a4943
cmp eax, 0x2348
jne 0x4a4943
lea esi, [ebx + 0x3c7c]
call fcn.004940f0
mov eax, dword [ebx + 0x126b8]
mov dword [ebx + 0x126bc], eax
cmp eax, 0x2348
jne 0x4a49b0
lea ecx, [ebx + 0x3ca8]
call fcn.00511390
mov esi, dword [ebx + 0xbcb8]
test esi, esi
je 0x4a4995
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 0x4a4995
push eax
mov eax, esi
call fcn.00462570
push 0x40000
mov dword [ebx + 0x126b8], 0x2347
call fcn.005089e0
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ecx, [ebx + 0x88]
call fcn.00511390
push 0x30000
call fcn.005089e0
lea eax, [ebx + 0x5c]
call fcn.0049e860
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 0x4a53f0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c248
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x559024]
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 0x4a54fe
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 0x4a547f
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov ecx, edi
lea ebx, [ebp - 0x28]
call fcn.004fca40
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 0x4a547f
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.004fcc10
mov edi, dword [ebp - 0x1c]
mov ecx, edi
cmp edi, ebx
jne 0x4a54a8
mov ecx, 0x538640
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 0x4a54cd
mov dword [esi + 8], eax
mov byte [ebp - 0xd], 1
jmp 0x4a54d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4a54ea
push edi
call fcn.005134a7
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 0x4a9cf0
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 0x4a9e07
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 0x4a9e03
mov esi, dword [ebx + 4]
mov eax, dword [ebp + 8]
xor edi, edi
test esi, esi
jle 0x4a9daa
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 0x4a9d80
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 0x4a9d71
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 0x4b0e10
Capabilities:
Hide graphical window

Disassembly:
push ebx
lea ebx, [edi + 0x78]
call fcn.004fec30
call fcn.00508800
pop ebx
cmp eax, 0x100000
je 0x4b0e31
test eax, eax
je 0x4b0e31
call fcn.00508160
jmp 0x4b0e36
call fcn.00507f20
test eax, eax
je 0x4b0e4a
push 0xffffffffffffffff
push 0
push 0x8310
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
lea esi, [edi + 0x1690]
call fcn.004a6c40
mov eax, dword [edi + 0x30]
pop esi
test eax, eax
je 0x4b0e68
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 0x4b4250
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cc80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x559024]
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.00511140
push 0x7531
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov ecx, eax
test eax, eax
jne 0x4b42c5
mov ecx, 0x538640
mov eax, dword [esi + 4]
test eax, eax
je 0x4b42f3
test ecx, ecx
je 0x4b42f3
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4b42ff
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 0x4b42ff
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x7572
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
xor esi, esi
cmp eax, esi
je 0x4b433d
push eax
call fcn.005134a7
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 0x4b437a
push 0x177b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4b4366
push 0x177b
push edi
mov edi, eax
call fcn.0042dc20
mov edi, dword [ebp + 8]
jmp 0x4b438a
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 0x4b438a
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 0x4b4396
mov ecx, 0x538640
mov eax, dword [ebx + 0x64]
lea esi, [ebx + 0x60]
test eax, eax
je 0x4b43c7
test ecx, ecx
je 0x4b43c7
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4b43d3
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 0x4b43d3
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
mov eax, edi
lea ecx, [ebx + 0x74]
call fcn.004b4460
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4b43ef
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4b4405
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 0x4b441c
push eax
call fcn.005134a7
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