joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408750
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x40ccf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push edi
xor eax, eax
push 0x13e
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
push 0x4108cc
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0xc]
mov ebp, eax
call fcn.0040bb3a
cmp ebp, 0xffffffff
je 0x408803
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push esi
mov esi, 0x4108b8
lea eax, [edi + 0x2c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4087e5
test cl, cl
je 0x4087e1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4087e5
add eax, 2
add esi, 2
test cl, cl
jne 0x4087c1
xor eax, eax
jmp 0x4087ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4087f2
inc dword [esp + 0x10]
push edi
push ebp
call ebx
test eax, eax
jne 0x4087b9
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebx
test edi, edi
je 0x408810
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.0040bb3a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4025d0
Capabilities:
Set current directory

Disassembly:
sub esp, 0x108
push esi
push edi
mov edi, dword [esp + 0x114]
mov esi, ecx
push edi
push str.Current_Script
call fcn.00401670
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.00401b60
mov byte [eax - 1], 0
lea eax, [esp + 0xc]
push eax
push str.Currentdir
mov ecx, esi
call fcn.00401670
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
pop edi
pop esi
add esp, 0x108
ret 4

Function at 0x402a20
Capabilities:
Delete file
Set file attributes

Disassembly:
sub esp, 0x88
push esi
mov esi, dword [esp + 0x90]
push edi
lea eax, [esp + 8]
push 0x4000
push eax
push esi
mov edi, ecx
mov byte [esp + 0x14], 0x88
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
je 0x402a6e
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
push esi
mov ecx, edi
call fcn.00402960
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
xor eax, eax
pop esi
add esp, 0x88
ret 4
Function at 0x403220
Capabilities:
Enumerate files on windows
Shutdown system

Disassembly:
push 0xffffffffffffffff
push 0x40607b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
push str.set_UninstallFilessysdir.nvu
mov dword [esp + 0x1d8], 0
call fcn.00401c40
push str.UninstallFiles
mov ecx, esi
call fcn.00401560
push eax
mov ecx, esi
call fcn.004033d0
test eax, eax
jne 0x403312
mov al, byte [esi + 0x5e5]
test al, al
je 0x403312
mov ecx, dword [esi + 0x550]
lea eax, [esp + 0xc]
push 0x80
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.00403960
push str.set_NVUninstFilessysdir_nvu.exe
mov ecx, esi
call fcn.00401c40
lea eax, [esp + 0x8c]
mov ecx, esi
push eax
push str.NVUninstFiles
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x403312
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x12
je 0x40330a
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, esi
call fcn.00403960
lea edx, [esp + 0x94]
push edx
push edi
call ebp
call ebx
cmp eax, 0x12
jne 0x4032e8
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
push str.ForceNoReboot
mov ecx, esi
call fcn.00401560
mov cl, byte [esi + 0x5e4]
test cl, cl
je 0x403398
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
test eax, eax
je 0x403341
push 0x409930
push eax
call edi
add esp, 8
test eax, eax
je 0x403398
push str.Silent
mov ecx, esi
call fcn.00401560
test eax, eax
je 0x403360
push 0x409930
push eax
call edi
add esp, 8
test eax, eax
je 0x403380
mov eax, dword [esi + 0x54c]
push 4
push eax
push 2
mov ecx, esi
call fcn.00401470
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x403398
push 1
push str.SeShutdownPrivilege
mov ecx, esi
call fcn.004031a0
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, esi
mov dword [esp + 0x1d4], 0xffffffff
call fcn.004014e0
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1d0
ret

Function at 0x4033d0
Capabilities:
Enumerate files on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x140
lea eax, [esp]
push esi
push edi
push eax
push ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40341f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x12
je 0x403417
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x10]
inc edi
push edx
push esi
call ebp
call ebx
cmp eax, 0x12
jne 0x403406
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 0x140
ret 4
Function at 0x403430
Capabilities:
Get file version info

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x403454
pop esi
mov al, 1
pop ebp
add esp, 8
ret 0xc
push ebx
push edi
push esi
xor bl, bl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x20]
add esp, 4
mov edi, eax
push edi
push esi
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4034a9
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0x40a824
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4034a9
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 8]
cmp eax, ecx
jb 0x4034a9
jne 0x4034ab
mov ecx, dword [edx + 0xc]
mov eax, dword [esp + 0x24]
cmp ecx, eax
jae 0x4034ab
mov bl, 1
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
add esp, 8
ret 0xc

Function at 0x403960
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
push edi
jne 0x403980
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
ret 4
mov ecx, esi
call fcn.00403a60
test al, al
jne 0x403992
pop edi
xor eax, eax
pop esi
ret 4
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4039cc
push eax
push edi
mov ecx, esi
call fcn.00403aa0
mov dl, byte [esi + 0x5e4]
pop edi
or dl, al
mov al, dl
mov byte [esi + 0x5e4], dl
and eax, 0xff
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x403d10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x114
mov eax, dword [esp + 0x11c]
push ebx
push ebp
lea edx, [esp + 0x1c]
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], 0
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403d31
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
mov ax, word [0x40a824]
or ecx, 0xffffffff
mov word [edi - 1], ax
mov edi, dword [esp + 0x130]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x12c]
push 0xf003f
lea ecx, [esp + 0x2c]
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403e4e
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
push eax
push eax
push eax
mov edx, dword [esp + 0x24]
push eax
push eax
lea eax, [esp + 0x30]
push eax
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x403e43
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x403e43
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebp, 0x80
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
lea edx, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x28]
dec eax
push edx
push eax
push ecx
mov dword [esp + 0x38], ebp
call esi
lea edx, [esp + 0xa4]
lea eax, [esp + 0x24]
push edx
push eax
push edi
mov ecx, ebx
call fcn.00403d10
test eax, eax
jne 0x403e38
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xa4]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x403de3
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0xc
Function at 0x403e60
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
lea eax, [esp + 0x18]
push edi
push eax
push 0xf003f
push 0
mov esi, 1
push ebx
push ebp
mov edi, ecx
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403ee7
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x403ed8
mov edx, dword [esp + 0x1c]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x403ed8
push esi
push ebx
push ebp
mov ecx, edi
call fcn.00403d10
mov eax, dword [esp + 0x1c]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x403ed8
xor esi, esi
jmp 0x403edc
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x404280
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
sub esp, 0x28
push ebx
push esi
push edi
xor edi, edi
push 0xf003f
mov esi, ecx
push edi
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x10], ebx
je 0x4043b6
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x38]
push 0xf01ff
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, edi
je 0x40438d
lea ecx, [esp + 0x18]
push ebp
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x404346
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ebx, 0x64
mov eax, dword [esp + 0x20]
dec ebx
cmp eax, 1
je 0x404318
push 0x64
call edi
lea edx, [esp + 0x1c]
push edx
push esi
call ebp
test eax, eax
je 0x404311
test ebx, ebx
jne 0x4042f3
cmp dword [esp + 0x20], 1
jne 0x404321
push 0x3e8
call edi
jmp 0x404342
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x18]
push eax
push 8
mov ecx, ebx
call fcn.00401470
push eax
push str.Error:
push ebx
call fcn.00402230
add esp, 0x10
mov ebx, dword [esp + 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
pop ebp
jne 0x404372
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x430
mov dword [esp + 0xc], eax
jne 0x404372
push 0x3e8
call edi
mov dword [esp + 0xc], 0
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
mov dword [esp + 0xc], eax
jne 0x4043a2
mov dword [esp + 0xc], edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, esi
call fcn.004022b0
pop edi
pop esi
mov eax, 0x427
pop ebx
add esp, 0x28
ret 4
Function at 0x401f30
Capabilities:
Set registry value

Disassembly:
mov eax, dword [0x4caf38]
sub esp, 8
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x401f88
mov ecx, dword [0x4caf3c]
cmp ecx, edi
je 0x401f56
push ecx
push eax
call sub.USER32.dll_DdeFreeStringHandle
mov eax, dword [0x4caf38]
mov ecx, dword [0x4caf40]
cmp ecx, edi
je 0x401f6c
push ecx
push eax
call sub.USER32.dll_DdeFreeStringHandle
mov eax, dword [0x4caf38]
mov ecx, dword [0x4caf3c]
push 2
push edi
push ecx
push eax
call sub.USER32.dll_DdeNameService
mov edx, dword [0x4caf38]
push edx
call sub.USER32.dll_DdeUninitialize
mov esi, dword [0x4caf1c]
cmp esi, edi
je 0x401fa2
mov ecx, esi
call fcn.004329f0
push esi
call fcn.00498600
add esp, 4
mov esi, dword [0x4caf18]
mov dword [0x4caf1c], edi
cmp esi, edi
je 0x401fc2
mov ecx, esi
call fcn.0040a970
push esi
call fcn.00498600
add esp, 4
mov eax, dword [0x4caf30]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
push eax
mov dword [0x4caf18], edi
call esi
mov ecx, dword [0x4caf34]
push ecx
call esi
mov dword [0x4caf30], edi
mov dword [0x4caf34], edi
call dword [sym.imp.ole32.dll_OleUninitialize]
push edi
push 2
push str.ACDSee32.hlp
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_WinHelpA]
mov edx, dword [0x4caf44]
push edx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [str.SoftwareACD_SystemsACDSee32]
mov ecx, 0x4ca928
push eax
call fcn.0042a420
call fcn.00447d70
call fcn.00407370
cmp eax, 1
je 0x40207f
mov eax, dword [str.SoftwareACD_SystemsACDSee32]
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push edx
push edi
push 0x20006
push edi
push 0x4caf4c
push edi
push eax
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [esp + 8]
push 2
push 0x4caf28
push 3
push edi
push str.Images
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret
Function at 0x402e50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push str.MSWHEEL_ROLLMSG
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x4caf24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00498610
add esp, 4
push 0
push 0
push 0x402ff0
push 0x4caf38
call sub.USER32.dll_DdeInitializeA
test eax, eax
jne 0x402ed9
mov eax, dword [str.ACDSee_32]
mov ecx, dword [0x4caf38]
push 0x3ec
push eax
push ecx
call sub.USER32.dll_DdeCreateStringHandleA
mov edx, dword [0x4caf38]
push 0x3ec
push str.System
push edx
mov dword [0x4caf3c], eax
call sub.USER32.dll_DdeCreateStringHandleA
mov ecx, dword [0x4caf38]
mov dword [0x4caf40], eax
mov eax, dword [0x4caf3c]
push 1
push 0
push eax
push ecx
call sub.USER32.dll_DdeNameService
jmp 0x402ee6
push str.DDE_registration_failed
call fcn.00402fd0
add esp, 4
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
je 0x402f12
push str.OLE_initialization_failed
call fcn.00402fd0
add esp, 4
call dword [sym.imp.ole32.dll_OleUninitialize]
xor eax, eax
pop esi
add esp, 0xc
ret
mov edx, dword [str.SoftwareACD_SystemsACDSee32]
mov ecx, 0x4ca928
push edx
call fcn.00428b70
mov eax, dword [str.SoftwareACD_SystemsACDSee32]
mov ecx, 0x4ca928
push eax
call fcn.00429d60
mov edx, dword [str.SoftwareACD_SystemsACDSee32]
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push edx
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402f89
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push 0x4caf28
push ecx
push 0
push str.Images
push edx
mov dword [esp + 0x20], 2
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x4caf20]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x65
push ecx
call esi
mov edx, dword [0x4caf20]
push 0x74
push edx
mov dword [0x4caf30], eax
call esi
push 1
mov dword [0x4caf34], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x403b90
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x419
push esi
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x41d
push esi
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
mov dword [esp + 8], eax
lea eax, [ecx + edx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
pop edi
pop esi
add esp, 0x18
ret
Function at 0x403c10
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
lea eax, [esp]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push edx
push 0x419
push esi
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x41d
push esi
call edi
test eax, eax
jne 0x403c5d
pop edi
pop esi
add esp, 0x18
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
pop edi
pop esi
add esp, 0x18
ret

Function at 0x4046b0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x1a0
mov eax, dword [esp + 0x1ac]
lea edx, [esp]
push ebp
mov ebp, dword [esp + 0x1b8]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x10]
mov dword [esp + 8], 0xf0000000
push edx
push 1
push eax
mov dword [esp + 0x1c], ebp
call dword [ecx + 0x24]
mov eax, dword [esp + 4]
test eax, 0x20000000
je 0x4047f8
test eax, 0x50000000
je 0x4047f8
mov eax, dword [esp + 0x1b4]
push edi
push esi
push ebx
push ebp
push eax
call fcn.00431070
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
add esp, 8
lea ecx, [esp + 0x50]
xor ebx, ebx
push 0x208
push 0x160
mov esi, eax
push ecx
push ebx
push esi
call edi
test eax, eax
je 0x404741
lea edx, [esp + 0x5c]
push edx
call fcn.0043c610
add esp, 4
mov ebx, eax
push 0x4109
lea eax, [esp + 0x54]
push 0x160
push eax
push 0
push esi
call edi
mov ecx, dword [esp + 0x54]
push 0x410b
lea edx, [esp + 0x54]
push 0x160
push edx
push 0
push esi
mov dword [esp + 0x28], ecx
call edi
mov edi, dword [esp + 0x54]
push 0xc
call fcn.004985f0
add esp, 4
test eax, eax
je 0x404796
mov ecx, dword [esp + 0x1bc]
push ebp
push esi
push ecx
mov ecx, eax
call fcn.00404640
jmp 0x404798
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1b8]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x1c]
shr ecx, 0x1f
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1b4]
push eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
push 0
push 0x1100
push ecx
mov dword [esp + 0x30], 0xffff0002
mov dword [esp + 0x34], 0x67
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edi
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call fcn.00498600
add esp, 4
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x1a0
ret
Function at 0x4049d0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub esp, 0x1b4
push ebx
push ebp
mov ebp, dword [esp + 0x1c0]
push esi
push edi
push 1
push eax
push ecx
push ebp
lea ecx, [esp + 0x74]
call fcn.004270b0
cmp dword [esp + 0x68], 1
jne 0x404a8c
mov eax, dword [esp + 0x1d4]
test eax, eax
je 0x404a8c
mov esi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f02
push 0
call esi
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, 0x80000000
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x70]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x7f00
push 0
mov edi, eax
call esi
push eax
call ebx
test edi, edi
jne 0x404a8c
push 0x1fe
push ebp
push 0xfffffffffffffffa
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call fcn.0043cfa0
add esp, 0xc
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x1a8], 0x4aa690
test eax, eax
je 0x404ae5
mov eax, dword [esp + 0x1b0]
xor edi, edi
test eax, eax
jle 0x404ae5
cmp edi, eax
jge 0x404ac3
test edi, edi
jl 0x404ac3
mov edx, dword [esp + 0x1ac]
mov esi, dword [edx + edi*4]
jmp 0x404ac5
xor esi, esi
test esi, esi
je 0x404ae0
mov ecx, esi
call fcn.00427070
push esi
call fcn.00498600
mov eax, dword [esp + 0x1b4]
add esp, 4
inc edi
cmp edi, eax
jl 0x404ab3
mov eax, dword [esp + 0x1ac]
push eax
call fcn.00498600
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b4
ret

Function at 0x404b10
Capabilities:
Create process on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edi, dword [sym.imp.USER32.dll_SetCursor]
push eax
call edi
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x1c]
push 5
push eax
push 0
push ebp
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
mov esi, eax
call edi
cmp esi, 0x1b
je 0x404b68
cmp esi, 0x1f
je 0x404b68
xor eax, eax
cmp esi, 0x20
setg al
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 1
push edx
push ebp
push eax
call fcn.004049d0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x405750
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x370
push esi
push edi
mov esi, ecx
push eax
call fcn.00431020
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
add esp, 4
lea ecx, [esp + 8]
mov dword [esi], eax
push 0x4209
push 0x160
push ecx
push 0
push eax
mov dword [esi + 0xc], 0
call edi
test eax, eax
je 0x405795
lea edx, [esp + 0x14]
push edx
jmp 0x40579a
push 0x4caf4c
call fcn.0043c610
mov edx, dword [esi]
add esp, 4
lea ecx, [esp + 0x270]
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
push ecx
push edx
mov dword [esi + 0x10], eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x40585f
push 1
lea eax, [esp + 0x16c]
push 0x640005
lea ecx, [esp + 0x278]
push eax
push ecx
push 0
call fcn.00431420
add esp, 0x14
test eax, eax
jl 0x40585f
lea edx, [esp + 0x168]
push edx
call fcn.0043c610
add esp, 4
mov dword [esi + 8], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x168]
push 0x800
push 0x160
push eax
push 0
push ecx
call edi
test eax, eax
je 0x40585f
test dword [esp + 0x10], 0x20000000
je 0x40583a
mov dword [esi + 0xc], 1
mov eax, esi
pop edi
pop esi
add esp, 0x370
ret 4
push 0x2000
lea edx, [esp + 0xc]
push 0x160
push edx
lea eax, [esp + 0x174]
push 0
push eax
call edi
neg eax
sbb eax, eax
add eax, 3
mov dword [esi + 0xc], eax
mov eax, esi
pop edi
pop esi
add esp, 0x370
ret 4