Function at 0x111ab70
Capabilities:
Delete file
Encode data using xor
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edi
push eax
push 0x100bfcc
add ecx, 0x3c7e
xor edi, edi
push ecx
mov dword [ebp - 4], edi
call fcn.010842c0
mov esi, eax
cmp esi, edi
jne 0x111aba7
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
push ebx
mov ebx, dword [ebp + 0x14]
cmp ebx, 0x41
jbe 0x111abca
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
push 0x54
lea edx, [ebp - 0x58]
push edi
push edx
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x54], edi
mov edi, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x50], 0x54
mov dword [ebp - 0x4c], edi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
add esp, 0x18
push edi
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ebx
call fcn.0102fb00
mov edi, eax
mov dword [ebp + 0x14], edi
test edi, edi
jne 0x111ac34
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
xor cl, cl
xor eax, eax
jmp 0x111ac40
mov dl, byte [ebp + eax - 0x58]
xor dl, byte [ebp + eax - 0x57]
add eax, 6
xor dl, byte [ebp + eax - 0x59]
xor dl, byte [ebp + eax - 0x5c]
xor dl, byte [ebp + eax - 0x5a]
xor dl, byte [ebp + eax - 0x5b]
xor cl, dl
cmp eax, 0x54
jb 0x111ac40
mov byte [ebp + 0x1c], cl
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push edi
call fcn.0102fbf0
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x111ac91
mov eax, dword [edi]
test eax, eax
je 0x111ac91
cmp eax, 0xffffffff
je 0x111ac91
push eax
call fcn.0102a510
mov dword [edi], 0xffffffff
push 0
push 1
push esi
push ebx
call fcn.010bba20
push esi
call fcn.0102ce80
mov edi, eax
lea eax, [edi + edi + 0xa]
test eax, eax
je 0x111acf4
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x111acf6
push edi
push esi
push ebx
call fcn.0102cdc0
push 4
push 0x101ffb4
lea edx, [ebx + edi*2]
push edx
call fcn.0102cdc0
push ebx
xor eax, eax
push esi
mov word [ebx + edi*2 + 8], ax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
jne 0x111acf6
push ebx
call fcn.01083050
xor ebx, ebx
mov ecx, dword [ebp + 8]
push 0
push 1
push 0x80
push 2
push 3
push 0xc0000000
push esi
push ecx
call fcn.01107ae0
mov edi, eax
test edi, edi
je 0x111ad1d
cmp edi, 0xffffffff
jne 0x111ad42
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov edx, dword [ebp + 8]
push 0
push 1
push 0x80
push 2
push 7
push 0xc0000000
push esi
push edx
call fcn.01107ae0
mov edi, eax
test edi, edi
je 0x111adda
cmp edi, 0xffffffff
je 0x111adda
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp + 0x1c]
push eax
mov eax, dword [edx + 0x268]
push 0x54
lea ecx, [ebp - 0x58]
push ecx
push edi
call eax
test eax, eax
je 0x111ad9f
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
push 0
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ecx + 0x268]
push eax
push edi
call edx
test eax, eax
je 0x111ad9f
test ebx, ebx
je 0x111ad98
push ebx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov dword [ebp - 4], 1
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x1c0]
call eax
cmp dword [ebp - 4], 0
jne 0x111adc6
test ebx, ebx
je 0x111adda
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x111adda
cmp dword [ebp + 0x20], 0
je 0x111adda
push 1
push esi
push edi
call fcn.01114dc0
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
mov edx, dword [ebp + 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.DLL_HeapFree]
push eax
call edi
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push 0
call esi
push eax
call edi
test ebx, ebx
je 0x111ae09
push ebx
push 0
call esi
push eax
call edi
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c