Function at 0x4ea404
Capabilities:
Delete file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405888
mov eax, dword [ebp - 8]
call fcn.00405888
xor eax, eax
push ebp
push 0x4ea7a3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, 0x100000
call fcn.0040a4ac
lea edx, [ebp - 0x10]
mov eax, 0x100000
call fcn.0040a4ac
mov dword [ebp - 0x38], 0x100000
xor edx, edx
push ebp
push 0x4ea76b
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41ada8]
call fcn.0041fb04
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4ea4c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040aba0
test al, al
je 0x4ea4b9
mov eax, dword [ebp - 8]
call fcn.00405898
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00405600
mov eax, dword [ebp - 0x3c]
call fcn.00405898
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ea4cd
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.00405898
push eax
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
push 1
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41ada8]
call fcn.0041fb04
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x4ea75a
push dword fs:[edx]
mov dword fs:[edx], esp
mov cx, 2
mov edx, 0xfffffffc
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 0x14]
call fcn.0041f87c
mov eax, dword [ebp - 0xc]
call fcn.0040a5e8
mov edx, eax
mov eax, dword [ebp - 0x1c]
add eax, 8
add edx, eax
neg edx
mov cx, 2
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov dword [ebp - 0x2c], 0x2710
mov dword [ebp - 0x30], 0x4e20
mov ebx, 0x3caf
mov dl, 1
mov eax, dword [0x41aeac]
call fcn.004044d8
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x41aeac]
call fcn.004044d8
mov dword [ebp - 0x28], eax
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.0041f670
mov eax, dword [ebp - 0xc]
call fcn.0040a5e8
cdq
push edx
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
call fcn.0041f8ec
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.0041f670
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.0041f670
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
dec esi
test esi, esi
jl 0x4ea60b
inc esi
lea edx, [ebp - 0x31]
mov ecx, 1
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0xc]
movzx eax, byte [ebp - 0x31]
mov edx, ebx
shr edx, 8
xor byte [ebp - 0x31], dl
movzx eax, al
add ebx, eax
imul ebx, dword [ebp - 0x2c]
add ebx, dword [ebp - 0x30]
lea edx, [ebp - 0x31]
mov ecx, 1
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
call dword [edi + 0x10]
dec esi
jne 0x4ea5d0
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.0041f670
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
call fcn.0041f8ec
mov edx, dword [ebp - 0x1c]
add edx, 8
neg edx
mov cx, 2
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, dword [ebp - 0x14]
call fcn.0041f87c
mov eax, dword [ebp - 0xc]
call fcn.0040a5e8
mov ebx, dword [ebp - 0x20]
sub ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.0040a5e8
sub ebx, eax
sub ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0040a5e8
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 8
add esi, eax
mov eax, dword [ebp - 0x10]
call fcn.0040a5e8
add esi, eax
mov edx, esi
neg edx
mov cx, 2
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, dword [ebp - 0x10]
call fcn.0040a5e8
cdq
push edx
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.0041f8ec
mov eax, dword [ebp - 0xc]
call fcn.0040a5e8
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 8
add esi, eax
mov eax, dword [ebp - 0x10]
call fcn.0040a5e8
add esi, eax
mov edx, esi
add edx, dword [ebp - 0x38]
neg edx
mov cx, 2
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, dword [ebp - 0x38]
cdq
push edx
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.0041f8ec
mov eax, dword [ebp - 0xc]
call fcn.0040a5e8
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 8
add esi, eax
mov eax, dword [ebp - 0x10]
call fcn.0040a5e8
add esi, eax
mov edx, esi
add edx, dword [ebp - 0x38]
add edx, ebx
neg edx
mov cx, 2
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, ebx
cdq
push edx
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.0041f8ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea761
mov eax, dword [ebp - 0x18]
call fcn.00404508
mov eax, dword [ebp - 0x14]
call fcn.00404508
mov eax, dword [ebp - 0x24]
call fcn.00404508
mov eax, dword [ebp - 0x28]
call fcn.00404508
ret