Function at 0x11168b0
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 0x100b744
add ecx, 0x3c22
xor edi, edi
push ecx
mov dword [ebp - 4], edi
call fcn.0107e5b0
mov esi, eax
cmp esi, edi
jne 0x11168e7
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 0x111690a
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.0102d3d0
mov edi, eax
mov dword [ebp + 0x14], edi
test edi, edi
jne 0x1116974
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 0x1116980
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 0x1116980
mov byte [ebp + 0x1c], cl
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push edi
call fcn.0102d4c0
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x11169d1
mov eax, dword [edi]
test eax, eax
je 0x11169d1
cmp eax, 0xffffffff
je 0x11169d1
push eax
call fcn.01027e90
mov dword [edi], 0xffffffff
push 0
push 1
push esi
push ebx
call fcn.010b4c50
push esi
call fcn.0102a730
mov edi, eax
lea eax, [edi + edi + 0xa]
test eax, eax
je 0x1116a34
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 0x1116a36
push edi
push esi
push ebx
call fcn.0102a670
push 4
push 0x10203e4
lea edx, [ebx + edi*2]
push edx
call fcn.0102a670
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 0x1116a36
push ebx
call fcn.01047230
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.011004d0
mov edi, eax
test edi, edi
je 0x1116a5d
cmp edi, 0xffffffff
jne 0x1116a82
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.011004d0
mov edi, eax
test edi, edi
je 0x1116b1a
cmp edi, 0xffffffff
je 0x1116b1a
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 0x1116adf
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 0x1116adf
test ebx, ebx
je 0x1116ad8
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 0x1116b06
test ebx, ebx
je 0x1116b1a
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x1116b1a
cmp dword [ebp + 0x20], 0
je 0x1116b1a
push 1
push esi
push edi
call fcn.0110dcc0
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 0x1116b49
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