Function at 0x100e51c0
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 + 0x10]
mov dword [ebp - 4], 1
push dword [ebx + 0x24]
call fcn.10120339
add esp, 0xc
test eax, eax
jne 0x100e53f8
mov dword [ebp - 0x50], eax
cmp dword [ebx], eax
jbe 0x100e53f8
push dword [ebx + 0x24]
lea eax, [ebp - 0x48]
push 1
push 4
push eax
call fcn.101201fe
add esp, 0x10
cmp eax, 1
jne 0x100e53f5
cmp dword [ebp - 0x48], 0
jl 0x100e53f5
push dword [ebx + 0x24]
push eax
lea eax, [ebp - 0x44]
push 4
push eax
call fcn.101201fe
add esp, 0x10
cmp eax, 1
jne 0x100e53f5
cmp dword [ebp - 0x44], 0
jl 0x100e53f5
mov eax, dword [ebp - 0x48]
inc eax
push eax
call fcn.101160b2
mov edi, eax
add esp, 4
test edi, edi
je 0x100e53f5
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 0x100e53ec
xor esi, esi
test ecx, ecx
jle 0x100e5322
jmp 0x100e5300
movsx eax, byte [esi + edi]
movsx ecx, byte [ebx + 0x20]
xor ecx, eax
movsx eax, byte [ebp - 0x48]
xor ecx, eax
push ecx
call fcn.1011c6e6
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x48]
jl 0x100e5300
cmp byte [edi], 0
jne 0x100e532b
xor ecx, ecx
jmp 0x100e5339
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e5330
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 0x100e53f5
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 0x100e53e9
xor ecx, ecx
test edx, edx
jle 0x100e53a2
jmp 0x100e5390
mov al, byte [ebx + 0x20]
xor al, byte [ecx + esi]
xor al, byte [ebp - 0x44]
mov byte [ecx + esi], al
inc ecx
cmp ecx, dword [ebp - 0x44]
jl 0x100e5390
cmp byte [esi], 0
jne 0x100e53ab
xor ecx, ecx
jmp 0x100e53b9
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e53b0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10002130
push esi
call fcn.1011bfcc
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
add esp, 4
push eax
call fcn.100e5a90
mov esi, dword [ebp - 0x50]
inc esi
mov dword [ebp - 0x50], esi
cmp esi, dword [ebx]
jb 0x100e5266
jmp 0x100e53f5
push esi
jmp 0x100e53ed
push edi
call fcn.1011bfcc
add esp, 4
mov esi, dword [ebp - 0x4c]
cmp dword [ebp - 0x14], 0x10
jb 0x100e5409
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 0x100e542c
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