Function at 0x100e3c50
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 0x10180dbe
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 0x100e3caa
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x100e3c97
mov ecx, dword [ecx]
push dword [eax + 0x14]
push ecx
mov ecx, 0x102add94
call fcn.10047890
mov eax, dword [0x102add80]
cmp dword [eax + 0x14], ebx
je 0x100e3d39
mov cl, 0xa
mov dword [ebp - 0x1c], 0x7368240a
mov dword [ebp - 0x18], 0x79696b78
xor eax, eax
mov byte [ebp - 0x14], bl
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 7
jae 0x100e3cd7
mov cl, byte [ebp - 0x1c]
jmp 0x100e3cc8
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x14], bl
push eax
lea ecx, [ebp - 0x38]
call fcn.10046d00
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 0x100e3d39
mov eax, ecx
sub eax, edx
cmp ecx, eax
jb 0x100e3ff9
cmp dword [ebp - 0x20], 0x10
lea edi, [ebp - 0x34]
lea ecx, [esi + 4]
cmovae edi, dword [ebp - 0x34]
cmp dword [esi + 0x18], 0x10
jb 0x100e3d25
mov ecx, dword [ecx]
push edx
push edi
add ecx, eax
call fcn.1008e560
add esp, 8
mov byte [ebp - 0x55], 1
test eax, eax
je 0x100e3d3d
mov byte [ebp - 0x55], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x100e3d8d
lea ecx, [ebp - 0x38]
call fcn.10043e40
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x100e3d66
inc eax
push eax
push dword [ebp - 0x34]
call fcn.10048530
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.10048530
add esp, 8
cmp byte [ebp - 0x55], 0
je 0x100e3fdd
movaps xmm0, xmmword [0x101c2020]
xor ecx, ecx
push dword [0x1027c09c]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x6c163a2a
mov dword [ebp - 0x24], 0x312d672d
mov word [ebp - 0x20], 0x3d
nop
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x18
jb 0x100e3dc0
sub esp, 0x1c
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x37]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp - 0x54]
push eax
call fcn.10049e30
mov esi, eax
add esp, 0x24
cmp esi, 0x102add94
je 0x100e3e3f
mov ecx, 0x102add94
call fcn.10043e40
mov eax, dword [0x102addac]
cmp eax, 0x10
jb 0x100e3e19
inc eax
push eax
push dword [0x102add98]
call fcn.10048530
add esp, 8
push esi
mov ecx, 0x102add94
mov dword [0x102adda8], 0
mov dword [0x102addac], 0xf
mov byte [0x102add98], 0
call fcn.10047aa0
lea ecx, [ebp - 0x54]
call fcn.10043e40
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x100e3e5c
inc eax
push eax
push dword [ebp - 0x50]
call fcn.10048530
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.10048530
mov eax, dword [0x102add80]
add esp, 8
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x100e3e93
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 0x100e3fd3
cmp ebx, 0xffffffff
je 0x100e3fcf
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 0x100e3f0f
dec esi
or esi, 0xfffffffe
inc esi
neg esi
sbb esi, esi
add esi, 0x20
push esi
call fcn.1013b740
mov edi, eax
add esp, 4
test edi, edi
je 0x100e3fc3
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 0x100e3f52
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.10122870
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 0x100e3fb6
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 0x100e3fb6
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 0x100e3f65
push edi
call fcn.10139d20
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 0x100e3fd6
push edi
call esi
test ebx, ebx
je 0x100e3fdd
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.1011f880
mov esp, ebp
pop ebp
ret
call fcn.10047e30
int3