joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4520d2
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, 0x844
push ebx
push esi
push edi
push str.:RepeatDEL___s_if_exist___s__goto_RepeatDEL___s_
lea ecx, [ebp - 0x10]
call fcn.00407ed4
mov eax, dword [0x48be0c]
mov ebx, 0x81
mov dword [ebp - 0x844], eax
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x840]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x104
lea eax, [ebp - 0x844]
push esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
lea eax, [ebp - 0x844]
mov ecx, esp
push eax
call fcn.00407ed4
lea eax, [ebp - 0x18]
push eax
call int.00429470
pop ecx
lea eax, [ebp - 0x18]
pop ecx
push str._selfdestruct.bat
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00408321
mov edx, dword [0x48be0c]
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x42c]
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x228], edx
rep stosd dword es:[edi], eax
mov ecx, ebx
lea edi, [ebp - 0x224]
rep stosd dword es:[edi], eax
mov ecx, ebx
lea edi, [ebp - 0x634]
mov dword [ebp - 0x638], edx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x228]
push eax
push esi
call edi
lea eax, [ebp - 0x638]
push eax
push esi
call edi
push dword [ebp - 0xc]
lea eax, [ebp - 0x228]
push eax
call fcn.0046e402
pop ecx
lea eax, [ebp - 0x430]
pop ecx
push esi
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x430]
lea ecx, [ebp - 8]
push eax
call fcn.00407ed4
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x4522a4
push dword [ebp - 0xc]
mov eax, dword [0x481530]
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.004017cb
add esp, 0x14
lea ecx, [ebp - 4]
push 0x481a5c
push 0x481a54
call fcn.00401b5c
mov eax, dword [ebp - 4]
cmp eax, esi
mov dword [ebp - 0x1c], eax
jne 0x452235
xor edi, edi
jmp 0x452265
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.0046d370
mov edi, esp
push esi
push esi
push ebx
and byte [edi], 0
push edi
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x20]
push esi
push ecx
push dword [eax - 8]
push edi
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 - 0x638]
push esi
push eax
lea eax, [ebp - 0x228]
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.0040139b
lea ecx, [ebp - 8]
call fcn.0040139b
lea ecx, [ebp - 0xc]
call fcn.0040139b
lea ecx, [ebp - 0x18]
call fcn.0040139b
lea ecx, [ebp - 0x10]
call fcn.0040139b
lea esp, [ebp - 0x850]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x453080
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
lea ecx, [ebp - 4]
push dword [ebp + 0xc]
call fcn.00407ed4
push 0x18
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.0046d310
mov eax, dword [0x481628]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x481e9c]
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x40], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov esi, 0x400
stosd dword es:[edi], eax
push 0x13
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
pop ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
push 0xe
push esi
call edi
cmp dword [ebp + 0x14], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0x48be0c
je 0x453101
lea eax, [ebp - 0x40]
push ebx
push eax
push 0xf
push esi
call edi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x18]
push ebx
push eax
push 0x12
push esi
call edi
lea eax, [ebp - 0x18]
push eax
call fcn.0046d82b
pop ecx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x18]
push ebx
push eax
push 0x10
push esi
call edi
lea eax, [ebp - 0x18]
push eax
call fcn.0046d82b
pop ecx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x18]
push ebx
push eax
push 0x1010
push esi
call edi
lea eax, [ebp - 0x18]
push eax
call fcn.0046d82b
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, 0xffffffff
mov dword [ebp - 0x44], eax
jne 0x453187
lea eax, [ebp - 0x2c]
lea ecx, [ebp + 0x14]
push eax
call fcn.00407ed4
xor edi, edi
lea eax, [ebp - 0x2c]
push edi
push eax
lea ecx, [ebp - 4]
call fcn.00401799
cmp eax, 0xffffffff
je 0x45317f
mov ecx, dword [ebp - 4]
mov edi, dword [ecx - 8]
mov ecx, dword [ebp + 0x14]
sub edi, dword [ecx - 8]
sub edi, eax
lea ecx, [ebp + 0x14]
call fcn.0040139b
push dword [ebp + 0xc]
mov dword [ebp - 0x58], edi
call fcn.0046e061
lea edi, [eax + eax*2 + 0x64]
lea eax, [edi + edi]
push eax
call fcn.0046d854
pop ecx
dec edi
pop ecx
mov ebx, eax
push edi
lea eax, [ebp - 0x58]
push ebx
push eax
push dword [ebp + 0xc]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
je 0x4531d3
test ebx, ebx
jne 0x4531c2
xor eax, eax
jmp 0x4531c9
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.0040148c
test ebx, ebx
je 0x4531de
push ebx
call fcn.0046d302
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00401355
lea ecx, [ebp - 4]
call fcn.0040139b
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45389b
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x10]
push 0x419
push dword [edi]
call esi
mov dword [ebp + 8], eax
lea eax, [ebp - 0x30]
push eax
mov ebx, 0x440
push dword [ebp + 0x10]
mov dword [ebp - 0x30], 0x20
mov dword [ebp - 0x2c], 8
mov byte [ebp - 0x1f], 1
push ebx
push dword [edi]
call esi
mov ax, word [ebp + 0xc]
mov dword [ebp - 0x30], 0x20
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], 0x40
push dword [ebp + 0x10]
push ebx
push dword [edi]
call esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x41d
push dword [edi]
call esi
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x457292
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
push esi
mov esi, ecx
jne 0x4572a8
xor al, al
jmp 0x457337
push edi
lea edi, [esi + 0xc]
push 0x14
push ebx
push edi
call fcn.0046d310
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
cmp dword [esi], ebx
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi], 0x14
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x2c], eax
pop edi
je 0x4572dd
mov dword [esi], ebx
mov eax, dword [ebp + 0xc]
cmp byte [ebp + 0x24], bl
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov byte [esi + 0x25], bl
je 0x4572ff
mov eax, dword [ebp + 0x28]
cmp eax, ebx
jne 0x4572fc
mov eax, str.FILE:
mov dword [esi + 0x14], eax
cmp byte [ebp + 8], bl
jne 0x457311
mov ecx, esi
mov byte [esi + 0x25], 1
call fcn.00457353
jmp 0x457337
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push esi
push 0x45733d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp esi, ebx
setne al
pop esi
pop ebx
leave
ret 0x24

Function at 0x457f28
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, 0x100
xor edi, edi
lea ebx, [ecx + 0x16]
push esi
push edi
push ebx
call fcn.0046d310
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x457f7f
push edi
push edi
push 3
push edi
push edi
push SHChangeNotifyDeregister
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x457f7f
lea ecx, [ebp + 8]
push edi
push ecx
push esi
push ebx
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x459039
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0xaffe
push dword [esi + 4]
mov dword [esi], 0x47cbb0
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret
Function at 0x459262
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [0x496310]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [edx + 0x20], esi
lea edx, [ebp - 4]
push edx
push eax
push ecx
push 0x459245
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x496310]
pop esi
mov dword [ecx + 4], eax
leave
ret 4

Function at 0x4592a9
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0xaffe
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret
Function at 0x45bb26
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b4
push esi
mov esi, ecx
cmp dword [esi + 0x48], 0
jne 0x45bc07
push ebx
lea eax, [esi + 0x5c]
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea edi, [esi + 0x2c]
push edi
push 6
push 0
call ebx
test eax, eax
jl 0x45bb9a
lea eax, [esi + 0x28]
push eax
push 0
push 0
call ebx
test eax, eax
jl 0x45bb9d
push dword [edi]
push dword [esi + 0x28]
call fcn.0045bc25
pop ecx
lea edi, [esi + 0x3c]
pop ecx
mov ebx, eax
push 0x400
mov ecx, edi
call fcn.004016d3
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0040173b
jmp 0x45bb9d
and dword [edi], 0
or dword [esi + 0x40], 0xffffffff
or dword [esi + 0x44], 0xffffffff
mov ebx, 0x2b4
lea eax, [ebp - 0x4b4]
push ebx
push 0
push eax
call fcn.0046d310
mov eax, dword [0x48be0c]
add esp, 0xc
mov dword [ebp - 0x200], eax
xor eax, eax
push 0x7f
lea edi, [ebp - 0x1fc]
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x200]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x4001
lea eax, [ebp - 0x4b4]
push ebx
push eax
lea eax, [ebp - 0x200]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop edi
mov dword [esi + 0x48], eax
pop ebx
pop esi
leave
ret

Function at 0x45bce3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
call fcn.0045bb26
xor ebx, ebx
cmp dword [esi + 0x60], ebx
jne 0x45bd14
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov dword [esi + 0x60], eax
call fcn.00439627
cmp dword [esi + 0x60], ebx
pop ecx
jne 0x45bd14
xor eax, eax
jmp 0x45bdbd
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [esi + 0x4c], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push ebx
mov dword [ebp - 4], ebx
call edi
test eax, eax
jl 0x45bdb9
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push ebx
call edi
test eax, eax
jl 0x45bdb9
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x64]
add eax, 0x2710
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
call fcn.0045d3dc
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [edi + 4], eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0045bc25
mov dword [edi + 8], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x18], eax
inc dword [esi + 0x58]
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
jne 0x45bd9a
mov eax, dword [esi + 0x5c]
lea edx, [edi + 0x10]
push edx
push 0x47ce94
mov ecx, dword [eax]
push ebx
push dword [edi + 4]
push eax
call dword [ecx + 0x14]
jmp 0x45bdaf
add edi, 0x10
push ebx
push edi
push 0x47ce94
push dword [ebp - 4]
call fcn.0045c5d1
add esp, 0x10
push dword [esi + 0x60]
mov ecx, esi
call fcn.0045be26
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45c331
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
push esi
push edi
mov esi, ecx
je 0x45c3ec
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x45c3ec
mov edi, dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
call edi
mov eax, dword [0x4964d0]
mov dword [esi + 0x10], eax
mov eax, dword [0x4964cc]
cmp dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
jne 0x45c383
mov eax, dword [esi + 0x60]
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x45c3ec
push 0x2c
lea eax, [ebp - 0x3c]
pop ebx
push ebx
push 0
push eax
call fcn.0046d310
add esp, 0xc
lea eax, [esi + 0x40]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 0x31
push eax
call edi
push dword [ebp - 4]
push dword [ebp - 8]
push dword [0x4964d0]
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_MenuItemFromPoint]
lea ecx, [ebp - 0x3c]
mov dword [esi + 0x14], eax
push ecx
push 1
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45c3e8
lea eax, [ebp - 0x10]
push eax
call edi
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push 0
push ebx
call fcn.0045cd02
and dword [esi + 0x10], 0
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x45c6cc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c8
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0xac
xor eax, eax
lea edi, [ebp - 0x2bc]
mov dword [ebp - 0x2c0], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2b4]
lea ecx, [ebp - 4]
push eax
mov dword [ebp - 0xc], ebx
call fcn.00407ed4
mov esi, dword [ebp + 0xc]
push 0x208
lea eax, [ebp - 0x2c0]
push 0x2b4
push eax
push ebx
push dword [esi + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x45c74a
lea eax, [ebp - 0x2b4]
test eax, eax
je 0x45c73a
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x2b4]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.0040148c
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x45c7d7
mov ecx, dword [esi + 4]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0x20038000
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0x24]
mov esi, dword [esi + 0x10]
cmp esi, ebx
je 0x45c790
cmp dword [ebp - 8], ebx
je 0x45c790
mov eax, dword [esi]
lea ecx, [ebp - 0x3c8]
push ecx
push 1
push dword [ebp - 8]
push esi
call dword [eax + 0x2c]
mov eax, dword [0x481530]
push ebx
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea esi, [ebp - 0x3c8]
sub esp, 0x108
push 0x42
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0045c7f5
mov eax, dword [ebp + 0xc]
add esp, 0x110
cmp dword [eax - 8], ebx
je 0x45c7cf
lea eax, [ebp + 0xc]
lea ecx, [ebp - 4]
push eax
call fcn.00401521
lea ecx, [ebp + 0xc]
call fcn.0040139b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00401355
lea ecx, [ebp - 4]
call fcn.0040139b
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45cf92
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac8
push ebx
xor ebx, ebx
cmp dword [ecx + 0x20], ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
je 0x45d0cc
mov esi, dword [ebp + 8]
mov ecx, 0xac
xor eax, eax
lea edi, [ebp - 0x2c4]
mov dword [ebp - 0x2c8], ebx
push 0x2708
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c8]
push 0x2b4
push eax
push ebx
push dword [esi + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x45d0cc
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xac6]
mov word [ebp - 0xac8], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xac8]
push eax
push dword [esi + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0xac8]
lea ecx, [ebp + 8]
push eax
call fcn.00407ed4
push 0x48be38
lea ecx, [ebp - 4]
call fcn.004013c7
mov eax, dword [esi + 4]
mov esi, dword [esi + 0x10]
mov edi, 0x20000000
cmp esi, ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
je 0x45d050
mov eax, dword [esi]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 1
push esi
call dword [eax + 0x24]
test dword [ebp - 8], edi
jne 0x45d075
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046505e
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00401521
lea ecx, [ebp - 0xc]
call fcn.0040139b
mov eax, dword [ebp - 4]
cmp dword [eax - 8], ebx
je 0x45d089
lea eax, [ebp - 4]
lea ecx, [ebp + 8]
push eax
call fcn.00401521
push ebx
lea ecx, [ebp + 8]
call fcn.004016d3
mov esi, dword [ebp - 0x10]
push eax
push 0x100
push 0x40b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
lea ecx, [ebp + 8]
call fcn.004016d3
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 4]
call fcn.0040139b
lea ecx, [ebp + 8]
call fcn.0040139b
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45e648
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x481530]
and dword [ebp - 0x2b8], 0
push edi
mov dword [ebp - 4], eax
mov ecx, 0xac
xor eax, eax
lea edi, [ebp - 0x2b4]
push 0x208
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2b8]
push 0x2b4
push eax
push 0
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
pop edi
je 0x45e6b8
lea eax, [ebp - 0x2ac]
test eax, eax
je 0x45e6a8
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x2ac]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.0040148c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00401355
lea ecx, [ebp - 4]
call fcn.0040139b
mov eax, dword [ebp + 8]
leave
ret

Function at 0x45ee1f
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.0046d310
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4
Function at 0x45ee6a
Capabilities:
Get common file path

Disassembly:
cmp dword [ecx + 4], 0
push esi
lea esi, [ecx + 4]
je 0x45ee7b
mov ecx, esi
call fcn.004012b6
push esi
push dword [esp + 0xc]
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
pop esi
ret 8

Function at 0x45ee9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
mov esi, ecx
push eax
call fcn.0046d310
mov eax, esi
add esp, 0xc
add esi, 4
mov dword [ebp - 0x3c], 0x3c
neg eax
sbb eax, eax
and dword [ebp - 0x14], 0
and eax, esi
and dword [ebp - 0x34], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x38], 4
mov eax, dword [eax]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], str.find
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor eax, eax
pop esi
leave
ret 4
Function at 0x46375f
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
xor edi, edi
call esi
test ax, ax
jge 0x463775
push 1
pop edi
push 0x11
call esi
test ax, ax
jge 0x463780
inc edi
inc edi
push 0x12
call esi
test ax, ax
jge 0x46378c
add edi, 4
mov eax, edi
pop edi
pop esi
ret

Function at 0x4639bf
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b4
and dword [ebp - 0x4b4], 0
push ebx
push esi
push edi
mov ecx, 0xac
xor eax, eax
lea edi, [ebp - 0x4b0]
push 0x7f
rep stosd dword es:[edi], eax
mov eax, dword [0x48be0c]
pop ecx
mov dword [ebp - 0x200], eax
xor eax, eax
lea edi, [ebp - 0x1fc]
push 0xff
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test ebx, ebx
mov edi, 0x2b4
je 0x463a37
push 0x4000
lea eax, [ebp - 0x4b4]
push edi
push eax
lea eax, [ebp - 0x200]
push 0
push eax
call esi
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x463a58
push 0x4001
lea eax, [ebp - 0x4b4]
push edi
push eax
lea eax, [ebp - 0x200]
push 0
push eax
call esi
mov dword [ebx], eax
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x466370
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [edi + 0x20]
test ebx, ebx
je 0x4664ca
mov eax, dword [edi + 0x60]
and dword [ebp - 4], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x4664b4
lea eax, [ebp - 4]
lea ecx, [edi + 0x54]
push eax
call fcn.004665b4
test byte [eax + 9], 1
jne 0x4664a5
lea eax, [ebp - 4]
lea ecx, [edi + 0x54]
push eax
call fcn.004665b4
mov eax, dword [eax + 4]
push 0
mov dword [ebp - 0xc], eax
push eax
mov eax, edi
add edi, 4
neg eax
sbb eax, eax
push 0x419
and eax, edi
push dword [eax]
call esi
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
push 0xa
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x80
push eax
push dword [ebp - 4]
push 0x120b
push dword [ebx]
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x44]
add eax, 0xfffffc18
push ecx
mov edi, 0x120c
push eax
push edi
mov dword [ebp - 0xc], eax
push dword [ebx]
call esi
cmp dword [ebp - 8], 0
je 0x46643b
and dword [ebp - 0x40], 0
jmp 0x46645b
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x466459
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x54]
call fcn.004665b4
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x40], eax
test eax, eax
jg 0x466468
cmp dword [ebp - 8], 0
jne 0x466468
mov dword [ebp - 0x40], 0x4b
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 1
push eax
push dword [ebp - 0xc]
push edi
push dword [ebx]
call esi
push 0xa
xor eax, eax
pop ecx
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x70], 8
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0xc]
push 0x120c
push dword [ebx]
call esi
mov edi, dword [ebp - 0x10]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
jl 0x4663a1
mov edi, dword [edi + 0x28]
test edi, edi
je 0x4664ca
push 0
push 0xb355
push 0x111
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46769e
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0
je 0x4676e1
push 0x23
push 0x482ef0
push str.Save_the_changes__
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
test eax, eax
je 0x4676dc
cmp eax, 6
jne 0x4676dc
push 0
push 0x3fb
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4676f3
cmp eax, 2
je 0x4676f3
and dword [0x495088], 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10