joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479380
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.00405848
xor eax, eax
push ebp
push 0x47959d
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x4795b4
mov edx, dword [ebp - 4]
call fcn.004056e0
mov eax, dword [ebp - 0x14c]
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x479572
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.00405638
cmp dword [ebp - 0x150], 0
jne 0x47946c
push dword [ebp - 4]
push 0x4795c4
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405638
push dword [ebp - 0x158]
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.0040575c
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 8]
call fcn.004792b0
jmp 0x4794ab
push dword [ebp - 4]
push 0x4795c4
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.00405638
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.0040575c
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 8]
call fcn.004792b0
push 0x20
mov eax, dword [ebp - 8]
call fcn.00405858
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x148]
call fcn.00479350
test al, al
je 0x4794d6
mov eax, dword [ebp - 8]
call fcn.00479380
jmp 0x4794dc
push ebx
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x148]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x47940c
push esi
call sub.kernel32.dll_FindClose_1
mov eax, dword [ebp - 4]
call fcn.00405858
push eax
call sub.kernel32.dll_RemoveDirectoryA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x479517
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x479572
lea eax, [ebp - 0x164]
mov ecx, 0x4795c4
mov edx, dword [ebp - 4]
call fcn.004056e0
mov eax, dword [ebp - 0x164]
call fcn.00405858
call fcn.00423070
test al, al
je 0x479572
lea eax, [ebp - 0x168]
mov ecx, 0x4795c4
mov edx, dword [ebp - 4]
call fcn.004056e0
mov eax, dword [ebp - 0x168]
call fcn.00405858
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 0x4795a4
lea eax, [ebp - 0x168]
mov edx, 8
call fcn.004053ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053ec
ret
Function at 0x4796d4
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 0x479752
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.004030d0
mov esi, 0x42
mov ebx, 0x48fd6c
push dword [ebp - 4]
push 0x479768
lea eax, [ebp - 0xc]
mov edx, dword [ebx]
call fcn.004055c0
push dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040575c
mov eax, dword [ebp - 8]
call fcn.00405858
push eax
call sub.kernel32.dll_DeleteFileA
add ebx, 4
dec esi
jne 0x479701
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479759
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053ec
ret
Function at 0x47a3b0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, 0x63d978
push 0xffffffffffffffff
push 0xffffffffffffffff
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetProcessWorkingSetSize
mov eax, dword [0x634bf4]
mov eax, dword [eax]
call fcn.00425bc8
cmp dword [esi], 0
je 0x47a456
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x634974]
sub eax, dword [edx]
cmp eax, 0xea60
jbe 0x47a444
mov eax, dword [0x6349ec]
mov byte [eax], 1
nop
mov eax, dword [0x634d40]
mov byte [eax], 0
mov eax, dword [0x6349f0]
mov eax, dword [eax]
mov byte [eax + 0x1c], 0
mov eax, dword [0x63514c]
mov byte [eax], 1
push 0
mov eax, dword [0x634f60]
mov eax, dword [eax]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
push 0x30
push 0x47a45c
push 0x47a464
push ebx
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x63514c]
mov byte [eax], 0
push 1
mov eax, dword [esi]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x47a3b9
pop esi
pop ebx
ret

Function at 0x47a500
Capabilities:
Copy file
Create thread
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405848
xor eax, eax
push ebp
push 0x47a63e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x634d48]
cmp dword [eax], 0
je 0x47a542
mov eax, dword [ebp - 4]
call fcn.00405858
call fcn.004230a4
test al, al
jne 0x47a5a9
mov eax, 0x7d0
call fcn.0040344c
lea edx, [ebp - 0xc]
call fcn.00422580
mov edx, dword [ebp - 0xc]
mov eax, dword [0x634d48]
mov ecx, 0x47a654
call fcn.004056e0
push 0x20
mov eax, dword [0x634d48]
mov eax, dword [eax]
call fcn.00405858
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x634d48]
mov eax, dword [eax]
call fcn.00405858
push eax
call sub.kernel32.dll_DeleteFileA
push 0xffffffffffffffff
mov eax, dword [0x634d48]
mov eax, dword [eax]
call fcn.00405858
push eax
mov eax, dword [ebp - 4]
call fcn.00405858
push eax
call sub.kernel32.dll_CopyFileA
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x63d978], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x63d97c], eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [0x634d48]
mov eax, dword [eax]
push eax
push 0x47a1ec
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x47a620
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [0x63d97c], 0
je 0x47a619
mov eax, dword [0x634bf4]
mov eax, dword [eax]
call fcn.00425bc8
push 0x64
mov eax, dword [0x63d97c]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x47a5f3
movzx ebx, byte [0x48fe74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a645
lea eax, [ebp - 0xc]
call fcn.004053c8
lea eax, [ebp - 4]
call fcn.004053c8
ret
Function at 0x47a65c
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], 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.00405848
xor eax, eax
push ebp
push 0x47a81e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x47a834
mov edx, dword [ebp - 4]
call fcn.004056e0
mov eax, dword [ebp - 0x14c]
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47a7f3
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.00405638
cmp dword [ebp - 0x150], 0
jne 0x47a746
push dword [ebp - 4]
push 0x47a844
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405638
push dword [ebp - 0x158]
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.0040575c
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 8]
call fcn.00464f44
jmp 0x47a785
push dword [ebp - 4]
push 0x47a844
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.00405638
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.0040575c
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 8]
call fcn.00464f44
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405638
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.004227c0
mov edx, dword [ebp - 0x164]
mov eax, 0x47a850
call fcn.004059a4
test eax, eax
jne 0x47a7d8
push 0x20
mov eax, dword [ebp - 8]
call fcn.00405858
mov esi, eax
push esi
call sub.kernel32.dll_SetFileAttributesA
push esi
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x47a6e6
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a825
lea eax, [ebp - 0x168]
mov edx, 8
call fcn.004053ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053ec
ret

Function at 0x47b0c8
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x47b134
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x24
mov ebx, 0x53342c
push 0x20
lea eax, [ebp - 8]
mov edx, dword [ebx]
call fcn.004055c0
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x47b14c
call fcn.004056e0
mov eax, dword [ebp - 4]
call fcn.00405858
push eax
call sub.kernel32.dll_SetFileAttributesA
add ebx, 4
dec esi
jne 0x47b0e9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b13b
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053ec
ret
Function at 0x47c304
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403aec
ret

Function at 0x47c438
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405848
xor eax, eax
push ebp
push 0x47c586
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.0047c304
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405858
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x47c565
xor eax, eax
push ebp
push 0x47c55e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x47c547
xor eax, eax
push ebp
push 0x47c540
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47c529
xor eax, eax
push ebp
push 0x47c522
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.0047c33c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c529
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c547
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c565
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.0047c3c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c58d
lea eax, [ebp - 4]
call fcn.004053c8
ret
Function at 0x47c700
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x47c709
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405848
xor eax, eax
push ebp
push 0x47c7e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x634f50]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.004037a0
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.00403c90
call fcn.00403148
test eax, eax
jne 0x47c7c0
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.00403908
movzx edx, word [ebp - 8]
test dx, dx
jbe 0x47c7ba
lea eax, [ebp - 0x10145]
movzx ecx, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x533514]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x47c797
cmp dword [ebp - 8], 0
jne 0x47c76e
lea eax, [ebp - 0x154]
call fcn.00403948
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c7ea
lea eax, [ebp - 4]
call fcn.004053c8
ret

Function at 0x47c864
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405848
xor eax, eax
push ebp
push 0x47c928
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405858
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47c8f8
xor eax, eax
push ebp
push 0x47c8f1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetFileSize_1
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c8f8
mov eax, dword [ebp - 0x14]
call fcn.00425698
ret
cmp dword [ebp - 0xc], 0
jne 0x47c912
cmp dword [ebp - 0x10], 0xffffffff
jne 0x47c912
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c92f
lea eax, [ebp - 4]
call fcn.004053c8
ret
Function at 0x47cf94
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov edi, 0x63d9a8
xor eax, eax
push ebp
push 0x47d100
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [0x63d98c], eax
mov eax, dword [0x63d988]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x47cf68]
call fcn.004068bc
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov eax, edi
mov ecx, 1
mov edx, dword [0x47c6d4]
call fcn.004068bc
add esp, 4
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x47d0a3
inc esi
xor ebx, ebx
mov eax, 8
call fcn.00402ec8
mov edx, dword [edi]
mov dword [edx + ebx*4], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [edi]
mov edx, dword [edx + ebx*4]
mov dword [edx], eax
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + ebx*4], eax
cmp byte [ebp - 0xd], 0
je 0x47d064
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
lea edx, [eax + 4]
push edx
push 0
push eax
push 0x47ca24
push 0
push 0
call sub.kernel32.dll_CreateThread_1
jmp 0x47d07e
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
lea edx, [eax + 4]
push edx
push 0
push eax
push 0x47cc40
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x47d08a
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x47d09b
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
call fcn.00402ee4
mov eax, dword [edi]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
dec esi
jne 0x47d012
mov eax, dword [0x634bf4]
mov eax, dword [eax]
call fcn.00425bc8
push 0x68
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForMultipleObjects
test eax, eax
jne 0x47d0a3
cmp byte [ebp - 0xd], 0
je 0x47d0d4
mov eax, dword [ebp - 8]
call fcn.0047ce38
jmp 0x47d0dc
mov eax, dword [ebp - 8]
call fcn.0047cf0c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ebx, dword [eax + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d107
lea eax, [ebp - 4]
mov edx, dword [0x47cf68]
call fcn.004068c8
ret
Function at 0x47d220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47d3b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x47d1fc]
call fcn.004068bc
add esp, 4
mov eax, dword [ebp - 8]
push eax
lea eax, [ebx + 0xac]
mov ecx, 1
mov edx, dword [0x47d164]
call fcn.004068bc
add esp, 4
mov edi, dword [ebp - 8]
dec edi
test edi, edi
jl 0x47d314
inc edi
xor esi, esi
mov eax, 8
call fcn.00402ec8
mov edx, dword [ebx + 0xac]
mov dword [edx + esi*4], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [ebx + 0xac]
mov edx, dword [edx + esi*4]
mov dword [edx], eax
mov eax, dword [ebx + 0xac]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + esi*4], eax
mov eax, dword [ebx + 0xac]
mov eax, dword [eax + esi*4]
lea edx, [eax + 4]
push edx
push 0
push eax
lea eax, [ebx + 0xee]
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x47d2f3
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x47d30c
mov eax, dword [ebx + 0xac]
mov eax, dword [eax + esi*4]
call fcn.00402ee4
mov eax, dword [ebx + 0xac]
xor edx, edx
mov dword [eax + esi*4], edx
inc esi
dec edi
jne 0x47d28b
mov eax, dword [0x634bf4]
mov eax, dword [eax]
call fcn.00425bc8
push 0x68
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WaitForMultipleObjects
test eax, eax
jne 0x47d314
mov eax, dword [ebx + 0xa4]
push eax
call sub.kernel32.dll_SetEvent
mov eax, dword [0x634bf4]
mov eax, dword [eax]
call fcn.00425bc8
push 0x64
mov eax, dword [ebx + 0xa8]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x47d341
mov eax, dword [ebx + 0xd8]
test eax, eax
je 0x47d385
lea edx, [ebp - 0x10]
push edx
push eax
call sub.kernel32.dll_GetExitCodeThread
mov eax, dword [ebp - 0x10]
mov byte [ebp - 9], al
mov eax, dword [ebx + 0xd8]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x47d1fc]
call fcn.004068bc
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d3c0
lea eax, [ebp - 4]
mov edx, dword [0x47d1fc]
call fcn.004068c8
ret
Function at 0x47d4f4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x47d4fc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d65f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47d63a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x63d9b0]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x47d630
inc edi
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, dword [0x63d9b0]
call fcn.00418d78
mov ebx, eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x47d583
push dword [ebx + 0x46]
push 0x47d678
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00464944
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040575c
mov edx, dword [ebp - 0xc]
mov eax, 0x47d694
call fcn.00464c88
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x46]
call fcn.00423398
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xcc]
call fcn.004055c0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x42]
pop edx
call fcn.0046f350
mov esi, eax
test esi, esi
je 0x47d5f3
push 0x20
mov eax, dword [ebx + 0x46]
call fcn.00405858
push eax
call sub.kernel32.dll_SetFileAttributesA
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x46]
call fcn.00423398
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xcc]
call fcn.004055c0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x42]
pop edx
call fcn.0046f350
mov esi, eax
test esi, esi
je 0x47d626
push dword [ebx + 0x46]
push 0x47d6ac
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.00422580
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040575c
mov edx, dword [ebp - 0x24]
mov eax, 0x47d694
call fcn.00464c88
inc dword [ebp - 8]
dec edi
jne 0x47d53e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47d644
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d666
lea eax, [ebp - 0x28]
mov edx, 8
call fcn.004053ec
ret

Function at 0x47e194
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, eax
xor ebx, ebx
push esp
push 0
push 0
lea eax, [edi + 0xdc]
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov esi, eax
mov dword [edi + 0xd8], esi
test esi, esi
je 0x47e1bf
mov bl, 1
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x47e1c8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405848
mov eax, dword [ebp - 8]
call fcn.00405848
xor eax, eax
push ebp
push 0x47e33b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 8]
mov dword [esi + 0xcc], eax
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [esi + 0x100]
mov edx, dword [eax]
call dword [edx + 8]
xor eax, eax
mov dword [esi + 0x20], eax
mov word [esi + 0xb4], 0
xor eax, eax
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov byte [esi + 0xb0], 0
lea eax, [esi + 0xc8]
mov edx, dword [ebp - 4]
call fcn.0040541c
movzx eax, word [ebp + 8]
mov word [esi + 0xb2], ax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [esi + 0xa0], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [esi + 0xa4], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [esi + 0xa8], eax
mov eax, esi
call fcn.0047e194
test al, al
je 0x47e300
movzx edx, word [esi + 0xb2]
mov eax, esi
call fcn.0047d220
mov ebx, eax
mov eax, dword [0x63d9b0]
cmp dword [eax + 8], 0
jle 0x47e300
push 0x47e354
mov eax, dword [esi + 0x24]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.004225b8
push dword [ebp - 0x10]
push 0x47e370
push 0x47e380
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.0040575c
mov edx, dword [ebp - 0xc]
mov eax, 0x47e38c
call fcn.00464c88
cmp dword [esi + 0xb8], 0
je 0x47e314
lea eax, [esi + 0xb8]
call fcn.004223c0
mov eax, dword [esi + 0xcc]
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e342
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004053ec
ret