joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476950
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 0x4769ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.004030d0
mov esi, 0x42
mov ebx, 0x48ac74
push dword [ebp - 4]
push 0x4769e4
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 0x47697d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4769d5
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053b0
ret

Function at 0x4772c4
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.00403ab0
ret

Function at 0x477470
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.0040580c
xor eax, eax
push ebp
push 0x4775be
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.004772c4
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x47759d
xor eax, eax
push ebp
push 0x477596
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 0x47757f
xor eax, eax
push ebp
push 0x477578
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 0x477561
xor eax, eax
push ebp
push 0x47755a
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.004772fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477561
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 0x47757f
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 0x47759d
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.00477380
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4775c5
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x477eb4
Capabilities:
Copy file
Create thread
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
mov eax, dword [ebp - 8]
call fcn.0040580c
xor eax, eax
push ebp
push 0x478080
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x59dcb0]
cmp dword [eax], 0
je 0x477f02
mov eax, dword [ebp - 4]
call fcn.0040581c
call fcn.00422bb8
test al, al
jne 0x477f69
mov eax, 0x7d0
call fcn.0040344c
lea edx, [ebp - 0x14]
call fcn.00421f58
mov edx, dword [ebp - 0x14]
mov eax, dword [0x59dcb0]
mov ecx, 0x478098
call fcn.004056a4
push 0x20
mov eax, dword [0x59dcb0]
mov eax, dword [eax]
call fcn.0040581c
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x59dcb0]
mov eax, dword [eax]
call fcn.0040581c
push eax
call sub.kernel32.dll_DeleteFileA
push 0xffffffffffffffff
mov eax, dword [0x59dcb0]
mov eax, dword [eax]
call fcn.0040581c
push eax
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_CopyFileA
cmp dword [ebp - 8], 0
je 0x477fc8
lea edx, [ebp - 0x18]
mov eax, dword [0x59dcb0]
mov eax, dword [eax]
call fcn.004776d0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov ecx, 0x4780a8
call fcn.004056a4
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00477674
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00405424
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004057b4
je 0x477fc8
push 0x10
push 0
push 0x4780b0
push 0
call sub.user32.dll_MessageBoxW
xor ebx, ebx
jmp 0x478058
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5a6d18], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5a6d1c], eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [0x59dcb0]
mov eax, dword [eax]
push eax
push 0x477cc8
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x478058
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004057b4
je 0x47802b
push 0x4e7c0b40
call main
jmp 0x47801f
cmp dword [0x5a6d1c], 0
je 0x478051
mov eax, dword [0x59db68]
mov eax, dword [eax]
call fcn.00425628
push 0x64
mov eax, dword [0x5a6d1c]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x47802b
movzx ebx, byte [0x48add0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478087
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004053b0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053b0
ret
Function at 0x478288
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4782f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x24
mov ebx, 0x49c3d4
push 0x20
lea eax, [ebp - 8]
mov edx, dword [ebx]
call fcn.00405584
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x47830c
call fcn.004056a4
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_SetFileAttributesA
add ebx, 4
dec esi
jne 0x4782a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4782fb
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b0
ret
Function at 0x4786cc
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 0x4786d5
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.0040580c
xor eax, eax
push ebp
push 0x4787af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x59deac]
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.00403c54
call fcn.00403148
test eax, eax
jne 0x47878c
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 0x478786
lea eax, [ebp - 0x10145]
movzx ecx, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x49c468]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x478763
cmp dword [ebp - 8], 0
jne 0x47873a
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 0x4787b6
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x478830
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.0040580c
xor eax, eax
push ebp
push 0x4788f4
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.0040581c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4788c4
xor eax, eax
push ebp
push 0x4788bd
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 0x4788c4
mov eax, dword [ebp - 0x14]
call fcn.0042515c
ret
cmp dword [ebp - 0xc], 0
jne 0x4788de
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4788de
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 0x4788fb
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x478f60
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, 0x5a6d44
xor eax, eax
push ebp
push 0x4790cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [0x5a6d28], eax
mov eax, dword [0x5a6d24]
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 [0x478f34]
call fcn.00406758
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov eax, edi
mov ecx, 1
mov edx, dword [0x4786a0]
call fcn.00406758
add esp, 4
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x47906f
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 0x479030
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
lea edx, [eax + 4]
push edx
push 0
push eax
push 0x4789f0
push 0
push 0
call sub.kernel32.dll_CreateThread_1
jmp 0x47904a
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
lea edx, [eax + 4]
push edx
push 0
push eax
push 0x478c0c
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x479056
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x479067
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 0x478fde
mov eax, dword [0x59db68]
mov eax, dword [eax]
call fcn.00425628
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 0x47906f
cmp byte [ebp - 0xd], 0
je 0x4790a0
mov eax, dword [ebp - 8]
call fcn.00478e04
jmp 0x4790a8
mov eax, dword [ebp - 8]
call fcn.00478ed8
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 0x4790d3
lea eax, [ebp - 4]
mov edx, dword [0x478f34]
call fcn.00406764
ret
Function at 0x4791ec
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 0x479385
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 [0x4791c8]
call fcn.00406758
add esp, 4
mov eax, dword [ebp - 8]
push eax
lea eax, [ebx + 0xac]
mov ecx, 1
mov edx, dword [0x479130]
call fcn.00406758
add esp, 4
mov edi, dword [ebp - 8]
dec edi
test edi, edi
jl 0x4792e0
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 0x4792bf
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4792d8
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 0x479257
mov eax, dword [0x59db68]
mov eax, dword [eax]
call fcn.00425628
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 0x4792e0
mov eax, dword [ebx + 0xa4]
push eax
call sub.kernel32.dll_SetEvent
mov eax, dword [0x59db68]
mov eax, dword [eax]
call fcn.00425628
push 0x64
mov eax, dword [ebx + 0xa8]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x47930d
mov eax, dword [ebx + 0xd8]
test eax, eax
je 0x479351
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 [0x4791c8]
call fcn.00406758
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47938c
lea eax, [ebp - 4]
mov edx, dword [0x4791c8]
call fcn.00406764
ret
Function at 0x4794c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4794c8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47962b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x479606
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5a6d4c]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4795fc
inc edi
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, dword [0x5a6d4c]
call fcn.00418760
mov ebx, eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x47954f
push dword [ebx + 0x46]
push 0x479644
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00462648
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0xc]
mov eax, 0x479660
call fcn.0046298c
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x46]
call fcn.00422eac
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xcc]
call fcn.00405584
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x42]
pop edx
call fcn.0046c150
mov esi, eax
test esi, esi
je 0x4795bf
push 0x20
mov eax, dword [ebx + 0x46]
call fcn.0040581c
push eax
call sub.kernel32.dll_SetFileAttributesA
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x46]
call fcn.00422eac
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xcc]
call fcn.00405584
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x42]
pop edx
call fcn.0046c150
mov esi, eax
test esi, esi
je 0x4795f2
push dword [ebx + 0x46]
push 0x479678
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.00421f58
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x24]
mov eax, 0x479660
call fcn.0046298c
inc dword [ebp - 8]
dec edi
jne 0x47950a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x479610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479632
lea eax, [ebp - 0x28]
mov edx, 8
call fcn.004053b0
ret

Function at 0x47a14c
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 0x47a177
mov bl, 1
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x47a180
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.0040580c
mov eax, dword [ebp - 8]
call fcn.0040580c
xor eax, eax
push ebp
push 0x47a2f3
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.004053e0
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.0047a14c
test al, al
je 0x47a2b8
movzx edx, word [esi + 0xb2]
mov eax, esi
call fcn.004791ec
mov ebx, eax
mov eax, dword [0x5a6d4c]
cmp dword [eax + 8], 0
jle 0x47a2b8
push 0x47a30c
mov eax, dword [esi + 0x24]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.00421f90
push dword [ebp - 0x10]
push 0x47a328
push 0x47a338
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00405720
mov edx, dword [ebp - 0xc]
mov eax, 0x47a344
call fcn.0046298c
cmp dword [esi + 0xb8], 0
je 0x47a2cc
lea eax, [esi + 0xb8]
call fcn.00421d98
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 0x47a2fa
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004053b0
ret
Function at 0x47a5f8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
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 0x47a767
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x47a5d0]
call fcn.00406758
add esp, 4
mov eax, dword [ebp - 8]
push eax
lea eax, [ebx + 0xb0]
mov ecx, 1
mov edx, dword [0x47a534]
call fcn.00406758
add esp, 4
mov edi, dword [ebp - 8]
dec edi
test edi, edi
jl 0x47a6e8
inc edi
xor esi, esi
mov eax, 8
call fcn.00402ec8
mov edx, dword [ebx + 0xb0]
mov dword [edx + esi*4], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [ebx + 0xb0]
mov edx, dword [edx + esi*4]
mov dword [edx], eax
mov eax, dword [ebx + 0xb0]
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 + 0xb0]
mov eax, dword [eax + esi*4]
lea edx, [eax + 4]
push edx
push 0
push eax
lea eax, [ebx + 0xe2]
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x47a6c7
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x47a6e0
mov eax, dword [ebx + 0xb0]
mov eax, dword [eax + esi*4]
call fcn.00402ee4
mov eax, dword [ebx + 0xb0]
xor edx, edx
mov dword [eax + esi*4], edx
inc esi
dec edi
jne 0x47a65f
mov eax, dword [0x59db68]
mov eax, dword [eax]
call fcn.00425628
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 0x47a6e8
mov eax, dword [ebx + 0xa8]
push eax
call sub.kernel32.dll_SetEvent
mov eax, dword [0x59db68]
mov eax, dword [eax]
call fcn.00425628
push 0x64
mov eax, dword [ebx + 0xac]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x47a715
push 0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x47a5d0]
call fcn.00406758
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a76e
lea eax, [ebp - 4]
mov edx, dword [0x47a5d0]
call fcn.00406764
ret
Function at 0x47a8a4
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47a970
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [edi]
call fcn.00465c6c
test al, al
je 0x47a920
mov eax, dword [0x59d948]
cmp byte [eax], 0
jne 0x47a91c
push 0x20
mov eax, dword [esi + 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [esi + 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 4]
mov eax, dword [esi + 4]
call fcn.00422c38
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x59df60]
mov eax, dword [eax]
call eax
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov edx, dword [esi + 4]
call fcn.00425030
mov bl, 1
jmp 0x47a955
push dword [esi + 4]
push 0x47a988
lea edx, [ebp - 0xc]
mov eax, dword [edi]
mov eax, dword [eax + 0x520]
call fcn.00462648
push dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 8]
mov eax, 0x47a9a4
call fcn.0046298c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a977
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053b0
ret

Function at 0x47b0c0
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
xor ebx, ebx
push esp
push 0
push 0
add eax, 0xd0
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x47b0e4
push eax
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x47b6b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x47b81e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x628
call fcn.00403ab0
lea edx, [ebp - 8]
mov eax, dword [0x59dc30]
call fcn.0042f568
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0x47b82c
call fcn.00406e80
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, 0x47b83c
call fcn.00406e80
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00405ce8
push 0
mov eax, dword [ebp - 0x14]
call fcn.00405cf8
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
push 2
lea eax, [ebp - 0x154]
push eax
push 0x400
push ebx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x104
lea eax, [ebx + 0x105]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
lea eax, [ebx + 0x310]
push eax
push 0x104
lea eax, [ebx + 0x20a]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
push 0x400
lea eax, [ebx + 0x314]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
push 0x400
lea eax, [ebx + 0x314]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
lea eax, [ebx + 0x620]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
lea eax, [ebx + 0x624]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
lea eax, [ebp - 0x10]
call fcn.00406e3c
lea eax, [ebp - 0xc]
call fcn.00406e3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b825
lea eax, [ebp - 0x14]
call fcn.00405b68
lea eax, [ebp - 0x10]
call fcn.00406e3c
lea eax, [ebp - 0xc]
call fcn.00406e3c
lea eax, [ebp - 8]
call fcn.00406e3c
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x47bbcc
Capabilities:
Encode data using xor

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