Function at 0x10014d80
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 0x100402fc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x480
mov eax, dword [0x10071020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48c], edx
mov byte [ebp - 0x479], cl
push 0x10047034
mov dword [ebp - 0x488], 0
push 0x1004703c
push dword [0x1007c040]
mov dword [ebp - 0x484], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x10014edb
push esi
push dword [0x1007c040]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x1007c040]
mov dword [ebp - 0x480], 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 - 0x484], edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov esi, eax
push esi
mov dword [ebp - 0x490], esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
push edi
push dword [ebp - 0x480]
push dword [esi + 0xc]
call fcn.100055c0
add esp, 0xc
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x480]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov edi, dword [esi + 0x10]
xor edx, edx
test edi, edi
jle 0x10014ea9
nop dword [eax]
mov ecx, dword [ebp - 0x480]
mov eax, edx
and eax, 7
mov al, byte [eax + 0x10047064]
xor byte [ecx + edx], al
inc edx
cmp edx, edi
jl 0x10014e90
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
push dword [ebp - 0x484]
lea eax, [ebp - 0x418]
push dword [esi + 0xc]
push eax
call fcn.100055c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x100150f8
or esi, 0xffffffff
mov dword [ebp - 0x480], esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x460]
call fcn.10016580
mov byte [ebp - 4], 2
xorps xmm0, xmm0
push 4
push str..dna
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], 0
movups xmmword [ebp - 0x430], xmm0
mov dword [ebp - 0x41c], 0
call fcn.100021e0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x460]
cmp dword [ebp - 0x44c], 8
mov eax, dword [ebp - 0x450]
cmovae edx, dword [ebp - 0x460]
test eax, eax
je 0x10014f73
dec eax
or ecx, esi
cmp eax, esi
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea ecx, [edx + ecx*2]
je 0x10014f6d
nop
cmp ecx, edx
je 0x10014f73
sub ecx, 2
cmp word [ecx], 0x2e
jne 0x10014f60
sub ecx, edx
sar ecx, 1
jmp 0x10014f76
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 - 0x460]
call fcn.10001890
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x430]
call fcn.10001800
cmp dword [ebp - 0x44c], 8
lea eax, [ebp - 0x460]
cmovae eax, dword [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10015553
test al, 0x10
jne 0x10015553
lea eax, [ebp - 0x460]
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 - 0x480], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
jne 0x10015070
call edi
mov edi, eax
test edi, edi
jle 0x10015040
movzx edi, di
or edi, 0x80070000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x430]
call fcn.10001800
test edi, edi
jns 0x10015081
cmp byte [ebp - 0x479], 0
je 0x10015576
mov edx, 0x98
push edi
push 0x76
lea ecx, [edx - 1]
jmp 0x1001556e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x430]
call fcn.10001800
jmp 0x10015087
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
lea eax, [ebp - 0x484]
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100150d6
call edi
test eax, eax
jle 0x100150b7
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x100150d6
cmp byte [ebp - 0x479], 0
je 0x10015576
mov edx, 0x98
push eax
push 0x76
lea ecx, [edx - 1]
jmp 0x1001556e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x460]
call fcn.10001800
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x100150f8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x484]
cmp esi, 3
jb 0x10015207
mov al, byte [ebp - 0x418]
cmp al, 0xef
je 0x10015207
cmp al, 0xff
jne 0x10015122
cmp byte [ebp - 0x417], 0xfe
jmp 0x10015131
cmp al, 0xfe
jne 0x10015207
cmp byte [ebp - 0x417], 0xff
jne 0x10015207
shr esi, 1
lea eax, [ebp - 0x418]
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x468], 0
push eax
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x464], 0
movups xmmword [ebp - 0x478], xmm0
call fcn.100021e0
mov dword [ebp - 4], 7
lea eax, [ebp - 0x478]
mov esi, dword [ebp - 0x48c]
cmp esi, eax
je 0x100151ee
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x100151ba
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x100151b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100155c5
mov eax, edx
push ecx
push eax
call fcn.10002a03
add esp, 8
movups xmm0, xmmword [ebp - 0x478]
xor eax, eax
mov word [ebp - 0x478], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x468]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x478]
call fcn.10001800
xor eax, eax
jmp 0x1001559d
mov dword [ebp - 0x420], 0
xorps xmm0, xmm0
mov dword [ebp - 0x41c], 0
movups xmmword [ebp - 0x430], xmm0
cmp esi, 0x7fffffff
ja 0x100155bb
mov dword [ebp - 0x41c], 0xf
cmp esi, 0x10
jae 0x10015267
push esi
lea eax, [ebp - 0x418]
mov dword [ebp - 0x420], esi
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.100055c0
mov byte [ebp + esi - 0x430], 0
jmp 0x10015301
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x1001529f
mov ecx, SysReAllocStringLen
mov edi, SysReAllocString
add ecx, 0x23
push ecx
call fcn.10002a34
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100155c5
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x100152d1
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x100152c0
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x100155c0
jmp 0x10015281
test eax, eax
je 0x100152cf
push eax
call fcn.10002a34
add esp, 4
jmp 0x100152d1
xor eax, eax
push esi
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x480], eax
push ecx
push eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x41c], edi
call fcn.100055c0
mov eax, dword [ebp - 0x480]
mov byte [eax + esi], 0
add esp, 0xc
mov dword [ebp - 4], 6
xor eax, eax
cmp dword [ebp - 0x41c], 0x10
xorps xmm0, xmm0
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
movups xmmword [ebp - 0x448], xmm0
mov word [ebp - 0x448], ax
lea eax, [ebp - 0x430]
cmovae eax, dword [ebp - 0x430]
push 0xffffffffffffffff
push eax
push 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
push 0xfde9
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 7
mov dword [ebp - 0x488], 1
call edi
mov esi, eax
cmp esi, 1
jle 0x10015433
mov ecx, dword [ebp - 0x438]
cmp esi, ecx
ja 0x100153b1
cmp dword [ebp - 0x434], 8
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x438], esi
cmovae ecx, dword [ebp - 0x448]
xor eax, eax
mov word [ecx + esi*2], ax
jmp 0x100153c2
push ecx
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x448]
push eax
call fcn.10001b20
cmp dword [ebp - 0x434], 8
lea ecx, [ebp - 0x448]
push esi
cmovae ecx, dword [ebp - 0x448]
lea eax, [ebp - 0x430]
cmp dword [ebp - 0x41c], 0x10
push ecx
cmovae eax, dword [ebp - 0x430]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov ecx, dword [ebp - 0x438]
cmp eax, ecx
ja 0x10015424
cmp dword [ebp - 0x434], 8
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x438], eax
cmovae ecx, dword [ebp - 0x448]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x10015433
push ecx
sub eax, ecx
lea ecx, [ebp - 0x448]
push eax
call fcn.10001b20
mov esi, dword [ebp - 0x48c]
lea eax, [ebp - 0x448]
cmp esi, eax
je 0x1001547e
mov ecx, esi
call fcn.10001800
movups xmm0, xmmword [ebp - 0x448]
xor eax, eax
mov word [ebp - 0x448], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x438]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 7
mov eax, 1
mov dword [ebp - 0x488], eax
and eax, 0xfffffffe
mov dword [ebp - 0x488], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x434]
cmp ecx, 8
jb 0x100154d6
mov edx, dword [ebp - 0x448]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100154cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100155c5
push ecx
push edx
call fcn.10002a03
add esp, 8
xor eax, eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 7
mov word [ebp - 0x448], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x41c]
cmp ecx, 0x10
jb 0x10015534
mov edx, dword [ebp - 0x430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001552a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100155c5
push ecx
push edx
call fcn.10002a03
add esp, 8
mov dword [ebp - 0x420], 0
xor eax, eax
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
jmp 0x1001559d
cmp byte [ebp - 0x479], 0
je 0x10015576
mov edx, 0x95
push 0x80004005
push 0x96
lea ecx, [edx - 1]
call fcn.10016650
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x460]
call fcn.10001800
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x10015598
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.1000600d
int3