joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e4674
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x6b6148], 0
je 0x4e47b5
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x6b0740]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4e47b5
mov eax, dword [0x6b614c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x6b6148]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4e4784
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x6b6148]
call fcn.0041e578
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4e477c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x4e477c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x4e477c
mov eax, dword [ebp - 0x14]
call fcn.004f0054
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4e477c
push ebp
call fcn.004e4630
pop ecx
test al, al
jne 0x4e477c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00457354
test al, al
je 0x4e477c
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00457354
cmp byte [ebp - 1], 0
je 0x4e477c
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.004376f8
test al, al
je 0x4e477c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6b614c]
call fcn.004e3d88
inc edi
dec ebx
jne 0x4e46d9
mov eax, dword [0x6b614c]
cmp dword [eax + 8], 0
jle 0x4e479c
mov eax, dword [0x6b614c]
call fcn.004e3e40
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4e47b5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004e4494
pop ecx
test al, al
jne 0x4e47b5
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ecc00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.USER32.DLL_GetMessagePos
call fcn.004376e0
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004e6c3c
test ebx, ebx
jne 0x4ecc53
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004eca7c
mov ebx, eax
test ebx, ebx
je 0x4ecd49
cmp esi, ebx
je 0x4ecc7c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x4ecc91
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x4eccc9
add eax, 0xffffff5f
sub eax, 2
jb 0x4ecce1
dec eax
sub eax, 2
jb 0x4eccf5
dec eax
sub eax, 2
jb 0x4ecceb
jmp 0x4eccff
add eax, 0xfffffdff
sub eax, 2
jb 0x4ecce1
dec eax
sub eax, 2
jb 0x4eccf5
dec eax
sub eax, 2
jb 0x4ecceb
jmp 0x4eccff
mov byte [esp + 0x120], 0
jmp 0x4ecd07
mov byte [esp + 0x120], 2
jmp 0x4ecd07
mov byte [esp + 0x120], 1
jmp 0x4ecd07
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004b9168
mov esi, eax
call fcn.004e3474
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004e85fc
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4ecd4b
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x5288d8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x5289c5
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x528997
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
xor edx, edx
push ebp
push 0x528986
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004563b0
mov eax, dword [ebp - 4]
call fcn.00528618
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.USER32.DLL_SetClipboardData
test eax, eax
jne 0x52896f
mov ecx, dword [0x6b0a60]
mov dl, 1
mov eax, dword [0x4131c8]
call fcn.00443acc
call fcn.00457ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52898d
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret

Function at 0x528af0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 0xd
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x528b64
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x528b36
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00458ff4
jmp 0x528b3f
mov eax, ebx
xor edx, edx
call fcn.00458e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528b6b
cmp dword [ebp - 8], 0
je 0x528b5b
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x528bfc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x528ca4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x528c77
mov edx, ebx
mov eax, dword [0x4a0dd8]
call fcn.004a9150
test al, al
je 0x528c67
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.004a9068
call fcn.00457c94
jmp 0x528cab
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x528c2f
mov ecx, dword [0x6b0bb4]
mov dl, 1
mov eax, dword [0x52852c]
call fcn.00443acc
call fcn.00457ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528cab
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x528cb4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x528d10
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov dx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528d17
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x528d20
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x528d75
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528d7c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x528dec
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x528e61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00528618
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.004a912c
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x528e4b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528e68
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x528e70
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x528ee5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00528618
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x68]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x528ecf
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528eec
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x52edd4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add ecx, dword [eax]
push esp
jae 0x52ee1c
outsd dx, dword [esi]
jb 0x52ee4a
jb 0x52ede0
add byte [eax], al
add byte [eax], al
add eax, dword [eax]
add byte [eax], al
shr ch, 1
add byte [eax], al
add byte [ebx], al
add byte [eax], al
add al, dl
in eax, dx
push edx
add byte [ecx], cl
jae 0x52ee51
dec esp
je 0x52ee47
outsd dx, dword [esi]
jo 0x52ee02
jae 0x52ee5b
dec esp
je 0x52ee3f
outsd dx, dword [esi]
je 0x52ee74
outsd dx, dword [esi]
insd dword es:[edi], dx
or dh, byte [ebx + 0x63]
push edx
imul esp, dword [edi + 0x68], 0x706f5474
or eax, 0x69526373
push 0x746f4274
je 0x52ee89
insd dword es:[edi], dx
or esi, dword [ebx + 0x41]
jae 0x52ee5f
insb byte es:[edi], dx
jo 0x52ee89
popal
inc edi
jb 0x52ee86
jo 0x52ee8f
add al, byte [eax]
nop
nop
nop
xor dh, ch
push edx
add byte [esi], al
push es
or dword [ebx + esi*2 + 0x43], edx
outsd dx, dword [esi]
jb 0x52eea6
jb 0x52eeae
add eax, edx
in eax, dx
push edx
add byte [edx], al
invalid
nop
nop
Function at 0x58038c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004e9064
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1f8], 0
je 0x5803e5
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1fc]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f8]
call fcn.00458ec4
push eax
push 0x5803ec
mov eax, dword [0x6b0740]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.SHELL32.DLL_ShellExecuteW
pop ecx
pop ecx
pop ebp
ret
Function at 0x5b7c48
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
mov dword [ebp - 4], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b45a8]
call fcn.004bad10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0xffffff9e
push 0xffffffffffffffec
mov eax, dword [ebp - 8]
call fcn.004f0054
push eax
call sub.USER32.DLL_GetWindowLongW
or eax, 0x80
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 8]
call fcn.004f0054
push eax
call sub.USER32.DLL_SetWindowLongW
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004bbd4c
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004bcc78
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_GetWindowRect
lea eax, [ebp - 0x24]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
push eax
lea eax, [ebp - 0x24]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x98]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call sym.DatCutter.exe__Sgraphutils_CreateBmp32_qqrxixi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_GetWindowDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5b7d8a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.004abe84
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
push 0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004376b0
lea edx, [ebp - 0x34]
mov cl, 0xff
mov eax, dword [ebp - 0x10]
call sym.DatCutter.exe__Salphagraph_FillAlphaRect_qqrpx16Graphics_TBitmaprx11Types_TRectuco
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b7d91
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_ReleaseDC
ret

Function at 0x5b7de4
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0x5b7e00
call sub.USER32.DLL_FindWindowW
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ecx
pop ebp
ret
Function at 0x5f7d20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 8], eax
mov eax, dword [0x6b0740]
mov eax, dword [eax]
call fcn.004c55d4
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x5f7d31
pop ecx
pop ecx
pop ebp
ret

Function at 0x5f8300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f8
mov dword [ebp - 8], eax
push 0x400
lea eax, [ebp - 0x808]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryW
mov ecx, eax
lea edx, [ebp - 0x808]
mov eax, dword [ebp - 8]
call fcn.00458f74
mov esp, ebp
pop ebp
ret

Function at 0x5f8c04
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateDirectoryA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x5f8c28
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x5f8c4c
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x5f8c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
mov dword [ebp - 8], eax
lea eax, [ebp - 0x212]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00459048
mov esp, ebp
pop ebp
ret

Function at 0x5f8ca4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5f8cff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00458ec4
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00458ff4
mov eax, dword [ebp - 0xc]
call fcn.00458ec4
push eax
call sub.KERNEL32.DLL_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f8d06
lea eax, [ebp - 0xc]
call fcn.00458e28
ret

Function at 0x5f8d10
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp byte [ebp - 9], 1
cmc
sbb eax, eax
push eax
mov eax, dword [ebp - 8]
call fcn.00458ec4
push eax
mov eax, dword [ebp - 4]
call fcn.00458ec4
push eax
call sub.KERNEL32.DLL_CopyFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xa]
mov esp, ebp
pop ebp
ret
Function at 0x5f8d50
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00458ec4
push eax
call sub.KERNEL32.DLL_SetFileAttributesW
test eax, eax
jne 0x5f8d7f
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x5f8d88
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00458ec4
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x5f91bc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd3c
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0043f188
test al, al
je 0x5f9260
lea eax, [ebp - 0x2c4]
xor ecx, ecx
mov edx, 0x2b4
call fcn.004568fc
mov eax, dword [ebp - 8]
or eax, 0x100
test eax, eax
jns 0x5f9203
call fcn.00456f88
push eax
push 0x2b4
lea eax, [ebp - 0x2c4]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00458ec4
push eax
call sub.SHELL32.DLL_SHGetFileInfoW
test eax, eax
je 0x5f9260
mov dl, 1
mov eax, dword [0x4a2820]
call fcn.004adb7c
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x2c4]
mov eax, dword [ebp - 0xc]
call fcn.004ae010
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x5f9260
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
call fcn.004570c8
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x5ffed4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff810
xor ecx, ecx
mov dword [ebp - 0x7f0], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5fffd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00458a9c
mov eax, dword [0x6b0778]
cmp dword [eax], 2
jne 0x5fff87
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
call fcn.00458d84
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5fff40
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
shr eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00458c68
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_GetWindowTextW
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5fff79
mov eax, dword [ebp - 0x18]
sub eax, 4
mov eax, dword [eax]
shr eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
dec edx
mov eax, dword [ebp - 8]
call fcn.00458d84
jmp 0x5fffbd
lea eax, [ebp - 0x7ea]
push eax
push 0x3e8
push 0xd
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_SendMessageW
lea edx, [ebp - 0x7f0]
lea eax, [ebp - 0x7ea]
call fcn.0043fbe8
mov edx, dword [ebp - 0x7f0]
mov eax, dword [ebp - 8]
call fcn.004590c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fffdd
lea eax, [ebp - 0x7f0]
call fcn.00458e28
ret

Function at 0x6112f8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
call sub.KERNEL32.DLL_GetVersion
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x80000000
jae 0x611327
cmp byte [ebp - 8], 5
jb 0x61131e
mov dword [ebp - 4], 6
jmp 0x61132e
mov dword [ebp - 4], 8
jmp 0x61132e
mov dword [ebp - 4], 8
cmp dword [ebp - 4], 0xa
jge 0x61133b
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 4]
pop ecx
pop ecx
pop ebp
ret
Function at 0x62ed5c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Acsbutils_TacStatusBarWnd_PartsCount_qqrv
test eax, eax
jne 0x62ed86
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00458e38
jmp 0x62ee40
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Acsbutils_TacStatusBarWnd_SimplePanel_qqrv
test al, al
je 0x62ede1
push 0
push 0
push 0xe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.USER32.DLL_SendMessageW
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.00458f74
cmp dword [ebp - 0x14], 0
je 0x62edd5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0xd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.USER32.DLL_SendMessageW
jmp 0x62ee40
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00458e38
jmp 0x62ee40
mov eax, dword [ebp - 4]
cmp dword [eax + 0x78], 0
je 0x62ee36
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x270]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 0
jle 0x62ee20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x270]
mov edx, dword [ebp - 8]
call fcn.0050d5ac
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00458e38
jmp 0x62ee40
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x78]
mov edx, dword [edx + 0x278]
call fcn.00458e38
jmp 0x62ee40
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00458e38
mov esp, ebp
pop ebp
ret

Function at 0x6311e8
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.004376b0
mov eax, dword [ebp - 8]
push eax
push 0
push 0x419
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.USER32.DLL_SendMessageW
pop ecx
pop ecx
pop ebp
ret