joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4583cb
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
cmp dword [eax - 8], edi
je 0x4584b1
mov eax, dword [0x47e520]
mov esi, 0x104
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.004016d4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.0040173c
push str.S_OK_tmp_
lea ecx, [ebp - 8]
call fcn.004013c8
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401658
lea ecx, [ebp - 8]
call fcn.0040139c
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [0x47e520]
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x491c1c]
push eax
push dword [eax - 8]
call fcn.00401658
mov esi, str..zip
mov eax, esi
test eax, eax
je 0x458465
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [ebp - 4]
call fcn.00401658
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push edi
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.00401356
call fcn.00458769
add esp, 0xc
lea eax, [ebp - 4]
lea ecx, [ebp + 0xc]
push eax
call fcn.00401522
lea ecx, [ebp - 0xc]
call fcn.0040139c
lea ecx, [ebp - 4]
call fcn.0040139c
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.00401356
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.00401356
push dword [ebp + 8]
mov ecx, ebx
call fcn.004584ee
lea ecx, [ebp + 0xc]
mov bl, al
call fcn.0040139c
lea ecx, [ebp + 0x10]
call fcn.0040139c
pop edi
mov al, bl
pop esi
pop ebx
leave
ret 0xc
Function at 0x4590df
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 0x4591c0
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 0x459153
lea eax, [esi + 0x28]
push eax
push 0
push 0
call ebx
test eax, eax
jl 0x459156
push dword [edi]
push dword [esi + 0x28]
call fcn.004591ef
pop ecx
lea edi, [esi + 0x3c]
pop ecx
mov ebx, eax
push 0x400
mov ecx, edi
call fcn.004016d4
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0040173c
jmp 0x459156
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.0046aa50
mov eax, dword [0x488b6c]
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 0x4592ad
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
call fcn.004590df
xor ebx, ebx
cmp dword [esi + 0x60], ebx
jne 0x4592de
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov dword [esi + 0x60], eax
call fcn.004374a3
cmp dword [esi + 0x60], ebx
pop ecx
jne 0x4592de
xor eax, eax
jmp 0x459387
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 0x459383
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push ebx
call edi
test eax, eax
jl 0x459383
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.0045a9a6
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [edi + 4], eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004591ef
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 0x459364
mov eax, dword [esi + 0x5c]
lea edx, [edi + 0x10]
push edx
push 0x479de8
mov ecx, dword [eax]
push ebx
push dword [edi + 4]
push eax
call dword [ecx + 0x14]
jmp 0x459379
add edi, 0x10
push ebx
push edi
push 0x479de8
push dword [ebp - 4]
call fcn.00459b9b
add esp, 0x10
push dword [esi + 0x60]
mov ecx, esi
call fcn.004593f0
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4598fb
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 0x4599b6
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x4599b6
mov edi, dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
call edi
mov eax, dword [0x493170]
mov dword [esi + 0x10], eax
mov eax, dword [0x49316c]
cmp dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
jne 0x45994d
mov eax, dword [esi + 0x60]
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x4599b6
push 0x2c
lea eax, [ebp - 0x3c]
pop ebx
push ebx
push 0
push eax
call fcn.0046aa50
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 [0x493170]
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 0x4599b2
lea eax, [ebp - 0x10]
push eax
call edi
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push 0
push ebx
call fcn.0045a2cc
and dword [esi + 0x10], 0
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x459c96
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.0040811c
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 0x459d14
lea eax, [ebp - 0x2b4]
test eax, eax
je 0x459d04
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.0040148d
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x459da1
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 0x459d5a
cmp dword [ebp - 8], ebx
je 0x459d5a
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 [0x47e520]
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.00459dbf
mov eax, dword [ebp + 0xc]
add esp, 0x110
cmp dword [eax - 8], ebx
je 0x459d99
lea eax, [ebp + 0xc]
lea ecx, [ebp - 4]
push eax
call fcn.00401522
lea ecx, [ebp + 0xc]
call fcn.0040139c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00401356
lea ecx, [ebp - 4]
call fcn.0040139c
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45a44a
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebx
xor ebx, ebx
cmp dword [0x493168], ebx
push esi
push edi
mov esi, ecx
je 0x45a554
cmp dword [esi + 0x70], ebx
je 0x45a554
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
sub eax, 0x11f
je 0x45a543
sub eax, 0xe2
je 0x45a509
dec eax
je 0x45a4dc
sub eax, 6
jne 0x45a554
lea edi, [esi + 0x40]
push edi
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [edi + 4]
push dword [edi]
push dword [0x493170]
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_MenuItemFromPoint]
cmp eax, 0xffffffff
je 0x45a554
mov edx, dword [esi]
push 1
push dword [0x493170]
mov ecx, esi
push eax
call dword [edx]
test eax, eax
je 0x45a554
push ebx
push ebx
push 0x1f
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45a554
mov eax, dword [esi + 0x40]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 8], eax
xor eax, eax
cmp dword [esi + 0x40], 0x186a0
jne 0x45a4fc
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 1
pop eax
or edx, 0xffffffff
mov ecx, edx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edx
jmp 0x45a556
lea edi, [esi + 0x40]
push edi
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [edi + 4]
push dword [edi]
push dword [0x493170]
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_MenuItemFromPoint]
cmp eax, 0xffffffff
je 0x45a554
mov edx, dword [esi]
push ebx
push dword [0x493170]
mov ecx, esi
push eax
call dword [edx]
test eax, eax
je 0x45a554
push 1
pop eax
jmp 0x45a556
movzx eax, word [ecx + 8]
mov dword [0x49316c], eax
mov eax, dword [ecx + 0xc]
mov dword [0x493170], eax
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x45a55c
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 0x45a696
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 0x45a696
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.0040811c
push 0x488b98
lea ecx, [ebp - 4]
call fcn.004013c8
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 0x45a61a
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 0x45a63f
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004625e4
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00401522
lea ecx, [ebp - 0xc]
call fcn.0040139c
mov eax, dword [ebp - 4]
cmp dword [eax - 8], ebx
je 0x45a653
lea eax, [ebp - 4]
lea ecx, [ebp + 8]
push eax
call fcn.00401522
push ebx
lea ecx, [ebp + 8]
call fcn.004016d4
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.004016d4
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 4]
call fcn.0040139c
lea ecx, [ebp + 8]
call fcn.0040139c
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45bc12
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x47e520]
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 0x45bc82
lea eax, [ebp - 0x2ac]
test eax, eax
je 0x45bc72
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.0040148d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00401356
lea ecx, [ebp - 4]
call fcn.0040139c
mov eax, dword [ebp + 8]
leave
ret

Function at 0x45c1fe
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
push dword [esp + 0xc]
and dword [eax], 0
mov dword [esi], 0x4788d4
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, esi
pop esi
ret 8
Function at 0x45c3fd
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.0046aa50
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 0x45c448
Capabilities:
Get common file path

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

Function at 0x45c47a
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.0046aa50
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 0x45c5de
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea edi, [esi + 0x20]
mov dword [esi + 4], ebx
mov dword [esi + 0x18], ebx
mov ecx, edi
mov dword [esi + 0x1c], eax
call fcn.00423c21
mov eax, dword [0x47e520]
lea ecx, [esi + 0x98]
mov dword [esi + 0x84], eax
call fcn.00468752
mov al, byte [ebp - 1]
lea ecx, [esi + 0xb4]
mov byte [ecx], al
mov al, byte [ebp - 1]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00415aa0
lea eax, [esi + 0x70]
mov dword [esi + 0xf4], ebx
or dword [esi + 0x40], 0xffffffff
push eax
mov dword [esi], 0x479bf8
mov dword [edi], 0x479bd0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [esi + 0x58], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0xe4], ebx
push 0x11
mov dword [0x4931fc], ebx
push ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [eax], ebx
call edi
lea eax, [esi + 0x74]
push eax
push 0x12
push ebx
call edi
lea eax, [esi + 0x78]
push eax
push 1
push ebx
call edi
lea eax, [ebp - 8]
push 0x23
push eax
call dword [sym.imp.SHELL32.dll_SHGetSettings]
test byte [ebp - 8], 1
lea eax, [esi + 0xf8]
mov dword [eax], 0x60
je 0x45c6fb
mov dword [eax], 0xe0
lea eax, [esi + 0xec]
mov dword [esi + 0x104], ebx
push eax
push ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xe0], 1
call fcn.00460f8c
push 0x5c
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.0046aa50
add esp, 0x14
lea ecx, [ebp - 0x68]
call fcn.0045d884
mov eax, dword [0x4931d0]
cmp eax, ebx
je 0x45c74f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x45c74f
mov dword [0x4931d0], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x4931d0], eax
lea eax, [esi + 0xfc]
push eax
mov dword [eax], ebx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
lea eax, [esi + 0x7c]
push eax
push ebx
push ebx
mov dword [eax], ebx
call edi
push 0x8000
lea eax, [ebp - 0xc]
push dword [esi + 0x7c]
mov ecx, esi
push eax
call fcn.0045f3a4
push eax
lea ecx, [esi + 0x84]
call fcn.00401522
lea ecx, [ebp - 0xc]
call fcn.0040139c
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x460d2c
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 0x460d42
push 1
pop edi
push 0x11
call esi
test ax, ax
jge 0x460d4d
inc edi
inc edi
push 0x12
call esi
test ax, ax
jge 0x460d59
add edi, 4
mov eax, edi
pop edi
pop esi
ret

Function at 0x460f8c
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 [0x488b6c]
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 0x461004
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 0x461025
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 0x4610d1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push str.runas
lea ecx, [ebp - 4]
call fcn.004013c8
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 8]
push esi
call fcn.0040811c
push dword [ebp - 4]
mov eax, dword [eax]
push eax
call fcn.0046b615
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 8]
inc bl
call fcn.0040139c
lea ecx, [ebp - 4]
call fcn.0040139c
test bl, bl
jne 0x46114f
call fcn.00461440
test eax, eax
je 0x46114f
lea ecx, [ebp - 0x20]
call fcn.00461169
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
call fcn.00461255
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00461457
mov eax, esi
jmp 0x461165
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebx
leave
ret
Function at 0x4638f3
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 0x463a4d
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 0x463a37
lea eax, [ebp - 4]
lea ecx, [edi + 0x54]
push eax
call fcn.00463b37
test byte [eax + 9], 1
jne 0x463a28
lea eax, [ebp - 4]
lea ecx, [edi + 0x54]
push eax
call fcn.00463b37
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 0x4639be
and dword [ebp - 0x40], 0
jmp 0x4639de
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4639dc
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x54]
call fcn.00463b37
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x40], eax
test eax, eax
jg 0x4639eb
cmp dword [ebp - 8], 0
jne 0x4639eb
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 0x463924
mov edi, dword [edi + 0x28]
test edi, edi
je 0x463a4d
push 0
push 0xb355
push 0x111
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46417b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4641d8
mov eax, dword [edi + 0x3c]
xor esi, esi
mov ecx, dword [eax + edi + 0x78]
mov eax, dword [ecx + edi + 0x20]
add ecx, edi
add eax, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov ebp, dword [ecx + 0x18]
test ebp, ebp
je 0x4641d8
mov ebx, dword [esp + 0x1c]
mov ch, byte [ebx]
mov edx, dword [eax + esi*4]
add edx, edi
mov cl, byte [edx]
cmp cl, ch
jne 0x4641d3
mov eax, ebx
sub edx, ebx
test cl, cl
je 0x4641e0
cmp byte [eax], 0
je 0x4641e0
mov cl, byte [edx + eax + 1]
inc eax
cmp cl, byte [eax]
je 0x4641bd
mov eax, dword [esp + 0x18]
inc esi
cmp esi, ebp
jb 0x4641ae
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edi]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x46420b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov ecx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0xc]
add edi, 0xc
mov edi, dword [edi]
mov eax, dword [edi + 0x30]
test eax, eax
je 0x46421f
mov edx, dword [esp + 0x18]
test edx, edx
je 0x464232
mov dword [edx], eax
test ecx, ecx
je 0x46427b
mov ebp, dword [edi + 0x30]
xor ebx, ebx
xor esi, esi
movzx eax, word [ebp]
mov edx, eax
test ax, ax
je 0x464277
nop dword [eax]
movzx ecx, ax
lea esi, [esi + 1]
movzx eax, ax
lea edx, [ecx - 0x41]
add ecx, 0x20
cmp dx, 0x19
movzx ecx, cx
cmova ecx, eax
movzx eax, cx
add ebx, eax
movzx eax, word [ebp + esi*2]
test ax, ax
jne 0x46424b
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jne 0x46421f
mov eax, dword [edi + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret