joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463fac
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x464132
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4640fe
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004055fc
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409f7c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004094cc
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004094cc
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004057b4
je 0x4640d1
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004055fc
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004094cc
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004094cc
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004057b4
jne 0x4640eb
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x46402c
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464139
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004053b0
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x464418
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46457c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x46454c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
nop
add eax, 0
add eax, 0
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00405584
mov eax, dword [ebp - 0x10]
call fcn.00409e9c
test al, al
je 0x464483
nop
add eax, 0
add eax, 0
push ebx
call sub.kernel32.dll_DeleteFileA
nop
add eax, 0
add eax, 0
nop
add eax, 0
add eax, 0
push 0
push 0x80
push 1
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.00405584
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
xor edx, edx
call fcn.0046350c
mov eax, dword [ebp - 0x14]
call fcn.00405cf8
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46453b
push dword fs:[eax]
mov dword fs:[eax], esp
nop
add eax, 0
add eax, 0
cmp dword [ebp - 8], 0
je 0x46451d
nop
add eax, 0
add eax, 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFilePointer_1
nop
add eax, 0
add eax, 0
push 0
lea eax, [ebp - 0xc]
push eax
push edi
push esi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
nop
add eax, 0
add eax, 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464542
nop
add eax, 0
add eax, 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x464a38
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff70
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464ad2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x90]
mov edx, ebx
call fcn.00405584
mov eax, dword [ebp - 0x90]
call fcn.00409e9c
test al, al
je 0x464ab9
push 0x20
push ebx
call sub.kernel32.dll_SetFileAttributesA
push 1
lea eax, [ebp - 0x8c]
push eax
push ebx
call sub.kernel32.dll_OpenFile
mov ebx, eax
cmp ebx, 0xffffffff
je 0x464ab9
xor ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.00425450
lea edx, [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, ebx
call fcn.004254dc
mov eax, ebx
call fcn.0042531c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464ad9
lea eax, [ebp - 0x90]
call fcn.0040538c
ret
Function at 0x464ae4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x8c], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464b7d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x8c]
mov edx, ebx
call fcn.00405584
mov eax, dword [ebp - 0x8c]
call fcn.00409e9c
test al, al
je 0x464b64
push 0x20
push ebx
call sub.kernel32.dll_SetFileAttributesA
push 1
lea eax, [ebp - 0x88]
push eax
push ebx
call sub.kernel32.dll_OpenFile
mov ebx, eax
cmp ebx, 0xffffffff
je 0x464b64
xor ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.00425450
mov edx, edi
mov ecx, dword [ebp + 8]
mov eax, ebx
call fcn.004254dc
mov eax, ebx
call fcn.0042531c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464b84
lea eax, [ebp - 0x8c]
call fcn.0040538c
ret
Function at 0x465140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4651df
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x109]
xor ecx, ecx
mov edx, 0x104
call fcn.00403ab0
lea eax, [ebp - 0x109]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x109]
call fcn.0040a2a4
mov ebx, dword [ebp - 0x110]
lea edx, [ebp - 4]
mov dword [ebp - 0x114], ebx
mov eax, dword [ebp - 0x114]
call fcn.0040de2c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004053e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4651e6
lea eax, [ebp - 0x110]
call fcn.0040538c
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x4651ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x465257
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00465140
lea eax, [ebp - 0x103]
push eax
push 0
push 0x465264
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, ebx
lea edx, [ebp - 0x103]
mov ecx, 0xff
call fcn.004055fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46525e
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x46526c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x465310
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405424
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040581c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x4652f5
mov eax, dword [ebp - 0xc]
call fcn.00402eb0
mov ebx, eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x465320
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4652f5
mov eax, edi
mov edx, dword [ebp - 0x14]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465317
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b0
ret
Function at 0x46542c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], eax
lea edi, [ebp - 0x130]
xor eax, eax
push ebp
push 0x465518
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [edi], 0x128
push edi
push esi
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4654e8
lea edx, [ebp - 4]
mov eax, dword [edi + 8]
call fcn.00465344
cmp dword [ebp - 4], 0
je 0x4654db
lea eax, [ebp - 0x134]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004055fc
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 4]
call fcn.00405658
nop
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 4]
call fcn.0046526c
mov eax, dword [ebp - 0x138]
mov edx, 0x465534
call fcn.004057b4
jne 0x4654db
nop
mov byte [ebp - 5], 1
jmp 0x4654ec
push edi
push esi
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x465481
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46551f
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.004053b0
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x465a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.004053e0
mov eax, esi
test eax, eax
je 0x465a51
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jbe 0x465a88
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.0040587c
movzx edx, byte [esi + ebx - 1]
xor dl, 4
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp - 4]
call fcn.0040587c
movzx edx, byte [esi + ebx - 1]
xor dl, 0xc
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x465a5c
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x465b6c
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
push 1
call sub.kernel32.dll_Sleep_2
push esp
push 0
push 0
push 0x465a98
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov eax, ebx
pop edx
pop ebx
ret

Function at 0x465f90
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push 0xff
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetWindowTextA
mov eax, ebx
mov edx, esp
mov ecx, 0xff
call fcn.004055fc
add esp, 0x100
pop ebx
ret

Function at 0x467484
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
xor ebx, ebx
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x467454
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
test eax, eax
jbe 0x4674aa
mov ebx, eax
mov eax, ebx
pop ecx
pop edx
pop ebx
ret
Function at 0x468220
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x4682e9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405424
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040581c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x4682ce
mov eax, dword [ebp - 0x10]
call fcn.00402eb0
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4682f8
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4682ad
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
call fcn.00405584
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x468320
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4682ce
mov eax, edi
mov edx, dword [ebp - 0x18]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4682f0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b0
ret

Function at 0x468344
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x4683e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405424
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040581c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x4683cd
mov eax, dword [ebp - 0xc]
call fcn.00402eb0
mov ebx, eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4683f8
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4683cd
mov eax, edi
mov edx, dword [ebp - 0x14]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4683ef
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b0
ret
Function at 0x468bfc
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 4], eax
lea edi, [ebp - 0x130]
xor eax, eax
push ebp
push 0x468d0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
call fcn.00467428
test al, al
je 0x468c43
mov byte [ebp - 5], 1
jmp 0x468ce8
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [edi], 0x128
push edi
push esi
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x468cde
mov eax, dword [edi + 8]
call fcn.00468710
test al, al
je 0x468c75
mov byte [ebp - 5], 1
jmp 0x468ce2
lea edx, [ebp - 4]
mov eax, dword [edi + 8]
call fcn.00468568
cmp dword [ebp - 4], 0
je 0x468cd1
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004055fc
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 4]
call fcn.004056a4
mov eax, dword [ebp - 0x134]
call fcn.0046841c
test al, al
je 0x468cd1
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
push edi
push esi
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x468c63
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468d15
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.004053b0
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x468de4
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
xor ecx, ecx
mov eax, dword [0x6557f8]
test eax, eax
je 0x468e27
movzx edx, word [eax]
not dx
cmp dx, 0x5a4d
je 0x468e27
mov esi, eax
mov edx, esi
mov ebx, dword [eax + 0x3c]
add edx, ebx
mov edx, dword [edx]
not edx
cmp edx, 0x4550
je 0x468e27
mov edx, ebx
add edx, 0x18
add edx, 0x34
sub edx, 8
add edx, 0x14
add edx, esi
mov eax, edx
mov ecx, dword [eax]
mov eax, ecx
pop esi
pop ebx
ret

Function at 0x469bc8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov edi, eax
mov dword [0x48d208], 0xffffffff
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov ebx, 0xff
jmp 0x469c0c
cmp dword [0x48d208], 0
je 0x469c1e
mov eax, edi
call fcn.00469b34
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, ebp
jbe 0x469c0c
mov ebx, 0x102
jmp 0x469c1e
cmp ebx, 0xff
jne 0x469c1e
mov eax, dword [0x6519d0]
cmp byte [eax], 0
je 0x469be8
xor eax, eax
mov dword [0x48d208], eax
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46a248
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46a404
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 8]
mov byte [eax + 0x45], 0
xor eax, eax
push ebp
push 0x46a3d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x46a220]
call fcn.00406880
add esp, 4
test esi, esi
je 0x46a2cb
lea eax, [ebp - 0x10]
mov edx, esi
call fcn.00405584
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0046a9ac
jmp 0x46a310
mov ebx, 0x41
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00405574
lea eax, [ebp - 0x14]
mov edx, 0x46a41c
call fcn.00405658
mov esi, dword [ebp - 0x14]
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x46a30a
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00405584
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0046a9ac
inc ebx
cmp ebx, 0x5b
jne 0x46a2d0
mov eax, dword [ebp - 8]
mov byte [eax + 0x44], 0
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x46a35f
inc esi
xor ebx, ebx
mov edx, dword [0x46a188]
xor eax, eax
call fcn.00423c68
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [eax + ebx*4], edi
mov eax, dword [ebp - 8]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x30]
push eax
push 4
push edi
push 0x46a1c4
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov edx, dword [ebp - 4]
mov edx, dword [edx + ebx*4]
mov dword [edx + 0x20], eax
inc ebx
dec esi
jne 0x46a322
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x46a380
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4]
call fcn.00424f68
push 1
call sub.kernel32.dll_Sleep_1
inc ebx
dec esi
jne 0x46a36a
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x46a3a5
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4]
call fcn.00424fc0
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4]
call fcn.00423c88
inc ebx
dec esi
jne 0x46a38b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a3db
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call fcn.0046aa14
mov eax, dword [ebp - 8]
mov byte [eax + 0x44], 1
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 8]
mov byte [eax + 0x45], 1
ret
Function at 0x46b048
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x46b265
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x46b27c
mov edx, dword [ebp - 4]
call fcn.004056a4
mov eax, dword [ebp - 0x14c]
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x46b23a
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.004055fc
cmp dword [ebp - 0x150], 0
jne 0x46b134
push dword [ebp - 4]
push 0x46b28c
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.004055fc
push dword [ebp - 0x158]
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.00405720
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 8]
call fcn.0046af78
jmp 0x46b173
push dword [ebp - 4]
push 0x46b28c
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.004055fc
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00405720
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 8]
call fcn.0046af78
push 0x20
mov eax, dword [ebp - 8]
call fcn.0040581c
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x148]
call fcn.0046b018
test al, al
je 0x46b19e
mov eax, dword [ebp - 8]
call fcn.0046b048
jmp 0x46b1a4
push ebx
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x148]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x46b0d4
push esi
call sub.kernel32.dll_FindClose_1
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_RemoveDirectoryA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x46b1df
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x46b23a
lea eax, [ebp - 0x164]
mov ecx, 0x46b28c
mov edx, dword [ebp - 4]
call fcn.004056a4
mov eax, dword [ebp - 0x164]
call fcn.0040581c
call fcn.00422d44
test al, al
je 0x46b23a
lea eax, [ebp - 0x168]
mov ecx, 0x46b28c
mov edx, dword [ebp - 4]
call fcn.004056a4
mov eax, dword [ebp - 0x168]
call fcn.0040581c
push eax
call sub.kernel32.dll_RemoveDirectoryA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b26c
lea eax, [ebp - 0x168]
mov edx, 8
call fcn.004053b0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b0
ret
Function at 0x46b39c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x46b41a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.004030d0
mov esi, 0x42
mov ebx, 0x48d230
push dword [ebp - 4]
push 0x46b430
lea eax, [ebp - 0xc]
mov edx, dword [ebx]
call fcn.00405584
push dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405720
mov eax, dword [ebp - 8]
call fcn.0040581c
push eax
call sub.kernel32.dll_DeleteFileA
add ebx, 4
dec esi
jne 0x46b3c9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b421
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053b0
ret

Function at 0x46bd2c
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
mov word [0x48d358], ax
cmp byte [0x48d354], 0
jne 0x46bd41
xor ebx, ebx
jmp 0x46bda4
call fcn.0046bcf0
push esp
push 0
push 0
push 0x46b84c
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov ebx, eax
test ebx, ebx
je 0x46bd98
cmp dword [0x48d350], 0
je 0x46bd79
push 0x64
mov eax, dword [0x48d350]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x46bd5f
cmp dword [0x48d364], 0
jbe 0x46bd8a
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObject
push ebx
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [0x48d364]
jmp 0x46bda4
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
call fcn.0046b434
mov eax, ebx
pop edx
pop ebx
ret