joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3980
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x54]
push edi
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
test eax, eax
je 0x4c39c1
lea eax, [esp + 0x24]
push eax
push esi
call ebx
push edi
push 0x5601194c
push 0
push 0x111
push esi
call fcn.00411430
mov ebx, eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x40], 0x20
mov byte [esp + 0x51], 0x80
mov edx, dword [ecx]
mov dword [esp + 0x44], 0x4a
add edx, eax
lea eax, [esp + 0x68]
push edx
push eax
call fcn.004bc810
mov eax, dword [esp + 0x70]
add esp, 0x1c
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x4c3a2a
mov edx, dword [eax - 4]
test edx, edx
jge 0x4c3a8a
mov esi, dword [eax - 8]
test esi, esi
mov dword [esp + 0x50], esi
jle 0x4c3a37
mov ecx, esi
push ecx
lea ecx, [esp + 0x58]
call fcn.00405530
test eax, eax
je 0x4c3a8a
mov edi, dword [esp + 0x54]
lea ecx, [esi + esi + 2]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dword [eax - 8], ecx
mov eax, dword [0x546564]
cmp ebp, eax
je 0x4c3a86
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4c3a86
push ebp
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
sub edx, ebp
push eax
push 0x808a
push 0x440
push ebx
mov word [esp + 0x4e], dx
call esi
mov edi, dword [esp + 0x10]
push 0
push 0
push 0x31
push edi
call esi
push 1
push eax
push 0x30
push ebx
call esi
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x421
push ebx
call esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push ebx
call fcn.005187e0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add eax, edx
add esp, 0xc
add ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
sub eax, edx
push 0
sub ecx, esi
push eax
push ecx
push edx
push esi
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x54]
mov ecx, dword [0x546564]
pop edi
pop esi
lea edx, [eax - 0xc]
pop ebp
cmp edx, ecx
pop ebx
je 0x4c3b54
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4c3b54
mov eax, dword [esp + 0x44]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
add esp, 0x3c
ret
Function at 0x4d04c0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
push edi
push 0
push 0x80
push 3
push 0
push 1
push SHChangeNotifyDeregister
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
jne 0x4d0529
push 0
push str.Error1_
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [0x546564]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x4d0521
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d0521
push esi
call fcn.00531732
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push ebx
push ebp
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
lea esi, [eax + 1]
mov dword [esp + 0x18], 0
mov eax, dword [ebx + 4]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jg 0x4d055a
cmp esi, dword [eax - 4]
jle 0x4d05bb
mov eax, dword [eax - 8]
cmp esi, eax
mov dword [esp + 0x24], eax
jge 0x4d0567
mov esi, eax
test esi, esi
jne 0x4d0613
mov ecx, dword [0x546560]
mov dword [ebx + 4], ecx
mov edi, dword [ebx + 4]
lea ecx, [eax + eax + 2]
mov eax, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x24]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ecx - 8], edx
mov eax, dword [0x546564]
cmp ebp, eax
je 0x4d05b7
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d05b7
push ebp
call fcn.00531732
add esp, 4
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push 0
push edx
push ecx
push eax
push edi
mov dword [ebx], eax
mov dword [ebx + 8], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
pop ebp
pop ebx
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4d0608
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d0608
push esi
call fcn.00531732
add esp, 4
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret
lea edx, [esi + esi + 0xe]
push edx
call fcn.00531ba5
add esp, 4
test eax, eax
je 0x4d0646
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x24]
jmp 0x4d0578
xor eax, eax
jmp 0x4d05be
Function at 0x4d0650
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4d06b7
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d068e
push 0
push str.Create_Error_
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [0x546564]
lea eax, [edi - 0xc]
cmp eax, ecx
je 0x4d06b2
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d06b2
push esi
call fcn.00531732
add esp, 4
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push 0
push ecx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 4]
push edx
push eax
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x546564]
lea ecx, [edi - 0xc]
cmp ecx, eax
je 0x4d0703
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d0703
push esi
call fcn.00531732
add esp, 4
pop edi
mov eax, 1
pop esi
ret
Function at 0x4d0f60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d1010
push ebx
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 0
mov eax, dword [edi]
mov eax, dword [eax - 8]
lea ecx, [eax + eax + 1]
push ecx
call fcn.00532596
mov ebx, eax
mov eax, dword [edi]
add esp, 4
mov edx, dword [eax - 8]
push 0
push 0
shl edx, 1
push edx
push ebx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [edi]
lea eax, [esp + 0x14]
push 0
push eax
mov edx, dword [ecx - 8]
push edx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x546564]
lea eax, [ebp - 0xc]
pop edi
cmp eax, ecx
pop ebx
je 0x4d1008
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d1008
push esi
call fcn.00531732
add esp, 4
pop esi
mov eax, 1
pop ebp
ret
mov eax, dword [0x546564]
lea ecx, [ebp - 0xc]
cmp ecx, eax
je 0x4d1033
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d1033
push esi
call fcn.00531732
add esp, 4
pop esi
xor eax, eax
pop ebp
ret
Function at 0x4d6090
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
mov dword [ebx + 0xb8], eax
jne 0x4d60ab
xor ebp, ebp
jmp 0x4d60b4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov eax, dword [ebx + 0x90]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x4d60ca
cmp ebp, dword [eax - 4]
jle 0x4d6138
mov edx, dword [0x546564]
add eax, 0xfffffff4
cmp eax, edx
je 0x4d6100
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d60f4
mov ecx, dword [ebx + 0x90]
sub ecx, 0xc
push ecx
call fcn.00531732
add esp, 4
mov edx, dword [0x546560]
mov dword [ebx + 0x90], edx
test ebp, ebp
jne 0x4d610b
mov eax, dword [0x546560]
jmp 0x4d6132
lea ecx, [ebp + ebp + 0xe]
push ecx
call fcn.00531ba5
add esp, 4
test eax, eax
je 0x4d6169
mov dword [eax], 1
mov word [eax + ebp*2 + 0xc], 0
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
add eax, 0xc
mov dword [ebx + 0x90], eax
lea eax, [ebp + ebp]
push edi
mov edi, dword [ebx + 0x90]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x90]
pop edi
mov dword [ecx - 8], ebp
mov edx, dword [ebx + 0x90]
mov word [edx + eax], 0
mov ecx, dword [ebx + 0xa4]
mov eax, dword [ebx + 0xc8]
inc ecx
test eax, eax
mov dword [ebx + 0xa4], ecx
jne 0x4d61a5
lea eax, [ebx + 0xc4]
push eax
push 0
push ebx
push 0x4d61b0
push 0
push 0
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0xc8], eax
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
Function at 0x4d61d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebx, ecx
mov ecx, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x20]
push eax
push ecx
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4d6202
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
jne 0x4d6218
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4d6235
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x4d625d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebx + 0xb4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 0xb4], 0
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 0xb4], eax
je 0x4d62ee
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4d62ee
mov ecx, ebp
mov edi, eax
mov eax, ecx
xor ebp, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x1c], ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0xb4]
lea ecx, [esp + 0x1c]
push ecx
push ebp
push edx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4d62ee
mov edi, dword [esp + 0x1c]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebp
je 0x4d62e0
lea eax, [esp + 0x18]
mov dword [esi], 0x540fc0
push eax
push edi
mov dword [esp + 0x20], ebp
call sub.gdiplus.dll_GdipCreateBitmapFromStreamICM
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
mov dword [esp + 0x10], esi
jmp 0x4d62e4
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x4d6ca0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2f8
lea eax, [esp + 0x2fc]
mov dword [esp], ecx
neg eax
sbb eax, eax
lea ecx, [esp + 0x300]
and eax, ecx
push ebx
xor ebx, ebx
mov edx, dword [eax]
cmp edx, ebx
jne 0x4d6cdf
lea ecx, [esp + 0x300]
call fcn.0050fe40
xor eax, eax
pop ebx
add esp, 0x2f8
ret 8
push esi
push edi
mov ecx, 0xac
xor eax, eax
lea edi, [esp + 0x54]
mov dword [esp + 0x50], ebx
rep stosd dword es:[edi], eax
push 0x4008
lea eax, [esp + 0x54]
push 0x2b4
push eax
push ebx
push edx
mov dword [esp + 0x24], ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4d6e50
cmp dword [esp + 0x54], ebx
je 0x4d6e50
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x4d6e50
push ebp
push ebx
push ebx
push ebx
lea ecx, [esp + 0x38]
push ebx
mov edi, 0x100
push ecx
push ebx
mov dword [esp + 0x44], 0x28
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov word [esp + 0x50], 1
mov word [esp + 0x52], 0x20
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebp, eax
cmp ebp, ebx
je 0x4d6e47
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push ebp
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov eax, dword [edx + 0xcc]
mov dword [esp + 0x28], edi
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edi, eax
cmp edi, 0xffffffff
je 0x4d6ddf
push ebx
push ebx
lea eax, [esp + 0x24]
push ebx
push eax
push 2
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push edi
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
push 1
push ebx
mov eax, dword [edx + 0x84]
push ebx
push esi
push ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x4d6e2d
lea ecx, [esp + 0x10]
mov dword [edi], 0x540fc0
push ecx
push ebx
push ebp
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov edx, dword [esp + 0x10]
mov dword [edi + 8], eax
mov dword [edi + 4], edx
mov dword [esp + 0x14], edi
jmp 0x4d6e31
mov dword [esp + 0x14], ebx
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, ebx
je 0x4d6e43
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [esp + 0x18]
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
lea ecx, [esp + 0x308]
call fcn.0050fe40
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0x2f8
ret 8
Function at 0x4db9a0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x808
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push esi
mov esi, dword [esp + 0x818]
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
xor edi, edi
push 0xb0
push esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x4dba30
cmp dword [esp + 0x10], edi
jne 0x4dba30
mov edx, dword [0x553d9c]
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], edx
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x18]
push 0x2e
push ecx
call fcn.0053239a
add esp, 8
test eax, eax
je 0x4dba8b
lea edx, [esp + 0x18]
sub eax, edx
sar eax, 1
push eax
jmp 0x4dba81
mov eax, dword [0x553d9c]
mov ecx, 0x1ff
mov dword [esp + 0x18], eax
xor eax, eax
lea edi, [esp + 0x1c]
push 0x400
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 0x18]
push 0x2e
push edx
call fcn.0053239a
mov ecx, dword [esp + 0x18]
add esp, 8
test ecx, ecx
jne 0x4dba7f
test eax, eax
je 0x4dba8b
lea ecx, [esp + 0x18]
push ebp
sub eax, ecx
sar eax, 1
inc eax
push eax
jmp 0x4dba83
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x808
ret
Function at 0x4df280
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x20
push esi
mov esi, ecx
mov dword [eax], 1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x1f0]
push edi
cmp eax, ecx
je 0x4df368
push ebx
mov ecx, esi
mov dword [esi + 0x1f0], eax
call fcn.004eb6b0
mov ebx, dword [esi + 0x1f0]
test ebx, ebx
je 0x4df2c4
push 1
mov ecx, esi
call fcn.004def80
mov ecx, dword [esi + 0x22c]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x804a
push 0x419
push ecx
call ebp
mov edx, eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x14]
test ebx, ebx
rep stosd dword es:[edi], eax
setne al
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 1
lea ecx, [eax + edx - 2]
mov eax, dword [esi + 0x22c]
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], ecx
push edx
push 0x804a
push 0x440
push eax
call ebp
mov ecx, dword [esi + 0xf0]
pop ebp
test ecx, ecx
je 0x4df336
push 0
call fcn.004a0440
push ebx
lea ecx, [esi + 0x4a8]
call fcn.00423de0
mov eax, dword [0x54e8c4]
pop ebx
test eax, eax
je 0x4df368
mov ecx, dword [esi + 0x270]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call edi
mov edx, dword [esi + 0x270]
push 5
push edx
call edi
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 0x10
Function at 0x4dff80
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x4dffc4
push 0x40f4
call fcn.00531ba5
add esp, 4
test eax, eax
je 0x4dffa5
mov ecx, eax
call fcn.0052c5f0
jmp 0x4dffa7
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esi + 0x50], eax
push ecx
mov ecx, eax
call fcn.0052aad0
mov edx, dword [esi + 0x50]
push 0
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esi + 0x50]
push 0xffffffffffffffff
mov ecx, dword [edi + 0xcc]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
test eax, eax
je 0x4dffe4
mov dword [edi + 0x40e4], 0
mov ecx, dword [esi + 0x50]
push 0xd3
call fcn.0052d3a0
pop edi
pop esi
ret
Function at 0x4e0ce0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x5c]
mov ebx, ecx
cmp dword [edi + 0xc], 0x851f
jne 0x4e0e14
mov eax, dword [0x55abcc]
test eax, eax
je 0x4e0e14
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push eax
call esi
push 7
push eax
call esi
mov ebp, eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov esi, eax
push esi
push ebp
call fcn.0047efd0
push esi
call fcn.004755e0
mov eax, dword [edi + 0xc]
mov edi, dword [edi]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push 0
push eax
push 0x419
push edi
call ebp
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x41d
push edi
call ebp
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edx
push ecx
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x1388
push ecx
mov edx, esp
push 0xc7a5
push edx
call fcn.004bc8d0
add esp, 8
mov ecx, ebx
call fcn.004e9b20
mov ecx, ebx
call fcn.004dff80
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x50]
push 0x122
push edx
push eax
push esi
call fcn.0052b0d0
mov ecx, dword [0x55d9a4]
mov edi, eax
mov eax, dword [0x55d9a8]
mov dword [0x55d9a0], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x2c
push eax
push 0
push 0x411
push ecx
mov dword [esp + 0x3c], 0x101
call ebp
test edi, edi
je 0x4e0e09
mov edx, dword [0x55ab48]
push 0
push edi
push 0x111
push edx
call ebp
push 0x64
mov ecx, ebx
call fcn.004ed8c0
test esi, esi
je 0x4e0e14
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4e0e20
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, dword [esp + 0x20]
push edi
push 0
push eax
push 0x419
mov edi, ecx
push esi
call ebx
lea ecx, [esp + 0xc]
push ecx
push eax
push 0x41d
push esi
call ebx
lea edx, [esp + 0xc]
push 2
push edx
push 0
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
push esi
push ecx
push eax
mov ecx, edi
call fcn.004db6d0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10

Function at 0x4e0ff0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x800
mov eax, dword [0x553d9c]
push esi
mov edx, dword [esp + 0x808]
mov esi, ecx
push edi
mov dword [esp + 8], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0xc]
push 0x400
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4e105d
push 1
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
push edx
call fcn.00412740
mov ecx, esi
call fcn.004e2e90
mov eax, 1
pop edi
pop esi
add esp, 0x800
ret 4
mov ecx, esi
call fcn.004e4870
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 4
Function at 0x4e1080
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov edi, ecx
mov dword [ebx], 0
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, edi
mov esi, eax
call fcn.004e48f0
cmp esi, eax
jne 0x4e10ce
test eax, eax
je 0x4e10ce
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1032
push eax
call edi
test eax, eax
je 0x4e10ce
push 0
push 0xd
push 0x100
push esi
call edi
mov dword [ebx], 1
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10