joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3550
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
mov eax, dword [0x547570]
push ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov ecx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
push ebp
push esi
cmp ecx, 1
push edi
mov esi, 0x400
jg 0x4c3579
cmp dword [eax - 4], esi
jge 0x4c35dd
mov ebp, dword [eax - 8]
cmp ebp, esi
jle 0x4c3586
test ebp, ebp
mov esi, ebp
je 0x4c35b1
lea eax, [esi + esi + 0xe]
push eax
call fcn.00532695
add esp, 4
test eax, eax
je 0x4c36a4
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
lea ecx, [ebp + ebp + 2]
lea esi, [ebx + 0xc]
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [esp + 0x10], eax
push ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0x400
push eax
mov edx, dword [ecx + 0x50]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esp + 0x10]
lea esi, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 1
jle 0x4c3636
lea ecx, [esp + 0x10]
call fcn.004124c0
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4c3636
mov edx, dword [esi + 4]
mov edi, dword [esp + 0x10]
add esi, 0xc
lea ecx, [edx + edx + 2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x10]
push 1
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x18]
mov word [ecx + eax*2], 0
mov ecx, esp
push edx
call fcn.00405440
call fcn.004edef0
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
add esp, 8
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c3698
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4c3698
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10
xor eax, eax
jmp 0x4c35dd
Function at 0x4c36b0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
mov eax, dword [0x547570]
push ebx
mov dword [esp + 4], eax
push ebp
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
mov dword [esp + 0xc], ecx
push esi
cmp edx, 1
push edi
mov ecx, 0x400
jg 0x4c36d9
cmp dword [eax - 4], ecx
jge 0x4c3731
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x4c36e2
mov ecx, ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4c3731
mov edi, dword [esp + 0x10]
lea ecx, [ebp + ebp + 2]
mov eax, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebp
mov eax, dword [0x547574]
cmp ebx, eax
je 0x4c372d
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4c372d
push ebx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0x400
push eax
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
lea esi, [ecx - 0xc]
cmp eax, 1
jle 0x4c378a
lea ecx, [esp + 0x10]
call fcn.004124c0
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
push edx
call fcn.00405530
test eax, eax
je 0x4c378a
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x10]
add esi, 0xc
lea ecx, [eax + eax + 2]
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 eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
push 0
push 0x554e08
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov word [edx + eax*2], 0
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x4c37f3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4c37f3
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
xor eax, eax
add esp, 8
ret 0x10
Function at 0x4c4a00
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 0x4c4a41
lea eax, [esp + 0x24]
push eax
push esi
call ebx
push edi
push 0x5601194c
push 0
push 0x111
push esi
call fcn.00411280
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.004bd8d0
mov eax, dword [esp + 0x70]
add esp, 0x1c
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x4c4aaa
mov edx, dword [eax - 4]
test edx, edx
jge 0x4c4b0a
mov esi, dword [eax - 8]
test esi, esi
mov dword [esp + 0x50], esi
jle 0x4c4ab7
mov ecx, esi
push ecx
lea ecx, [esp + 0x58]
call fcn.00405530
test eax, eax
je 0x4c4b0a
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 [0x547574]
cmp ebp, eax
je 0x4c4b06
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4c4b06
push ebp
call fcn.00532222
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.00519440
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 [0x547574]
pop edi
pop esi
lea edx, [eax - 0xc]
pop ebp
cmp edx, ecx
pop ebx
je 0x4c4bd4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4c4bd4
mov eax, dword [esp + 0x44]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
add esp, 0x3c
ret
Function at 0x4d1ba0
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 0x4d1c50
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.00533086
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 [0x547574]
lea eax, [ebp - 0xc]
pop edi
cmp eax, ecx
pop ebx
je 0x4d1c48
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d1c48
push esi
call fcn.00532222
add esp, 4
pop esi
mov eax, 1
pop ebp
ret
mov eax, dword [0x547574]
lea ecx, [ebp - 0xc]
cmp ecx, eax
je 0x4d1c73
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d1c73
push esi
call fcn.00532222
add esp, 4
pop esi
xor eax, eax
pop ebp
ret
Function at 0x4d6cd0
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 0x4d6ceb
xor ebp, ebp
jmp 0x4d6cf4
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 0x4d6d0a
cmp ebp, dword [eax - 4]
jle 0x4d6d78
mov edx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, edx
je 0x4d6d40
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4d6d34
mov ecx, dword [ebx + 0x90]
sub ecx, 0xc
push ecx
call fcn.00532222
add esp, 4
mov edx, dword [0x547570]
mov dword [ebx + 0x90], edx
test ebp, ebp
jne 0x4d6d4b
mov eax, dword [0x547570]
jmp 0x4d6d72
lea ecx, [ebp + ebp + 0xe]
push ecx
call fcn.00532695
add esp, 4
test eax, eax
je 0x4d6da9
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 0x4d6de5
lea eax, [ebx + 0xc4]
push eax
push 0
push ebx
push 0x4d6df0
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 0x4d6e10
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 0x4d6e42
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 0x4d6e58
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 0x4d6e75
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x4d6e9d
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 0x4d6f2e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4d6f2e
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 0x4d6f2e
mov edi, dword [esp + 0x1c]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebp
je 0x4d6f20
lea eax, [esp + 0x18]
mov dword [esi], 0x541fc8
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 0x4d6f24
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 0x4d78e0
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 0x4d791f
lea ecx, [esp + 0x300]
call fcn.00510740
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 0x4d7a90
cmp dword [esp + 0x54], ebx
je 0x4d7a90
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x4d7a90
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 0x4d7a87
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 0x4d7a1f
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 0x4d7a6d
lea ecx, [esp + 0x10]
mov dword [edi], 0x541fc8
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 0x4d7a71
mov dword [esp + 0x14], ebx
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, ebx
je 0x4d7a83
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.00510740
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0x2f8
ret 8
Function at 0x4dc560
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 0x4dc5f0
cmp dword [esp + 0x10], edi
jne 0x4dc5f0
mov edx, dword [0x554e0c]
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.00532e8a
add esp, 8
test eax, eax
je 0x4dc64b
lea edx, [esp + 0x18]
sub eax, edx
sar eax, 1
push eax
jmp 0x4dc641
mov eax, dword [0x554e0c]
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.00532e8a
mov ecx, dword [esp + 0x18]
add esp, 8
test ecx, ecx
jne 0x4dc63f
test eax, eax
je 0x4dc64b
lea ecx, [esp + 0x18]
push ebp
sub eax, ecx
sar eax, 1
inc eax
push eax
jmp 0x4dc643
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 0x4dfe40
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 0x4dff28
push ebx
mov ecx, esi
mov dword [esi + 0x1f0], eax
call fcn.004ec270
mov ebx, dword [esi + 0x1f0]
test ebx, ebx
je 0x4dfe84
push 1
mov ecx, esi
call fcn.004dfb40
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 0x4dfef6
push 0
call fcn.004a1390
push ebx
lea ecx, [esi + 0x4a8]
call fcn.00423cb0
mov eax, dword [0x54f934]
pop ebx
test eax, eax
je 0x4dff28
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 0x4e0b40
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x4e0b84
push 0x40f4
call fcn.00532695
add esp, 4
test eax, eax
je 0x4e0b65
mov ecx, eax
call fcn.0052d0c0
jmp 0x4e0b67
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esi + 0x50], eax
push ecx
mov ecx, eax
call fcn.0052b5a0
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 0x4e0ba4
mov dword [edi + 0x40e4], 0
mov ecx, dword [esi + 0x50]
push 0xd3
call fcn.0052de70
pop edi
pop esi
ret
Function at 0x4e18a0
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 0x4e19d4
mov eax, dword [0x55bc6c]
test eax, eax
je 0x4e19d4
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.0047f8a0
push esi
call fcn.00475eb0
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.004bd990
add esp, 8
mov ecx, ebx
call fcn.004ea6e0
mov ecx, ebx
call fcn.004e0b40
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.0052bba0
mov ecx, dword [0x55ea5c]
mov edi, eax
mov eax, dword [0x55ea60]
mov dword [0x55ea58], 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 0x4e19c9
mov edx, dword [0x55bbe8]
push 0
push edi
push 0x111
push edx
call ebp
push 0x64
mov ecx, ebx
call fcn.004ee480
test esi, esi
je 0x4e19d4
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 0x4e19e0
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.004dc290
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10

Function at 0x4e1bb0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x800
mov eax, dword [0x554e0c]
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 0x4e1c1d
push 1
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
push edx
call fcn.00412590
mov ecx, esi
call fcn.004e3a50
mov eax, 1
pop edi
pop esi
add esp, 0x800
ret 4
mov ecx, esi
call fcn.004e5430
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 4
Function at 0x4e1c40
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.004e54b0
cmp esi, eax
jne 0x4e1c8e
test eax, eax
je 0x4e1c8e
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1032
push eax
call edi
test eax, eax
je 0x4e1c8e
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