joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dc2b4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040569c
xor eax, eax
push ebp
push 0x4dc37b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4dc35b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00402d48
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4dc351
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4dc38c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
shr eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
call fcn.00402d64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dc365
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc382
lea eax, [ebp - 4]
call fcn.004051e8
ret

Function at 0x4dc390
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040569c
xor eax, eax
push ebp
push 0x4dc4ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4dc48c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
call fcn.00402d48
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4dc482
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x4dc4c0
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
shr eax, 0x10
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 8]
and ax, 0xffff
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
shr eax, 0x10
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 0xc]
and ax, 0xffff
mov word [ebp - 0x30], ax
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
mov ecx, 8
call fcn.00403014
mov eax, dword [ebp - 0x14]
call fcn.00402d64
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dc496
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc4b3
lea eax, [ebp - 4]
call fcn.004051e8
ret
Function at 0x4dc594
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4dc5d8
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
push 0x2710
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0xc], 0
setne byte [ebp - 5]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x4dc810
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040569c
xor eax, eax
push ebp
push 0x4dc856
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc85d
lea eax, [ebp - 4]
call fcn.004051e8
ret

Function at 0x4de2a8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4de2d7
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4de356
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004dcb3c
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4de324
mov cx, word [esp]
sub cx, si
jmp 0x4de326
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4de30d
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4de34c
mov cx, word [esp]
sub cx, si
jmp 0x4de34e
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4de335
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4de3b3
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004ddf7c
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4de39e
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4de3b3
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4de2b2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e48e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and eax, 1
test al, al
je 0x4e490f
mov eax, dword [ebp - 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 4], eax
jmp 0x4e4912
shr dword [ebp - 4], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x4e48f6
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax*4 + 0x52db24], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x4e48eb
mov byte [0x52df24], 1
mov esp, ebp
pop ebp
ret

Function at 0x4e4940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp byte [0x52df24], 0
jne 0x4e4963
call fcn.004e48e0
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4e49a2
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x52db24]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x4e4976
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4f0710
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004f0658
push 0xa
call sub.kernel32.dll_Sleep_1
xor ecx, ecx
mov dx, 5
mov eax, dword [ebp - 4]
call fcn.004f05e8
push 0xa
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x4f077b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4f077b
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004f0670
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.004051e8
pop ecx
pop ebp
ret

Function at 0x4f0d9c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040569c
mov eax, dword [ebp - 8]
call fcn.0040569c
xor eax, eax
push ebp
push 0x4f0edf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403a94
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00405280
push 0x4f0efc
push dword [ebp - 0x10]
push 0x4f0f08
push dword [ebp - 8]
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.0040556c
mov byte [ebp - 0xa], 0
xor eax, eax
push ebp
push 0x4f0ead
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.004056ac
push eax
mov eax, dword [ebp - 0x10]
call fcn.004056ac
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4f0e9f
cmp byte [ebp - 9], 0
je 0x4f0e99
jmp 0x4f0e6a
mov eax, dword [0x527b70]
mov eax, dword [eax]
call fcn.004659ec
push 0
push 0xa
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_WaitForSingleObjectEx
cmp eax, 0x102
je 0x4f0e5e
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp + 8], 0
je 0x4f0e99
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov byte [ebp - 0xa], 1
jmp 0x4f0ea3
mov byte [ebp - 0xa], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f0eb7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0ee6
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040520c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040520c
ret
Function at 0x4f116c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040569c
mov eax, dword [ebp - 8]
call fcn.0040569c
mov eax, dword [ebp - 0xc]
call fcn.0040569c
xor eax, eax
push ebp
push 0x4f132d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x30]
mov eax, 1
call fcn.00403270
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00409758
mov eax, dword [ebp - 0x2c]
mov edx, 0x4f1348
call fcn.004055f8
je 0x4f11ec
mov eax, dword [ebp - 4]
call fcn.004f10ec
test al, al
jne 0x4f11ec
mov byte [ebp - 0xd], 1
jmp 0x4f1305
push 0x4f1358
push 0x4f135c
mov eax, dword [0x52a7f8]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4f1305
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x52a7f8]
push eax
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x52a7f8]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4f1305
cmp dword [ebp - 0x20], 1
jl 0x4f1305
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4f1305
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x4f12df
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x418158]
call fcn.00404298
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x10]
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.0041c854
mov dl, 1
mov eax, dword [0x417e54]
call fcn.00404298
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
push 0x4f1374
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004ee9cc
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f12e9
cmp dword [ebp - 0x24], 0
je 0x4f12f7
mov eax, dword [ebp - 0x24]
call fcn.004042c8
cmp dword [ebp - 0x28], 0
je 0x4f1305
mov eax, dword [ebp - 0x28]
call fcn.004042c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1334
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0040520c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040520c
ret
Function at 0x4f3264
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x16
cmp byte [ebp - 9], 0
je 0x4f329b
mov eax, dword [ebp - 4]
push eax
push 0x4f2fec
call sub.user32.dll_EnumWindows
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4f32fa
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00419f74
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4f32f7
cmp dword [ebp - 8], 0
je 0x4f32d2
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00419f74
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00419e14
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00419f74
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.0041a110
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00419e60
jmp 0x4f32fa
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 8]
jl 0x4f32a2
mov esp, ebp
pop ebp
ret

Function at 0x4f370c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.0040569c
xor eax, eax
push ebp
push 0x4f37eb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x14
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405934
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
call sub.kernel32.dll_lstrlenA_1
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405934
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040ead0
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.00405280
mov eax, dword [ebp - 4]
call fcn.0040a2cc
test al, al
je 0x4f37c0
mov dl, 1
mov eax, dword [0x417e54]
call fcn.00404298
mov dword [ebp - 8], eax
push ebp
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0040ead0
mov eax, dword [ebp - 0x18]
call fcn.004f33f8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f37f2
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040520c
lea eax, [ebp - 0xc]
call fcn.004051e8
lea eax, [ebp - 4]
call fcn.004051e8
ret
Function at 0x4f37fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f3930
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x10]
push eax
push 0x14
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x18]
mov edx, 0x104
call fcn.00405934
mov eax, dword [ebp - 0x18]
call fcn.004056ac
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 0x18]
call fcn.004056ac
push eax
call sub.kernel32.dll_lstrlenA_1
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00405934
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
call fcn.0040ead0
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
call fcn.00405280
mov eax, dword [ebp - 0x18]
call fcn.0040a2cc
test al, al
je 0x4f3908
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4f38f4
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040a800
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.004054f8
mov eax, dword [ebp - 0x14]
call fcn.0040a2a8
test al, al
je 0x4f38ec
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.004056ac
push eax
call sub.gdi32.dll_AddFontResourceExA
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x4f38a7
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendMessageA
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3937
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040520c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040520c
ret
Function at 0x4f4440
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x18], 0
je 0x4f450a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4f44eb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dl, 1
mov eax, dword [0x418054]
call fcn.0041cce8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4f44e1
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00422ae8
mov edx, dword [ebp - 8]
call fcn.004f45ac
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4f44c6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f44f5
cmp dword [ebp - 8], 0
je 0x4f4503
mov eax, dword [ebp - 8]
call fcn.004042c8
mov eax, dword [ebp - 4]
mov byte [eax + 0x18], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f5d9c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
xor edx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f5fb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0x4f5fd0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00409cec
push dword [ebp - 0x2c]
push 0x4f5ff8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040556c
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4f5e35
push 0x4f6008
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.00409cec
push dword [ebp - 0x34]
push 0x4f6044
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040556c
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dx, 0x3e7
call fcn.005117ec
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
call fcn.004dbef4
dec eax
test eax, eax
jl 0x4f5f1c
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 0x14]
call fcn.004dbed0
or ecx, 0xffffffff
mov edx, dword [ebp - 0xc]
call fcn.004dc128
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4f5f10
inc dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x194]
mov edx, dword [ebp - 0x14]
call fcn.004dbed0
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x38]
mov edx, 0x4f6050
call fcn.004054f8
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dx, 0x3e7
call fcn.005117ec
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, 0x4f608c
mov eax, dword [ebp - 0x14]
call fcn.004f5440
pop ecx
test al, al
je 0x4f5f10
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [eax + 0x16c]
lea eax, [ebp - 0x3c]
mov ecx, 0x4f60a8
call fcn.004054f8
mov edx, dword [ebp - 0x3c]
mov eax, 0x4f60c4
call fcn.004f51c4
pop ecx
mov byte [ebp - 5], al
jmp 0x4f5f96
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4f5e5f
cmp dword [ebp - 0x1c], 1
jge 0x4f5f7f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov ecx, 0x4f60f8
mov dx, 0x3e7
call fcn.005117ec
mov byte [ebp - 5], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov byte [eax + 0x280], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [eax + 0x184]
lea eax, [ebp - 0x40]
mov ecx, 0x4f614c
call fcn.004054f8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x25], al
jmp 0x4f5f96
push 0x7d0
call sub.kernel32.dll_Sleep_1
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 5
jne 0x4f5df8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5fc0
lea eax, [ebp - 0x40]
mov edx, 6
call fcn.0040520c
lea eax, [ebp - 0xc]
call fcn.004051e8
ret
Function at 0x4fd438
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
xor ecx, ecx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040569c
mov eax, dword [ebp - 8]
call fcn.0040569c
lea eax, [ebp - 0x170]
mov edx, dword [0x4089b4]
call fcn.00405e24
xor eax, eax
push ebp
push 0x4fd593
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x174]
mov ecx, 0x4fd5a8
mov edx, dword [ebp - 4]
call fcn.004054f8
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x170]
mov edx, 0x3f
call fcn.0040a550
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4fd54c
test byte [ebp - 0x160], 0x18
jne 0x4fd534
mov eax, dword [ebp - 0x15c]
mov edx, 0x4fd5b4
call fcn.004055f8
je 0x4fd534
mov eax, dword [ebp - 0x15c]
mov edx, 0x4fd5c0
call fcn.004055f8
je 0x4fd534
push 0
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 8]
call fcn.004054f8
mov eax, dword [ebp - 0x178]
call fcn.004056ac
push eax
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 4]
call fcn.004054f8
mov eax, dword [ebp - 0x17c]
call fcn.004056ac
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x170]
call fcn.0040a5a0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4fd4c0
lea eax, [ebp - 0x170]
call fcn.0040a5c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd59a
lea eax, [ebp - 0x17c]
mov edx, 3
call fcn.0040520c
lea eax, [ebp - 0x170]
mov edx, dword [0x4089b4]
call fcn.00405ef4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040520c
ret