Function at 0x100e45f0
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
push 0xffffffffffffffff
push 0x1018191e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov eax, dword [0x102add80]
cmp eax, 0x102add94
je 0x100e464a
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x100e4637
mov ecx, dword [ecx]
push dword [eax + 0x14]
push ecx
mov ecx, 0x102add94
call fcn.10048200
mov eax, dword [0x102add80]
cmp dword [eax + 0x14], ebx
je 0x100e46d9
mov cl, 0x21
mov dword [ebp - 0x1c], 0x58430f21
mov dword [ebp - 0x18], 0x52424053
xor eax, eax
mov byte [ebp - 0x14], bl
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 7
jae 0x100e4677
mov cl, byte [ebp - 0x1c]
jmp 0x100e4668
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x14], bl
push eax
lea ecx, [ebp - 0x38]
call fcn.10047670
mov dword [ebp - 4], 0
or ebx, 1
mov esi, dword [0x102add80]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x60], ebx
mov ecx, dword [esi + 0x14]
cmp ecx, edx
jb 0x100e46d9
mov eax, ecx
sub eax, edx
cmp ecx, eax
jb 0x100e4999
cmp dword [ebp - 0x20], 0x10
lea edi, [ebp - 0x34]
lea ecx, [esi + 4]
cmovae edi, dword [ebp - 0x34]
cmp dword [esi + 0x18], 0x10
jb 0x100e46c5
mov ecx, dword [ecx]
push edx
push edi
add ecx, eax
call fcn.1008eee0
add esp, 8
mov byte [ebp - 0x55], 1
test eax, eax
je 0x100e46dd
mov byte [ebp - 0x55], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x100e472d
lea ecx, [ebp - 0x38]
call fcn.100447b0
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x100e4706
inc eax
push eax
push dword [ebp - 0x34]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x38]
push 8
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
call fcn.10048ea0
add esp, 8
cmp byte [ebp - 0x55], 0
je 0x100e497d
movaps xmm0, xmmword [0x101c2620]
xor ecx, ecx
push dword [0x1027c09c]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x7f052939
mov dword [ebp - 0x24], 0x223e743e
mov word [ebp - 0x20], 0x2e
nop
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x18
jb 0x100e4760
sub esp, 0x1c
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x37]
mov ecx, esp
push eax
call fcn.10047670
lea eax, [ebp - 0x54]
push eax
call fcn.1004a7a0
mov esi, eax
add esp, 0x24
cmp esi, 0x102add94
je 0x100e47df
mov ecx, 0x102add94
call fcn.100447b0
mov eax, dword [0x102addac]
cmp eax, 0x10
jb 0x100e47b9
inc eax
push eax
push dword [0x102add98]
call fcn.10048ea0
add esp, 8
push esi
mov ecx, 0x102add94
mov dword [0x102adda8], 0
mov dword [0x102addac], 0xf
mov byte [0x102add98], 0
call fcn.10048410
lea ecx, [ebp - 0x54]
call fcn.100447b0
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x100e47fc
inc eax
push eax
push dword [ebp - 0x50]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x54]
push 8
push eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
call fcn.10048ea0
mov eax, dword [0x102add80]
add esp, 8
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x100e4833
mov ecx, dword [ecx]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 1
push 1
push ecx
call esi
cmp dword [0x102addac], 0x10
mov ecx, 0x102add98
push 0
cmovae ecx, dword [0x102add98]
mov edi, eax
push 0x80
push 4
push 0
push 1
push 2
push ecx
mov dword [ebp - 0x64], edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
mov dword [ebp - 0x60], ebx
cmp edi, 0xffffffff
je 0x100e4973
cmp ebx, 0xffffffff
je 0x100e496f
lea eax, [ebp - 0x6c]
xor bl, bl
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov esi, dword [ebp - 0x6c]
and esi, 0x80000001
jns 0x100e48af
dec esi
or esi, 0xfffffffe
inc esi
neg esi
sbb esi, esi
add esi, 0x20
push esi
call fcn.1013c120
mov edi, eax
add esp, 4
test edi, edi
je 0x100e4963
push 0
lea eax, [ebp - 0x5c]
push eax
push 4
push edi
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100e48f2
push 0
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
push edi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
push 0
push edi
call fcn.10123240
add esp, 0xc
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push esi
push edi
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100e4956
cmp dword [ebp - 0x5c], esi
mov eax, 1
movzx ebx, bl
cmovb ebx, eax
lea eax, [ebp - 0x5c]
push eax
push edi
push 0
push 1
push 0
push dword [0x1027c0b8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x100e4956
push 0
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
push edi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test bl, bl
je 0x100e4905
push edi
call fcn.1013a720
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
test edi, edi
je 0x100e4976
push edi
call esi
test ebx, ebx
je 0x100e497d
push ebx
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10120250
mov esp, ebp
pop ebp
ret
call fcn.100487a0
int3