Function at 0x111c900
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 0x100c124
add ecx, 0x3c86
xor edi, edi
push ecx
mov dword [ebp - 4], edi
call fcn.01085230
mov esi, eax
cmp esi, edi
jne 0x111c937
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 0x111c95a
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.010302c0
mov edi, eax
mov dword [ebp + 0x14], edi
test edi, edi
jne 0x111c9c4
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 0x111c9d0
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 0x111c9d0
mov byte [ebp + 0x1c], cl
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push edi
call fcn.010303b0
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x111ca21
mov eax, dword [edi]
test eax, eax
je 0x111ca21
cmp eax, 0xffffffff
je 0x111ca21
push eax
call fcn.0102ac00
mov dword [edi], 0xffffffff
push 0
push 1
push esi
push ebx
call fcn.010bca90
push esi
call fcn.0102d5e0
mov edi, eax
lea eax, [edi + edi + 0xa]
test eax, eax
je 0x111ca84
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 0x111ca86
push edi
push esi
push ebx
call fcn.0102d520
push 4
push 0x1020244
lea edx, [ebx + edi*2]
push edx
call fcn.0102d520
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 0x111ca86
push ebx
call fcn.0102add0
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.01109500
mov edi, eax
test edi, edi
je 0x111caad
cmp edi, 0xffffffff
jne 0x111cad2
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.01109500
mov edi, eax
test edi, edi
je 0x111cb6a
cmp edi, 0xffffffff
je 0x111cb6a
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp + 0x1c]
push eax
mov eax, dword [edx + 0x274]
push 0x54
lea ecx, [ebp - 0x58]
push ecx
push edi
call eax
test eax, eax
je 0x111cb2f
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 + 0x274]
push eax
push edi
call edx
test eax, eax
je 0x111cb2f
test ebx, ebx
je 0x111cb28
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 + 0x1c8]
call eax
cmp dword [ebp - 4], 0
jne 0x111cb56
test ebx, ebx
je 0x111cb6a
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x111cb6a
cmp dword [ebp + 0x20], 0
je 0x111cb6a
push 1
push esi
push edi
call fcn.01116ab0
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 0x111cb99
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