Function at 0x100141f0
Capabilities:
Check if file exists
Encode data using xor
Extract resource via kernel32 functions
Get file attributes
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f67c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x450
mov eax, dword [0x10070024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x45c], edi
mov byte [ebp - 0x449], cl
push 0x100462f4
mov dword [ebp - 0x458], 0
push 0x100462fc
push dword [0x1007b048]
mov dword [ebp - 0x454], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x10014351
push esi
push dword [0x1007b048]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x1007b048]
mov dword [ebp - 0x450], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, 0x400
cmp eax, edi
cmovb edi, eax
push edi
push 0
push 0x11
mov dword [ebp - 0x454], edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov esi, eax
push esi
mov dword [ebp - 0x460], esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
push edi
push dword [ebp - 0x450]
push dword [esi + 0xc]
call fcn.10005620
add esp, 0xc
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x450]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov edi, dword [esi + 0x10]
xor edx, edx
test edi, edi
jle 0x10014319
nop dword [eax + eax]
mov ecx, dword [ebp - 0x450]
mov eax, edx
and eax, 7
mov al, byte [eax + 0x10046324]
xor byte [ecx + edx], al
inc edx
cmp edx, edi
jl 0x10014300
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
push dword [ebp - 0x454]
lea eax, [ebp - 0x418]
push dword [esi + 0xc]
push eax
call fcn.10005620
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov edi, dword [ebp - 0x45c]
jmp 0x10014575
or esi, 0xffffffff
mov dword [ebp - 0x45c], esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x430]
call fcn.100159c0
mov byte [ebp - 4], 2
xor eax, eax
push 4
mov dword [ebp - 0x448], 0
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
push str..dna
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 7
mov word [ebp - 0x448], ax
call fcn.10001a10
mov byte [ebp - 4], 3
lea edx, [ebp - 0x430]
cmp dword [ebp - 0x41c], 8
mov eax, dword [ebp - 0x420]
cmovae edx, dword [ebp - 0x430]
test eax, eax
je 0x10014404
dec eax
or ecx, esi
cmp eax, esi
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea ecx, [edx + ecx*2]
je 0x100143fe
cmp ecx, edx
je 0x10014404
sub ecx, 2
cmp word [ecx], 0x2e
jne 0x100143f1
sub ecx, edx
sar ecx, 1
jmp 0x10014407
or ecx, 0xffffffff
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
push dword [ebp - 0x438]
cmovae eax, dword [ebp - 0x448]
push eax
push ecx
push ecx
lea ecx, [ebp - 0x430]
call fcn.10001880
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.100017f0
cmp dword [ebp - 0x41c], 8
lea eax, [ebp - 0x430]
cmovae eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10014988
test al, 0x10
jne 0x10014988
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x448]
call fcn.100016e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x448]
cmp dword [ebp - 0x434], 8
push 0
cmovae eax, dword [ebp - 0x448]
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x45c], esi
cmp esi, 0xffffffff
jne 0x1001450e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x450], eax
test eax, eax
jle 0x100144d8
movzx eax, ax
or eax, 0x80070000
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.100017f0
mov eax, dword [ebp - 0x450]
test eax, eax
jns 0x1001451d
cmp byte [ebp - 0x449], 0
je 0x100149ab
mov edx, 0x98
push eax
push 0x76
lea ecx, [edx - 1]
jmp 0x100149a3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.100017f0
push 0
lea eax, [ebp - 0x454]
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10014553
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10014551
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x100144f1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x430]
call fcn.100017f0
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x10014575
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x454]
cmp eax, 3
jb 0x100146f1
mov cl, byte [ebp - 0x418]
cmp cl, 0xef
je 0x100146f1
cmp cl, 0xff
jne 0x100145a1
cmp byte [ebp - 0x417], 0xfe
jmp 0x100145b1
cmp cl, 0xfe
jne 0x100146f1
cmp byte [ebp - 0x417], 0xff
jne 0x100146f1
shr eax, 1
xor ecx, ecx
push eax
mov dword [ebp - 0x430], 0
lea eax, [ebp - 0x418]
mov word [ebp - 0x430], cx
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
push eax
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 7
call fcn.10001a10
mov dword [ebp - 4], 7
lea eax, [ebp - 0x430]
cmp edi, eax
je 0x10014688
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x10014651
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10014647
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100149f0
mov eax, edx
push ecx
push eax
call fcn.10002a73
add esp, 8
movups xmm0, xmmword [ebp - 0x430]
mov eax, 7
xor ecx, ecx
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x420]
mov dword [ebp - 0x41c], eax
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], cx
jmp 0x1001468e
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x100146cf
mov edx, dword [ebp - 0x430]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100146c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100149f0
push ecx
push edx
call fcn.10002a73
add esp, 8
xor eax, eax
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 7
mov word [ebp - 0x430], ax
jmp 0x100149d2
push eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x438], 0
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x434], 0
push eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
call fcn.10001c90
mov dword [ebp - 4], 6
xor eax, eax
cmp dword [ebp - 0x434], 0x10
push 0
push 0
mov dword [ebp - 0x430], 0
mov word [ebp - 0x430], ax
lea eax, [ebp - 0x448]
cmovae eax, dword [ebp - 0x448]
push 0xffffffffffffffff
push eax
push 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
push 0xfde9
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x458], 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
cmp esi, 1
jle 0x1001486e
mov ecx, dword [ebp - 0x420]
cmp esi, ecx
ja 0x100147e8
cmp dword [ebp - 0x41c], 8
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], esi
cmovae ecx, dword [ebp - 0x430]
xor eax, eax
mov word [ecx + esi*2], ax
jmp 0x100147f9
push ecx
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x430]
push eax
call fcn.10001b10
cmp dword [ebp - 0x41c], 8
lea ecx, [ebp - 0x430]
push esi
cmovae ecx, dword [ebp - 0x430]
lea eax, [ebp - 0x448]
cmp dword [ebp - 0x434], 0x10
push ecx
cmovae eax, dword [ebp - 0x448]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x420]
cmp eax, ecx
ja 0x1001485f
cmp dword [ebp - 0x41c], 8
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], eax
cmovae ecx, dword [ebp - 0x430]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x1001486e
push ecx
sub eax, ecx
lea ecx, [ebp - 0x430]
push eax
call fcn.10001b10
lea eax, [ebp - 0x430]
cmp edi, eax
je 0x100148b3
mov ecx, edi
call fcn.100017f0
movups xmm0, xmmword [ebp - 0x430]
xor eax, eax
mov word [ebp - 0x430], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x420]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 7
mov eax, 1
mov dword [ebp - 0x458], eax
and eax, 0xfffffffe
mov dword [ebp - 0x458], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x41c]
cmp ecx, 8
jb 0x1001490b
mov edx, dword [ebp - 0x430]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014901
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100149f5
push ecx
push edx
call fcn.10002a73
add esp, 8
xor eax, eax
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 7
mov word [ebp - 0x430], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x434]
cmp ecx, 0x10
jb 0x10014969
mov edx, dword [ebp - 0x448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001495f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100149f5
push ecx
push edx
call fcn.10002a73
add esp, 8
mov dword [ebp - 0x438], 0
xor eax, eax
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
jmp 0x100149d2
cmp byte [ebp - 0x449], 0
je 0x100149ab
mov edx, 0x95
push 0x80004005
push 0x96
lea ecx, [edx - 1]
call fcn.10015aa0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x430]
call fcn.100017f0
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x100149cd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10002a65
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100064c3
call fcn.100064c3
int3