joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489cf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
mov edx, ecx
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
mov eax, edx
add edx, 4
neg eax
sbb eax, eax
mov dword [ebp - 0x3c], 0x3c
and eax, edx
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], str.find
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor eax, eax
pop edi
leave
ret 4
Function at 0x48ea6f
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 0x48ea85
push 1
pop edi
push 0x11
call esi
test ax, ax
jge 0x48ea90
inc edi
inc edi
push 0x12
call esi
test ax, ax
jge 0x48ea9c
add edi, 4
mov eax, edi
pop edi
pop esi
ret

Function at 0x48ed53
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 [0x4bc51c]
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 0x48edcb
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 0x48edec
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 0x48f01a
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.00403927
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 8]
push esi
call fcn.0040a529
push dword [ebp - 4]
mov eax, dword [eax]
push eax
call fcn.0049c975
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 8]
inc bl
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
test bl, bl
jne 0x48f098
call fcn.0048f3cd
test eax, eax
je 0x48f098
lea ecx, [ebp - 0x20]
call fcn.0048f0b2
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
call fcn.0048f19e
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.0048f3e4
mov eax, esi
jmp 0x48f0ae
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 0x48f926
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 0x48fb10
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 0x48f990
mov dword [esi + 0x38], ebx
mov cl, byte [esi + 5]
lea eax, [esi + 0x34]
and cl, 1
cmp cl, 1
je 0x48fa00
cmp dword [esi], ebx
je 0x48fa00
mov ecx, dword [0x4af550]
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 0x48f9dd
mov ecx, 0x4bc518
mov eax, ecx
test eax, eax
je 0x48f9d3
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x4bc518
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.00430c6f
lea ecx, [ebp - 0x10]
call fcn.004038fb
jmp 0x48fa1a
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.00430c6f
mov eax, dword [ebp - 8]
push ebx
push ebx
add eax, 0x24
push 0x1004
push dword [eax]
call edi
mov ecx, dword [0x4af550]
dec eax
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 4]
push 0x4b0ab0
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.00419c48
push dword [esi]
lea eax, [ebp - 0x18]
push eax
call fcn.0047957d
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00403a8c
lea ecx, [ebp - 0x18]
call fcn.004038fb
push 0x4b1070
push 0x4af818
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.00430bca
push dword [esi]
lea eax, [ebp - 4]
push 0x4b0ab0
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.00430bca
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 0x48f973
mov esi, dword [ebp - 8]
mov dword [esi + 0x28], ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4910d8
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.00409e82
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.0044283a
push dword [ebp - 4]
call fcn.0043d0d1
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 0x4911bf
push ebx
push dword [ebp - 0xc]
push 0x111
push dword [0x4c3228]
call edi
cmp dword [ebp - 4], ebx
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
je 0x4911cf
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x4911d9
push dword [ebp - 8]
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x491267
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 0x491317
push 0x34
call fcn.0049c301
test eax, eax
pop ecx
je 0x491295
mov ecx, eax
call fcn.00491424
mov edi, eax
jmp 0x491297
xor edi, edi
push 0
mov ecx, edi
push dword [ebp + 8]
call fcn.0049318b
test eax, eax
je 0x49130b
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.0049131d
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 0x491b89
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 0x491bde
push dword [esi + 0xec]
mov ecx, esi
call fcn.004924dc
xor eax, eax
pop esi
ret 0x10

Function at 0x492d1f
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 0x492d50
and dword [edi], 0
jmp 0x492e09
cmp cx, 0x84ed
jne 0x492d5e
mov dword [edi], eax
jmp 0x492e09
cmp cx, 0x84ee
jne 0x492d70
mov dword [edi], 2
jmp 0x492e09
cmp cx, 0x84ef
jne 0x492d82
mov dword [edi], 3
jmp 0x492e09
cmp cx, 0x84f0
jne 0x492dfb
push dword [esi + 0xec]
lea ecx, [ebp - 8]
call fcn.0048938d
lea eax, [ebp + 0x14]
lea ecx, [ebp - 8]
push eax
call fcn.00489a02
push eax
lea eax, [ebp + 0xc]
push str.MEDIA2017_IZASSHJ
push eax
call fcn.0040a9a2
lea ecx, [ebp + 0x14]
call fcn.004038fb
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [0x4c69a8]
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.004893ad
jmp 0x492e09
cmp cx, 0x84f3
jne 0x492e09
mov ecx, esi
call fcn.004910d8
push edi
push ecx
mov ecx, esp
push str.m_type
call fcn.0040a529
mov ecx, esi
call fcn.0049157c
cmp ebx, dword [edi]
je 0x492e7d
lea eax, [esi + 0xc8]
xor ebx, ebx
push eax
push ecx
mov ecx, esp
push 0x4b85f8
mov dword [eax], ebx
call fcn.00403927
mov ecx, esi
call fcn.0049157c
push dword [esi + 0xec]
mov ecx, esi
call fcn.004924dc
mov ecx, esi
call fcn.00492e87
add esi, 0x98
mov eax, dword [esi]
test eax, eax
je 0x492e74
cmp dword [edi], ebx
jne 0x492e6a
push 5
pop ecx
jmp 0x492e6c
xor ecx, ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc ebx
add esi, 4
cmp ebx, 5
jl 0x492e5b
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x494386
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 0x4944e0
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 0x4944ca
lea eax, [ebp - 4]
lea ecx, [edi + 0x54]
push eax
call fcn.00494548
test byte [eax + 9], 1
jne 0x4944bb
lea eax, [ebp - 4]
lea ecx, [edi + 0x54]
push eax
call fcn.00494548
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 0x494451
and dword [ebp - 0x40], 0
jmp 0x494471
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x49446f
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x54]
call fcn.00494548
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x40], eax
test eax, eax
jg 0x49447e
cmp dword [ebp - 8], 0
jne 0x49447e
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 0x4943b7
mov edi, dword [edi + 0x28]
test edi, edi
je 0x4944e0
push 0
push 0xb355
push 0x111
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x495293
Capabilities:
Terminate thread

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

Function at 0x4952ca
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.00495336
mov eax, dword [esi + 8]
test eax, eax
je 0x4952f5
push 0x444
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 8], 0
pop esi
ret
Function at 0x4953c4
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 0x495401
push edi
push str.TrayNotifyWnd
push edi
push eax
call esi
cmp eax, edi
je 0x495401
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4954c5
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x495467
mov eax, dword [ebp - 0x18]
sub eax, edi
je 0x49544b
dec eax
je 0x49542c
dec eax
je 0x49544b
dec eax
jne 0x4954c5
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 0x4954c5
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 0x495446
push edi
push ebx
push edi
push edi
call esi
cmp eax, edi
je 0x4954a4
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 0x495492
add eax, 0xffffff6a
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov ecx, eax
sub ecx, dword [esi + 4]
cmp ecx, 0x1e
jle 0x4954c5
add eax, 0xffffffe2
jmp 0x4954c2
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 0x4954ee
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call fcn.004954ca
test eax, eax
je 0x495527
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.004953c4
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 0x49558a
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.00495563
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4955b9
mov dword [esi + 0x18], eax
cmp dword [ebp + 0x18], 0
je 0x4955eb
mov eax, dword [esi + 8]
test eax, eax
je 0x4955d2
push 0x444
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x4955fb
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 0x495659
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4cb150]
test eax, eax
jne 0x495698
push 0xac
call fcn.0049c301
test eax, eax
pop ecx
je 0x49567c
mov ecx, eax
call fcn.004956b3
mov ecx, eax
jmp 0x49567e
xor ecx, ecx
push 0
mov dword [0x4cb150], ecx
push dword [esp + 8]
call fcn.00496ff6
mov eax, dword [0x4cb150]
test eax, eax
je 0x4956b2
push 0
lea ecx, [eax + 4]
call fcn.004035ec
mov eax, dword [0x4cb150]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x4959dd
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0
je 0x495a20
push 0x23
push 0x4b0f00
push str.Save_the_changes__
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
test eax, eax
je 0x495a1b
cmp eax, 6
jne 0x495a1b
push 0
push 0x3fb
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x495a32
cmp eax, 2
je 0x495a32
and dword [0x4c56f0], 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x496cbc
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 0x496d72
mov eax, dword [0x4af550]
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, 0x4af818
lea ecx, [ebp - 4]
push edi
push 0x4afcdc
call fcn.004040f7
push edi
push 0x4b6140
lea ecx, [ebp - 4]
call fcn.004040f7
push 0x4b6150
push 0x4b0324
lea ecx, [ebp - 4]
call fcn.004040f7
push dword [ebp - 4]
mov ecx, ebx
push 2
push dword [ebp - 8]
call fcn.00430bca
push 1
mov ecx, esi
pop eax
push dword [ebp - 8]
mov dword [esi + 0x78], eax
mov dword [esi + 0x68], eax
call fcn.00496a2d
lea ecx, [ebp - 4]
call fcn.004038fb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x497125
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 0x497163
neg eax
sbb eax, eax
and eax, 2
or ax, 0x4011
push eax
lea eax, [ebp - 0x2b4]
push 0x2b4
push eax
push 0x10
jmp 0x497180
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 0x4971f9
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x4cb170]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
xor edx, edx
cmp eax, esi
jle 0x497226
mov ecx, dword [0x4cb168]
cmp dword [ecx], ebx
je 0x497229
inc edx
add ecx, 4
cmp edx, eax
jl 0x49721a
or edx, 0xffffffff
cmp edx, 0xffffffff
je 0x497238
mov eax, dword [0x4cb16c]
mov eax, dword [eax + edx*4]
jmp 0x497294
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.00497191
pop ecx
mov esi, eax
pop ecx
push esi
push ebx
mov ecx, 0x4cb168
call fcn.0047af8d
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49adc0
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 0x49adf9
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 0x49ae83
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 0x49ae87
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