Function at 0x1000b430
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c204
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x10097048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push 0x1005d314
mov dword [ebp - 0x44c], 0
push str.__MAIN__
push dword [0x100a1d90]
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x42c], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x1000b552
push esi
push dword [0x100a1d90]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x100a1d90]
mov dword [ebp - 0x454], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, 0x400
mov dword [ebp - 0x430], 0
cmp eax, edi
cmovb edi, eax
push edi
push 0
push 0x11
mov dword [ebp - 0x42c], edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov esi, eax
push esi
mov dword [ebp - 0x430], esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
push edi
push dword [ebp - 0x454]
push dword [esi + 0xc]
call fcn.1003a930
add esp, 0xc
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x430]
push eax
call fcn.1000c7f0
mov esi, dword [ebp - 0x430]
lea eax, [ebp - 0x410]
push dword [ebp - 0x42c]
push dword [esi + 0xc]
push eax
call fcn.1003a930
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1000b76e
or esi, 0xffffffff
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x428]
push eax
call fcn.1000b000
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
push 4
push str..dna
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
call fcn.10008770
mov byte [ebp - 4], 3
lea edx, [ebp - 0x428]
cmp dword [ebp - 0x414], 8
mov eax, dword [ebp - 0x418]
cmovae edx, dword [ebp - 0x428]
test eax, eax
je 0x1000b5f6
dec eax
or ecx, esi
cmp eax, esi
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea ecx, [edx + ecx*2]
je 0x1000b5f0
cmp ecx, edx
je 0x1000b5f6
sub ecx, 2
cmp word [ecx], 0x2e
jne 0x1000b5e3
sub ecx, edx
sar ecx, 1
jmp 0x1000b5f9
or ecx, 0xffffffff
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
push dword [ebp - 0x438]
cmovae eax, dword [ebp - 0x448]
push eax
push 0xffffffffffffffff
push ecx
lea ecx, [ebp - 0x428]
call fcn.1000f4d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.100015ef
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000ba49
test al, 0x10
jne 0x1000ba49
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x448]
call fcn.100031ab
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 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x430], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
jne 0x1000b6ed
call edi
mov edi, eax
test edi, edi
jle 0x1000b6c4
movzx edi, di
or edi, 0x80070000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.100015ef
test edi, edi
jns 0x1000b6fe
cmp byte [ebp + 8], 0
je 0x1000ba62
push edi
push 0x6b
push 0x6a
push 0x69
jmp 0x1000ba5a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.100015ef
jmp 0x1000b704
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
lea eax, [ebp - 0x42c]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000b74c
call edi
test eax, eax
jle 0x1000b734
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1000b74c
cmp byte [ebp + 8], 0
je 0x1000ba62
push eax
push 0x6b
push 0x6a
push 0x69
jmp 0x1000ba5a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.100015ef
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x1000b76e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x42c]
cmp eax, 3
jb 0x1000b859
mov cl, byte [ebp - 0x410]
cmp cl, 0xef
je 0x1000b859
cmp cl, 0xff
jne 0x1000b79a
cmp byte [ebp - 0x40f], 0xfe
jmp 0x1000b7aa
cmp cl, 0xfe
jne 0x1000b859
cmp byte [ebp - 0x40f], 0xff
jne 0x1000b859
shr eax, 1
lea ecx, [ebp - 0x428]
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x428], 0
push eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0
call fcn.10008770
mov dword [ebp - 4], 7
lea eax, [ebp - 0x428]
mov esi, dword [ebp - 0x450]
cmp esi, eax
je 0x1000b840
mov ecx, esi
call fcn.100015ef
movups xmm0, xmmword [ebp - 0x428]
xor eax, eax
mov word [ebp - 0x428], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x418]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
nop word [eax + eax]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.100015ef
xor eax, eax
jmp 0x1000ba89
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x448], 0
push eax
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
call fcn.100086c0
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 - 0x428], 0
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x448]
cmovae eax, dword [ebp - 0x448]
push 0xffffffffffffffff
push eax
push 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0
push 0xfde9
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov dword [ebp - 0x44c], 1
call edi
mov esi, eax
cmp esi, 1
jle 0x1000b9bb
mov ecx, dword [ebp - 0x418]
cmp esi, ecx
ja 0x1000b937
cmp dword [ebp - 0x414], 8
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x418], esi
cmovae ecx, dword [ebp - 0x428]
xor eax, eax
mov word [ecx + esi*2], ax
jmp 0x1000b949
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x428]
push 0
push eax
call fcn.10005b4e
cmp dword [ebp - 0x414], 8
lea ecx, [ebp - 0x428]
push esi
cmovae ecx, dword [ebp - 0x428]
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 - 0x418]
cmp eax, ecx
ja 0x1000b9ab
cmp dword [ebp - 0x414], 8
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x418], eax
cmovae ecx, dword [ebp - 0x428]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x1000b9bb
sub eax, ecx
lea ecx, [ebp - 0x428]
push 0
push eax
call fcn.10005b4e
mov esi, dword [ebp - 0x450]
lea eax, [ebp - 0x428]
cmp esi, eax
je 0x1000ba10
mov ecx, esi
call fcn.100015ef
movups xmm0, xmmword [ebp - 0x428]
xor eax, eax
mov word [ebp - 0x428], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x418]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
nop word [eax + eax]
mov eax, 1
mov dword [ebp - 0x44c], eax
and eax, 0xfffffffe
mov dword [ebp - 0x44c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x428]
call fcn.100015ef
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x448]
call fcn.10003657
xor eax, eax
jmp 0x1000ba89
cmp byte [ebp + 8], 0
je 0x1000ba62
push 0x80004005
push 0x68
push 0x67
push 0x66
call fcn.1000c220
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.100015ef
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x1000ba84
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 - 0x10]
xor ecx, ebp
call fcn.100398db
mov esp, ebp
pop ebp
ret