joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457d69
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.005ca213
test eax, eax
je 0x457de7
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 0x28
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x457de3
push edi
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
test eax, eax
je 0x457de7
xor eax, eax
jmp 0x457df4
push 0x40000
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004da623
leave
ret

Function at 0x45b3af
Capabilities:
Get file system object information

Disassembly:
push 0x2c4
mov eax, 0x5fee86
call fcn.004db4be
mov ebx, ecx
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
lea esi, [eax - 1]
cmp esi, 2
jl 0x45b401
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x9c]
test ecx, ecx
je 0x45b3eb
lea eax, [esi + edi]
push eax
call fcn.00464c78
push dword [ebp + 8]
mov edx, 0x400
mov ecx, esi
call fcn.00443388
dec esi
pop ecx
cmp esi, 2
jge 0x45b3d8
push ecx
push ecx
lea ecx, [ebx + 0x168]
mov esi, ebx
call fcn.0047016f
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push 0
push 0x6349bc
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp dword [esi + 0x9c], 0
mov edi, eax
mov dword [ebp - 0x2cc], edi
je 0x45b4b4
lea ecx, [ebp - 0x2d0]
call fcn.005c8f50
push 0x4001
push 0x2b4
lea ecx, [ebp - 0x2c8]
push ecx
push 0
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 0x2d0]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x45b47b
call fcn.00407965
push 0
push dword [ebp - 0x2c4]
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov edi, eax
test edi, edi
je 0x45b4b4
push dword [ebp + 0xc]
mov ecx, dword [esi + 0x9c]
call fcn.00464c78
push dword [ebp + 0xc]
mov ecx, dword [esi + 0x9c]
push edi
call fcn.0045cdda
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [ebp - 0x2cc]
mov edi, dword [ebp + 0xc]
mov ecx, ebx
push 0x60
push 9
inc edi
push edi
push dword [ebp + 8]
call fcn.0045f812
push 0
push 0
push 0x800
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.USER32.dll_AppendMenuW]
push dword [ebp - 0x2cc]
lea edx, [esi + edi]
mov ecx, ebx
push 0x20
push 0x11
push edx
push dword [ebp + 8]
call fcn.0045f812
add eax, esi
call fcn.004db46d
ret 8
Function at 0x45b50b
Capabilities:
Get file system object information

Disassembly:
push 0x2c4
mov eax, 0x5feebd
call fcn.004db4be
mov edi, ecx
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
lea esi, [eax - 1]
cmp esi, 2
jl 0x45b55a
mov ecx, dword [edi + 0x9c]
test ecx, ecx
je 0x45b547
lea eax, [esi + 0x7f58]
push eax
call fcn.00464c78
push dword [ebp + 8]
mov edx, 0x400
mov ecx, esi
call fcn.00443388
pop ecx
dec esi
jmp 0x45b52c
push ecx
push ecx
lea ecx, [edi + 0x168]
mov esi, edi
call fcn.0047004d
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push 0
push 0x6349bc
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp dword [esi + 0x9c], 0
mov ebx, eax
mov dword [ebp - 0x2cc], ebx
je 0x45b617
lea ecx, [ebp - 0x2d0]
call fcn.005c8f50
push 0x4001
push 0x2b4
lea ecx, [ebp - 0x2c8]
push ecx
push 0
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 0x2d0]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x45b5d4
call fcn.00407965
push 0
push dword [ebp - 0x2c4]
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov ebx, eax
test ebx, ebx
je 0x45b611
mov ecx, dword [esi + 0x9c]
push 0x7f58
call fcn.00464c78
mov ecx, dword [esi + 0x9c]
push 0x7f58
push ebx
call fcn.0045cdda
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ebx, dword [ebp - 0x2cc]
push ebx
push 0x60
push 9
push 0x7f59
push dword [ebp + 8]
mov ecx, edi
call fcn.0045fc29
push 0
push 0
push 0x800
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.USER32.dll_AppendMenuW]
push ebx
push 0x20
push 0x11
lea edx, [esi + 0x7f59]
mov ecx, edi
push edx
push dword [ebp + 8]
call fcn.0045fc29
add eax, esi
call fcn.004db46d
ret 8
Function at 0x460ee3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
and dword [edi], 0
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x460f15
cmp eax, 0x79
jne 0x460f0c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x460f15
cmp dword [esi + 0xa8], 0x20
jne 0x460f7f
cmp dword [ebp + 0xc], 0xf100
jne 0x460f7f
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x460f44
mov ecx, esi
call fcn.00466fc9
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x460f7f
cmp dword [esi + 0xa8], 0x20
je 0x460f7f
test byte [esi + 0x84], 0x40
jne 0x460f79
mov cl, byte [esi + 0x85]
mov al, cl
and al, 6
cmp al, 2
jne 0x460f72
test cl, 8
je 0x460f72
push 1
mov ecx, esi
call fcn.00466f7c
mov ecx, esi
call fcn.00467044
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x460fa0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi]
cmp eax, dword [esi + 4]
je 0x460fbd
mov eax, dword [ebp + 0x10]
and dword [eax], 0
xor eax, eax
inc eax
jmp 0x460ff5
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
je 0x460fcf
mov ecx, esi
call fcn.00467044
push 0
push dword [edi + 0xc]
push 0x419
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and byte [esi + 0x84], 0xcf
mov ecx, esi
push 1
push eax
call fcn.004675f1
xor eax, eax
pop edi
pop esi
pop ecx
pop ebp
ret 0xc
Function at 0x463cb5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
and dword [edi], 0
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x463ce7
cmp eax, 0x79
jne 0x463cde
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x463ce7
cmp dword [esi + 0xa8], 0x20
jne 0x463d51
cmp dword [ebp + 0xc], 0xf100
jne 0x463d51
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x463d16
mov ecx, esi
call fcn.00468e24
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x463d51
cmp dword [esi + 0xa8], 0x20
je 0x463d51
test byte [esi + 0x84], 0x40
jne 0x463d4b
mov cl, byte [esi + 0x85]
mov al, cl
and al, 6
cmp al, 2
jne 0x463d44
test cl, 8
je 0x463d44
push 1
mov ecx, esi
call fcn.00468dd7
mov ecx, esi
call fcn.00468e9f
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x463d72
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi]
cmp eax, dword [esi + 4]
je 0x463d8f
mov eax, dword [ebp + 0x10]
and dword [eax], 0
xor eax, eax
inc eax
jmp 0x463dc7
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
je 0x463da1
mov ecx, esi
call fcn.00468e9f
push 0
push dword [edi + 0xc]
push 0x419
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and byte [esi + 0x84], 0xcf
mov ecx, esi
push 1
push eax
call fcn.004690ff
xor eax, eax
pop edi
pop esi
pop ecx
pop ebp
ret 0xc
Function at 0x464d4e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x10
mov eax, 0x5ff5e9
call fcn.004db48b
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [0x6714c8]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x464e99
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x464e99
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x464e99
lea eax, [esi + 8]
mov ecx, edi
mov dword [ebp - 0x18], eax
movzx eax, word [esi + 6]
mov dword [ebp - 0x10], eax
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 2]
push eax
call fcn.004693f0
xor ebx, ebx
cmp dword [edi + 0x48], ebx
jne 0x464dfb
push dword [ebp + 8]
call fcn.0044c488
cmp ax, 0x20
mov al, byte [edi + 0x85]
pop ecx
setne cl
and al, 0xdf
dec cl
and cl, 0x20
or al, cl
mov ecx, edi
mov byte [edi + 0x85], al
movzx eax, word [esi + 6]
push eax
call fcn.00462d33
test eax, eax
je 0x464e99
mov dword [ebp - 4], ebx
test byte [edi + 0x85], 0x20
je 0x464e20
push 0x2040
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [0x6714c8]
call dword [sym.imp.USER32.dll_LoadImageW]
jmp 0x464e2f
push dword [ebp + 8]
push dword [0x6714c8]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x464e95
push dword [edi + 0xa0]
push esi
push dword [edi + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
je 0x464e8e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x464e76
mov esi, dword [ebp - 0x18]
cmp word [esi], bx
je 0x464e68
push esi
lea ecx, [edi + 0x4c]
call fcn.0040e1e6
mov eax, dword [ebp - 0x10]
add esi, 2
sub eax, 1
mov dword [ebp - 0x10], eax
jne 0x464e57
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov edi, dword [edi + 0x50]
push dword [eax + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov ebx, eax
sub ebx, edi
neg ebx
sbb ebx, ebx
inc ebx
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, ebx
jmp 0x464e9b
xor eax, eax
call fcn.004db459
ret 0x14
Function at 0x464f7f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x18], eax
je 0x464fe5
push 4
pop eax
test ebx, ebx
lea esi, [ebx - 0x20]
push 0xffffffffffffffe6
cmove esi, eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClassLongW]
test eax, 0x20000
jne 0x464ffd
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esp, 0x10
lea esi, [ebp - 0x14]
mov edi, esp
test ebx, ebx
push 0x24
movsd dword es:[edi], dword [esi]
pop eax
cmove ebx, eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004694a1
jmp 0x464ffd
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x464ffd
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
pop edi
pop esi
and dword [eax], 0
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004da623
leave
ret 0x10

Function at 0x465fd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x104]
and dword [esi + 0x104], 0
cmp dword [ebp + 8], 0
jne 0x466011
mov ebx, dword [esi + 0x64]
test edi, edi
je 0x466002
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 4]
mov eax, 0xff
je 0x466004
mov eax, ebx
push 5
push eax
mov ecx, esi
call fcn.0044aa72
mov dword [esi + 0x64], ebx
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
mov ebx, dword [esi + 0x64]
je 0x466052
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
test edi, edi
mov ecx, 0xff
mov eax, ebx
cmovne eax, ecx
mov ecx, esi
push eax
push 5
call fcn.0044aa72
mov dword [esi + 0x64], ebx
jmp 0x46605c
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0044aa72
mov dword [esi + 0x104], edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4660e8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x104]
and dword [esi + 0x104], 0
cmp dword [ebp + 8], 0
jne 0x46612d
mov ebx, dword [esi + 0x64]
test edi, edi
je 0x46611e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 4]
mov eax, 0xff
je 0x466120
mov eax, ebx
push 5
push eax
mov ecx, esi
call fcn.0041a595
mov dword [esi + 0x64], ebx
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
mov ebx, dword [esi + 0x64]
je 0x46616e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
test edi, edi
mov ecx, 0xff
mov eax, ebx
cmovne eax, ecx
mov ecx, esi
push eax
push 5
call fcn.0041a595
mov dword [esi + 0x64], ebx
jmp 0x466178
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0041a595
mov dword [esi + 0x104], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x46618a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x104]
and dword [esi + 0x104], 0
cmp dword [ebp + 8], 0
jne 0x4661cf
mov ebx, dword [esi + 0x64]
test edi, edi
je 0x4661c0
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 4]
mov eax, 0xff
je 0x4661c2
mov eax, ebx
push 5
push eax
mov ecx, esi
call fcn.00466229
mov dword [esi + 0x64], ebx
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
mov ebx, dword [esi + 0x64]
je 0x466210
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
test edi, edi
mov ecx, 0xff
mov eax, ebx
cmovne eax, ecx
mov ecx, esi
push eax
push 5
call fcn.00466229
mov dword [esi + 0x64], ebx
jmp 0x46621a
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00466229
mov dword [esi + 0x104], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46794a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x104]
and dword [esi + 0x104], 0
cmp dword [ebp + 8], 0
jne 0x46798f
mov ebx, dword [esi + 0x64]
test edi, edi
je 0x467980
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 4]
mov eax, 0xff
je 0x467982
mov eax, ebx
push 5
push eax
mov ecx, esi
call fcn.004679e9
mov dword [esi + 0x64], ebx
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
mov ebx, dword [esi + 0x64]
je 0x4679d0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
test edi, edi
mov ecx, 0xff
mov eax, ebx
cmovne eax, ecx
mov ecx, esi
push eax
push 5
call fcn.004679e9
mov dword [esi + 0x64], ebx
jmp 0x4679da
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.004679e9
mov dword [esi + 0x104], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x469f3a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, eax
test ebx, ebx
je 0x469f5b
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassLongW]
mov ecx, eax
or eax, 0x20000
and ecx, 0xfffdffff
cmp dword [ebp + 8], 0
cmove eax, ecx
push eax
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
test ebx, ebx
je 0x469f95
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x46a7fe
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, eax
test ebx, ebx
je 0x46a81f
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassLongW]
mov ecx, eax
or eax, 0x20000
and ecx, 0xfffdffff
cmp dword [ebp + 8], 0
cmove eax, ecx
push eax
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
test ebx, ebx
je 0x46a859
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x46a871
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, eax
test ebx, ebx
je 0x46a892
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassLongW]
mov ecx, eax
or eax, 0x20000
and ecx, 0xfffdffff
cmp dword [ebp + 8], 0
cmove eax, ecx
push eax
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
test ebx, ebx
je 0x46a8cc
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
pop ebp
ret 4
Function at 0x46a8d2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, eax
test ebx, ebx
je 0x46a8f3
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassLongW]
mov ecx, eax
or eax, 0x20000
and ecx, 0xfffdffff
cmp dword [ebp + 8], 0
cmove eax, ecx
push eax
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
test ebx, ebx
je 0x46a92d
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x46b7be
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, eax
test ebx, ebx
je 0x46b7df
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassLongW]
mov ecx, eax
or eax, 0x20000
and ecx, 0xfffdffff
cmp dword [ebp + 8], 0
cmove eax, ecx
push eax
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
test ebx, ebx
je 0x46b819
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x46c07f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, eax
test ebx, ebx
je 0x46c0a0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassLongW]
mov ecx, eax
or eax, 0x20000
and ecx, 0xfffdffff
cmp dword [ebp + 8], 0
cmove eax, ecx
push eax
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
test ebx, ebx
je 0x46c0da
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x46ed23
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x88], 0xffffffff
je 0x46ed50
push esi
push dword [ebp + 8]
push 0x419
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x88], eax
jne 0x46ed50
inc esi
pop edi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x46edaf
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x88], 0xffffffff
je 0x46eddc
push esi
push dword [ebp + 8]
push 0x419
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x88], eax
jne 0x46eddc
inc esi
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x47256f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
test edi, edi
jne 0x47259b
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
jmp 0x4725df
push 0x63aa44
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4725e6
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x4725e6
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4725e6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4725e6
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x20], esi
mov eax, esi
jmp 0x4725e9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret 8