joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7cfd06d6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov esi, ecx
push 9
xor eax, eax
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [0x7d04cdfc]
mov dword [ebp - 0x5c], 0x80
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x58], 0x7cfd03a9
mov dword [ebp - 0x38], 0x7cf3ef7c
call dword [sym.imp.SHLWAPI.dll_Ordinal_237]
mov eax, dword [esi + 0x28]
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [eax + 0x20], ebx
lea eax, [ebp - 0x24]
push eax
push 0x3741
push ebx
mov dword [esi + 0x24], ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x28]
test byte [eax + 0x14], 0x10
jne 0x7cfd0795
push 0x3744
push ebx
call edi
push 0x3748
push ebx
mov dword [ebp + 8], eax
call edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x28]
push 0
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x3741
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x3741
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x24]
push 2
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x18]
push esi
push dword [0x7d04cdfc]
sub ecx, dword [ebp - 0x20]
xor eax, eax
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
push ecx
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x50010000
push eax
push 0x7cf3ef7c
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x28]
push dword [eax + 0x10]
push 0x3742
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x3744
push ebx
call edi
push eax
mov ecx, esi
call fcn.7cfd1301
push 0
push 1
push dword [esi + 0x28]
call fcn.7cfcf220
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
call fcn.7cf5b11e
push 3
mov dword [esi + 0x44], eax
call fcn.7cf5b11e
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [esi + 0x40], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc]
push ebx
sub eax, dword [ebp - 0x14]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [esi + 0x38], eax
mov ecx, esi
call fcn.7cfd0c78
test eax, eax
je 0x7cfd088d
push ebx
mov ecx, esi
call fcn.7cfd0bcf
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x7cfd0c78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 4
pop eax
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov ebx, 0x7cf33008
push 0x7cf3f058
mov edi, reloc.SHLWAPI.dll_ParseURLA
push ebx
mov dword [ebp - 0x18], ecx
push edi
call esi
test eax, eax
jne 0x7cfd0ccf
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x7cf3f024
push ebx
push edi
call esi
test eax, eax
je 0x7cfd0cd6
mov dword [ebp - 4], 1
push 2
push dword [ebp + 8]
call fcn.7cf6b292
and dword [ebp - 0x3c], 0
push 8
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
mov dword [ebp - 0x40], 0x28
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.7cf685d7
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xc], eax
jae 0x7cfd0d17
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
cmp dword [ebp - 8], eax
jb 0x7cfd0d1e
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x3c]
cmp dword [ebp - 0xc], eax
jae 0x7cfd0d2c
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x40]
cmp dword [ebp - 8], eax
jae 0x7cfd0d37
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x7cfd0d4e
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.7cfd0eb7
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x7cfd1301
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea esi, [ecx + 0x10]
push edi
push esi
push 0x7cf398b0
xor edi, edi
push 1
push edi
push 0x7cf39610
mov dword [ebp - 0xc], ecx
call fcn.7cf4d6fc
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x7cfd13bf
lea eax, [ebp - 4]
push eax
push 0x7cf4c4c0
push 1
push edi
push 0x7cf39620
call fcn.7cf4d6fc
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x7cfd13bf
mov eax, dword [ebp - 4]
push edi
push edi
push dword [esi]
mov ecx, dword [eax]
push dword [ebp + 8]
push eax
call dword [ecx + 0xc]
push edi
push edi
mov ebx, 0x7cf3f0c4
mov dword [ebp + 8], edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
push 0x7cf3f0a0
push ebx
mov dword [ebp - 8], eax
call edi
test eax, eax
je 0x7cfd1383
mov dword [ebp + 8], 2
push 1
push 0
push 0x7cf3f088
push ebx
call edi
test eax, eax
je 0x7cfd1397
or dword [ebp + 8], 1
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push 0x10
push dword [esi]
call fcn.7cfd12c8
mov ecx, dword [ebp - 0xc]
push 2
call fcn.7cfd1567
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cfd172c
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, ecx
test edx, edx
je 0x7cfd174b
cmp word [edx], 0
je 0x7cfd174b
mov al, byte [edx + 2]
jmp 0x7cfd174d
xor al, al
mov ecx, dword [edi + 0x28]
mov ebx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
test cl, 2
je 0x7cfd176a
test al, 0x40
je 0x7cfd176a
and eax, 0x4f
sub eax, 0x41
je 0x7cfd1779
dec eax
jmp 0x7cfd17e5
test ch, 0x10
je 0x7cfd177c
test al, 0x40
je 0x7cfd177c
and al, 0x4f
cmp al, 0x42
jne 0x7cfd17ee
push edx
jmp 0x7cfd17a1
test ch, 0x20
je 0x7cfd17b5
mov eax, dword [ebx]
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp + 0x10]
push ecx
mov esi, 0x10000000
push 1
push ebx
mov dword [ebp + 8], esi
call dword [eax + 0x24]
test dword [ebp + 8], esi
jne 0x7cfd17ad
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, edi
call fcn.7cfd164f
jmp 0x7cfd17ee
cmp dword [edi + 0x2c], 0
je 0x7cfd17ee
jmp 0x7cfd17e7
test ch, 0x40
jne 0x7cfd17ee
test cl, 0x80
je 0x7cfd17ca
push edx
push ebx
call fcn.7cfd16ca
test eax, eax
jne 0x7cfd17ee
mov eax, dword [ebx]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 0x10]
push ecx
mov esi, 0x20000000
push 1
push ebx
mov dword [ebp + 0xc], esi
call dword [eax + 0x24]
test dword [ebp + 0xc], esi
jne 0x7cfd17ee
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x28]
test byte [eax + 0x14], 9
je 0x7cfd183e
and dword [ebp + 0xc], 0
cmp dword [ebp + 0x14], 0
mov esi, 0x50000000
je 0x7cfd181f
test byte [eax + 0x14], 1
je 0x7cfd1813
mov dword [ebp + 0xc], 0x40000000
test byte [eax + 0x14], 8
je 0x7cfd1822
or byte [ebp + 0xf], 0x10
jmp 0x7cfd1822
mov dword [ebp + 0xc], esi
mov eax, dword [ebx]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 0x10]
push ecx
push 1
push ebx
call dword [eax + 0x24]
test dword [ebp + 0xc], esi
jne 0x7cfd183e
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x7cfd1d28
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
push edi
push esi
push esi
push esi
push esi
push 4
push dword [ecx + 0x28]
xor eax, eax
lea edi, [ebp - 4]
mov dword [ebp - 8], esi
push dword [ecx + 0x24]
stosd dword es:[edi], eax
push dword [ebp - 4]
lea edi, [ecx + 0x48]
push dword [ebp - 8]
push edi
push dword [ecx + 0x14]
call fcn.7cf83253
test eax, eax
je 0x7cfd1d6c
cmp dword [ebp + 8], esi
je 0x7cfd1d8e
push 1
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x7cfd1d8e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x7cfd1d7e
call esi
mov esi, eax
jmp 0x7cfd1d8e
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x7cfd2e5b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 0x14], ebx
push dword [ebx + 0x4ddc]
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], 0x208
call fcn.7d03faad
mov dword [ebp - 4], eax
lea esi, [ebx + 0x49a0]
push 0x104
lea eax, [ebx + 0x34e8]
push esi
push eax
mov dword [ebp - 0xc], esi
call fcn.7cfb0eb3
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push 0x7cf3837c
push esi
push reloc.SHLWAPI.dll_ParseURLW
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x7cfd2fc0
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x10], edi
mov edi, 0x7cf33410
push edi
call esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp - 4]
call fcn.7cfd2cc4
push dword [ebp - 0xc]
mov ebx, eax
mov dword [ebp - 0x20], ebx
call esi
add eax, dword [ebp - 0x1c]
lea eax, [eax + ebx + 0xa]
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [ebp - 8], eax
jne 0x7cfd2f17
push dword [ebp - 4]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x4ddc]
call fcn.7d03fae7
jmp 0x7cfd2fe7
cmp dword [ebp - 0x10], 0
je 0x7cfd2f80
push edi
call esi
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
sar ecx, 1
lea edi, [eax + ecx + 1]
lea ebx, [edi + edi]
push ebx
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.7d041e90
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push dword [ebp - 0xc]
call esi
imul edi, edi, 0x7fffffff
mov ecx, dword [ebp - 0x1c]
add edi, dword [ebp - 0x20]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 4]
shl edi, 1
mov word [eax], 0x3b
add ecx, ebx
push edi
add eax, 2
push ecx
push eax
call fcn.7d041e90
add esp, 0xc
jmp 0x7cfd2fbb
add ebx, ebx
push ebx
push dword [ebp - 4]
push eax
call fcn.7d041e90
mov eax, dword [ebp - 8]
add esp, 0xc
lea ebx, [eax + ebx - 2]
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edi, dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x7cf3f278
push ebx
call edi
push dword [ebp - 0xc]
push ebx
call edi
push ebx
call esi
and word [ebx + eax*2 + 2], 0
mov ebx, dword [ebp - 0x14]
xor edi, edi
cmp dword [ebp + 8], edi
je 0x7cfd300c
cmp dword [ebp - 8], edi
jne 0x7cfd3000
push edi
push edi
push dword [ebp - 4]
call fcn.7cfd2cc4
lea esi, [eax + eax]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, edi
mov dword [ebp - 8], eax
jne 0x7cfd2feb
xor eax, eax
jmp 0x7cfd301d
mov ecx, esi
mov esi, dword [ebp - 4]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.7cfd2d29
push dword [ebp - 4]
push dword [ebx + 0x4ddc]
call fcn.7d03fae7
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cfd3044
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push edi
push dword [esp + 0xc]
call esi
mov edi, eax
push 0x7cf33420
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
jne 0x7cfd3068
push 1
jmp 0x7cfd307c
push dword [esp + 0x10]
call esi
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpCW]
test eax, eax
je 0x7cfd307f
push 2
pop eax
jmp 0x7cfd3092
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movzx eax, al
shr eax, 2
and eax, 4
pop edi
pop esi
ret 8
Function at 0x7cfd484d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
push 0x104
lea edi, [esi + 0x49a0]
mov dword [ebp - 4], 0x1048
push edi
push esi
call fcn.7cfb0eb3
lea eax, [ebp - 4]
add esi, 0x2298
push eax
push esi
push 0
push 0x7cf3f340
push edi
push reloc.SHLWAPI.dll_ParseURLW
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x7cfd489a
cmp word [esi], ax
je 0x7cfd489a
push 1
pop eax
jmp 0x7cfd489c
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x7cfd5727
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
lea eax, [ebp - 4]
push eax
push 0x7cf39920
push 0x7cf395e0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_IUnknown_QueryService]
test eax, eax
jl 0x7cfd583d
mov eax, dword [ebp - 4]
lea edx, [ebp + 8]
push ebx
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x7cfd5833
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x7cfd5833
push edi
lea eax, [ebp - 0x38]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x28]
push ebx
push edx
mov ecx, dword [eax]
push ebx
push 0x407
push 1
push eax
call dword [ecx + 0x38]
push dword [ebp + 8]
or dword [ebp - 0x14], 0xffffffff
call dword [sym.imp.SHLWAPI.dll_Ordinal_382]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
push dword [ebp + 8]
add eax, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_GetDC]
push ebx
push ebx
push 0x31
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0x7cf37f04
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push dword [ebp - 8]
push edi
call esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
imul eax, eax, 0xd
sub ecx, eax
sub ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
jns 0x7cfd581a
mov eax, dword [ebp - 0x30]
push 3
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x1c], eax
add eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x1c]
push ebx
push edx
mov ecx, dword [eax]
push 3
push 0x404
push 1
push eax
call dword [ecx + 0x38]
pop esi
pop edi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop ebx
leave
ret 8
Function at 0x7cfda9e4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x7cfda9fb
mov dword [ebp + 0xc], 0x11
cmp dword [ebp + 0x14], edi
je 0x7cfdaa06
cmp dword [ebp + 0x14], 0xffffffff
jne 0x7cfdaa21
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [ebp + 0x14], eax
jne 0x7cfdaa21
mov eax, 0x80030002
jmp 0x7cfdaad3
push 7
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x7cfdaaa0
push dword [ebp + 8]
mov dword [ebp - 0x18], 0x7cf40274
mov dword [ebp - 0x14], 0x7cf40268
mov dword [ebp - 0x10], 0x7cf4025c
mov dword [ebp - 0xc], 0x7cf36ad0
mov dword [ebp - 8], 0x7cf34b24
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 4], eax
xor ebx, ebx
lea esi, [ebp - 0x18]
push dword [esi]
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x7cfdaa7f
inc ebx
add esi, 4
cmp ebx, 5
jb 0x7cfdaa61
test byte [ebp + 0x15], 0x10
je 0x7cfdaa86
mov eax, 0x80030001
jmp 0x7cfdaad3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edi
push edi
push edi
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.7cf82ab3
mov esi, eax
jmp 0x7cfdaad1
lea eax, [ebp + 0x14]
push eax
push edi
push edi
push dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.7cf82a6f
mov esi, eax
cmp esi, edi
jl 0x7cfdaad1
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x7cfdbe17
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
push 0x40000019
call sym.SHELL32.dll_SHRestricted
test eax, eax
jne 0x7cfdc001
mov esi, dword [ebp + 8]
test byte [esi + 0x4c4], 0x10
jne 0x7cfdc001
push 0xa4
call fcn.7d042358
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x7cfdbe68
push dword [ebp + 0x10]
mov ecx, eax
push esi
call fcn.7cfdba39
mov edi, eax
mov dword [ebp + 8], edi
jmp 0x7cfdbe6d
mov dword [ebp + 8], ebx
mov edi, ebx
cmp edi, ebx
je 0x7cfdc001
mov eax, dword [edi]
push edi
call dword [eax + 0x20]
test eax, eax
jl 0x7cfdbffb
push dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call sym.SHELL32.dll_Ordinal_159
test eax, eax
jne 0x7cfdbed1
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x7cfdbece
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x7cfdbe9c
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
je 0x7cfdbf2c
lea eax, [ebp - 0x218]
push eax
push ebx
call edi
lea eax, [ebp - 0x218]
mov dword [ebp + 0x10], 3
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 2
mov ecx, dword [ebp + 8]
push 4
push ebx
call fcn.7cfdbdd7
test eax, eax
je 0x7cfdbf2c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x7cfdbf2c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x7cfdbf2c
mov eax, dword [ebp + 0x10]
dec dword [ebp + 0x10]
test eax, eax
jne 0x7cfdbefd
xor eax, eax
cmp dword [esi + 0xc], eax
je 0x7cfdbf65
lea ecx, [ebp - 0x10]
push ecx
push eax
push eax
call sym.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x7cfdbf65
push ebx
push dword [ebp - 0x10]
call sym.SHELL32.dll_SHGetPathFromIDListW
test eax, eax
je 0x7cfdbf5d
mov ecx, dword [ebp + 8]
push 4
push ebx
mov dword [esi + 0x10], ebx
call fcn.7cfdbdd7
push dword [ebp - 0x10]
call sym.SHELL32.dll_ILFree
cmp dword [esi + 0xc], 0
je 0x7cfdbff8
lea eax, [ebp - 0xc]
push 0x7cf32e54
push eax
call edi
lea eax, [ebp - 0xc]
mov dword [esi + 0x10], eax
cmp dword [esi + 0xc], 0
je 0x7cfdbff8
cmp word [ebp - 0xc], 0x5a
ja 0x7cfdbfb4
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x7cfdbfae
lea eax, [ebp - 0xc]
push eax
push ebx
call edi
mov ecx, dword [ebp + 8]
push 4
push ebx
call fcn.7cfdbdd7
inc word [ebp - 0xc]
jmp 0x7cfdbf80
cmp dword [esi + 0xc], 0
je 0x7cfdbff8
cmp dword [ebp - 4], 0
je 0x7cfdbff8
lea eax, [ebp - 0x218]
push eax
push ebx
call edi
lea eax, [ebp - 0x218]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
call fcn.7cfdbdd7
test eax, eax
je 0x7cfdbff8
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x7cfdbff8
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x7cfdbfd3
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7cfdc3aa
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 8]
mov dword [ebp - 0xc], ebx
push 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
pop edi
mov word [ebp - 0x20], ax
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push edx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], 0xd
call dword [ecx + 0xc]
mov esi, eax
cmp esi, ebx
jl 0x7cfdc58e
mov eax, dword [ebp - 0xc]
dec eax
je 0x7cfdc4ba
sub eax, 3
je 0x7cfdc47c
sub eax, 4
jne 0x7cfdc564
lea eax, [ebp - 0x228]
push 0x104
push eax
push dword [ebp + 0x14]
call dword [sym.imp.SHLWAPI.dll_SHUnicodeToUnicode]
lea eax, [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 0x228]
push 0x1012
push eax
call fcn.7cf82a31
mov esi, eax
cmp esi, ebx
jl 0x7cfdc585
push dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push eax
call dword [ecx + 0x1c]
mov esi, eax
mov eax, dword [ebp + 0xc]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp esi, ebx
jge 0x7cfdc568
push dword [ebp + 0x14]
jmp 0x7cfdc53a
lea eax, [ebp + 0xc]
push eax
push 0x1021
push dword [ebp + 0x14]
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
mov esi, eax
cmp esi, ebx
jl 0x7cfdc585
push dword [ebp + 0x1c]
or ecx, 0xffffffff
mov eax, ecx
push ecx
push eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.7cfdc2b0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x7cfdc533
push ebx
push ebx
push 2
push ebx
push 3
push 0xc0000000
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x7cfdc542
mov eax, dword [ebp + 0x18]
cmp eax, ebx
jne 0x7cfdc4e6
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
lea ecx, [ebp + 0xc]
push ebx
push ecx
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x7cfdc523
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x7cfdc513
call esi
mov esi, eax
jmp 0x7cfdc523
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
jge 0x7cfdc568
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x7cfdc564
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x7cfdc554
call esi
mov esi, eax
jmp 0x7cfdc564
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
cmp esi, ebx
jl 0x7cfdc585
push ebx
push dword [ebp + 0x14]
push 5
push 2
call sym.SHELL32.dll_SHChangeNotify
push ebx
push dword [ebp + 0x14]
push 5
push 0x40000
call sym.SHELL32.dll_SHChangeNotify
lea eax, [ebp - 0xc]
push eax
call fcn.7cf53e0f
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x18