Function at 0x111a3f0
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 0x100b62c
add ecx, 0x3c22
xor edi, edi
push ecx
mov dword [ebp - 4], edi
call fcn.0107fe70
mov esi, eax
cmp esi, edi
jne 0x111a427
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 0x111a44a
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.0102e9e0
mov edi, eax
mov dword [ebp + 0x14], edi
test edi, edi
jne 0x111a4b4
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 0x111a4c0
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 0x111a4c0
mov byte [ebp + 0x1c], cl
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push edi
call fcn.0102ead0
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x111a511
mov eax, dword [edi]
test eax, eax
je 0x111a511
cmp eax, 0xffffffff
je 0x111a511
push eax
call fcn.01029430
mov dword [edi], 0xffffffff
push 0
push 1
push esi
push ebx
call fcn.010b6fc0
push esi
call fcn.0102bd10
mov edi, eax
lea eax, [edi + edi + 0xa]
test eax, eax
je 0x111a574
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 0x111a576
push edi
push esi
push ebx
call fcn.0102bc50
push 4
push 0x1020674
lea edx, [ebx + edi*2]
push edx
call fcn.0102bc50
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 0x111a576
push ebx
call fcn.0102d700
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.011037f0
mov edi, eax
test edi, edi
je 0x111a59d
cmp edi, 0xffffffff
jne 0x111a5c2
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.011037f0
mov edi, eax
test edi, edi
je 0x111a65a
cmp edi, 0xffffffff
je 0x111a65a
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 0x111a61f
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 0x111a61f
test ebx, ebx
je 0x111a618
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 0x111a646
test ebx, ebx
je 0x111a65a
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x111a65a
cmp dword [ebp + 0x20], 0
je 0x111a65a
push 1
push esi
push edi
call fcn.011112f0
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 0x111a689
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