joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7cf8f2f1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp dword [ebx + 0x68], esi
push edi
mov dword [ebp - 4], esi
je 0x7cf8f312
mov eax, dword [ebx + 0x6c]
jmp 0x7cf8f4bc
mov ecx, 0x84
xor eax, eax
lea edi, [ebp - 0x450]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x448]
push eax
push esi
push ebx
call fcn.7cf8d298
test eax, eax
jl 0x7cf8f347
push 5
push 0x1cc
call dword [sym.imp.COMCTL32.dll_DSA_Create]
cmp eax, esi
mov dword [ebx + 0x68], eax
jne 0x7cf8f34e
xor eax, eax
jmp 0x7cf8f4bc
lea eax, [ebp - 0xc]
push eax
push 0x7cf35890
push ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x7cf8f4ac
push 1
lea eax, [ebp - 0x74]
pop edi
push 0x27
push eax
mov dword [ebp - 0x10], edi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x7cf8f4a3
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x74]
push eax
call sym.SHELL32.dll_SHCLSIDFromString
test eax, eax
jl 0x7cf8f491
lea eax, [ebp - 8]
push eax
push 0x7cf39590
push edi
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.7cf4d6fc
test eax, eax
jl 0x7cf8f491
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x450]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jl 0x7cf8f488
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x240]
mov dword [ebp - 0x7c], eax
push edx
mov ecx, dword [eax]
push esi
push eax
mov dword [ebp - 0x14], edi
call dword [ecx + 0x10]
test eax, eax
jne 0x7cf8f488
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp + 8], esi
cmp dword [eax], esi
jle 0x7cf8f451
push dword [ebp + 8]
push eax
call dword [sym.imp.COMCTL32.dll_DSA_GetItemPtr]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 0x230]
jne 0x7cf8f434
push 0x10
lea edi, [ebp - 0x240]
pop ecx
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x7cf8f443
xor esi, esi
inc dword [ebp + 8]
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax]
jl 0x7cf8f40c
jmp 0x7cf8f451
mov eax, dword [eax + 0x1c8]
dec dword [ebp - 4]
mov dword [ebp - 0x78], eax
xor esi, esi
lea eax, [ebp - 0x240]
push eax
push ParseURLA
push dword [ebx + 0x68]
call dword [sym.imp.COMCTL32.dll_DSA_InsertItem]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x14]
lea edi, [ebp - 0x240]
mov edx, dword [eax]
push edi
push ecx
push eax
call dword [edx + 0x10]
test eax, eax
je 0x7cf8f3f0
push 1
pop edi
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x74]
push 0x27
push ecx
push eax
jmp 0x7cf8f377
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebx + 0x68]
cmp dword [eax], esi
jne 0x7cf8f4b6
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
mov dword [ebx + 0x6c], eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cf91cab
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
push edi
push ParseURLA
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov esi, dword [ebp + 8]
cmp eax, edi
mov dword [esi + 0x1c], eax
je 0x7cf91d2d
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [esi + 0x38], eax
je 0x7cf91d21
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x7cf92457
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x3c], eax
je 0x7cf91d0c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], 1
jmp 0x7cf91d2d
push dword [esi + 0x38]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [esi + 0x1c]
mov dword [esi + 0x38], edi
call ebx
jmp 0x7cf91d2a
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x7cf938c3
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
test esi, esi
jl 0x7cf93925
cmp esi, 0x1a
jge 0x7cf93925
lea eax, [ebp - 8]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathBuildRootW]
push 1
lea eax, [ebp - 0x210]
push 0x104
push eax
lea eax, [ebp - 8]
push eax
call fcn.7cf9387d
test eax, eax
jne 0x7cf93903
push 1
jmp 0x7cf93922
cmp eax, 0x4b1
je 0x7cf9390f
cmp eax, 0x1f
jne 0x7cf93925
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 1
mov ecx, esi
pop edx
shl edx, cl
test edx, eax
jne 0x7cf93925
push 2
pop eax
jmp 0x7cf93927
xor eax, eax
pop esi
leave
ret 4

Function at 0x7cf9392c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jge 0x7cf93959
push 0x7cf35b28
push ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
call fcn.7cff835b
jmp 0x7cf93a0e
cmp edi, 0x1a
jge 0x7cf93a0e
mov eax, dword [edi*4 + 0x7d04b0b0]
lea esi, [edi*4 + 0x7d04b0b0]
xor ebx, ebx
cmp eax, 0xffffffff
je 0x7cf939bd
mov ecx, eax
and ecx, 0xfffffff0
cmp ecx, 0xfffffff0
je 0x7cf939bd
mov ecx, eax
and ecx, 0xf
cmp cl, 2
jge 0x7cf93990
test ah, 2
je 0x7cf939bd
lea eax, [ebp - 0x14]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathBuildRootW]
push 0x4000
lea eax, [ebp - 0x2c8]
push 0x2b4
push eax
lea eax, [ebp - 0x14]
push 0
push eax
call sym.SHELL32.dll_SHGetFileInfoW
mov ebx, dword [ebp - 0x2c4]
push edi
call fcn.7cff8360
test ebx, ebx
je 0x7cf93a0e
push 0x4000
lea eax, [ebp - 0x2c8]
push 0x2b4
push eax
lea eax, [ebp - 0x14]
push 0
push eax
call sym.SHELL32.dll_SHGetFileInfoW
cmp ebx, dword [ebp - 0x2c4]
je 0x7cf93a0e
mov esi, dword [esi]
mov eax, esi
and al, 0xf0
cmp eax, 0xfffffff0
je 0x7cf93a0e
mov eax, esi
and eax, 0xf
cmp al, 2
jl 0x7cf93a0e
push 0
push ebx
push 3
push 0x8000
call sym.SHELL32.dll_SHChangeNotify
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cf94aae
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
lea eax, [ebp + 8]
push ebx
push eax
mov byte [edi + 3], 0xa
lea esi, [edi + 4]
push 0x1000
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x7cf94ba1
mov eax, dword [ebp + 8]
add ebx, eax
test ebx, ebx
je 0x7cf94ba1
test eax, eax
jne 0x7cf94afa
xor ebx, ebx
mov byte [esi], 0xd
inc esi
mov byte [esi], 0xa
inc esi
jmp 0x7cf94b19
lea eax, [eax + esi - 1]
push eax
call fcn.7cf94c30
mov ebx, eax
mov eax, dword [ebp + 8]
cmp ebx, eax
jne 0x7cf94b13
xor ebx, ebx
add esi, eax
jmp 0x7cf94b19
sub eax, ebx
add eax, esi
mov esi, eax
lea eax, [edi + 4]
mov dword [ebp - 4], eax
test eax, eax
je 0x7cf94b69
cmp esi, eax
jbe 0x7cf94b69
mov ecx, esi
sub ecx, eax
cmp ecx, dword [edi + 0x1098]
jl 0x7cf94b69
test byte [ebp + 0x11], 1
je 0x7cf94b64
push esi
push eax
push edi
call dword [edi + 0x24e0]
test eax, eax
mov dword [ebp - 4], eax
je 0x7cf94b64
test byte [ebp + 0x11], 2
jne 0x7cf94b97
push 1
pop eax
cmp dword [edi + 0x1aa4], eax
jle 0x7cf94bc5
push edi
call fcn.7cf93bda
or byte [ebp + 0x11], 2
mov eax, dword [ebp - 4]
jmp 0x7cf94b1f
test ebx, ebx
je 0x7cf94b7b
push ebx
lea eax, [edi + 4]
push esi
push eax
call fcn.7d041e90
add esp, 0xc
lea eax, [ebp + 8]
push 0
push eax
mov eax, 0x1000
sub eax, ebx
lea esi, [ebx + edi + 4]
and eax, 0x3fffc00
push eax
jmp 0x7cf94acb
push edi
call fcn.7cf93bda
xor eax, eax
jmp 0x7cf94bc5
test byte [ebp + 0x11], 1
je 0x7cf94bc2
test byte [ebp + 0x11], 2
jne 0x7cf94bbc
mov ecx, dword [0x7d04cde4]
xor eax, eax
cmp byte [ecx], al
sete al
jmp 0x7cf94bc5
push edi
call fcn.7cf93bda
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x7cf960da
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0
je 0x7cf9611f
push dword [esi + 0x1c]
and dword [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x7d0
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x7cf96112
push 0xffffffffffffffff
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x14], 0
pop esi
ret 4
Function at 0x7cf97440
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x104]
push 0x80
push eax
push 0x66
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
add eax, 0x2c
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x40c]
push eax
push 0x66
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push esi
push fcn.7cf973a8
push edi
push edi
mov dword [esi + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x1c], eax
jne 0x7cf974bf
push 2
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x7cf974f0
push 0x64
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x96
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x467
push eax
mov dword [ebp + 8], eax
call edi
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push dword [ebp + 8]
call edi
and dword [esi + 0x4d4], 0
lea edi, [esi + 0x4d4]
test byte [esi + 0x4d0], 1
je 0x7cf97515
push 0
push 0x64
push 1
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi], eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x7cf97ab3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
neg edi
sbb edi, edi
push 0
and edi, 0xfffffffe
push 0xb
push dword [ebp + 8]
inc edi
mov dword [ebp - 8], 4
inc edi
call esi
movzx eax, di
push eax
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
mov ebx, 0x100c
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
jl 0x7cf97b9f
lea eax, [ebp - 0x18]
push eax
push edi
push 0x1010
push dword [ebp + 8]
call esi
mov eax, dword [ebp + 0xc]
add dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
add dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
push 0x7cf36318
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x7cf97b7b
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x7cf36398
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
jne 0x7cf97b72
mov eax, dword [ebp + 0x14]
xor edx, edx
shr eax, 1
add dword [ebp - 0x18], eax
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
div dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0x18], edx
xor edx, edx
div dword [ebp + 0x14]
sub dword [ebp - 0x14], edx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push edi
push 0x1031
push dword [ebp + 8]
call esi
push dword [ebp - 0xc]
push edi
jmp 0x7cf97aee
push 0
push 1
push 0xb
push dword [ebp + 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x7cf980c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x4a8], edi
je 0x7cf9810d
mov eax, dword [esi + 0x48c]
cmp eax, edi
je 0x7cf980f4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x7cf9810d
push dword [esi + 0x48c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x7cf97f1c
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x48c], eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x7cf98113
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x7cf98161
mov eax, dword [esi + 0x48c]
and dword [esi + 0x4a8], 0
test eax, eax
je 0x7cf98161
push 0x15f90
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x7cf9814e
push 0xffffffffffffffff
push dword [esi + 0x48c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x48c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x48c], 0
pop esi
ret 4
Function at 0x7cf98883
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, 0xa000000
push 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push 3
push 0
push 3
push 3
push dword [ebp + 0xc]
call esi
mov ebx, dword [ebp + 8]
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x7cf98947
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x7cf98955
push 0
push edi
push 3
push 0
push 3
push 0x180
push dword [ebp + 0xc]
call esi
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x7cf98955
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x7cf9894c
test byte [ebp - 0x34], 1
je 0x7cf9894c
and dword [ebp - 0x34], 0xfffffffe
push dword [ebp - 0x34]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x7cf9894c
push 0
push edi
push 3
push 0
push 3
push 3
push dword [ebp + 0xc]
call esi
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], eax
call esi
cmp dword [ebx], 0xffffffff
je 0x7cf98955
or dword [ebp - 0x34], 1
push dword [ebp - 0x34]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x7cf98947
push dword [ebx]
call esi
or dword [ebx], 0xffffffff
jmp 0x7cf98955
push 1
pop eax
jmp 0x7cf98957
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x7cf9895e
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, eax
xor edi, edi
test bl, 1
mov dword [esp + 0x14], edi
je 0x7cf98992
and al, 0xfe
push eax
push esi
call ebp
test eax, eax
je 0x7cf98992
mov dword [esp + 0x14], 1
cmp dword [esp + 0x18], edi
je 0x7cf989a0
push esi
call fcn.7d03f472
jmp 0x7cf989a7
push edi
push esi
call fcn.7d03f4b8
cmp dword [esp + 0x14], 0
mov edi, eax
je 0x7cf989d5
and dword [esp + 0x14], 0
test edi, edi
jne 0x7cf989c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
push ebx
push esi
call ebp
test edi, edi
jne 0x7cf989d5
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x7cf989de
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test ah, 0x40
je 0x7cf989f8
push 1
pop eax
jmp 0x7cf98a41
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.7cf98883
test eax, eax
je 0x7cf98a3f
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 0xc], eax
push eax
setne cl
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push eax
lea eax, [ebp - 8]
push 2
push eax
push 0x9c040
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x7cf98a41
xor eax, eax
pop esi
leave
ret 8
Function at 0x7cf98e55
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsRootW]
push 1
pop ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x7cf98efa
push dword [ebp + 8]
call sym.SHELL32.dll_Ordinal_159
test eax, eax
jne 0x7cf98efa
push 0x104
lea eax, [ebp - 0x208]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7cf98ef0
test ah, 0x40
jne 0x7cf98ef0
lea eax, [ebp - 0x208]
push eax
call esi
test eax, eax
jne 0x7cf98ef0
push 0x7cf36738
lea eax, [ebp - 0x208]
push ebx
push eax
push 0x7cf98d89
push 0x450
push dword [0x7d04cdfc]
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_Ordinal_292]
mov ebx, eax
xor eax, eax
cmp ebx, 1
sete al
jmp 0x7cf98efd
push 1
pop eax
pop esi
pop ebx
leave
ret 8
Function at 0x7cf9b5b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x208]
push 0x104
mov edi, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp word [ebp - 0x206], 0x3a
jne 0x7cf9b5ea
and word [ebp - 0x202], 0
lea eax, [ebp - 0x208]
push eax
call sym.SHELL32.dll_ILCreateFromPath
test byte [esi + 0x3c], 1
mov ebx, eax
jne 0x7cf9b622
lea eax, [edi + 0x18]
push 0x7cf3339c
push eax
push 0x7cf36870
push 0x3710
push dword [esi + 0x34]
push 0
call fcn.7cf85dad
mov dword [edi + 0xc], eax
or dword [esi + 0x3c], 1
push ebx
call sym.SHELL32.dll_ILFree
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cf9cce2
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push edi
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x7cf9cdc9
push edi
call fcn.7cf67f1c
cmp eax, edi
jl 0x7cf9cdc1
push esi
lea eax, [ebp - 8]
push ebx
push eax
call fcn.7cf82c03
cmp eax, edi
jne 0x7cf9cd99
mov eax, dword [ebp - 8]
or dword [ebp - 0x10], 0xffffffff
push 1
lea edx, [ebp - 0x28]
pop esi
mov word [ebp - 0x1c], 0xf
push edx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, edi
jl 0x7cf9cd90
mov ebx, dword [ebp - 0x24]
push edi
push edi
push 0xffffffffffffffff
push ebx
call sym.SHELL32.dll_DragQueryFileW
cmp eax, esi
jne 0x7cf9cd87
lea eax, [ebp - 0x230]
push 0x104
push eax
push edi
push ebx
call sym.SHELL32.dll_DragQueryFileW
test eax, eax
je 0x7cf9cd87
push dword [ebp + 8]
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7cf9cd87
mov dword [ebp - 4], esi
lea eax, [ebp - 0x28]
push eax
call fcn.7cf53e0f
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 4], edi
je 0x7cf9cdba
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x7cf9cdb7
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x7cf9cdba
mov dword [ebp - 4], edi
call fcn.7cf828cd
pop ebx
pop esi
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
leave
ret 4

Function at 0x7cf9ce11
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ecx
and dword [esp], 0
push ebx
push ebp
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0xc
mov esi, dword [esp + 0x18]
cmp eax, 0x104
jle 0x7cf9ce50
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x7cf9ce50
push 0xce
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7cf9cedb
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
push dword [esp + 0x1c]
push esi
call ebp
mov edi, eax
test edi, edi
jne 0x7cf9cebb
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x7cf9ce9f
test bl, 5
je 0x7cf9ce9f
and al, 0xfa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x7cf9ce9f
push dword [esp + 0x1c]
push esi
call ebp
mov edi, eax
push ebx
test edi, edi
je 0x7cf9ce98
push dword [esp + 0x20]
jmp 0x7cf9ce99
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test edi, edi
jne 0x7cf9cebb
cmp dword [esp + 0x10], edi
jne 0x7cf9ceb7
push esi
call fcn.7cf9cce2
test eax, eax
mov dword [esp + 0x10], eax
jne 0x7cf9ce56
test edi, edi
je 0x7cf9ced9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x7d04ce84], eax
je 0x7cf9ced9
push dword [esp + 0x1c]
push esi
push 5
push dword [esp + 0x2c]
call sym.SHELL32.dll_SHChangeNotify
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x7cf9cf02
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
xor ebp, ebp
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x7cf9cf56
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7cf9cf3e
test al, 5
je 0x7cf9cf3e
and al, 0xfa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x7cf9cf3e
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x7cf9cf56
test ebp, ebp
jne 0x7cf9cf52
push esi
call fcn.7cf9cce2
mov ebp, eax
test ebp, ebp
jne 0x7cf9cf12
test edi, edi
je 0x7cf9cf70
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x7d04ce84], eax
je 0x7cf9cf70
push 0
push esi
push 5
push 4
call sym.SHELL32.dll_SHChangeNotify
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x7cf9cf79
Capabilities:
Create directory

Disassembly:
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
je 0x7cf9cfab
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x7d04ce84], eax
je 0x7cf9cfab
push 0
push dword [esp + 0xc]
push 5
push 8
call sym.SHELL32.dll_SHChangeNotify
mov eax, esi
pop esi
ret 8

Function at 0x7cf9cfb1
Capabilities:
Check if file exists
Delete directory
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
call edi
mov ebx, eax
test ebx, ebx
jne 0x7cf9cfea
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7cf9cfe6
test al, 1
je 0x7cf9cfe6
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x7cf9d004
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x7d04ce84], eax
je 0x7cf9d004
push 0
push esi
push 5
push 0x10
call sym.SHELL32.dll_SHChangeNotify
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4

Function at 0x7cf9d058
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push 0
push dword [ebp + 0xc]
call fcn.7cf9d00c
mov esi, eax
cmp esi, 0xffffffff
je 0x7cf9d098
cmp dword [ebp + 0x14], 0
je 0x7cf9d08c
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
jmp 0x7cf9d0e2
push 0x104
lea eax, [ebp - 0x208]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x208]
push 0x30
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2218
push 0
push dword [ebp + 8]
call fcn.7cfa9f74
xor eax, eax
pop esi
leave
ret 0x10