joyce8/EMBER2024-capa huggingface dataset:
Function at 0x300072fc
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3000217c
xor eax, eax
push ebp
push 0x30007368
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.3000218c
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
lea edx, [ebp - 0x20]
push edx
push 1
push eax
call sub.advapi32.dll_ControlService
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3000736f
lea eax, [ebp - 4]
call fcn.30001df0
ret

Function at 0x30007374
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3000217c
xor eax, eax
push ebp
push 0x300073e5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.3000218c
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
xor edx, edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
push edx
push 0
push eax
call sub.advapi32.dll_StartServiceA
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x300073ec
lea eax, [ebp - 4]
call fcn.30001df0
ret

Function at 0x30007464
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3000217c
mov eax, dword [ebp - 8]
call fcn.3000217c
mov eax, dword [ebp - 0xc]
call fcn.3000217c
mov eax, dword [ebp + 0xc]
call fcn.3000217c
xor eax, eax
push ebp
push 0x3000754d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
push 2
mov eax, dword [ebp - 4]
call fcn.3000218c
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov esi, eax
mov eax, dword [ebp - 8]
call fcn.3000218c
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.3000218c
push eax
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
push 0xffffffffffffffff
push esi
call sub.advapi32.dll_ChangeServiceConfigA
push 0x30007564
push dword [ebp - 4]
push 0x30007590
push 0x3000759c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.30002054
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, 0x80000002
call fcn.30005e08
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x30007554
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.30001e14
lea eax, [ebp + 0xc]
call fcn.30001df0
ret
Function at 0x300075a8
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.3000217c
mov eax, dword [ebp - 8]
call fcn.3000217c
mov eax, dword [ebp - 0xc]
call fcn.3000217c
mov eax, dword [ebp + 0x10]
call fcn.3000217c
xor eax, eax
push ebp
push 0x30007679
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.3000218c
push eax
push 0
push esi
push 0x10
push 0xf01ff
mov eax, dword [ebp - 8]
call fcn.3000218c
push eax
mov eax, dword [ebp - 4]
call fcn.3000218c
push eax
push ebx
call sub.advapi32.dll_CreateServiceA
mov eax, dword [ebp + 0x10]
push eax
push esi
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.30007464
cmp dword [ebp + 8], 1
jne 0x30007650
mov eax, dword [ebp - 4]
call fcn.30007374
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x30007680
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.30001e14
lea eax, [ebp + 0x10]
call fcn.30001df0
ret

Function at 0x30007704
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.30001f58
add esp, 0x104
pop ebx
ret
Function at 0x30007738
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x908
push 0
push 0
dec ecx
jne 0x30007740
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x30007987
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x30007961
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4800
lea eax, [ebp - 0x4818]
push eax
push 3
push 0x30
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_EnumServicesStatusA
test eax, eax
je 0x30007961
mov eax, esi
call fcn.30001df0
mov edi, dword [ebp - 0x14]
dec edi
test edi, edi
jl 0x30007958
inc edi
lea ebx, [ebp - 0x4814]
push dword [esi]
lea eax, [ebp - 0x481c]
mov edx, dword [ebx]
call fcn.30001f1c
push dword [ebp - 0x481c]
push 0x300079a0
mov eax, esi
mov edx, 3
call fcn.30002054
push dword [esi]
lea eax, [ebp - 0x4820]
mov edx, dword [ebx - 4]
call fcn.30001f1c
push dword [ebp - 0x4820]
push 0x300079a0
mov eax, esi
mov edx, 3
call fcn.30002054
push dword [esi]
lea edx, [ebp - 0x4824]
mov eax, dword [ebx + 8]
call fcn.30007688
push dword [ebp - 0x4824]
push 0x300079a0
mov eax, esi
mov edx, 3
call fcn.30002054
push 0x300079ac
lea eax, [ebp - 0x482c]
mov edx, dword [ebx - 4]
call fcn.30001f1c
push dword [ebp - 0x482c]
push 0x300079d8
lea eax, [ebp - 0x4828]
mov edx, 3
call fcn.30002054
mov edx, dword [ebp - 0x4828]
lea ecx, [ebp - 8]
mov eax, 0x80000002
call fcn.30006118
push dword [esi]
lea edx, [ebp - 0x4830]
mov eax, dword [ebp - 8]
call fcn.30007688
push dword [ebp - 0x4830]
push 0x300079a0
mov eax, esi
mov edx, 3
call fcn.30002054
push 0x300079ac
lea eax, [ebp - 0x4838]
mov edx, dword [ebx - 4]
call fcn.30001f1c
push dword [ebp - 0x4838]
push 0x300079e8
lea eax, [ebp - 0x4834]
mov edx, 3
call fcn.30002054
mov edx, dword [ebp - 0x4834]
lea ecx, [ebp - 0xc]
mov eax, 0x80000002
call fcn.30005fa8
push dword [esi]
push dword [ebp - 0xc]
push 0x300079a0
mov eax, esi
mov edx, 3
call fcn.30002054
lea eax, [ebp - 0xc]
call fcn.30001df0
push 0x300079ac
lea eax, [ebp - 0x4840]
mov edx, dword [ebx - 4]
call fcn.30001f1c
push dword [ebp - 0x4840]
push 0x300079fc
lea eax, [ebp - 0x483c]
mov edx, 3
call fcn.30002054
mov edx, dword [ebp - 0x483c]
lea ecx, [ebp - 0xc]
mov eax, 0x80000002
call fcn.30005f04
push dword [esi]
push dword [ebp - 0xc]
push 0x30007a14
mov eax, esi
mov edx, 3
call fcn.30002054
add ebx, 0x24
dec edi
jne 0x300077bc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3000798e
lea eax, [ebp - 0x4840]
mov edx, 0xa
call fcn.30001e14
lea eax, [ebp - 0xc]
call fcn.30001df0
ret

Function at 0x30007c14
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push esp
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.30001f58
add esp, 0x100
pop ebx
ret
Function at 0x30007c40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x30007cf4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x108]
call fcn.30007c14
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 4]
mov ecx, 0x30007d0c
call fcn.30001fe0
push 0
push 2
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.3000218c
mov ebx, eax
push ebx
call sub.kernel32.dll_CreateFileA
push eax
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0x104]
push eax
push 0x30007d14
push ebx
call sub.shell32.dll_FindExecutableA
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.30001f58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x30007cfb
lea eax, [ebp - 0x108]
call fcn.30001df0
lea eax, [ebp - 4]
call fcn.30001df0
ret
Function at 0x300080dc
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push 0x1002
push 0x400
call sub.kernel32.dll_GetLocaleInfoA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.30001f58
add esp, 0x100
pop ebx
ret

Function at 0x3000843c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x104], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x300084b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.30001df0
push 0
push esi
lea eax, [ebp - 0x100]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x300084a0
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.30001f58
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.300083c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x300084c0
lea eax, [ebp - 0x104]
call fcn.30001df0
ret

Function at 0x3000876c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.30001f58
add esp, 0x100
pop ebx
ret

Function at 0x3000877f
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.30001f58
add esp, 0x100
pop ebx
ret

Function at 0x300087a4
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.30001f58
add esp, 0x104
pop ebx
ret

Function at 0x300087d8
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffd8
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0x10]
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0x28
ret

Function at 0x30008a74
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push 0x1001
push 0x400
call sub.kernel32.dll_GetLocaleInfoA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.30001f58
add esp, 0x100
pop ebx
ret
Function at 0x30009310
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd0
xor edi, edi
test edi, edi
jne 0x30009324
call sub.user32.dll_GetDesktopWindow
mov edi, eax
push 0
push 0
push 0
push 0x300093fc
call sub.gdi32.dll_CreateDCA
mov ebx, eax
push ebx
call sub.gdi32.dll_CreateCompatibleDC
mov esi, eax
test edi, edi
je 0x30009363
lea eax, [esp + 0xc]
push eax
push edi
call sub.user32.dll_GetClientRect
mov ebp, dword [esp + 0x14]
sub ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jmp 0x30009379
push 8
push ebx
call sub.gdi32.dll_GetDeviceCaps
mov ebp, eax
push 0xa
push ebx
call sub.gdi32.dll_GetDeviceCaps
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
push eax
push ebp
push ebx
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [esp], eax
mov eax, dword [esp]
push eax
push esi
call sub.gdi32.dll_SelectObject
mov dword [esp + 4], eax
push 0xcc0020
push 0
push 0
push ebx
mov eax, dword [esp + 0x18]
push eax
push ebp
push 0
push 0
push esi
call sub.gdi32.dll_BitBlt
mov dword [esp + 0x1c], 0x14
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_GetCursorInfo
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
push esi
call sub.user32.dll_DrawIcon
mov eax, dword [esp + 4]
push eax
push esi
call sub.gdi32.dll_SelectObject
push esi
call sub.gdi32.dll_DeleteDC
push ebx
push edi
call sub.user32.dll_ReleaseDC
mov eax, dword [esp]
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x3000955c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x300095d0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.30001f58
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, 0x300095e4
call fcn.30001fe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x300095d7
lea eax, [ebp - 0x104]
call fcn.30001df0
ret

Function at 0x300095e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x3000965c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.30001f58
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, 0x30009670
call fcn.30001fe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x30009663
lea eax, [ebp - 0x104]
call fcn.30001df0
ret
Function at 0x300098bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3000217c
xor eax, eax
push ebp
push 0x3000993f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.30001140
mov ebx, eax
mov edx, 0x104
mov eax, ebx
call fcn.30002ce8
push 0x104
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.3000218c
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, esi
mov edx, ebx
call fcn.30001f1c
mov eax, ebx
call fcn.30001158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x30009946
lea eax, [ebp - 4]
call fcn.30001df0
ret

Function at 0x3000994c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3000217c
xor eax, eax
push ebp
push 0x300099cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.30001140
mov ebx, eax
mov edx, 0x104
mov eax, ebx
call fcn.30002ce8
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x104
push ebx
mov eax, dword [ebp - 4]
call fcn.3000218c
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, esi
mov edx, ebx
call fcn.30001f1c
mov eax, ebx
call fcn.30001158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x300099d6
lea eax, [ebp - 4]
call fcn.30001df0
ret
Function at 0x300099dc
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x30009bb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov eax, esi
call fcn.30001140
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push esi
call sub.kernel32.dll_GetLogicalDriveStringsA
cmp esi, eax
jae 0x30009a42
mov esi, eax
lea eax, [ebp - 8]
mov edx, esi
call fcn.30001170
mov eax, dword [ebp - 8]
push eax
push esi
call sub.kernel32.dll_GetLogicalDriveStringsA
mov esi, dword [ebp - 8]
mov eax, ebx
call fcn.30001df0
jmp 0x30009b8c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call sub.kernel32.dll_GetDiskFreeSpaceExA
mov dl, 1
mov eax, dword [0x30004bb0]
call fcn.300015cc
mov dword [ebp - 4], eax
lea edx, [ebp - 0x20]
mov ecx, 8
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 4]
call fcn.30004e0c
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x24]
call fcn.30001edc
mov eax, dword [ebp - 4]
call fcn.300015fc
push dword [ebx]
push 0x30009bc8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov edx, esi
call fcn.30001f1c
mov eax, dword [ebp - 0x2c]
mov ecx, 2
mov edx, 1
call fcn.300021e8
push dword [ebp - 0x28]
push 0x30009bd4
lea eax, [ebp - 0x34]
mov edx, esi
call fcn.30001f1c
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.3000994c
push dword [ebp - 0x30]
push 0x30009be0
mov eax, ebx
mov edx, 6
call fcn.30002054
push dword [ebx]
push dword [ebp - 0x24]
push 0x30009be0
mov eax, ebx
mov edx, 3
call fcn.30002054
push dword [ebx]
lea eax, [ebp - 0x3c]
mov edx, esi
call fcn.30001f1c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.300098bc
push dword [ebp - 0x38]
push 0x30009be0
mov eax, ebx
mov edx, 3
call fcn.30002054
push dword [ebx]
push esi
call sub.kernel32.dll_GetDriveTypeA
lea edx, [ebp - 0x40]
call fcn.30007688
push dword [ebp - 0x40]
push 0x30009be0
mov eax, ebx
mov edx, 3
call fcn.30002054
add esi, 4
cmp byte [esi], 0
jne 0x30009a51
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x30009bb7
lea eax, [ebp - 0x40]
mov edx, 8
call fcn.30001e14
ret
Function at 0x30009be4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x148], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3000217c
xor eax, eax
push ebp
push 0x30009cd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.30001df0
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x148]
mov ecx, 0x30009ce8
mov edx, dword [ebp - 4]
call fcn.30001fe0
mov eax, dword [ebp - 0x148]
call fcn.3000218c
push eax
call sub.kernel32.dll_FindFirstFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x30009cb1
mov dl, 1
mov eax, dword [0x30004bb0]
call fcn.300015cc
mov ebx, eax
lea edx, [ebp - 0x144]
mov ecx, 0x140
mov eax, ebx
call fcn.30004f8c
jmp 0x30009c80
lea edx, [ebp - 0x144]
mov ecx, 0x140
mov eax, ebx
call fcn.30004f8c
lea eax, [ebp - 0x144]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x30009c6e
mov eax, ebx
call fcn.30004e0c
mov ecx, eax
mov eax, edi
mov edx, dword [ebx + 4]
call fcn.30001edc
mov eax, ebx
call fcn.300015fc
push esi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x30009cd9
lea eax, [ebp - 0x148]
call fcn.30001df0
lea eax, [ebp - 4]
call fcn.30001df0
ret

Function at 0x30009cec
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3000217c
mov eax, dword [ebp - 8]
call fcn.3000217c
xor eax, eax
push ebp
push 0x30009d88
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x26]
mov edx, 0x1e
call fcn.30002ce8
mov dword [ebp - 0x22], 1
mov word [ebp - 0x16], 0x494
lea eax, [ebp - 0x2c]
mov ecx, 0x30009d9c
mov edx, dword [ebp - 4]
call fcn.30001fe0
mov eax, dword [ebp - 0x2c]
call fcn.3000218c
mov dword [ebp - 0x1e], eax
mov eax, dword [ebp - 8]
call fcn.3000218c
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x30009d8f
lea eax, [ebp - 0x2c]
call fcn.30001df0
lea eax, [ebp - 8]
mov edx, 2
call fcn.30001e14
ret

Function at 0x30009da0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3000217c
xor eax, eax
push ebp
push 0x30009e20
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
mov edx, 0x1e
call fcn.30002ce8
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x414
lea eax, [ebp - 0x28]
mov ecx, 0x30009e34
mov edx, dword [ebp - 4]
call fcn.30001fe0
mov eax, dword [ebp - 0x28]
call fcn.3000218c
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x30009e27
lea eax, [ebp - 0x28]
call fcn.30001df0
lea eax, [ebp - 4]
call fcn.30001df0
ret
Function at 0x30009e38
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.3000217c
xor eax, eax
push ebp
push 0x30009eb8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
mov edx, 0x1e
call fcn.30002ce8
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x454
lea eax, [ebp - 0x28]
mov ecx, 0x30009ecc
mov edx, dword [ebp - 4]
call fcn.30001fe0
mov eax, dword [ebp - 0x28]
call fcn.3000218c
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x30009ebf
lea eax, [ebp - 0x28]
call fcn.30001df0
lea eax, [ebp - 4]
call fcn.30001df0
ret