joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431702
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x47db84
call fcn.0044fae0
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040bca6
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x431764
call fcn.00419c4b
cmp eax, 1
jne 0x431764
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040d73c
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040d695
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401410
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401410
mov eax, esi
call fcn.0044fbb8
ret 8

Function at 0x44e4b1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a8188]
jne 0x44e4bb
repz ret
jmp fcn.00457b3c

Function at 0x46f76b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045746b
and dword [ebp - 4], 0
cmp dword [0x4ac014], 0
mov ebx, eax
jne 0x46f81c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46f8cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48b24c
push edi
call esi
test eax, eax
je 0x46f8cd
push eax
call fcn.004573f9
mov dword [esp], 0x48b23c
push edi
mov dword [0x4ac014], eax
call esi
push eax
call fcn.004573f9
mov dword [esp], 0x48b228
push edi
mov dword [0x4ac018], eax
call esi
push eax
call fcn.004573f9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4ac01c], eax
call esi
push eax
call fcn.004573f9
pop ecx
mov dword [0x4ac024], eax
test eax, eax
je 0x46f81c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004573f9
pop ecx
mov dword [0x4ac020], eax
mov eax, dword [0x4ac020]
cmp eax, ebx
je 0x46f874
cmp dword [0x4ac024], ebx
je 0x46f874
push eax
call fcn.00457474
push dword [0x4ac024]
mov esi, eax
call fcn.00457474
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46f874
test edi, edi
je 0x46f874
call esi
test eax, eax
je 0x46f86b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46f86b
test byte [ebp - 0xc], 1
jne 0x46f874
or dword [ebp + 0x10], 0x200000
jmp 0x46f8ad
mov eax, dword [0x4ac018]
cmp eax, ebx
je 0x46f8ad
push eax
call fcn.00457474
pop ecx
test eax, eax
je 0x46f8ad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46f8ad
mov eax, dword [0x4ac01c]
cmp eax, ebx
je 0x46f8ad
push eax
call fcn.00457474
pop ecx
test eax, eax
je 0x46f8ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ac014]
call fcn.00457474
pop ecx
test eax, eax
je 0x46f8cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46f8cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4032ee
Capabilities:
Copy file
Create directory
Delete file
Set current directory
Terminate process

Disassembly:
jb 0x403330
add byte [ecx], bh
pop esp
and al, 0x10
adc eax, sym.imp.KERNEL32.dll_CreateDirectoryA

Function at 0x4033ac
Capabilities:
Copy file
Delete file

Disassembly:
call fcn.00405b62
call dword [0x407280]
jb 0x403330
add byte [ecx], bh
pop esp
and al, 0x10
je 0x4033e0
push 0x200010
push dword [esp + 0x14]
call 0x4079d2
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x42eb70]
push dword [eax + 0x120]
push esi
call 0x4081a9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x10], ebx
je 0x4033cb
push 1
push esi
push 0x435c00
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4033cb
push ebx
push esi
call 0x407efb
mov eax, dword [0x42eb70]
push dword [eax + 0x124]
and al, 1
add byte [eax], al
push esi
call 0x4081e0
push esi
call 0x407a24
cmp eax, ebx
je 0x4033cb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebx
inc byte [0x42f400]
dec edi
jne 0x40336e
push ebx
push ebp
call 0x407f31
jmp 0x4032e6
cmp dword [0x42ebf4], ebx
je 0x403463
push 3
call 0x408519
push 4
mov ebp, eax
fistp dword [esi + 0x29]
add byte [eax], al
push 5
mov esi, eax
call 0x40852b
cmp ebp, ebx
mov edi, eax
je 0x40344f
cmp esi, ebx
je 0x40344f
cmp edi, ebx
je 0x40344f
lea eax, [esp + 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
test eax, eax
je 0x40344f
lea eax, [esp + 0x24]
push eax
push str.SeShutdownPrivilege
add byte [ebx - 1], dl
salc
push ebx
push ebx
lea eax, [esp + 0x28]
push ebx
push eax
push ebx
push dword [esp + 0x30]
mov dword [esp + 0x38], 1
inc esp
and al, 0x38
add dword [eax], eax
add byte [eax], al
mov dword [esp + 0x44], 2
call edi
push ebx
Function at 0x40342c
Capabilities:
Shutdown system
Terminate process

Disassembly:
call fcn.00405b62
call dword [0x407280]
jb 0x403330
add byte [ecx], bh
pop esp
and al, 0x10
je 0x4033e0
push 0x200010
push dword [esp + 0x14]
call 0x4079d2
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x42eb70]
push dword [eax + 0x120]
push esi
call 0x4081a9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x10], ebx
je 0x4033cb
push 1
push esi
push 0x435c00
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4033cb
push ebx
push esi
call 0x407efb
mov eax, dword [0x42eb70]
push dword [eax + 0x124]
and al, 1
add byte [eax], al
push esi
call 0x4081e0
push esi
call 0x407a24
cmp eax, ebx
je 0x4033cb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebx
inc byte [0x42f400]
dec edi
jne 0x40336e
push ebx
push ebp
call 0x407f31
jmp 0x4032e6
cmp dword [0x42ebf4], ebx
je 0x403463
push 3
call 0x408519
push 4
mov ebp, eax
fistp dword [esi + 0x29]
add byte [eax], al
push 5
mov esi, eax
call 0x40852b
cmp ebp, ebx
mov edi, eax
je 0x40344f
cmp esi, ebx
je 0x40344f
cmp edi, ebx
je 0x40344f
lea eax, [esp + 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
test eax, eax
je 0x40344f
lea eax, [esp + 0x24]
push eax
push str.SeShutdownPrivilege
add byte [ebx - 1], dl
salc
push ebx
push ebx
lea eax, [esp + 0x28]
push ebx
push eax
push ebx
push dword [esp + 0x30]
mov dword [esp + 0x38], 1
inc esp
and al, 0x38
add dword [eax], eax
add byte [eax], al
mov dword [esp + 0x44], 2
call edi
push ebx
Function at 0x40343e
Capabilities:
Shutdown system
Terminate process

Disassembly:
call fcn.00405b62
call dword [0x407280]
jb 0x403330
add byte [ecx], bh
pop esp
and al, 0x10
je 0x4033e0
push 0x200010
push dword [esp + 0x14]
call 0x4079d2
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x42eb70]
push dword [eax + 0x120]
push esi
call 0x4081a9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x10], ebx
je 0x4033cb
push 1
push esi
push 0x435c00
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4033cb
push ebx
push esi
call 0x407efb
mov eax, dword [0x42eb70]
push dword [eax + 0x124]
and al, 1
add byte [eax], al
push esi
call 0x4081e0
push esi
call 0x407a24
cmp eax, ebx
je 0x4033cb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebx
inc byte [0x42f400]
dec edi
jne 0x40336e
push ebx
push ebp
call 0x407f31
jmp 0x4032e6
cmp dword [0x42ebf4], ebx
je 0x403463
push 3
call 0x408519
push 4
mov ebp, eax
fistp dword [esi + 0x29]
add byte [eax], al
push 5
mov esi, eax
call 0x40852b
cmp ebp, ebx
mov edi, eax
je 0x40344f
cmp esi, ebx
je 0x40344f
cmp edi, ebx
je 0x40344f
lea eax, [esp + 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
test eax, eax
je 0x40344f
lea eax, [esp + 0x24]
push eax
push str.SeShutdownPrivilege
add byte [ebx - 1], dl
salc
push ebx
push ebx
lea eax, [esp + 0x28]
push ebx
push eax
push ebx
push dword [esp + 0x30]
mov dword [esp + 0x38], 1
inc esp
and al, 0x38
add dword [eax], eax
add byte [eax], al
mov dword [esp + 0x44], 2
call edi
push ebx
Function at 0x403447
Capabilities:
Shutdown system
Terminate process

Disassembly:
call fcn.00405b62
call dword [0x407280]
jb 0x403330
add byte [ecx], bh
pop esp
and al, 0x10
je 0x4033e0
push 0x200010
push dword [esp + 0x14]
call 0x4079d2
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x42eb70]
push dword [eax + 0x120]
push esi
call 0x4081a9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x10], ebx
je 0x4033cb
push 1
push esi
push 0x435c00
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4033cb
push ebx
push esi
call 0x407efb
mov eax, dword [0x42eb70]
push dword [eax + 0x124]
and al, 1
add byte [eax], al
push esi
call 0x4081e0
push esi
call 0x407a24
cmp eax, ebx
je 0x4033cb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebx
inc byte [0x42f400]
dec edi
jne 0x40336e
push ebx
push ebp
call 0x407f31
jmp 0x4032e6
cmp dword [0x42ebf4], ebx
je 0x403463
push 3
call 0x408519
push 4
mov ebp, eax
fistp dword [esi + 0x29]
add byte [eax], al
push 5
mov esi, eax
call 0x40852b
cmp ebp, ebx
mov edi, eax
je 0x40344f
cmp esi, ebx
je 0x40344f
cmp edi, ebx
je 0x40344f
lea eax, [esp + 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
test eax, eax
je 0x40344f
lea eax, [esp + 0x24]
push eax
push str.SeShutdownPrivilege
add byte [ebx - 1], dl
salc
push ebx
push ebx
lea eax, [esp + 0x28]
push ebx
push eax
push ebx
push dword [esp + 0x30]
mov dword [esp + 0x38], 1
inc esp
and al, 0x38
add dword [eax], eax
add byte [eax], al
mov dword [esp + 0x44], 2
call edi
push ebx

Function at 0x403450
Capabilities:
Shutdown system
Terminate process

Disassembly:
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x403463
push 9
call fcn.00403c6a
mov eax, dword [0x42ec0c]
cmp eax, 0xffffffff
je 0x403471
mov dword [esp + 0x18], eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403f52
Capabilities:
Read file on windows

Disassembly:
add byte [ebx - 0x2908b810], cl
shr esi, 5
and esi, 1
and eax, 1
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 0x403ed2
add byte [ebx], cl
invalid
call sym.imp.KERNEL32.dll_ReadFile
push dword [ebx + 0x38]
jae 0x403fad

Function at 0x404246
Capabilities:
Get disk size

Disassembly:
push ebx
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov dword [ebp - 8], eax
call 0x408bbf
test eax, eax
je 0x40426b
push esi
call 0x408bf0
test eax, eax
jne 0x40426b
push esi
call 0x408b66
push esi
mov dword [0x42e338], edi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp + 0x14]
push dword [eax + 0x34]
push 1
push edi
call 0x407443
mov eax, dword [ebp + 0x14]
push dword [eax + 0x30]
push 0x14
push edi
call 0x407451
push dword [ebp - 8]
call 0x40748e
Function at 0x404326
Capabilities:
Get disk size

Disassembly:
shr ecx, 0x10
cmp cx, 0x300
jne 0x40451c
mov dword [ebp + 0xc], 0x40f
cmp eax, 0x3e9
jne 0x404391
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x44]
push dword [ebp - 4]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov edi, 0x429fe0
push 0x4293b0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x34], 0x404531
mov dword [ebp - 0x30], esi
call 0x409146
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x38], 0x41
inc ecx
add byte [eax], al
add bh, bh
adc eax, 0x407154
jno 0x40436f
invalid
test eax, eax
je 0x40438a
push eax
call dword [0x407278]
push esi
call 0x408c3c
mov eax, dword [0x42eb70]
mov eax, dword [eax + 0x11c]
test eax, eax
je 0x404378
cmp esi, 0x434400
jne 0x404378
push eax
push 0
call 0x40918a
push edi
mov edi, 0x42db00
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x404378
push edi
push esi
call 0x40919c
inc dword [0x429fcc]
push esi
push ebx
push dword [ebp + 8]
call 0x408a2f
jmp 0x404391
mov dword [ebp + 0xc], 0x40f
cmp dword [ebp + 0xc], 0x40f
je 0x4043a7
cmp dword [ebp + 0xc], 0x405
jne 0x40451c
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push esi
push ebx
call 0x408a63
push esi
call 0x408d98
test eax, eax
jne 0x4043c7
mov dword [ebp - 4], 1
mov edi, 0x428fa8
push esi
push edi
call 0x4091db
xor ebx, ebx
push ebx
call 0x409505

Function at 0x4043db
Capabilities:
Get disk size

Disassembly:
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x404417
xor eax, eax
cmp eax, edi
je 0x404415
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [ebp - 0xc]
test eax, eax
jne 0x404468
test ebx, ebx
je 0x404403
and word [ebx], ax
push edi
call 0x408d4b
mov ebx, eax
dec ebx
cmp ebx, edi
mov word [ebx], 0x5c
jne 0x4043e8
xor ebx, ebx
push esi
push edi
call 0x409226
push edi
call 0x408db3
cmp eax, ebx
je 0x40442b
and byte [eax], 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
shrd edi, eax, 0xa
shr eax, 0xa
mov dword [ebp - 8], 1
Function at 0x4048b5
Capabilities:
Capture webcam image

Disassembly:
lea eax, [edx + 0x10]
cmp byte [eax], 0
je 0x40490c
mov dword [ebp - 0x38], eax
mov eax, dword [edx]
push 0x20
mov edx, eax
pop ecx
mov dword [ebp - 0x50], ebx
and edx, ecx
mov dword [ebp - 0x4c], 0xffff0002
test al, 2
mov dword [ebp - 0x48], 0xd
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x40], edx
je 0x4048de
lea eax, [ebp - 0x50]
mov dword [ebp - 0x48], 0x4d
push eax
push 0
push 0x1100
adc dword [eax], eax
add bh, al
inc ebp
fadd dword [ecx]
add byte [eax], al
add bh, bh
jne 0x4048be
call esi
mov ecx, dword [0x429fd4]
mov dword [ebp - 0x18], 0x3cce
mov dword [ecx + edi*4], eax
mov eax, dword [0x429fd4]
mov ebx, dword [eax + edi*4]
jmp 0x40490c
test al, 4
je 0x4048f3
push ebx
push 3
push 0x110a
push dword [ebp - 4]
call esi
mov ebx, eax
jmp 0x40490c
lea eax, [ebp - 0x50]
push eax
push 0
push 0x1100
push dword [ebp - 4]
call esi
mov ecx, dword [0x429fd4]
mov dword [ecx + edi*4], eax
invalid
mov edx, dword [ebp - 0x14]
inc edi
add edx, 0x418
cmp edi, dword [0x42eb8c]
mov dword [ebp - 0x14], edx
jl 0x404870
cmp dword [ebp - 0x18], 0
jne 0x404944
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 0xfb
push eax
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [ebp - 0xc], 0
jne 0x404962
push 5
push dword [ebp - 8]
call dword [0x407260]
push dword [ebp - 8]
call 0x407b4c
add byte [eax], al
jmp 0x404ce5
push dword [ebp - 4]
call 0x407b59
mov ebx, dword [ebp - 0x1c]
xor edi, edi
cmp dword [ebp + 0xc], 0x405
jne 0x40498a
xor ecx, ecx
mov dword [ebp + 0x10], edi
inc ecx
mov dword [ebp + 0xc], 0x40f
mov dword [ebp + 0x14], ecx
jmp 0x40498d
mov ecx, dword [ebp + 0x14]
cmp dword [ebp + 0xc], 0x4e
mov eax, 0x413
je 0x4049a1
cmp dword [ebp + 0xc], eax
jne 0x404a88
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ecx
Function at 0x4048ef
Capabilities:
Capture webcam image

Disassembly:
lea eax, [edx + 0x10]
cmp byte [eax], 0
je 0x40490c
mov dword [ebp - 0x38], eax
mov eax, dword [edx]
push 0x20
mov edx, eax
pop ecx
mov dword [ebp - 0x50], ebx
and edx, ecx
mov dword [ebp - 0x4c], 0xffff0002
test al, 2
mov dword [ebp - 0x48], 0xd
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x40], edx
je 0x4048de
lea eax, [ebp - 0x50]
mov dword [ebp - 0x48], 0x4d
push eax
push 0
push 0x1100
adc dword [eax], eax
add bh, al
inc ebp
fadd dword [ecx]
add byte [eax], al
add bh, bh
jne 0x4048be
call esi
mov ecx, dword [0x429fd4]
mov dword [ebp - 0x18], 0x3cce
mov dword [ecx + edi*4], eax
mov eax, dword [0x429fd4]
mov ebx, dword [eax + edi*4]
jmp 0x40490c
test al, 4
je 0x4048f3
push ebx
push 3
push 0x110a
push dword [ebp - 4]
call esi
mov ebx, eax
jmp 0x40490c
lea eax, [ebp - 0x50]
push eax
push 0
push 0x1100
push dword [ebp - 4]
call esi
mov ecx, dword [0x429fd4]
mov dword [ecx + edi*4], eax
invalid
mov edx, dword [ebp - 0x14]
inc edi
add edx, 0x418
cmp edi, dword [0x42eb8c]
mov dword [ebp - 0x14], edx
jl 0x404870
cmp dword [ebp - 0x18], 0
jne 0x404944
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 0xfb
push eax
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [ebp - 0xc], 0
jne 0x404962
push 5
push dword [ebp - 8]
call dword [0x407260]
push dword [ebp - 8]
call 0x407b4c
add byte [eax], al
jmp 0x404ce5
push dword [ebp - 4]
call 0x407b59
mov ebx, dword [ebp - 0x1c]
xor edi, edi
cmp dword [ebp + 0xc], 0x405
jne 0x40498a
xor ecx, ecx
mov dword [ebp + 0x10], edi
inc ecx
mov dword [ebp + 0xc], 0x40f
mov dword [ebp + 0x14], ecx
jmp 0x40498d
mov ecx, dword [ebp + 0x14]
cmp dword [ebp + 0xc], 0x4e
mov eax, 0x413
je 0x4049a1
cmp dword [ebp + 0xc], eax
jne 0x404a88
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ecx
Function at 0x40490b
Capabilities:
Capture webcam image

Disassembly:
lea eax, [edx + 0x10]
cmp byte [eax], 0
je 0x40490c
mov dword [ebp - 0x38], eax
mov eax, dword [edx]
push 0x20
mov edx, eax
pop ecx
mov dword [ebp - 0x50], ebx
and edx, ecx
mov dword [ebp - 0x4c], 0xffff0002
test al, 2
mov dword [ebp - 0x48], 0xd
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x40], edx
je 0x4048de
lea eax, [ebp - 0x50]
mov dword [ebp - 0x48], 0x4d
push eax
push 0
push 0x1100
adc dword [eax], eax
add bh, al
inc ebp
fadd dword [ecx]
add byte [eax], al
add bh, bh
jne 0x4048be
call esi
mov ecx, dword [0x429fd4]
mov dword [ebp - 0x18], 0x3cce
mov dword [ecx + edi*4], eax
mov eax, dword [0x429fd4]
mov ebx, dword [eax + edi*4]
jmp 0x40490c
test al, 4
je 0x4048f3
push ebx
push 3
push 0x110a
push dword [ebp - 4]
call esi
mov ebx, eax
jmp 0x40490c
lea eax, [ebp - 0x50]
push eax
push 0
push 0x1100
push dword [ebp - 4]
call esi
mov ecx, dword [0x429fd4]
mov dword [ecx + edi*4], eax
invalid
mov edx, dword [ebp - 0x14]
inc edi
add edx, 0x418
cmp edi, dword [0x42eb8c]
mov dword [ebp - 0x14], edx
jl 0x404870
cmp dword [ebp - 0x18], 0
jne 0x404944
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 0xfb
push eax
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [ebp - 0xc], 0
jne 0x404962
push 5
push dword [ebp - 8]
call dword [0x407260]
push dword [ebp - 8]
call 0x407b4c
add byte [eax], al
jmp 0x404ce5
push dword [ebp - 4]
call 0x407b59
mov ebx, dword [ebp - 0x1c]
xor edi, edi
cmp dword [ebp + 0xc], 0x405
jne 0x40498a
xor ecx, ecx
mov dword [ebp + 0x10], edi
inc ecx
mov dword [ebp + 0xc], 0x40f
mov dword [ebp + 0x14], ecx
jmp 0x40498d
mov ecx, dword [ebp + 0x14]
cmp dword [ebp + 0xc], 0x4e
mov eax, 0x413
je 0x4049a1
cmp dword [ebp + 0xc], eax
jne 0x404a88
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ecx

Function at 0x4049a7
Capabilities:
Capture webcam image

Disassembly:
je 0x4049b6
cmp dword [ecx + 4], 0x408
jne 0x404a88
test byte [0x42eb79], 2
jne 0x404a35
cmp dword [ebp + 0xc], eax
je 0x4049cd
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 8], 0xfffffffe
jne 0x404a35
xor ecx, ecx
cmp dword [ebp + 0xc], eax
setne cl
push ecx
push dword [ebp - 4]
call 0x408453
cmp eax, edi
jl 0x404a35
mov ecx, eax
imul ecx, ecx, 0x418
lea edx, [ecx + ebx + 8]
mov ecx, dword [edx]
test cl, 0x10
jne 0x404a35
test cl, 0x40
je fcn.00404a0e
xor ecx, 0x80
test cl, cl
jns 0x404a09
or ecx, 1
jmp 0x404a11
and ecx, 0xfffffffe
jmp 0x404a11

Function at 0x405152
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call 0x408341
pop edi
pop esi
pop ebx
leave
ret 0x10
jne 0x405112
cmp dword [ebp + 0x10], edi
jne 0x405112
push ebx
push ebx
push 0x1004
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
mov dword [ebp + 0xc], eax
jle 0x405265
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0xffffffffffffffe1
push ebx
Function at 0x40517b
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov esi, eax
call 0x409fac
push eax
push 1
push ebx
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [ebp + 0x14]
cmp eax, 0xffffffff
jne 0x4051a8
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
jmp 0x4051b1
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push ebx
push dword [ebp + 8]
push ebx
push eax
push ecx
push 0x180
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
xor esi, esi
inc esi
cmp eax, esi
jne 0x405265
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], 0x429fe0
mov dword [ebp - 0x28], 0xfff
mov dword [ebp + 8], eax
mov edi, 0x102d
dec dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 8], ebx
lea esi, [esi + eax + 2]
jne 0x4051eb
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp + 8], eax
inc ebp
or bh, bh
adc eax, sym.imp.KERNEL32.dll_GlobalLock
mov esi, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], esi
push eax
push ebx
push edi
push dword [ebp - 4]
invalid
invalid
inc esp
jb 0x40527b

Function at 0x4051a9
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov esi, eax
call 0x409fac
push eax
push 1
push ebx
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [ebp + 0x14]
cmp eax, 0xffffffff
jne 0x4051a8
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
jmp 0x4051b1
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push ebx
push dword [ebp + 8]
push ebx
push eax
push ecx
push 0x180
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
xor esi, esi
inc esi
cmp eax, esi
jne 0x405265
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], 0x429fe0
mov dword [ebp - 0x28], 0xfff
mov dword [ebp + 8], eax
mov edi, 0x102d
dec dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 8], ebx
lea esi, [esi + eax + 2]
jne 0x4051eb
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp + 8], eax
inc ebp
or bh, bh
adc eax, sym.imp.KERNEL32.dll_GlobalLock
mov esi, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], esi
push eax
push ebx
push edi
push dword [ebp - 4]
invalid
invalid
inc esp
jb 0x40527b
Function at 0x405220
Capabilities:
Write clipboard data

Disassembly:
mov esi, eax
call 0x409fac
push eax
push 1
push ebx
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [ebp + 0x14]
cmp eax, 0xffffffff
jne 0x4051a8
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
jmp 0x4051b1
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push ebx
push dword [ebp + 8]
push ebx
push eax
push ecx
push 0x180
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
xor esi, esi
inc esi
cmp eax, esi
jne 0x405265
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], 0x429fe0
mov dword [ebp - 0x28], 0xfff
mov dword [ebp + 8], eax
mov edi, 0x102d
dec dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 8], ebx
lea esi, [esi + eax + 2]
jne 0x4051eb
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp + 8], eax
inc ebp
or bh, bh
adc eax, sym.imp.KERNEL32.dll_GlobalLock
mov esi, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], esi
push eax
push ebx
push edi
push dword [ebp - 4]
invalid
invalid
inc esp
jb 0x40527b