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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001aac0
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [section..data]
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 edi, ecx
mov dword [ebp - 0x138], edi
lea ecx, [ebp - 0x130]
call fcn.100011d0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x130]
cmp dword [ebp - 0x11c], 0xf
mov eax, 0x12
movaps xmm0, xmmword [0x10022ac0]
cmova edx, dword [ebp - 0x130]
xor ecx, ecx
mov dword [ebp - 0x160], eax
movups xmmword [ebp - 0x15c], xmm0
mov dword [ebp - 0x14c], 0x48232f
lea eax, [ecx + 0x36]
xor byte [ebp + ecx - 0x15c], al
inc ecx
mov eax, dword [ebp - 0x160]
cmp ecx, eax
jb 0x10001651
mov byte [ebp + eax - 0x15c], 0
lea eax, [ebp - 0x15c]
push edx
push eax
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.10001050
mov eax, 2
mov dword [ebp - 0x13c], 0x385544
add esp, 0x10
mov dword [ebp - 0x140], eax
xor ecx, ecx
lea eax, [ecx + 0x36]
xor byte [ebp + ecx - 0x13c], al
inc ecx
mov eax, dword [ebp - 0x140]
cmp ecx, eax
jb 0x100016a1
mov byte [ebp + eax - 0x13c], 0
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10008ca6
mov esi, eax
add esp, 8
mov dword [ebp - 0x148], esi
test esi, esi
je 0x10001707
push 2
push 0
push esi
call fcn.10009106
add esp, 0xc
push esi
call fcn.10008bbf
mov ebx, eax
add esp, 4
mov dword [edi], ebx
test ebx, ebx
jne 0x10001746
push esi
call fcn.10008de2
add esp, 4
xor esi, esi
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0xf
jbe 0x1000188e
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001884
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100018ac
jmp 0x10001884
cmp ebx, 0x7fffffff
ja 0x100018b1
cmp ebx, 0x1000
jb 0x10001781
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x100018b6
push eax
call fcn.1000557e
add esp, 4
test eax, eax
je 0x100018ac
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1000178c
push ebx
call fcn.1000557e
add esp, 4
mov edi, eax
push ebx
push 0
push edi
call fcn.10006ff0
mov ecx, dword [ebp - 0x138]
add esp, 0xc
push dword [ecx]
call fcn.1000ba88
add esp, 4
mov dword [ebp - 0x144], eax
test eax, eax
jne 0x100017ba
push esi
call fcn.10008de2
jmp 0x100017ff
push 0
push 0
push esi
call fcn.10009106
mov eax, dword [ebp - 0x138]
add esp, 0xc
push esi
push dword [eax]
push 1
push edi
call fcn.1000b5d0
push dword [ebp - 0x148]
mov esi, eax
call fcn.10008de2
mov eax, dword [ebp - 0x138]
add esp, 0x14
mov eax, dword [eax]
cmp esi, eax
je 0x10001839
push dword [ebp - 0x144]
call fcn.1000b023
add esp, 4
xor esi, esi
test edi, edi
je 0x10001709
cmp ebx, 0x1000
jb 0x1000182a
mov ecx, dword [edi - 4]
add ebx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100018ac
mov edi, ecx
push ebx
push edi
call fcn.100055ae
add esp, 8
jmp 0x10001709
lea eax, [eax + eax*4]
push eax
push dword [ebp - 0x144]
mov dword [ebp - 0x134], eax
call fcn.10008e12
mov esi, eax
add esp, 8
test esi, esi
je 0x10001802
mov eax, dword [ebp - 0x138]
push dword [eax]
lea eax, [ebp - 0x134]
push edi
push eax
push esi
call fcn.100029a0
test eax, eax
je 0x10001874
push esi
jmp 0x100017fa
mov ecx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x134]
mov dword [ecx], eax
jmp 0x10001804
push ecx
push edx
call fcn.100055ae
add esp, 8
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.10005570
mov esp, ebp
pop ebp
ret
call fcn.1000b940
call fcn.10001ef0
call fcn.10001120
int3