Function at 0x10014160
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 0x1003f5cc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x450
mov eax, dword [0x10070020]
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 [0x1007b040]
mov dword [ebp - 0x454], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x100142c1
push esi
push dword [0x1007b040]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x1007b040]
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.100055b0
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 0x10014289
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 0x10014270
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.100055b0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov edi, dword [ebp - 0x45c]
jmp 0x100144c8
or esi, 0xffffffff
mov dword [ebp - 0x460], esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x448]
call fcn.100158f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x430]
push 4
push str..dna
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
call fcn.100021e0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x448]
cmp dword [ebp - 0x434], 8
mov eax, dword [ebp - 0x438]
cmovae edx, dword [ebp - 0x448]
test eax, eax
je 0x10014357
dec eax
or ecx, esi
cmp eax, esi
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea ecx, [edx + ecx*2]
je 0x10014351
cmp ecx, edx
je 0x10014357
sub ecx, 2
cmp word [ecx], 0x2e
jne 0x10014344
sub ecx, edx
sar ecx, 1
jmp 0x1001435a
or ecx, 0xffffffff
cmp dword [ebp - 0x41c], 8
lea eax, [ebp - 0x430]
push dword [ebp - 0x420]
cmovae eax, dword [ebp - 0x430]
push eax
push ecx
push ecx
lea ecx, [ebp - 0x448]
call fcn.10001890
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x430]
call fcn.10001800
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
cmovae eax, dword [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001491d
test al, 0x10
jne 0x1001491d
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x430]
call fcn.100016d0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x430]
cmp dword [ebp - 0x41c], 8
push 0
cmovae eax, dword [ebp - 0x430]
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 - 0x460], esi
cmp esi, 0xffffffff
jne 0x10014461
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x450], eax
test eax, eax
jle 0x1001442b
movzx eax, ax
or eax, 0x80070000
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x430]
call fcn.10001800
mov eax, dword [ebp - 0x450]
test eax, eax
jns 0x10014470
cmp byte [ebp - 0x449], 0
je 0x10014940
mov edx, 0x98
push eax
push 0x76
lea ecx, [edx - 1]
jmp 0x10014938
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x430]
call fcn.10001800
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 0x100144a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100144a4
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x10014444
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x448]
call fcn.10001800
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x100144c8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x454]
cmp esi, 3
jb 0x100145d1
mov al, byte [ebp - 0x418]
cmp al, 0xef
je 0x100145d1
cmp al, 0xff
jne 0x100144f2
cmp byte [ebp - 0x417], 0xfe
jmp 0x10014501
cmp al, 0xfe
jne 0x100145d1
cmp byte [ebp - 0x417], 0xff
jne 0x100145d1
shr esi, 1
lea eax, [ebp - 0x418]
push esi
push eax
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
call fcn.100021e0
mov dword [ebp - 4], 7
lea eax, [ebp - 0x448]
cmp edi, eax
je 0x100145b8
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x10014584
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1001457a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001498f
mov eax, edx
push ecx
push eax
call fcn.10002a03
add esp, 8
movups xmm0, xmmword [ebp - 0x448]
xor eax, eax
mov word [ebp - 0x448], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x438]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x448]
call fcn.10001800
xor eax, eax
jmp 0x10014967
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
cmp esi, 0x7fffffff
ja 0x10014985
mov dword [ebp - 0x434], 0xf
cmp esi, 0x10
jae 0x10014631
push esi
lea eax, [ebp - 0x418]
mov dword [ebp - 0x438], esi
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.100055b0
mov byte [ebp + esi - 0x448], 0
jmp 0x100146cb
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x10014669
mov ecx, SysReAllocStringLen
mov edi, SysReAllocString
add ecx, 0x23
push ecx
call fcn.10002a34
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1001498f
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x1001469b
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x1001468a
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1001498a
jmp 0x1001464b
test eax, eax
je 0x10014699
push eax
call fcn.10002a34
add esp, 4
jmp 0x1001469b
xor eax, eax
push esi
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x450], eax
push ecx
push eax
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], edi
call fcn.100055b0
mov eax, dword [ebp - 0x450]
mov byte [eax + esi], 0
add esp, 0xc
mov dword [ebp - 4], 6
xor eax, eax
cmp dword [ebp - 0x434], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
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 edi
mov esi, eax
cmp esi, 1
jle 0x100147fd
mov ecx, dword [ebp - 0x420]
cmp esi, ecx
ja 0x1001477b
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 0x1001478c
push ecx
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x430]
push eax
call fcn.10001b20
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 edi
mov ecx, dword [ebp - 0x420]
cmp eax, ecx
ja 0x100147ee
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 0x100147fd
push ecx
sub eax, ecx
lea ecx, [ebp - 0x430]
push eax
call fcn.10001b20
mov esi, dword [ebp - 0x45c]
lea eax, [ebp - 0x430]
cmp esi, eax
je 0x10014848
mov ecx, esi
call fcn.10001800
movups xmm0, xmmword [ebp - 0x430]
xor eax, eax
mov word [ebp - 0x430], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x420]
movq qword [esi + 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 0x100148a0
mov edx, dword [ebp - 0x430]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10014896
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001498f
push ecx
push edx
call fcn.10002a03
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 0x100148fe
mov edx, dword [ebp - 0x448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100148f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001498f
push ecx
push edx
call fcn.10002a03
add esp, 8
mov dword [ebp - 0x438], 0
xor eax, eax
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
jmp 0x10014967
cmp byte [ebp - 0x449], 0
je 0x10014940
mov edx, 0x95
push 0x80004005
push 0x96
lea ecx, [edx - 1]
call fcn.100159c0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x448]
call fcn.10001800
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x10014962
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.100029f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10001500
call fcn.100013e0
call fcn.10006453
int3