joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48fe0b
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
mov esi, ecx
push ebx
push 0x431
mov dword [ebp - 8], esi
mov eax, dword [esi + 0x4440]
push dword [ebp + 8]
mov dword [esi + 0x28], 1
mov dword [ebp - 0x14], eax
call edi
push ebx
push ebx
push 0x1009
push dword [esi + 0x24]
call edi
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
jle 0x48fff5
add esi, 0x44
mov eax, dword [esi]
push ebx
push eax
push 0x419
push dword [ebp + 8]
mov dword [esi + 0x38], 1
call edi
cmp eax, 0xffffffff
jne 0x48fe75
mov dword [esi + 0x38], ebx
mov cl, byte [esi + 5]
lea eax, [esi + 0x34]
and cl, 1
cmp cl, 1
je 0x48fee5
cmp dword [esi], ebx
je 0x48fee5
mov ecx, dword [0x4b0550]
push eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x10]
call fcn.00403a8c
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
jne 0x48fec2
mov ecx, 0x4bd5d8
mov eax, ecx
test eax, eax
je 0x48feb8
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x4bd5d8
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004039ec
push ebx
mov eax, dword [ebp - 8]
push dword [esi - 4]
lea ecx, [eax + 0x24]
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 3
call fcn.00430cc8
lea ecx, [ebp - 0x10]
call fcn.004038fb
jmp 0x48feff
mov eax, dword [ebp - 8]
push ebx
push 0xffffffffffffffff
push ebx
push ebx
push str.Separator
push dword [ebp - 0xc]
lea ecx, [eax + 0x24]
push 3
call fcn.00430cc8
mov eax, dword [ebp - 8]
push ebx
push ebx
add eax, 0x24
push 0x1004
push dword [eax]
call edi
mov ecx, dword [0x4b0550]
dec eax
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 4]
push 0x4b1ab0
push eax
mov dword [ebp - 4], ecx
call fcn.00403d66
add esp, 0xc
mov eax, dword [ebp - 8]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
lea ecx, [eax + 0x24]
push 1
push 1
push dword [ebp - 0x10]
call fcn.00419bc6
push dword [esi]
lea eax, [ebp - 0x18]
push eax
call fcn.00479a63
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00403a8c
lea ecx, [ebp - 0x18]
call fcn.004038fb
push 0x4b2070
push 0x4b0818
lea ecx, [ebp - 4]
call fcn.004040f7
push dword [ebp - 4]
mov eax, dword [ebp - 8]
push 2
lea ecx, [eax + 0x24]
push dword [ebp - 0x10]
call fcn.00430c20
push dword [esi]
lea eax, [ebp - 4]
push 0x4b1ab0
push eax
call fcn.00403d66
mov eax, dword [ebp - 8]
add esp, 0xc
push dword [ebp - 4]
lea ecx, [eax + 0x24]
push 3
push dword [ebp - 0x10]
call fcn.00430c20
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x30], 0xf000
inc eax
shl eax, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 8]
push dword [ebp - 0xc]
add eax, 0x24
push 0x102b
push dword [eax]
call edi
lea ecx, [ebp - 4]
call fcn.004038fb
inc dword [ebp - 0xc]
add esi, 0x44
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jl 0x48fe58
mov esi, dword [ebp - 8]
mov dword [esi + 0x28], ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4915bd
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0x84f3
push 0
mov esi, ecx
push ebx
push 0x419
push dword [esi + 0xe4]
call edi
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0x41d
push dword [esi + 0xe4]
call edi
lea eax, [ebp - 0x20]
push 2
push eax
push 0
push dword [esi + 0xe4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x20]
and dword [ebp - 8], 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push ecx
mov dword [ebp - 0xc], eax
mov eax, esp
lea ecx, [ebp - 8]
mov dword [eax], 0xd9
call fcn.00409e41
push 3
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetSubMenu]
push 0
push 1
push eax
mov dword [ebp - 4], eax
call fcn.004428ea
push dword [ebp - 4]
call fcn.0043d153
add esp, 0x10
push 1
push ebx
push 0x403
push dword [esi + 0xe4]
call edi
mov eax, dword [esi + 4]
push 0
push eax
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x100
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push 0
push ebx
push 0x403
mov dword [ebp - 0xc], eax
push dword [esi + 0xe4]
call edi
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
je 0x4916a4
push ebx
push dword [ebp - 0xc]
push 0x111
push dword [0x4c42f0]
call edi
cmp dword [ebp - 4], ebx
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
je 0x4916b4
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x4916be
push dword [ebp - 8]
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x49174c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x94], 0
jne 0x4917fc
push 0x34
call fcn.0049c851
test eax, eax
pop ecx
je 0x49177a
mov ecx, eax
call fcn.00491909
mov edi, eax
jmp 0x49177c
xor edi, edi
push 0
mov ecx, edi
push dword [ebp + 8]
call fcn.00493670
test eax, eax
je 0x4917f0
mov eax, dword [esi + 0xcc]
push ecx
mov dword [edi + 0x20], eax
lea eax, [esi + 0x28]
mov ecx, esp
push eax
call fcn.004038b5
mov ecx, edi
call fcn.00491802
lea eax, [ebp - 0x10]
mov dword [esi + 0x94], edi
mov edi, dword [edi + 4]
push eax
push dword [esi + 4]
mov dword [esi + 0xe0], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], 0x18
sub eax, dword [ebp - 0xc]
push 0
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 8
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xe0]
mov dword [esi + 0x9c], eax
pop edi
pop esi
leave
ret 8
Function at 0x49206e
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x10]
push esi
mov esi, ecx
push 0x3ee
mov dword [eax], 1
xor eax, eax
cmp dword [esi + 0xc0], eax
push dword [esi + 4]
sete al
mov dword [esi + 0xc0], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
cmp dword [esi + 0xc0], ecx
sete cl
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0xc0], 0
je 0x4920c3
push dword [esi + 0xec]
mov ecx, esi
call fcn.004929c1
xor eax, eax
pop esi
ret 0x10

Function at 0x493204
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0x14]
push 1
pop eax
lea edi, [esi + 0xc4]
mov dword [ecx], eax
mov cx, word [ebp + 0xc]
mov ebx, dword [edi]
cmp cx, 0x84ec
jne 0x493235
and dword [edi], 0
jmp 0x4932ee
cmp cx, 0x84ed
jne 0x493243
mov dword [edi], eax
jmp 0x4932ee
cmp cx, 0x84ee
jne 0x493255
mov dword [edi], 2
jmp 0x4932ee
cmp cx, 0x84ef
jne 0x493267
mov dword [edi], 3
jmp 0x4932ee
cmp cx, 0x84f0
jne 0x4932e0
push dword [esi + 0xec]
lea ecx, [ebp - 8]
call fcn.0048994a
lea eax, [ebp + 0x14]
lea ecx, [ebp - 8]
push eax
call fcn.00489fbf
push eax
lea eax, [ebp + 0xc]
push str.MEDIA2017_IZASSHJ
push eax
call fcn.0040a961
lea ecx, [ebp + 0x14]
call fcn.004038fb
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [0x4c7a90]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
push 5
push eax
lea ecx, [ebp - 0x210]
push dword [ebp + 0xc]
push ecx
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 0xc]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.0048996a
jmp 0x4932ee
cmp cx, 0x84f3
jne 0x4932ee
mov ecx, esi
call fcn.004915bd
push edi
push ecx
mov ecx, esp
push str.m_type
call fcn.0040a4e8
mov ecx, esi
call fcn.00491a61
cmp ebx, dword [edi]
je 0x493362
lea eax, [esi + 0xc8]
xor ebx, ebx
push eax
push ecx
mov ecx, esp
push 0x4b96c0
mov dword [eax], ebx
call fcn.00403927
mov ecx, esi
call fcn.00491a61
push dword [esi + 0xec]
mov ecx, esi
call fcn.004929c1
mov ecx, esi
call fcn.0049336c
add esi, 0x98
mov eax, dword [esi]
test eax, eax
je 0x493359
cmp dword [edi], ebx
jne 0x49334f
push 5
pop ecx
jmp 0x493351
xor ecx, ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc ebx
add esi, 4
cmp ebx, 5
jl 0x493340
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x49486b
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 0x4949c5
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 0x4949af
lea eax, [ebp - 4]
lea ecx, [edi + 0x54]
push eax
call fcn.00494a2d
test byte [eax + 9], 1
jne 0x4949a0
lea eax, [ebp - 4]
lea ecx, [edi + 0x54]
push eax
call fcn.00494a2d
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 0x494936
and dword [ebp - 0x40], 0
jmp 0x494956
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x494954
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x54]
call fcn.00494a2d
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x40], eax
test eax, eax
jg 0x494963
cmp dword [ebp - 8], 0
jne 0x494963
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 0x49489c
mov edi, dword [edi + 0x28]
test edi, edi
je 0x4949c5
push 0
push 0xb355
push 0x111
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x495778
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0
push 0
push dword [esi + 0x14]
mov dword [esi], 0x4ac120
push 2
push dword [esi + 0x1c]
call fcn.0049581b
mov eax, dword [esi + 8]
test eax, eax
je 0x4957a5
push 0x444
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [esi + 0xc]
call fcn.004038fb
pop esi
ret

Function at 0x4957af
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0
push 0
push dword [esi + 0x14]
push 2
push dword [esi + 0x1c]
call fcn.0049581b
mov eax, dword [esi + 8]
test eax, eax
je 0x4957da
push 0x444
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 8], 0
pop esi
ret
Function at 0x4958a9
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
xor edi, edi
mov ebx, str.Shell_TrayWnd
push edi
push ebx
push edi
push edi
call esi
cmp eax, edi
je 0x4958e6
push edi
push str.TrayNotifyWnd
push edi
push eax
call esi
cmp eax, edi
je 0x4958e6
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4959aa
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x49594c
mov eax, dword [ebp - 0x18]
sub eax, edi
je 0x495930
dec eax
je 0x495911
dec eax
je 0x495930
dec eax
jne 0x4959aa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax], edx
mov dword [eax + 8], ecx
jmp 0x4959aa
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
lea edx, [ecx - 0x64]
add ecx, 0xfffffff0
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edx
jmp 0x49592b
push edi
push ebx
push edi
push edi
call esi
cmp eax, edi
je 0x495989
mov esi, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 8]
mov ecx, eax
sub ecx, dword [esi]
cmp ecx, 0x96
jle 0x495977
add eax, 0xffffff6a
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov ecx, eax
sub ecx, dword [esi + 4]
cmp ecx, 0x1e
jle 0x4959aa
add eax, 0xffffffe2
jmp 0x4959a7
mov esi, dword [ebp + 8]
push edi
push esi
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4959d3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call fcn.004959af
test eax, eax
je 0x495a0c
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
push eax
call fcn.004958a9
pop ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret 4
Function at 0x495a6f
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
lea eax, [ebp + 0x10]
push eax
lea ecx, [esi + 0xc]
call fcn.00403a8c
mov ecx, esi
call fcn.00495a48
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x495a9e
mov dword [esi + 0x18], eax
cmp dword [ebp + 0x18], 0
je 0x495ad0
mov eax, dword [esi + 8]
test eax, eax
je 0x495ab7
push 0x444
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x495ae0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
lea ecx, [ebp + 0x10]
call fcn.004038fb
push 1
pop eax
pop esi
pop ebp
ret 0x14

Function at 0x495b3e
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4cc238]
test eax, eax
jne 0x495b7d
push 0xac
call fcn.0049c851
test eax, eax
pop ecx
je 0x495b61
mov ecx, eax
call fcn.00495b98
mov ecx, eax
jmp 0x495b63
xor ecx, ecx
push 0
mov dword [0x4cc238], ecx
push dword [esp + 8]
call fcn.004974db
mov eax, dword [0x4cc238]
test eax, eax
je 0x495b97
push 0
lea ecx, [eax + 4]
call fcn.004035ec
mov eax, dword [0x4cc238]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x495ec2
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0
je 0x495f05
push 0x23
push 0x4b1f00
push str.Save_the_changes__
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
test eax, eax
je 0x495f00
cmp eax, 6
jne 0x495f00
push 0
push 0x3fb
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x495f17
cmp eax, 2
je 0x495f17
and dword [0x4c67b8], 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x4971a1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push 0
push 0
push 0x1042
push dword [esi + 0x24]
lea ebx, [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
mov dword [ebp - 8], eax
jl 0x497257
mov eax, dword [0x4b0550]
push edi
mov edi, 0x400
lea ecx, [ebp - 4]
push edi
mov dword [ebp - 4], eax
call fcn.00403c58
push edi
push eax
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00403cd2
mov edi, 0x4b0818
lea ecx, [ebp - 4]
push edi
push 0x4b0cdc
call fcn.004040f7
push edi
push 0x4b71c0
lea ecx, [ebp - 4]
call fcn.004040f7
push 0x4b71d0
push 0x4b1324
lea ecx, [ebp - 4]
call fcn.004040f7
push dword [ebp - 4]
mov ecx, ebx
push 2
push dword [ebp - 8]
call fcn.00430c20
push 1
mov ecx, esi
pop eax
push dword [ebp - 8]
mov dword [esi + 0x78], eax
mov dword [esi + 0x68], eax
call fcn.00496f12
lea ecx, [ebp - 4]
call fcn.004038fb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x49760a
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push edi
mov ecx, 0xad
xor eax, eax
lea edi, [ebp - 0x2b4]
cmp dword [ebp + 0xc], eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
pop edi
je 0x497648
neg eax
sbb eax, eax
and eax, 2
or ax, 0x4011
push eax
lea eax, [ebp - 0x2b4]
push 0x2b4
push eax
push 0x10
jmp 0x497665
neg eax
sbb eax, eax
and eax, 2
or ax, 0x4011
push eax
lea eax, [ebp - 0x2b4]
push 0x2b4
push eax
push 0x80
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x4cc258]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
xor edx, edx
cmp eax, esi
jle 0x49770b
mov ecx, dword [0x4cc250]
cmp dword [ecx], ebx
je 0x49770e
inc edx
add ecx, 4
cmp edx, eax
jl 0x4976ff
or edx, 0xffffffff
cmp edx, 0xffffffff
je 0x49771d
mov eax, dword [0x4cc254]
mov eax, dword [eax + edx*4]
jmp 0x497779
lea eax, [ebp + 8]
push edi
push eax
push ebx
push esi
mov dword [ebp + 8], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, 0xad
xor eax, eax
lea edi, [ebp - 0x2b4]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push 0x2b4
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push esi
push dword [ebp - 0x2b0]
call fcn.00497676
pop ecx
mov esi, eax
pop ecx
push esi
push ebx
mov ecx, 0x4cc250
call fcn.00497815
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49b30d
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 0x6c]
push edi
cmp eax, esi
je 0x49b346
push dword [ebx + 0x98]
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
push dword [ebx + 0x6c]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebx + 0x70]
mov dword [ebx + 0x6c], esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x70], esi
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
push 8
push edi
mov dword [ebp - 4], edi
call esi
push 0xa
push edi
mov dword [ebx + 0x74], eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4f
mov dword [ebx + 0x78], eax
call esi
push eax
push 0x4e
call esi
push eax
push 0x4d
call esi
push eax
push 0x4c
call esi
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, ecx
mov dword [ebx + 0x80], edx
sub eax, dword [ebp - 0x14]
mov dword [ebx + 0x74], eax
mov eax, dword [ebp - 8]
mov esi, eax
sub esi, edx
mov dword [ebx + 0x78], esi
mov esi, dword [ebp - 0x14]
mov dword [ebx + 0x7c], esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x49b3d0
lea edi, [ebp - 0x14]
mov dword [ebx + 0x20], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
jmp 0x49b3d4
and dword [ebx + 0x20], 0
sub ecx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
push edi
add ecx, 8
add eax, 8
mov esi, ecx
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov dword [ebx + 0x6c], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push dword [ebp + 8]
mov dword [ebx + 0x98], eax
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebx + 0x70], eax
push dword [ebx + 0x6c]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
push dword [ebp + 8]
push esi
xor esi, esi
push esi
push esi
push dword [ebx + 0x6c]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x49bb0c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
mov ebx, ecx
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x49bbad
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x64]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
push dword [ebp - 4]
sub esi, dword [ebp - 0x18]
sub edi, dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x6c]
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 8]
mov ecx, ebx
call fcn.0049b4d6
push esi
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
push dword [ebp - 4]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x49bbb3
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x49bc6f
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
test eax, eax
je 0x49bc6f
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x49bc6f
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call esi
inc eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x49bc69
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov dword [ebp - 8], eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.0049c760
mov edi, esp
push ebx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [edi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push dword [ebp - 4]
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 4