joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b56
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 4]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.00405c3a
mov edi, eax
cmp edi, esi
je 0x405b96
cmp dword [ebp - 4], esi
je 0x405b8f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x405c33
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], 0x100
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x405c07
lea eax, [ebp - 0x214]
lea ecx, [ebp - 4]
push eax
call fcn.00405b56
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x405bf4
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x100
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x214]
push eax
push esi
push dword [ebp - 4]
jmp 0x405bb9
cmp dword [ebp - 4], esi
je 0x405c02
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x405c33
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x405c1a
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x405c31
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x405c78
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
push ebx
push esi
push edi
push str.:RepeatDEL___s_if_exist___s__goto_RepeatDEL___s_
lea ecx, [ebp - 0x10]
call fcn.0040a529
push str._selfdestruct.bat
lea eax, [ebp - 0xc]
push 0x4c5710
push eax
call fcn.0040a956
mov edx, dword [0x4bc51c]
mov esi, 0x81
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x428]
mov dword [ebp - 0x42c], edx
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x220]
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x634], edx
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x630]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x224]
mov esi, 0x104
push eax
push esi
call edi
lea eax, [ebp - 0x634]
push eax
push esi
call edi
push dword [ebp - 0xc]
lea eax, [ebp - 0x224]
push eax
call fcn.0049cea2
pop ecx
lea eax, [ebp - 0x42c]
pop ecx
xor ebx, ebx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
lea eax, [ebp - 0x42c]
mov ecx, esp
push eax
call fcn.0040a529
lea eax, [ebp - 8]
push eax
call fcn.004855b1
pop ecx
lea eax, [ebp - 0x224]
pop ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x405e12
push dword [ebp - 0xc]
mov eax, dword [0x4af550]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 0x10]
push eax
call fcn.00403d66
add esp, 0x14
lea ecx, [ebp - 4]
push 0x4afcdc
push 0x4afcd4
call fcn.004040f7
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x405da4
xor esi, esi
jmp 0x405dd3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0049c210
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x18]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
push ebx
push ecx
push dword [eax - 8]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x634]
push ebx
push eax
lea eax, [ebp - 0x224]
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea esp, [ebp - 0x640]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4060f3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, ecx
push edi
push 0x4bc51c
lea ecx, [ebp - 8]
call fcn.0040a529
lea ecx, [ebp - 0x48]
call fcn.004973d8
push 0x104
push 0x400
lea ecx, [ebp - 0x40]
call fcn.00403c58
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.00403cd2
push ecx
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.004038b5
lea eax, [ebp - 0xc]
push eax
call fcn.004600c4
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00403a8c
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea eax, [ebp - 8]
push eax
push 1
push ecx
mov ecx, esp
push 0x4bc518
call fcn.0040a529
push dword [esi + 4]
lea ecx, [ebp - 0x48]
call fcn.00497645
test eax, eax
jne 0x406196
xor esi, esi
jmp 0x406211
push dword [esi + 0x30]
mov eax, dword [0x4af550]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push dword [ebp - 8]
push str._s_s
push eax
call fcn.00403d66
lea eax, [ebp - 4]
push eax
call fcn.0045fecc
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.00403c58
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.004038fb
push 1
pop esi
lea ecx, [ebp - 0x48]
call fcn.00497415
lea ecx, [ebp - 8]
call fcn.004038fb
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x407c41
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 0x407c6b
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 0x407cd1
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.00403c58
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.00403c58
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp + 0xc]
push eax
push 2
jmp 0x407d20
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.00403c58
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.00403c58
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.00403c58
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.00403c58
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.00403cd2
mov ecx, dword [ebp - 8]
push esi
call fcn.00403cd2
mov ecx, dword [ebp - 0xc]
push esi
call fcn.00403cd2
push esi
mov ecx, edi
call fcn.00403cd2
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x407ecb
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.00407c6b
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 [0x4bc51c]
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], 0x4bc51c
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 0x408059
mov eax, dword [0x4af550]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x284]
test eax, eax
je 0x407fd1
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.004039ec
push 0x4b0120
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
je 0x408030
push 0x4b011c
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
je 0x408030
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.004038fb
lea eax, [ebp - 0x2b0]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407fb2
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x408060
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov edx, dword [0x4bc51c]
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 0x4080a8
push 2
jmp 0x4080aa
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 0x4afe24
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.00407ecb
pop edi
pop esi
leave
ret 8

Function at 0x40810a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push esi
push edi
lea eax, [ebp - 0x24c]
push 0x104
push eax
push dword [0x4c69a8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 4]
push eax
mov dword [ebp - 0x44], 0x3c
call fcn.0040a529
xor esi, esi
lea ecx, [ebp - 4]
push esi
mov dword [ebp - 0x40], esi
call fcn.00403c58
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.0040a9a2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], 0x4b0138
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.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x408e42
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 0x408e77
push eax
mov dword [ebp - 4], ecx
call esi
jmp 0x408e88
mov eax, dword [0x4af550]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.0040a750
mov eax, dword [ebp - 4]
push ecx
mov ecx, esp
cmp dword [eax - 0xc], edi
jl 0x408ea0
mov dword [ecx], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
push eax
call esi
jmp 0x408eaf
mov eax, dword [0x4af550]
mov dword [ecx], eax
push dword [ebp - 4]
call fcn.0040a750
call fcn.0046007f
pop ecx
push 1
pop ebx
cmp eax, ebx
jne 0x408f07
mov eax, dword [ebp - 4]
push ecx
mov ecx, esp
cmp dword [eax - 0xc], edi
jl 0x408ed4
mov dword [ecx], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
push eax
call esi
jmp 0x408ee3
mov eax, dword [0x4af550]
mov dword [ecx], eax
push dword [ebp - 4]
call fcn.0040a750
mov esi, dword [ebp - 0xc]
mov ecx, esi
call fcn.004090a2
cmp eax, edi
jne 0x408ef9
mov dword [esi + 0x1c], ebx
jmp 0x409003
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x409003
lea eax, [ebp - 4]
push eax
call fcn.00409035
lea ecx, [ebp - 8]
mov dword [esp], 0x4b02fc
call fcn.00403927
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 8]
call fcn.004038fb
push dword [ebp - 4]
lea ecx, [ebp - 0x474]
call fcn.0040b114
test eax, eax
je 0x408fef
lea ecx, [ebp - 0x474]
call fcn.0040b1b7
lea ecx, [ebp - 0x474]
mov esi, eax
call fcn.0040b0da
test eax, eax
jne 0x408fe7
push 0x10
lea ecx, [ebp - 0x474]
call fcn.0040b0be
test eax, eax
je 0x408faf
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x474]
push eax
call fcn.0040aff0
push eax
lea ecx, [ebp - 4]
call fcn.00403a8c
lea ecx, [ebp - 0x10]
call fcn.004038fb
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004038b5
mov ecx, dword [ebp - 0xc]
call fcn.00408e42
jmp 0x408fe7
lea eax, [ebp - 8]
lea ecx, [ebp - 0x474]
push eax
call fcn.0040aff0
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.004038b5
mov ecx, dword [ebp - 0xc]
call fcn.004090a2
test eax, eax
je 0x409025
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 8]
call fcn.004038fb
cmp esi, edi
jne 0x408f4c
lea ecx, [ebp - 0x474]
call fcn.0040b1e1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x474]
call fcn.0040b1e1
lea ecx, [ebp + 8]
call fcn.004038fb
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.004038fb
jmp 0x409003
Function at 0x4090a2
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 0x4090b6
xor esi, esi
jmp 0x4090d0
test al, 1
je 0x4090dd
push 0x80
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4090b2
push 1
pop esi
lea ecx, [esp + 8]
call fcn.004038fb
mov eax, esi
jmp 0x4090e9
lea ecx, [esp + 8]
call fcn.004038fb
push 1
pop eax
pop esi
ret 4
Function at 0x409b48
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 0x40a612
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 0x40a667
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 0x40a6c1
shr eax, 2
test al, 1
je 0x40a690
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 0x40a65e
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 0x40a6c1
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 0x40b379
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.00403927
push dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call edi
lea ecx, [ebp - 8]
mov ebx, eax
call fcn.004038fb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test ebx, ebx
je 0x40b439
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 0x40b439
call eax
test eax, eax
jne 0x40b472
and dword [ebp - 4], 0
push str.ntdll.dll
call edi
test eax, eax
je 0x40b477
push str.NtQueryInformationProcess
push eax
call esi
mov esi, eax
test esi, esi
je 0x40b477
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 0x40b477
cmp dword [ebp - 4], eax
je 0x40b477
push 1
pop eax
jmp 0x40b479
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b4ea
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
call fcn.0040b4d4
push 0x11
xor edx, edx
pop ecx
xor edi, edi
div ecx
mov esi, edx
add esi, ecx
test esi, esi
jle 0x40b52b
call fcn.0049d26e
test eax, eax
je 0x40b519
push 0x10
cdq
pop ecx
idiv ecx
mov eax, edx
mov ecx, dword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
inc edi
cmp edi, esi
mov al, byte [ecx + eax]
mov byte [ebp + edi - 0x41], al
jl 0x40b508
lea eax, [ebp - 0x40]
mov byte [ebp + esi - 0x40], 0xd
mov byte [ebp + esi - 0x3f], 0xa
and byte [ebp + esi - 0x3e], 0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
leave
ret
Function at 0x40c302
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
push edi
mov esi, ecx
push 0x425
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push ebx
push ebx
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0xc], edi
mov dword [esi + 0x24], edi
je 0x40c3f2
call fcn.0043a295
test eax, eax
jne 0x40c3f2
lea eax, [ebp - 0x250]
push 0x104
push eax
push dword [0x4c69a8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x250]
lea ecx, [ebp - 8]
push eax
mov dword [ebp - 0x48], 0x3c
call fcn.0040a529
push ebx
lea ecx, [ebp - 8]
mov dword [ebp - 0x44], ebx
call fcn.00403c58
push 1
mov dword [ebp - 0x38], eax
mov eax, dword [0x4af550]
pop edi
push dword [esi + 0x24]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
mov dword [ebp - 0x20], ebx
push str.RegisterAdminKey4_EEETWETRFSD_d
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], edi
call fcn.00403d66
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x3c], 0x4b0138
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40c408
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
mov edi, dword [ebp - 0xc]
mov ecx, esi
mov dword [0x4bc7cc], edi
call fcn.0040bd65
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
mov dword [esi + 0x24], ebx
push 0x425
mov dword [0x4bc7cc], ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push ebx
push 0x130c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
jmp 0x40c3ff

Function at 0x410399
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 0x4103dd
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 0x41092e
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 0x410977
push 0
push eax
push 0x416
push dword [esi + 0xb8]
call edi
inc ebx
cmp ebx, 0x1b
jl 0x41094c
cmp dword [esi + 0x2c], 0
je 0x41098a
mov ecx, esi
call fcn.004109a9
push 1
push 0
push ebp
push dword [esi + 0xb8]
call edi
push dword [esi + 0xd0]
mov ecx, esi
call fcn.00410d46
pop edi
pop esi
pop ebp
pop ebx
ret