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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055a0
mov eax, dword [ebp - 8]
call fcn.004055a0
xor eax, eax
push ebp
push 0x49f9af
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040b604
fstp qword [ebp - 0x38]
wait
xor edx, edx
push ebp
push 0x49f97f
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x417890]
call fcn.0041b980
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.00409ee4
test al, al
je 0x49f72e
mov eax, dword [ebp - 8]
call fcn.004055b0
push eax
call sub.kernel32.dll_DeleteFileA
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.004055b0
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 [0x417890]
call fcn.0041b980
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x49f96e
push dword fs:[edx]
mov dword fs:[edx], esp
mov cx, 2
mov edx, 0xfffffffc
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.0041b6f8
mov eax, dword [0x4a4f50]
mov eax, dword [eax]
call fcn.00409b54
mov edx, eax
mov eax, dword [ebp - 0x14]
add eax, 8
add edx, eax
neg edx
mov cx, 2
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
call fcn.0040b604
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.004998d4
cmp edx, 0
jne 0x49f7de
cmp eax, 3
jbe 0x49f7ef
jmp 0x49f7e0
jle 0x49f7ef
mov eax, dword [0x4a4f50]
mov edx, 0x49f9c8
call fcn.00405174
mov dword [ebp - 0x24], 0x4e20
mov dword [ebp - 0x28], 0x2710
mov ebx, 0x3caf
mov dl, 1
mov eax, dword [0x417994]
call fcn.004042a4
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [0x417994]
call fcn.004042a4
mov dword [ebp - 0x20], eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0041b4ec
mov eax, dword [0x4a4f50]
mov eax, dword [eax]
call fcn.00409b54
cdq
push edx
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.0041b768
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0041b4ec
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.0041b4ec
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
dec esi
test esi, esi
jl 0x49f8a8
inc esi
lea edx, [ebp - 0x29]
mov ecx, 1
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
movzx eax, byte [ebp - 0x29]
mov edx, ebx
shr edx, 8
xor byte [ebp - 0x29], dl
movzx eax, al
add ebx, eax
imul ebx, dword [ebp - 0x24]
add ebx, dword [ebp - 0x28]
lea edx, [ebp - 0x29]
mov ecx, 1
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0x10]
dec esi
jne 0x49f86d
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.0041b4ec
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.0041b768
mov eax, dword [0x4a4f50]
mov eax, dword [eax]
call fcn.00409b54
mov edx, eax
mov eax, dword [ebp - 0x14]
add eax, 0xc
add edx, eax
neg edx
mov cx, 2
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.0041b6f8
mov eax, dword [0x4a4f50]
mov eax, dword [eax]
call fcn.00409b54
mov edx, eax
mov eax, dword [ebp - 0x14]
add eax, 0xc
add edx, eax
add edx, dword [ebp - 0x18]
neg edx
mov cx, 2
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0041b768
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f975
mov eax, dword [ebp - 0x10]
call fcn.004042d4
mov eax, dword [ebp - 0xc]
call fcn.004042d4
mov eax, dword [ebp - 0x20]
call fcn.004042d4
mov eax, dword [ebp - 0x1c]
call fcn.004042d4
ret