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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405994
xor eax, eax
push ebp
push 0x4e330e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4e32db
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
lea edx, [ebp - 0x2c]
mov eax, dword [0x4ef20c]
mov eax, dword [eax]
call fcn.00475424
mov ecx, dword [ebp - 0x2c]
mov dl, 1
mov eax, dword [0x419304]
call fcn.0041e060
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.004abd28
test al, al
je 0x4e2fae
mov eax, dword [ebp - 4]
call fcn.004059a4
push eax
call sub.kernel32.dll_DeleteFileA
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 4]
call fcn.004059a4
push eax
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
push 1
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x419304]
call fcn.0041e060
mov dword [ebp - 0xc], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor edx, edx
push ebp
push 0x4e32ca
push dword fs:[edx]
mov dword fs:[edx], esp
mov cx, 2
mov edx, 0xfffffffc
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 8]
call fcn.0041ddd8
mov eax, dword [0x4ef0dc]
mov eax, dword [eax]
call fcn.0040a8e4
mov edx, eax
mov eax, dword [ebp - 0x10]
add eax, 8
add edx, eax
neg edx
mov cx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [0x4f6218]
call fcn.0040a8e4
mov dword [ebp - 0x20], eax
mov eax, dword [0x4f6210]
call fcn.0040a8e4
mov dword [ebp - 0x24], eax
mov eax, dword [0x4f6214]
call fcn.0040a8e4
mov ebx, eax
mov dl, 1
mov eax, dword [0x419408]
call fcn.004045ac
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x419408]
call fcn.004045ac
mov dword [ebp - 0x1c], eax
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.0041dbcc
mov eax, dword [0x4ef0dc]
mov eax, dword [eax]
call fcn.0040a8e4
cdq
push edx
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.0041de48
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.0041dbcc
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0041dbcc
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
dec esi
test esi, esi
jl 0x4e3113
inc esi
lea edx, [ebp - 0x25]
mov ecx, 1
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
movzx eax, byte [ebp - 0x25]
mov edx, ebx
shr edx, 8
xor byte [ebp - 0x25], dl
movzx eax, al
add ebx, eax
imul ebx, dword [ebp - 0x20]
add ebx, dword [ebp - 0x24]
lea edx, [ebp - 0x25]
mov ecx, 1
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0x10]
dec esi
jne 0x4e30d8
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0041dbcc
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041de48
mov edx, dword [ebp - 0x10]
add edx, 8
neg edx
mov cx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 8]
call fcn.0041ddd8
mov eax, dword [0x4f6104]
call fcn.0040a8e4
imul eax, eax, 0x64
mov ebx, dword [ebp - 0x14]
sub ebx, eax
mov eax, dword [0x4ef0dc]
mov eax, dword [eax]
call fcn.0040a8e4
sub ebx, eax
mov eax, dword [0x4ef134]
mov eax, dword [eax]
call fcn.0040a8e4
sub ebx, eax
sub ebx, dword [0x4f61c4]
mov eax, dword [0x4ef0dc]
mov eax, dword [eax]
call fcn.0040a8e4
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 8
add esi, eax
mov eax, dword [0x4f61cc]
add eax, eax
add eax, eax
add esi, eax
mov eax, dword [0x4ef134]
mov eax, dword [eax]
call fcn.0040a8e4
add esi, eax
mov edx, esi
neg edx
mov cx, 2
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, dword [0x4ef134]
mov eax, dword [eax]
call fcn.0040a8e4
cdq
push edx
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0041de48
mov eax, dword [0x4ef0dc]
mov eax, dword [eax]
call fcn.0040a8e4
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 8
add esi, eax
mov eax, dword [0x4f61cc]
add eax, eax
add eax, eax
add esi, eax
mov eax, dword [0x4ef134]
mov eax, dword [eax]
call fcn.0040a8e4
add esi, eax
mov edx, esi
add edx, 4
add edx, dword [0x4f61c4]
neg edx
mov cx, 2
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, dword [0x4f61c4]
cdq
push edx
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0041de48
mov eax, dword [0x4ef0dc]
mov eax, dword [eax]
call fcn.0040a8e4
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 8
add esi, eax
mov eax, dword [0x4f61cc]
add eax, eax
add eax, eax
add esi, eax
mov eax, dword [0x4ef134]
mov eax, dword [eax]
call fcn.0040a8e4
add esi, eax
mov edx, esi
add edx, 4
add edx, dword [0x4f61c4]
add edx, 8
add edx, ebx
neg edx
mov cx, 2
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, ebx
cdq
push edx
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0041de48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e32d1
mov eax, dword [ebp - 0xc]
call fcn.004045dc
mov eax, dword [ebp - 8]
call fcn.004045dc
mov eax, dword [ebp - 0x18]
call fcn.004045dc
mov eax, dword [ebp - 0x1c]
call fcn.004045dc
ret