Function at 0x100e5450
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014ce01
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1018d0d0]
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
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x58], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push 0
push dword [ebx + 0x14]
mov dword [ebp - 4], 1
push dword [ebx + 0x24]
call fcn.10120339
add esp, 0xc
test eax, eax
jne 0x100e5688
mov dword [ebp - 0x50], eax
cmp dword [ebx + 4], eax
jbe 0x100e5688
push dword [ebx + 0x24]
lea eax, [ebp - 0x48]
push 1
push 4
push eax
call fcn.101201fe
add esp, 0x10
cmp eax, 1
jne 0x100e5688
cmp dword [ebp - 0x48], 0
jl 0x100e5688
push dword [ebx + 0x24]
push eax
lea eax, [ebp - 0x44]
push 4
push eax
call fcn.101201fe
add esp, 0x10
cmp eax, 1
jne 0x100e5688
cmp dword [ebp - 0x44], 0
jl 0x100e5688
mov eax, dword [ebp - 0x48]
inc eax
push eax
call fcn.101160b2
mov edi, eax
add esp, 4
test edi, edi
je 0x100e5688
mov eax, dword [ebp - 0x48]
inc eax
push eax
push 0
push edi
call fcn.1011a400
push dword [ebx + 0x24]
push dword [ebp - 0x48]
push 1
push edi
call fcn.101201fe
mov ecx, dword [ebp - 0x48]
add esp, 0x1c
cmp eax, ecx
jne 0x100e56dc
xor esi, esi
test ecx, ecx
jle 0x100e55b2
jmp 0x100e5590
movsx eax, byte [ebx + 0x20]
movsx ecx, byte [ebp - 0x48]
xor ecx, eax
movsx eax, byte [esi + edi]
xor ecx, eax
push ecx
call fcn.1011c6e6
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x48]
jl 0x100e5590
cmp byte [edi], 0
jne 0x100e55bb
xor ecx, ecx
jmp 0x100e55c9
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e55c0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.10002130
push edi
call fcn.1011bfcc
mov eax, dword [ebp - 0x44]
inc eax
push eax
call fcn.101160b2
mov esi, eax
add esp, 8
test esi, esi
je 0x100e5685
mov eax, dword [ebp - 0x44]
inc eax
push eax
push 0
push esi
call fcn.1011a400
push dword [ebx + 0x24]
push dword [ebp - 0x44]
push 1
push esi
call fcn.101201fe
mov edx, dword [ebp - 0x44]
add esp, 0x1c
cmp eax, edx
jne 0x100e567c
xor ecx, ecx
test edx, edx
jle 0x100e5632
jmp 0x100e5620
mov al, byte [ecx + esi]
xor al, byte [ebp - 0x44]
xor al, byte [ebx + 0x20]
mov byte [ecx + esi], al
inc ecx
cmp ecx, dword [ebp - 0x44]
jl 0x100e5620
cmp byte [esi], 0
jne 0x100e563b
xor ecx, ecx
jmp 0x100e5649
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e5640
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10002130
push esi
call fcn.1011bfcc
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
add esp, 4
mov ecx, esi
push eax
call fcn.100e5a90
mov edi, dword [ebp - 0x50]
inc edi
mov dword [ebp - 0x50], edi
cmp edi, dword [ebx + 4]
jb 0x100e54f7
jmp 0x100e5688
push esi
call fcn.1011bfcc
add esp, 4
mov esi, dword [ebp - 0x4c]
cmp dword [ebp - 0x14], 0x10
jb 0x100e5699
push dword [ebp - 0x28]
call fcn.1011a1ea
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x100e56bc
push dword [ebp - 0x40]
call fcn.1011a1ea
add esp, 4
mov eax, 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.1011a3e5
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.1011bfcc
add esp, 4
jmp 0x100e5688