joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458cbd
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
xor esi, esi
push edi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x80
push 3
push esi
push 1
push SHChangeNotifyRegister
push dword [ebp + 8]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x458cff
push esi
push str.Error1_
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x458e24
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov eax, dword [0x4b0550]
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
lea eax, [ebx + 1]
mov dword [ebp - 0xc], esi
push eax
call fcn.00403c58
lea ecx, [ebp - 0xc]
push esi
push ecx
push ebx
push eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.004158d2
push ebx
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x10]
call fcn.00415a4b
push str.ToClipboart
lea ecx, [ebp - 4]
call fcn.00403927
push dword [ebp - 4]
push dword [ebp + 0xc]
call fcn.0049cec5
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 4]
inc bl
call fcn.004038fb
test bl, bl
pop ebx
je 0x458da6
mov eax, dword [0x4b0550]
push dword [ebp - 0x24]
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00403adc
push dword [ebp - 4]
call fcn.0045f660
pop ecx
lea ecx, [ebp - 4]
call fcn.004038fb
jmp 0x458e11
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 0xc]
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x458df5
push esi
push str.Error_
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x2c]
call fcn.00415909
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
xor eax, eax
jmp 0x458e36
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x10], esi
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.00415909
lea ecx, [ebp - 8]
call fcn.004038fb
push 1
pop esi
lea ecx, [ebp + 8]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x458e8a
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
push edi
mov esi, ecx
call fcn.00454e3c
test eax, eax
je 0x458f86
push eax
lea eax, [esi + 0x1d0]
neg eax
lea ecx, [esi + 0x1d4]
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.00489f3d
mov eax, dword [0x4bd5dc]
mov ecx, 0x81
mov dword [ebp - 0x21c], eax
xor eax, eax
lea edi, [ebp - 0x218]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
call fcn.0047946f
lea ecx, [ebp - 8]
mov dword [esp], str.tmp_byte_file.txt
call fcn.00403927
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040a4e8
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403b20
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004038b5
push str.AAAAA
push ecx
mov eax, esp
push 0x8000
push eax
lea ecx, [ebp - 0x14]
call fcn.0048a019
call fcn.00423257
add esp, 0xc
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.0048996a
pop edi
pop esi
leave
ret
Function at 0x4592e3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
mov esi, ecx
lea ecx, [ebp - 0x68]
call fcn.00497925
mov eax, dword [0x4b0550]
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00403a8c
mov ecx, esi
call fcn.00454e3c
test eax, eax
je 0x45946f
push eax
lea eax, [esi + 0x1d0]
neg eax
lea ecx, [esi + 0x1d4]
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x2c]
push dword [eax]
call fcn.00489f3d
lea eax, [ebp - 4]
add esi, 4
push eax
push 0
push ecx
mov ecx, esp
push 0x4bd614
call fcn.00403927
push dword [esi]
lea ecx, [ebp - 0x68]
call fcn.00497b92
test eax, eax
je 0x459467
push str._test_hl
lea ecx, [ebp - 0xc]
call fcn.00403927
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0xc]
call fcn.004038fb
push 0x4b0efc
push 0x4b1aa4
lea ecx, [ebp - 4]
call fcn.004040f7
push 0x4b1254
lea ecx, [ebp - 0x14]
call fcn.00403927
push 0x4b6be4
lea ecx, [ebp - 0x10]
call fcn.00403927
push str.__H__J__
lea ecx, [ebp - 0xc]
call fcn.00403927
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00489fbf
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 8]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea ecx, [ebp - 0x20]
call fcn.004038fb
lea ecx, [ebp - 0x24]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
push 0
push 0x4bd5d8
push dword [ebp - 8]
mov ecx, esi
call fcn.00419b09
push 5
push 0
push dword [ebp - 8]
push str.mklink
push 0x4b1138
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0x2c]
call fcn.0048996a
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x68]
call fcn.00497962
pop esi
leave
ret
Function at 0x45a46d
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b0550]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
mov ebx, ecx
push 0x11
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call esi
mov edi, 0x8000
test edi, eax
je 0x45a4a3
push str.runas
lea ecx, [ebp - 8]
call fcn.00403adc
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004038b5
lea eax, [ebp - 0xc]
push eax
call fcn.004604b6
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00403a8c
lea ecx, [ebp - 0xc]
call fcn.004038fb
push 0x10
call esi
test edi, eax
je 0x45a4f3
lea eax, [ebp - 0xc]
lea ecx, [ebx + 0x1d0]
push eax
call fcn.00489fbf
push eax
lea ecx, [ebp - 4]
call fcn.00403a8c
lea ecx, [ebp - 0xc]
call fcn.004038fb
push 1
push dword [ebp - 4]
push 0
push dword [ebp + 8]
push dword [ebp - 8]
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45a6d2
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov eax, 0x4a9db0
call fcn.0049ddac
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
lea ebx, [esi + 0x14]
push ebx
push 0x4b6c28
push 0x17
push 0
push 0x4b6c18
call dword [sym.imp.ole32.dll_CoCreateInstance]
and dword [ebp - 4], 0
test eax, eax
jl 0x45a844
push 1
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
call edi
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0x40
push eax
call dword [ecx + 0x14]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x45a73c
mov ebx, dword [ebx]
mov eax, dword [ebx]
push 0
push ebx
call dword [eax + 0x14]
push 1
call edi
mov eax, dword [esi + 8]
lea ebx, [esi + 4]
mov ecx, dword [eax]
push ebx
push 0x4ac598
push eax
call dword [ecx]
mov dword [ebp - 0x24], eax
and dword [ebp - 0x1c], 0
mov eax, dword [ebx]
test eax, eax
je 0x45a844
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 1
push eax
call dword [ecx + 0x1c]
xor ebx, ebx
cmp dword [ebp - 0x1c], ebx
je 0x45a844
push 1
call edi
mov dword [esi], ebx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push esi
push 0x4ac328
push 1
pop edi
push edi
push eax
call dword [ecx + 0x3c]
test eax, eax
jl 0x45a844
cmp dword [esi], ebx
je 0x45a844
push 0x2c
call fcn.0049c851
pop ecx
mov dword [ebp - 0x30], eax
cmp eax, ebx
je 0x45a7bb
push ebx
mov ecx, eax
call fcn.004244ee
jmp 0x45a7bd
xor eax, eax
mov dword [esi + 0xc], eax
push dword [esi]
mov ecx, eax
call fcn.00424985
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
add eax, 4
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [ebp - 0x18], ebx
push dword [esi + 0xc]
lea eax, [ebp - 0x18]
push eax
call fcn.0047882a
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x18], ebx
je 0x45a840
cmp eax, ebx
jl 0x45a833
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push esi
push 0x45a85d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x45a833
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x45a82f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x45a846
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x45a840
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45eb01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4b0550]
and byte [ebp - 7], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
mov byte [ebp - 0x1c], 0x68
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x70
mov byte [ebp - 0x18], 0x3a
mov byte [ebp - 0x17], 0x2f
mov byte [ebp - 0x16], 0x2f
mov byte [ebp - 0x15], 0x77
mov byte [ebp - 0x14], 0x77
mov byte [ebp - 0x13], 0x77
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x66
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x6b
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 0xa], 0x64
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x2f
call fcn.00403adc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004038b5
lea ecx, [ebp - 4]
call fcn.004038fb
mov eax, dword [ebp + 8]
leave
ret

Function at 0x45f6f8
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45f73b
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, edi
je 0x45f734
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x45f734
mov ecx, dword [esp + 0xc]
push eax
call fcn.00403adc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 1
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, edi
pop edi
ret

Function at 0x4601dd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push 0
push eax
call fcn.0045f8d1
pop ecx
lea eax, [ebp + 8]
pop ecx
push eax
lea eax, [ebp - 8]
push str._help
push eax
call fcn.0040a961
mov eax, dword [eax]
push 3
push 0
push eax
push dword [ebp - 4]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
leave
ret

Function at 0x460471
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46049e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x46049a
call esi
cmp eax, 3
je 0x46049a
or esi, 0xffffffff
jmp 0x4604a9
xor esi, esi
jmp 0x4604a9
test al, 0x10
je 0x4604a6
push 2
jmp 0x4604a8
push 1
pop esi
lea ecx, [esp + 8]
call fcn.004038fb
mov eax, esi
pop esi
ret
Function at 0x4626f3
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push edi
push 4
mov dword [ebp - 4], ecx
push dword [0x4c4374]
call esi
push 0
push eax
call esi
mov esi, eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edi, eax
push edi
push esi
mov dword [ebp - 8], edi
call fcn.0044281c
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
pop ecx
pop ecx
mov ebx, 0x400
push ebx
push 4
push edi
call esi
test eax, eax
je 0x462745
push ebx
push 4
push edi
jmp 0x462739
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax]
push ecx
push 0x419
push ebx
call esi
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0x41d
push ebx
call esi
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 4]
push 0
push dword [eax + 4]
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x102
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
mov dword [ebp - 4], eax
je 0x462810
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00461743
pop ecx
xor eax, eax
pop ecx
lea edi, [ebp - 0x3c]
push 7
pop ecx
rep stosd dword es:[edi], eax
and byte [ebp - 0x2f], al
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x40], 0x20
mov dword [ebp - 0x3c], 2
call fcn.00403c58
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x40]
push eax
push 0x808a
push 0x440
push ebx
call esi
push 0
push dword [ebp - 4]
push 0x111
push dword [0x4c42f0]
call esi
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov edi, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
and dword [eax], 0
test edi, edi
je 0x462821
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x462fa7
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push 0x89
mov esi, ecx
push eax
call fcn.00460aba
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
mov ebx, dword [eax]
pop ecx
push 0x3ee
push dword [esi + 4]
call edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.004038fb
cmp dword [esi + 0x4c], 0
mov ebp, 0x41c
jne 0x46301d
lea eax, [esp + 0x14]
push 0xc9
push eax
call fcn.00460aba
mov eax, dword [eax]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
push ebp
push dword [esi + 4]
call edi
push dword [esp + 0x10]
push eax
call ebx
lea ecx, [esp + 0x14]
call fcn.004038fb
cmp dword [esi + 0x4c], 1
jne 0x463050
lea eax, [esp + 0x10]
push 0xd2
push eax
call fcn.00461770
mov eax, dword [eax]
pop ecx
pop ecx
mov dword [esp + 0x14], eax
push ebp
push dword [esi + 4]
call edi
push dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.004038fb
cmp dword [esi + 0x4c], 2
jne 0x463083
lea eax, [esp + 0x10]
push 0xdc
push eax
call fcn.00461770
mov eax, dword [eax]
pop ecx
pop ecx
mov dword [esp + 0x14], eax
push ebp
push dword [esi + 4]
call edi
push dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.004038fb
cmp dword [esi + 0x4c], 3
jne 0x4630b6
lea eax, [esp + 0x10]
push 0xe6
push eax
call fcn.00461770
mov eax, dword [eax]
pop ecx
pop ecx
mov dword [esp + 0x14], eax
push ebp
push dword [esi + 4]
call edi
push dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.004038fb
push 0x41b
push dword [esi + 4]
call edi
push 0x3f7
push dword [esi + 4]
call edi
mov ebp, eax
lea eax, [esp + 0x14]
push 0x15f94
push eax
call fcn.00461770
pop ecx
pop ecx
push dword [eax]
push ebp
call ebx
lea ecx, [esp + 0x14]
call fcn.004038fb
push 0x407
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call ebx
mov ecx, esi
call fcn.0046362f
mov eax, dword [esi + 0x4c]
cmp eax, 2
je 0x463124
cmp eax, 3
je 0x463124
cmp eax, 1
je 0x463124
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x463186
lea eax, [esi + 0x5c]
push str._State
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040a915
mov eax, dword [eax]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push str.Disable
push eax
call fcn.0044ad72
add esp, 0x14
lea ecx, [esp + 0x14]
mov ebp, eax
call fcn.004038fb
push 0x3ea
push dword [esi + 4]
call edi
xor ecx, ecx
test ebp, ebp
sete cl
push ecx
push eax
call ebx
push 0x3ee
push dword [esi + 4]
call edi
push 0
push ebp
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
pop ecx
ret 0x10
Function at 0x463191
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x4b0550]
push ebx
push esi
push edi
mov esi, ecx
push 0x15
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
push 0x16
lea edi, [ebp - 0x70]
pop ecx
or ebx, 0xffffffff
push 1
rep stosd dword es:[edi], eax
pop eax
mov dword [ebp - 0x70], 0x58
push ebx
push ebx
push eax
push 0x4b1f0c
push 0x4b2010
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], 0x1004
call fcn.0044ad72
add esp, 0x14
mov dword [ebp - 0x58], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x68], eax
mov edi, 0x400
mov eax, 0x104
push edi
lea ecx, [ebp - 8]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], str.Programe
call fcn.00403c58
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x54], eax
call fcn.00403c58
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x64], str._.exe_.bat_
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
je 0x463370
push ebx
lea ecx, [ebp - 8]
call fcn.00403cd2
push ebx
lea ecx, [ebp - 0xc]
call fcn.00403cd2
mov eax, dword [0x4b0550]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
mov dword [ebp - 4], eax
push dword [esi + 4]
call edi
push 0x7d00
push 0x7d01
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.00403c58
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
lea ecx, [ebp - 4]
call fcn.00403cd2
cmp dword [esi + 0x4c], 3
je 0x4632aa
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
jmp 0x4632ce
push str..xyx_.zxy
lea ecx, [ebp - 0x10]
call fcn.00403927
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0x10]
call fcn.004038fb
mov ebx, 0x4b0810
mov eax, ebx
test eax, eax
je 0x4632e0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.00403bd8
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
mov ebx, 0x4b0cdc
mov eax, ebx
test eax, eax
je 0x46330b
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.00403bd8
push 0x3ea
push dword [esi + 4]
call edi
push dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x407
push dword [esi + 4]
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x18]
push eax
call fcn.0045f823
pop ecx
lea eax, [ebp - 0x278]
push 0x80
push dword [ebp - 8]
push 0x10
push dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRelativePathToW]
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x464edc
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
and dword [ebp - 4], 0
push ebx
push esi
mov dword [ebp - 0xc], ecx
push edi
push ecx
mov eax, esp
lea ecx, [ebp - 4]
mov dword [eax], 0x80
call fcn.00409e41
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push dword [ebp - 4]
call esi
push 3
push eax
mov dword [ebp - 8], eax
call esi
cmp dword [ebp + 8], 0x806c
mov edi, eax
mov dword [ebp - 0x10], edi
jne 0x464f3b
mov ebx, dword [sym.imp.USER32.dll_DeleteMenu]
mov esi, 0x400
push esi
push 4
push edi
call ebx
test eax, eax
je 0x464f6b
push esi
push 4
push edi
jmp 0x464f2f
cmp dword [ebp + 8], 0x414
jne 0x464f6b
mov ebx, dword [sym.imp.USER32.dll_DeleteMenu]
mov dword [ebp + 8], 5
mov esi, 0x400
push esi
push 0
push edi
call ebx
dec dword [ebp + 8]
jne 0x464f56
push esi
push 3
push edi
call ebx
test eax, eax
jne 0x464f61
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax]
push ecx
push 0x419
push ebx
call esi
lea ecx, [ebp - 0x28]
push ecx
push eax
push 0x41d
push ebx
call esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x4b9504]
push 8
add eax, 0x80b1
push eax
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push edi
call fcn.004606b8
mov eax, dword [ebp - 0xc]
pop ecx
push 0
push dword [eax + 4]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x102
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x465051
push eax
lea eax, [ebp + 8]
push eax
call fcn.00461743
pop ecx
xor eax, eax
pop ecx
lea edi, [ebp - 0x44]
push 7
pop ecx
rep stosd dword es:[edi], eax
and byte [ebp - 0x37], al
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x48], 0x20
mov dword [ebp - 0x44], 2
call fcn.00403c58
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x48]
push eax
push 0x808a
push 0x440
push ebx
call esi
push 0
push dword [ebp + 0xc]
push 0x111
push dword [0x4c42f0]
call esi
lea ecx, [ebp + 8]
call fcn.004038fb
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
and dword [eax], 0
test edi, edi
je 0x465064
push edi
call esi
cmp dword [ebp - 8], 0
je 0x46506f
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], 0
je 0x46507a
push dword [ebp - 4]
call esi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc