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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, ecx
push edi
push 0x488b6c
lea ecx, [ebp - 8]
call fcn.0040811c
lea ecx, [ebp - 0x48]
call fcn.00466681
push 0x104
push 0x400
lea ecx, [ebp - 0x40]
call fcn.004016d4
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x3ea
push eax
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x40]
call fcn.0040173c
push ecx
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00401356
lea eax, [ebp - 0xc]
push eax
call fcn.0044b056
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00401522
lea ecx, [ebp - 0xc]
call fcn.0040139c
lea eax, [ebp - 8]
push eax
push 1
push ecx
mov ecx, esp
push 0x488b68
call fcn.0040811c
push dword [esi + 4]
lea ecx, [ebp - 0x48]
call fcn.004667f6
test eax, eax
jne 0x403d85
xor esi, esi
jmp 0x403e00
push dword [esi + 0x30]
mov eax, dword [0x47e520]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push dword [ebp - 8]
push str._s_s
push eax
call fcn.004017cc
lea eax, [ebp - 4]
push eax
call fcn.0044ae5e
add esp, 0x14
push ebx
push dword [esi + 4]
call edi
push dword [ebp - 4]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push ebx
push 0x146
push edi
call esi
push ebx
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
call fcn.004016d4
push eax
push dword [ebp - 0xc]
push 0x14a
push edi
call esi
push ebx
push dword [ebp - 0xc]
push 0x14e
push edi
call esi
lea ecx, [ebp - 4]
call fcn.0040139c
push 1
pop esi
lea ecx, [ebp - 0x48]
call fcn.004666be
lea ecx, [ebp - 8]
call fcn.0040139c
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x405825
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0xc]
push 1
push 0
push dword [esp + 0x1c]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret 8

Function at 0x40584f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
push ebx
push esi
lea eax, [ebp + 0xc]
push edi
mov edi, ecx
push eax
je 0x4058b5
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0xb
push dword [ebp + 8]
call ebx
mov esi, 0x400
lea ecx, [edi + 0x24]
push esi
mov dword [ebp - 0xc], ecx
call fcn.004016d4
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
call ebx
lea ecx, [edi + 0x20]
push esi
mov dword [ebp - 8], ecx
call fcn.004016d4
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp + 0xc]
push eax
push 2
jmp 0x405904
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x16
push dword [ebp + 8]
call ebx
mov esi, 0x400
lea ecx, [edi + 0x24]
push esi
mov dword [ebp - 0xc], ecx
call fcn.004016d4
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp + 0xc]
push eax
push 0x19
push dword [ebp + 8]
call ebx
lea ecx, [edi + 0x20]
push esi
mov dword [ebp - 8], ecx
call fcn.004016d4
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp + 0xc]
push eax
push 0x17
push dword [ebp + 8]
call ebx
lea ecx, [edi + 0x28]
push esi
mov dword [ebp - 4], ecx
call fcn.004016d4
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp + 0xc]
push eax
push 0x1a
push dword [ebp + 8]
call ebx
add edi, 0x2c
push esi
mov ecx, edi
call fcn.004016d4
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ecx, dword [ebp - 4]
or esi, 0xffffffff
push esi
call fcn.0040173c
mov ecx, dword [ebp - 8]
push esi
call fcn.0040173c
mov ecx, dword [ebp - 0xc]
push esi
call fcn.0040173c
push esi
mov ecx, edi
call fcn.0040173c
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405aaf
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b8
push ebx
push esi
push edi
mov ebx, ecx
push 0x4b2
mov dword [ebp - 0x38], 6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0xf0
push eax
call esi
push eax
mov ecx, ebx
push dword [ebx + 4]
mov dword [ebx + 0x1c], eax
call fcn.0040584f
push edi
push edi
push 0x101c
push dword [ebp + 8]
call esi
push edi
push edi
push 0x1009
push dword [ebp + 8]
call esi
mov eax, dword [0x488b6c]
push dword [ebx + 0x28]
mov dword [ebp - 0x4b8], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x4b4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4b8]
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
xor edi, edi
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], 0x488b6c
mov dword [ebp - 0x28], 0x100
sub eax, 0x14
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push edi
push 0x1061
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x2b0]
xor ebx, ebx
push eax
lea eax, [ebp - 0x4b8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x405c3d
mov eax, dword [0x47e520]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x284]
test eax, eax
je 0x405bb5
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x284]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.0040148d
push 0x47ee90
push dword [ebp - 4]
call fcn.0046b615
pop ecx
test eax, eax
pop ecx
je 0x405c14
push 0x47ee8c
push dword [ebp - 4]
call fcn.0046b615
pop ecx
test eax, eax
pop ecx
je 0x405c14
lea eax, [ebp - 0x284]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x60]
push eax
push edi
push 0x104d
mov dword [ebp - 0x58], edi
push dword [ebp + 8]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x60], 7
call esi
inc ebx
lea ecx, [ebp - 4]
call fcn.0040139c
lea eax, [ebp - 0x2b0]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405b96
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405c44
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov edx, dword [0x488b6c]
push esi
mov esi, ecx
push edi
mov ecx, 0xff
xor eax, eax
cmp dword [esi + 0x1c], eax
lea edi, [ebp - 0x800]
mov dword [ebp - 0x804], edx
mov dword [ebp - 0x404], edx
rep stosd dword es:[edi], eax
mov ecx, 0xff
lea edi, [ebp - 0x400]
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
je 0x405c8c
push 2
jmp 0x405c8e
push 0x17
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push 0x47eb94
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [esi + 0x34]
push 0x3e9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.00405aaf
pop edi
pop esi
leave
ret 8

Function at 0x405cee
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push esi
lea eax, [ebp - 0x24c]
push 0x104
push eax
push dword [0x492fe8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor esi, esi
push 0x3c
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.0046aa50
add esp, 0xc
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 4]
mov dword [ebp - 0x44], 0x3c
push eax
call fcn.0040811c
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 0x40], esi
call fcn.004016d4
mov dword [ebp - 0x34], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push str._install__runas
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], 1
call fcn.004085b5
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], 0x47eea8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.0040139c
lea ecx, [ebp - 4]
call fcn.0040139c
lea ecx, [ebp + 8]
call fcn.0040139c
mov eax, esi
pop esi
leave
ret
Function at 0x406a36
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov dword [ebp - 0xc], ecx
push ebx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
xor edi, edi
lea eax, [ecx - 0xc]
mov word [ebp - 0x1c], 0x5c
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp dword [eax], edi
jl 0x406a6b
push eax
mov dword [ebp - 4], ecx
call esi
jmp 0x406a7c
mov eax, dword [0x47e520]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.0040833f
mov eax, dword [ebp - 4]
push ecx
mov ecx, esp
cmp dword [eax - 0xc], edi
jl 0x406a94
mov dword [ecx], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
push eax
call esi
jmp 0x406aa3
mov eax, dword [0x47e520]
mov dword [ecx], eax
push dword [ebp - 4]
call fcn.0040833f
call fcn.0044b011
pop ecx
push 1
pop ebx
cmp eax, ebx
jne 0x406afb
mov eax, dword [ebp - 4]
push ecx
mov ecx, esp
cmp dword [eax - 0xc], edi
jl 0x406ac8
mov dword [ecx], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
push eax
call esi
jmp 0x406ad7
mov eax, dword [0x47e520]
mov dword [ecx], eax
push dword [ebp - 4]
call fcn.0040833f
mov esi, dword [ebp - 0xc]
mov ecx, esi
call fcn.00406c96
cmp eax, edi
jne 0x406aed
mov dword [esi + 0x1c], ebx
jmp 0x406bf7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x406bf7
lea eax, [ebp - 4]
push eax
call fcn.00406c29
lea ecx, [ebp - 8]
mov dword [esp], 0x47f06c
call fcn.004013c8
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401658
lea ecx, [ebp - 8]
call fcn.0040139c
push dword [ebp - 4]
lea ecx, [ebp - 0x474]
call fcn.00408d1f
test eax, eax
je 0x406be3
lea ecx, [ebp - 0x474]
call fcn.00408dc2
lea ecx, [ebp - 0x474]
mov esi, eax
call fcn.00408ce5
test eax, eax
jne 0x406bdb
push 0x10
lea ecx, [ebp - 0x474]
call fcn.00408cc9
test eax, eax
je 0x406ba3
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x474]
push eax
call fcn.00408bfb
push eax
lea ecx, [ebp - 4]
call fcn.00401522
lea ecx, [ebp - 0x10]
call fcn.0040139c
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.00401356
mov ecx, dword [ebp - 0xc]
call fcn.00406a36
jmp 0x406bdb
lea eax, [ebp - 8]
lea ecx, [ebp - 0x474]
push eax
call fcn.00408bfb
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.00401356
mov ecx, dword [ebp - 0xc]
call fcn.00406c96
test eax, eax
je 0x406c19
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 8]
call fcn.0040139c
cmp esi, edi
jne 0x406b40
lea ecx, [ebp - 0x474]
call fcn.00408dec
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 4]
call fcn.0040139c
lea ecx, [ebp - 0x474]
call fcn.00408dec
lea ecx, [ebp + 8]
call fcn.0040139c
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
mov dword [eax + 0x1c], ebx
call fcn.0040139c
jmp 0x406bf7
Function at 0x406c96
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x406caa
xor esi, esi
jmp 0x406cc4
test al, 1
je 0x406cd1
push 0x80
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x406ca6
push 1
pop esi
lea ecx, [esp + 8]
call fcn.0040139c
mov eax, esi
jmp 0x406cdd
lea ecx, [esp + 8]
call fcn.0040139c
push 1
pop eax
pop esi
ret 4
Function at 0x407739
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 2
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
ret
Function at 0x408201
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov byte [ebp - 1], 1
mov eax, dword [esi + 0x50]
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
jne 0x408256
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4082b0
shr eax, 2
test al, 1
je 0x40827f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
jmp 0x40824d
xor ebx, ebx
push 1
push ebx
push ebx
push dword [esi + 0x24]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x4082b0
or byte [esi + 0x54], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408fc8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
and byte [ebp - 0xc], 0
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
push eax
lea ecx, [ebp - 8]
mov byte [ebp - 0x18], 0x4b
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x33
mov byte [ebp - 0x11], 0x32
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x6c
call fcn.004013c8
push dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call edi
lea ecx, [ebp - 8]
mov ebx, eax
call fcn.0040139c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test ebx, ebx
je 0x409088
and byte [ebp - 0x1b], 0
lea eax, [ebp - 0x2c]
push eax
push ebx
mov byte [ebp - 0x2c], 0x49
mov byte [ebp - 0x2b], 0x73
mov byte [ebp - 0x2a], 0x44
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0x62
mov byte [ebp - 0x27], 0x75
mov byte [ebp - 0x26], 0x67
mov byte [ebp - 0x25], 0x67
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x72
mov byte [ebp - 0x22], 0x50
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x1c], 0x74
call esi
test eax, eax
je 0x409088
call eax
test eax, eax
jne 0x4090c1
and dword [ebp - 4], 0
push str.ntdll.dll
call edi
test eax, eax
je 0x4090c6
push str.NtQueryInformationProcess
push eax
call esi
mov esi, eax
test esi, esi
je 0x4090c6
push 0
lea eax, [ebp - 4]
push 4
push eax
push 7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x4090c6
cmp dword [ebp - 4], eax
je 0x4090c6
push 1
pop eax
jmp 0x4090c8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409bc2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
mov esi, ecx
push 0x425
push dword [esi + 4]
call ebx
xor edi, edi
push edi
push edi
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, edi
mov dword [ebp - 0xc], eax
mov dword [esi + 0x24], eax
je 0x409cb6
call fcn.0042e757
test eax, eax
jne 0x409cb6
lea eax, [ebp - 0x250]
push 0x104
push eax
push dword [0x492fe8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x3c
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.0046aa50
add esp, 0xc
lea eax, [ebp - 0x250]
lea ecx, [ebp - 8]
mov dword [ebp - 0x48], 0x3c
push eax
call fcn.0040811c
push edi
lea ecx, [ebp - 8]
mov dword [ebp - 0x44], edi
call fcn.004016d4
push dword [esi + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [0x47e520]
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push str.RegisterAdminKey4_EEETWETRFSD_d
push eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x2c], 1
call fcn.004017cc
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x3c], 0x47eea8
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x409cce
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 4]
call fcn.0040139c
lea ecx, [ebp - 8]
call fcn.0040139c
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov dword [0x488e14], eax
call fcn.00409625
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
mov dword [esi + 0x24], edi
push 0x425
mov dword [0x488e14], edi
push dword [esi + 4]
call ebx
push edi
push edi
push 0x130c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 4]
call fcn.0040139c
lea ecx, [ebp - 8]
call fcn.0040139c
jmp 0x409cc5

Function at 0x40dc2d
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
mov esi, ecx
push 0xa775
push 0x419
push dword [esi + 0xb4]
call edi
push ebx
push 0xa770
push 0x40c
mov dword [ebp - 4], eax
push dword [esi + 0xb4]
call edi
test eax, eax
jne 0x40dc71
add dword [ebp - 4], 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
push 0x41d
push dword [esi + 0xb4]
call edi
push ebx
push ebx
push 0x43a
push dword [esi + 0xb4]
call edi
mov eax, dword [ebp - 8]
push ebx
sub eax, dword [ebp - 0x10]
inc eax
inc eax
push eax
mov eax, dword [ebp - 0xc]
add eax, 2
push eax
push ebx
push ebx
push ebx
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e1d1
Capabilities:
Capture webcam image

Disassembly:
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
mov ebp, 0x454
mov esi, ecx
push ebx
push ebp
push dword [esi + 0xb8]
call edi
lea eax, [ebx + 0xb28f]
push 0
push eax
push 0x419
push dword [esi + 0xb8]
call edi
cmp eax, 0xffffffff
je 0x40e21a
push 0
push eax
push 0x416
push dword [esi + 0xb8]
call edi
inc ebx
cmp ebx, 0x1b
jl 0x40e1ef
cmp dword [esi + 0x2c], 0
je 0x40e22d
mov ecx, esi
call fcn.0040e24c
push 1
push 0
push ebp
push dword [esi + 0xb8]
call edi
push dword [esi + 0xd0]
mov ecx, esi
call fcn.0040e5f9
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40e24c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov ebx, ecx
cmp dword [ebx + 0x2c], 0
je 0x40e3f3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
and dword [ebp - 0x30], 0
mov dword [ebp - 0x14], eax
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
pop esi
stosd dword es:[edi], eax
push 0x14
lea eax, [ebp - 0x30]
push 0
push eax
mov dword [ebp - 0x10], esi
call fcn.0046aa50
add esp, 0xc
and dword [ebp - 0x24], 0
or dword [ebp - 0x20], 0xffffffff
or dword [ebp - 0x30], 0xffffffff
lea eax, [ebp - 0x30]
mov byte [ebp - 0x28], 4
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x444
push dword [ebx + 0xb8]
mov byte [ebp - 0x27], 1
mov dword [ebp - 0x2c], 0xb2a9
call esi
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test dword [ebp - 0x10], eax
je 0x40e3e1
mov eax, dword [0x47e520]
push 1
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
call fcn.0040144c
test eax, eax
je 0x40e2f2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add eax, 0x41
mov word [ecx], ax
lea eax, [ebp - 0xc]
lea ecx, [ebp - 8]
push eax
call fcn.00401356
mov edi, 0x47f704
mov eax, edi
test eax, eax
je 0x40e310
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 8]
call fcn.00401658
and dword [ebp - 0x44], 0
xor eax, eax
lea edi, [ebp - 0x40]
push 0x14
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.0046aa50
add esp, 0xc
lea ecx, [ebp - 0x1c]
push edi
push dword [ebp - 8]
call fcn.0045c222
mov eax, dword [ebp - 4]
or dword [ebp - 0x34], 0xffffffff
add eax, 0xb28f
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x3c], 4
mov byte [ebp - 0x3b], 0x10
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x40], eax
call fcn.0045c3fd
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push 1
push 0x444
push dword [ebx + 0xb8]
call esi
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
lea ecx, [ebp - 8]
push eax
mov dword [ebp - 0x64], 0x20
mov dword [ebp - 0x60], 2
call fcn.00401522
push 0
lea ecx, [ebp - 8]
call fcn.004016d4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
add eax, 0xb28f
push eax
push 0x440
push dword [ebx + 0xb8]
call esi
lea ecx, [ebp - 0x1c]
call fcn.0045bcda
lea ecx, [ebp - 8]
call fcn.0040139c
lea ecx, [ebp - 0xc]
call fcn.0040139c
shl dword [ebp - 0x10], 1
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1a
jl 0x40e2c4
pop edi
pop esi
pop ebx
leave
ret