joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7690
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.0051c0d0
test al, al
je 0x4a76d6
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 0x4a76dc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
lea esi, [ebx + 0x120]
call fcn.004a8790
cmp byte [ebx + 0x3c05], 0
lea eax, [ebx + 0x4c]
je 0x4a76fa
push str.PhotoFilerPage_Mini_PanelWnd
jmp 0x4a76ff
push str.PhotoFilerPage_PanelWnd
call fcn.005080c0
mov eax, dword [ebx + 0x4c]
test eax, eax
jne 0x4a7710
mov eax, 0x54ee24
xor edi, edi
cmp dword [ebx + 0x44], edi
jle 0x4a773d
test eax, eax
je 0x4a773d
cmp word [eax], di
je 0x4a773d
mov ecx, dword [ebx + 0x40]
test ecx, ecx
jne 0x4a772c
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 0x4a7749
mov ecx, 0x54ee24
xor esi, esi
cmp dword [ebx + 0x44], esi
jle 0x4a7776
test ecx, ecx
je 0x4a7776
cmp word [ecx], si
je 0x4a7776
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x4a7765
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 0x4a7782
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebx + 0x44], eax
jle 0x4a77ad
test ecx, ecx
je 0x4a77ad
cmp word [ecx], ax
je 0x4a77ad
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x4a779e
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.004a7c30
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.004a8470
mov ecx, dword [ebx + 0x3c10]
test eax, eax
je 0x4a77ff
test ecx, ecx
je 0x4a77ff
mov dword [ebx + 0xcc], eax
mov dword [ebx + 0xd0], ecx
push ebx
call fcn.004a7cc0
push ebx
call fcn.004a7d60
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
mov eax, edi
call fcn.004a88c0
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.0051eb9c
mov esp, ebp
pop ebp
ret
Function at 0x4a80c0
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, 0x554c58
call fcn.00470370
xor ebx, ebx
lea eax, [edi + 0x4c]
cmp byte [ebp + 0x1c], bl
je 0x4a80ea
push str.PhotoFilerPage_Mini_PanelSplitBar
jmp 0x4a80ef
push str.PhotoFilerPage_PanelSplitBar
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp eax, ebx
jne 0x4a8102
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], ebx
jle 0x4a812c
cmp ecx, ebx
je 0x4a812c
cmp word [ecx], bx
je 0x4a812c
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4a811e
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 0x4a813e
mov eax, 0x54ee24
mov dword [ebp - 8], ebx
cmp dword [esi + 8], ebx
jle 0x4a816c
cmp eax, ebx
je 0x4a816c
cmp word [eax], bx
je 0x4a816c
mov ecx, dword [esi + 4]
cmp ecx, ebx
jne 0x4a815b
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 0x4a8178
mov ecx, 0x54ee24
mov dword [ebp - 4], ebx
cmp dword [esi + 8], ebx
jle 0x4a81a6
cmp ecx, ebx
je 0x4a81a6
cmp word [ecx], bx
je 0x4a81a6
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4a8195
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 0x4a81b2
mov ecx, 0x54ee24
mov dword [ebp + 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x4a81e0
cmp ecx, ebx
je 0x4a81e0
cmp word [ecx], bx
je 0x4a81e0
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4a81cf
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.00503c10
mov edi, eax
test edi, edi
je 0x4a8231
cmp dword [esi + 0x48], 0
jne 0x4a822d
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 0x4a88c0
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 0x4a89ee
test edi, edi
jle 0x4a89db
test ecx, ecx
jle 0x4a89db
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 0x4a8917
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 0x4a8956
cmp byte [esi + 0x433], 0
je 0x4a8956
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.0051c380
push str.PanelFncBtn_BtnWnd
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [esi + 0x4c]
mov ecx, eax
test eax, eax
jne 0x4a8971
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x4a899c
test ecx, ecx
je 0x4a899c
cmp word [ecx], ax
je 0x4a899c
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4a898d
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.0043bce0
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4a8a01
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test eax, eax
jne 0x4a8a15
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 0x4a8a15
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x2c], 0x57
jmp 0x4a891a
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x2c], 6
jmp 0x4a891a
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.0043bce0
mov eax, dword [esi + 0x5fc]
test eax, eax
je 0x4a8a52
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test eax, eax
jne 0x4a8a66
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 0x4a8a66
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.0043bce0
mov eax, dword [esi + 0x350]
test eax, eax
je 0x4a8aa3
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test eax, eax
jne 0x4a8ab7
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 0x4a8ab7
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.00427ba0
push edi
add esi, 0x930
push esi
call fcn.00427ba0
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4a91e0
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 0x4a91fa
push 0
push eax
call edi
jmp 0x4a920e
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 0x4a9238
cmp byte [ebx + 0x113], 0
je 0x4a9238
mov eax, dword [ebx + 0x10]
push eax
mov word [ebx + 0x113], 0
call fcn.0043c6b0
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.0051c380
lea eax, [esi + 0x96c]
call fcn.0044a4d0
mov eax, dword [esi + 0x960]
test eax, eax
je 0x4a9277
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 0x540460
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], 0x559440
mov dword [esi + 0x2c], 0x559448
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.004a7030
lea ecx, [esi + 0x3c7c]
push ecx
mov byte [ebp - 4], 2
call fcn.0049d020
lea edx, [esi + 0xbe90]
push edx
call fcn.004b9ad0
lea eax, [esi + 0x1284c]
call fcn.00445460
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.004baac0
pop edi
jmp 0x4adb39
cmp eax, 0x2348
jne 0x4adb09
push esi
lea esi, [ebx + 0x3c7c]
call fcn.0049d940
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.004a7690
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.0051c6c0
jmp 0x4adfba
cmp eax, 0x2348
jne 0x4adfba
lea ecx, [ebx + 0x3ca8]
call fcn.0051c6c0
mov eax, dword [ebx + 0xbde8]
test eax, eax
je 0x4adfba
mov eax, dword [eax + 0xe6c]
test eax, eax
jne 0x4adfaa
call fcn.00513e10
cmp eax, 0x100000
je 0x4adfa1
test eax, eax
je 0x4adfa1
call fcn.00513770
jmp 0x4adfa6
call fcn.00513550
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.00513fe0
lea edi, [ebx + 0xbe90]
call fcn.004ba9f0
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.00513fe0
lea ecx, [ebx + 0x3c7c]
push ecx
call fcn.0049d820
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.0046bc90
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.004baac0
jmp 0x4ae0a3
cmp eax, 0x2348
jne 0x4ae0a3
lea esi, [ebx + 0x3c7c]
call fcn.0049d940
mov eax, dword [ebx + 0x12918]
mov dword [ebx + 0x1291c], eax
cmp eax, 0x2348
jne 0x4ae110
lea ecx, [ebx + 0x3ca8]
call fcn.0051c6a0
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.0046bc90
push 0x40000
mov dword [ebx + 0x12918], 0x2347
call fcn.00513fe0
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ecx, [ebx + 0x88]
call fcn.0051c6a0
push 0x30000
call fcn.00513fe0
lea eax, [ebx + 0x5c]
call fcn.004a8080
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 0x4aeb50
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5380c8
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 0x4aec5e
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 0x4aebdf
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 0x4aebdf
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 0x4aec08
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 0x4aec2d
mov dword [esi + 8], eax
mov byte [ebp - 0xd], 1
jmp 0x4aec36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4aec4a
push edi
call fcn.0051ebab
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 0x4b3af0
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 0x4b3c07
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 0x4b3c03
mov esi, dword [ebx + 4]
mov eax, dword [ebp + 8]
xor edi, edi
test esi, esi
jle 0x4b3baa
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 0x4b3b80
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 0x4b3b71
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 0x4baac0
Capabilities:
Hide graphical window

Disassembly:
push ebx
lea ebx, [edi + 0x78]
call fcn.00509db0
call fcn.00513e10
pop ebx
cmp eax, 0x100000
je 0x4baae1
test eax, eax
je 0x4baae1
call fcn.00513770
jmp 0x4baae6
call fcn.00513550
test eax, eax
je 0x4baafa
push 0xffffffffffffffff
push 0
push 0x8310
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
lea esi, [edi + 0x1690]
call fcn.004b0a40
mov eax, dword [edi + 0x30]
pop esi
test eax, eax
je 0x4bab18
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 0x538020
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.0051c450
push 0x7531
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x5776a0
call fcn.00471480
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.00471480
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.0051ebab
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.004351f0
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.0051ebab
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
Function at 0x4bed40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jle 0x4bed91
push edi
xor edi, edi
mov edi, edi
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + edi + 8]
add eax, edi
test ecx, ecx
je 0x4bed79
cmp byte [ebp + 8], 0
je 0x4bed6e
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4bed87
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4bed87
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 4]
mov dword [edx + eax + 0x10], 6
inc ebx
add edi, 0x24
cmp ebx, dword [esi + 0x14]
jl 0x4bed50
pop edi
pop ebx
pop ebp
ret 4

Function at 0x4bffd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 2
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
lea esi, [edi + 0x1fc]
jne 0x4c0033
mov eax, dword [esi + 0x38c]
test eax, eax
je 0x4bfff8
push 0
push eax
call ebx
jmp 0x4c000c
mov eax, dword [esi + 0x388]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x388], 6
mov eax, dword [esi + 0x638]
test eax, eax
je 0x4c001d
push 5
push eax
call ebx
jmp 0x4c0083
mov edx, dword [esi + 0x634]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x634], 6
jmp 0x4c0083
mov eax, dword [esi + 0x638]
test eax, eax
je 0x4c0044
push 0
push eax
call ebx
jmp 0x4c0058
mov ecx, dword [esi + 0x634]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x634], 6
mov eax, dword [esi + 0x38c]
test eax, eax
je 0x4c0069
push 5
push eax
call ebx
jmp 0x4c007d
mov eax, dword [esi + 0x388]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x388], 6
cmp dword [ebp + 0xc], 0
jne 0x4c009d
mov ebx, dword [ebp + 8]
lea eax, [edi + 0xb8]
call fcn.0051c750
mov ebx, dword [ebp + 0x10]
mov eax, ebx
call fcn.004c0f30
jmp 0x4c00a0
mov ebx, dword [ebp + 0x10]
fild dword [ebp + 0x10]
mov edx, dword [edi + 0xe7c]
sub edx, dword [edi + 0xe08]
mov esi, dword [ebp + 0x14]
fidiv dword [edi + 0xe04]
add edx, esi
push 1
push edx
fimul dword [edi + 0xe78]
call fcn.005300e0
push eax
lea ecx, [edi + 0xda0]
call fcn.0051c380
mov dx, word [edi + 0xe24]
mov ax, word [edi + 0xe0c]
sub dx, word [edi + 0xe08]
add ax, ax
sub bx, ax
add dx, si
movzx eax, dx
mov edx, dword [edi + 0xe5c]
movzx ecx, bx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push 5
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebx
pop ebp
ret 0x10