joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ddc6
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
mov eax, dword [ebp + 0x3ac]
push ebx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001de15
xor eax, eax
jmp 0x1001dee8
push esi
push edi
mov edi, 0x206
push edi
lea eax, [ebp - 0x6e]
push ebx
push eax
mov word [ebp - 0x70], bx
call fcn.10076580
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x101d87ec
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], 0x104
mov dword [ebp - 0x80], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
jne 0x1001decc
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
lea eax, [ebp + 0x19a]
push ebx
push eax
mov word [ebp + 0x198], bx
call fcn.10076580
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp + 0x198]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x198]
push str.Internet_Exploreriexplore.exe
push eax
call fcn.10076a63
pop ecx
pop ecx
lea eax, [ebp + 0x198]
push eax
call esi
test eax, eax
je 0x1001dee6
lea eax, [ebp + 0x198]
push eax
push dword [ebp - 0x78]
call fcn.10076a8d
pop ecx
pop ecx
jmp 0x1001dee3
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call fcn.10076a8d
pop ecx
pop ecx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
pop ebx
call fcn.10075e13
add ebp, 0x3a4
leave
ret

Function at 0x1001defe
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push esi
push edi
mov edi, dword [ebp + 0x7b0]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.10076580
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.10076580
push edi
lea eax, [ebp - 0x2c]
push 0x10175610
push eax
call fcn.100048d5
add esp, 0x24
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1001df76
xor al, al
jmp 0x1001df88
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov al, 1
mov ecx, dword [ebp + 0x7a4]
pop edi
xor ecx, ebp
pop esi
call fcn.10075e13
add ebp, 0x7a8
leave
ret
Function at 0x1001df9f
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7ac]
sub esp, 0x82c
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x7a8], eax
push esi
push edi
mov edi, dword [ebp + 0x7b4]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.10076580
push 0x10
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.10076580
push edi
lea eax, [ebp - 0x28]
push 0x10175610
push eax
call fcn.100048d5
add esp, 0x24
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1001e03b
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x34]
call esi
mov ecx, dword [ebp + 0x7a8]
pop edi
xor ecx, ebp
pop esi
call fcn.10075e13
add ebp, 0x7ac
leave
ret

Function at 0x1001e052
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x5c4]
sub esp, 0x644
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x5c0], eax
push ebx
mov ebx, dword [ebp + 0x5cc]
push edi
xor edi, edi
cmp ebx, edi
jne 0x1001e082
xor eax, eax
jmp 0x1001e149
push esi
mov esi, 0x206
push esi
lea eax, [ebp + 0x3ba]
push edi
push eax
mov word [ebp + 0x3b8], di
call fcn.10076580
lea eax, [ebp + 0x3b8]
push ebx
push eax
call fcn.10076a8d
lea eax, [ebp + 0x3b8]
push eax
call fcn.10079880
push 0x228
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push edi
push eax
mov dword [ebp - 0x7c], edi
call fcn.10076580
add esp, 0x24
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001e146
lea eax, [ebp - 0x7c]
push eax
push ebx
mov dword [ebp - 0x7c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1001e13b
push esi
lea eax, [ebp + 0x1b2]
push edi
push eax
mov word [ebp + 0x1b0], di
call fcn.10076580
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.10076a8d
lea eax, [ebp + 0x1b0]
push eax
call fcn.10079880
push dword [ebp - 0x80]
push eax
call fcn.10076c97
add esp, 0x20
test eax, eax
je 0x1001e160
lea eax, [ebp - 0x7c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001e0f0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp + 0x5c0]
pop edi
xor ecx, ebp
pop ebx
call fcn.10075e13
add ebp, 0x5c4
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x74]
jmp 0x1001e148
Function at 0x1001e3a9
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x1a0]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x80], eax
and word [ebp - 0x78], 0
push 0x206
lea eax, [ebp - 0x76]
push 0
push eax
call fcn.10076580
add esp, 0xc
cmp dword [ebp - 0x7c], 0
lea eax, [ebp - 0x78]
jne 0x1001e418
push ebx
push str._s.bak
push eax
call fcn.100048d5
add esp, 0xc
jmp 0x1001e42a
push dword [ebp - 0x7c]
push ebx
push str._s.bak_d
push eax
call fcn.100048d5
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001e43e
lea eax, [ebp - 0x78]
push eax
call edi
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.100798e9
pop ecx
pop ecx
lea eax, [ebp - 0x78]
push eax
call edi
push 0
push ebx
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
push 0
lea eax, [ebp - 0x78]
push eax
jne 0x1001e478
call esi
cmp dword [ebp - 0x7c], 0xa
jge 0x1001e483
inc dword [ebp - 0x7c]
jmp 0x1001e3e6
call esi
push 5
push 0
push dword [ebp - 0x80]
call esi
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10075e13
add ebp, 0x194
leave
ret

Function at 0x1001e49b
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push str..del
push edi
call fcn.10078b09
test eax, eax
pop ecx
pop ecx
je 0x1001e4d3
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1001e56a
push esi
xor esi, esi
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.10076580
add esp, 0xc
test esi, esi
lea eax, [ebp - 0x20c]
jne 0x1001e50f
push edi
push str._s.del
push eax
call fcn.100048d5
add esp, 0xc
jmp 0x1001e51f
push esi
push edi
push str._s.del_d
push eax
call fcn.100048d5
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001e549
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001e549
cmp esi, 0xa
jge 0x1001e569
inc esi
jmp 0x1001e4d6
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.100798e9
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10075e13
leave
ret
Function at 0x1001e577
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x5a4]
sub esp, 0x624
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
mov esi, dword [ebp + 0x5ac]
push esi
mov dword [ebp - 0x80], esi
call ebx
test eax, eax
je 0x1001e6da
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001e6da
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.10076580
push esi
lea eax, [ebp + 0x192]
push edi
push eax
mov word [ebp + 0x190], di
call fcn.10076580
add esp, 0x18
lea eax, [ebp + 0x190]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call fcn.1001e16c
pop ecx
pop ecx
mov dword [ebp - 0x7c], edi
push esi
lea eax, [ebp + 0x39a]
push edi
push eax
mov word [ebp + 0x398], di
call fcn.10076580
add esp, 0xc
cmp dword [ebp - 0x7c], edi
lea eax, [ebp - 0x78]
jne 0x1001e64d
push eax
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp + 0x398]
push str._s_s.del
push eax
call fcn.100048d5
add esp, 0x10
jmp 0x1001e66c
push dword [ebp - 0x7c]
push eax
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp + 0x398]
push str._s_s.del_d
push eax
call fcn.100048d5
add esp, 0x14
lea eax, [ebp + 0x398]
push eax
call ebx
test eax, eax
je 0x1001e698
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, edi
jne 0x1001e698
cmp dword [ebp - 0x7c], 0xa
jge 0x1001e6d9
inc dword [ebp - 0x7c]
jmp 0x1001e60f
lea eax, [ebp + 0x398]
push eax
push dword [ebp - 0x80]
call fcn.100798e9
pop ecx
pop ecx
lea eax, [ebp + 0x398]
push eax
call ebx
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
je 0x1001e6c8
push 5
push edi
lea eax, [ebp + 0x398]
push eax
call esi
push dword [ebp - 0x80]
call ebx
test eax, eax
je 0x1001e6d9
push 5
push edi
push dword [ebp - 0x80]
call esi
pop edi
mov ecx, dword [ebp + 0x5a0]
pop esi
xor ecx, ebp
pop ebx
call fcn.10075e13
add ebp, 0x5a4
leave
ret
Function at 0x1001e745
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x90], eax
push esi
mov esi, dword [ebp + 0x9c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001e83b
push ebx
push edi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001e7a2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea esi, [ebx + 1]
push esi
call fcn.10052b12
and dword [ebp - 0x80], 0
pop ecx
push 0
lea ecx, [ebp - 0x80]
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xe
pop ecx
mov esi, str.identifierBegin:abcdefghijklmnopqrstuvwxyz:identifierEnd
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0xcb
xor edi, edi
lea eax, [ebp - 0x3b]
push edi
push eax
call fcn.10076580
lea eax, [ebp - 0x74]
push eax
call fcn.100757d0
add esp, 0x10
cmp ebx, edi
jle 0x1001e828
mov ecx, dword [ebp - 0x78]
add ecx, edi
mov dl, byte [ecx]
cmp dl, byte [ebp - 0x74]
jne 0x1001e823
xor esi, esi
test eax, eax
mov dword [ebp - 0x7c], esi
jle 0x1001e823
mov dl, byte [ecx + esi]
cmp dl, byte [ebp + esi - 0x74]
jne 0x1001e823
inc dword [ebp - 0x7c]
cmp dword [ebp - 0x7c], eax
je 0x1001e851
inc esi
cmp esi, eax
jl 0x1001e80d
inc edi
cmp edi, ebx
jl 0x1001e7f8
cmp dword [ebp - 0x78], 0
je 0x1001e837
push dword [ebp - 0x78]
call fcn.10052b17
pop ecx
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
pop esi
call fcn.10075e13
add ebp, 0x94
leave
ret
cmp dword [ebp - 0x78], 0
je 0x1001e860
push dword [ebp - 0x78]
call fcn.10052b17
pop ecx
xor eax, eax
inc eax
jmp 0x1001e839
Function at 0x1001e865
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x5c4]
sub esp, 0x644
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x5c0], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x5cc]
mov esi, 0x206
xor ebx, ebx
push esi
lea eax, [ebp + 0x3ba]
push ebx
push eax
mov word [ebp + 0x3b8], bx
call fcn.10076580
lea eax, [ebp + 0x3b8]
push edi
push eax
call fcn.10076a8d
lea eax, [ebp + 0x3b8]
push eax
call fcn.10077163
add esp, 0x18
push ebx
push 2
mov dword [ebp - 0x80], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1001e949
lea eax, [ebp - 0x7c]
push eax
push edi
mov dword [ebp - 0x7c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1001e93e
push esi
lea eax, [ebp + 0x1b2]
push ebx
push eax
mov word [ebp + 0x1b0], bx
call fcn.10076580
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.10076a8d
lea eax, [ebp + 0x1b0]
push eax
call fcn.10077163
lea eax, [ebp + 0x3b8]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.10076c97
add esp, 0x20
test eax, eax
jne 0x1001e934
inc dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001e8e6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x5c0]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10075e13
add ebp, 0x5c4
leave
ret

Function at 0x1001e9b3
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push dword [esp + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1001e9c4
xor eax, eax
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x1001e9c1
push esi
push dword [esp + 0xc]
call fcn.10076514
pop ecx
lea eax, [eax + eax + 0xa]
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x1001e9f1
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [esp + 0xc]
push eax
call fcn.10076a8d
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
neg eax
sbb eax, eax
neg eax
pop esi
ret
Function at 0x1001ea22
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x1588]
mov eax, 0x1608
call fcn.10076ab0
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x1584], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1590]
mov esi, 0x206
xor ebx, ebx
push esi
lea eax, [ebp + 0x137e]
push ebx
push eax
mov word [ebp + 0x137c], bx
call fcn.10076580
push edi
lea eax, [ebp + 0x137c]
push 0x10175610
push eax
call fcn.100048d5
lea eax, [ebp + 0x137c]
push eax
call fcn.10076514
lea ecx, [eax - 1]
add esp, 0x1c
test ecx, ecx
jle 0x1001eaa1
lea eax, [ebp + eax*2 + 0x137c]
cmp word [eax - 2], 0x5c
je 0x1001eaa1
mov word [eax], 0x5c
lea eax, [ebp + 0x137c]
push eax
lea eax, [ebp + 0x1d4]
push 0x10178ecc
push eax
call fcn.100048d5
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1d4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x80], eax
je 0x1001eb7f
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1001eb7f
cmp word [ebp - 0x50], 0x2e
je 0x1001ead9
cmp word [ebp - 0x4e], bx
je 0x1001ead9
cmp word [ebp - 0x4e], 0x2e
jne 0x1001eb08
cmp word [ebp - 0x4c], bx
je 0x1001ead9
test byte [ebp - 0x7c], 0x10
je 0x1001eb4e
push esi
lea eax, [ebp + 0x1176]
push ebx
push eax
mov word [ebp + 0x1174], bx
call fcn.10076580
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x137c]
push eax
lea eax, [ebp + 0x1174]
push 0x10178658
push eax
call fcn.100048d5
lea eax, [ebp + 0x1174]
push eax
call fcn.1001ea22
add esp, 0x20
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x137c]
push eax
lea eax, [ebp + 0x9a4]
push 0x1017578c
push eax
call fcn.100048d5
add esp, 0x10
lea eax, [ebp + 0x9a4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1001ead9
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp + 0x1584]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10075e13
add ebp, 0x1588
leave
ret
Function at 0x1001ebb0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1380]
mov eax, 0x1400
call fcn.10076ab0
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x137c], eax
push ebx
mov ebx, dword [ebp + 0x138c]
push esi
mov esi, dword [ebp + 0x1388]
push esi
lea eax, [ebp + 0x1d4]
push 0x10178ecc
push eax
call fcn.100048d5
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1d4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x80], eax
je 0x1001ecab
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1001ecab
cmp word [ebp - 0x50], 0x2e
je 0x1001ec0f
cmp word [ebp - 0x4e], 0
je 0x1001ec0f
cmp word [ebp - 0x4e], 0x2e
jne 0x1001ec40
cmp word [ebp - 0x4c], 0
je 0x1001ec0f
and word [ebp + 0x1174], 0
push 0x206
lea eax, [ebp + 0x1176]
push 0
push eax
call fcn.10076580
lea eax, [ebp - 0x50]
push eax
push esi
lea eax, [ebp + 0x9a4]
push 0x1017578c
push eax
call fcn.100048d5
lea eax, [ebp + 0x1174]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1001e26b
lea eax, [ebp + 0x1174]
push ebx
push eax
call fcn.10076c97
add esp, 0x2c
test eax, eax
jne 0x1001ec0f
lea eax, [ebp + 0x9a4]
push eax
call fcn.1001e577
pop ecx
jmp 0x1001ec0f
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x137c]
pop esi
xor ecx, ebp
pop ebx
call fcn.10075e13
add ebp, 0x1380
leave
ret

Function at 0x1001ede8
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
push esi
mov esi, dword [ebp + 0x1d0]
push esi
call fcn.10076514
test eax, eax
pop ecx
je 0x1001ee87
push 0x104
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x38]
push str.Program_FilesInternet_Exploreriexplore.exe
push eax
call fcn.10076a8d
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.10076a63
push 0x3c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.10076580
add esp, 0x1c
push 1
push 0
push 0
mov eax, str.open
push esi
push eax
push 0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], 0x200
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x1001ee84
lea eax, [ebp - 0x44]
push eax
call fcn.1001defe
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x1c4]
xor ecx, ebp
pop esi
call fcn.10075e13
add ebp, 0x1c8
leave
ret

Function at 0x1001ee9d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.10076514
test eax, eax
pop ecx
je 0x1001eef5
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.10076580
add esp, 0xc
xor ecx, ecx
inc ecx
push ecx
push 0
push 0
mov eax, str.open
push esi
push eax
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x1001eef5
push esi
call fcn.1001defe
pop ecx
pop esi
leave
ret
Function at 0x1001fc2a
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x4d4
lea ebp, [esp - 4]
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x4d4], eax
push 0xc
mov eax, 0x1016bf3a
call fcn.10075e22
mov esi, dword [ebp + 0x4e0]
mov edi, dword [ebp + 0x4e4]
xor ebx, ebx
push ebx
lea ecx, [ebp]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp + 0x18], 7
call fcn.10001b70
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x1001fd40
lea eax, [ebp + 0x1c]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1001fd40
cmp word [ebp + 0x1c], bx
mov dword [ebp - 0x14], ebx
je 0x1001fd40
lea esi, [ebp + 0x1c]
xor edi, edi
push 0x10179148
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001fd27
push 0x10179140
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001fd27
mov ax, word [esi]
mov word [ebp + 0x4cc], ax
mov ax, word [ebp + edi + 0x1e]
mov word [ebp + 0x4ce], ax
push 0x64
lea eax, [ebp + 0x404]
push eax
lea eax, [ebp + 0x4cc]
push eax
mov word [ebp + 0x4d0], bx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1001fd77
lea eax, [ebp + 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x18]
mov esi, eax
push esi
lea eax, [ebp + 0x404]
push eax
push edi
call fcn.1007b9c7
add esp, 0xc
test eax, eax
je 0x1001fd8f
add dword [ebp - 0x14], 4
mov edi, dword [ebp - 0x14]
add edi, edi
lea esi, [ebp + edi + 0x1c]
cmp word [esi], bx
jne 0x1001fca9
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.100034f0
push ebx
push 1
lea ecx, [ebp]
call fcn.100017f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4d4]
xor ecx, ebp
call fcn.10075e13
add ebp, 0x4d8
leave
ret
mov ecx, dword [ebp - 0x10]
call fcn.100034f0
push ebx
push 1
lea ecx, [ebp]
call fcn.100017f0
mov eax, dword [ebp - 0x10]
jmp 0x1001fd54
lea eax, [ebp + 0x4cc]
push eax
lea ecx, [ebp]
call fcn.10003540
lea eax, [edi + esi*2]
push eax
lea ecx, [ebp]
call fcn.10003540
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.10003510
jmp 0x1001fd7f