Function at 0x100da000
Capabilities:
Check if file exists
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 0x101c16ad
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x1e8
mov eax, dword [0x10221008]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x19c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1d0], esi
mov dword [ebp - 0x1cc], edi
mov dword [ebp - 0x190], 0
call fcn.10004880
mov dword [ebp - 4], 0
mov dword [ebp - 0x190], 1
lea ecx, [ebp - 0x198]
call fcn.100a30a0
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1b8], 0
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a0], eax
test eax, eax
je 0x100da109
lea eax, [ebp - 0x1b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x1a0]
test eax, eax
je 0x100da14c
cmp dword [ebp - 0x1b8], 0
je 0x100da14c
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1b0], eax
push str.Wow64DisableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a8], eax
push str.Wow64RevertWow64FsRedirection
push dword [ebp - 0x1b0]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1a8]
test eax, eax
je 0x100da16c
cmp dword [ebp - 0x1a4], 0
jne 0x100da16c
lea ecx, [ebp - 0x1a4]
push ecx
call eax
mov dword [ebp - 0x1bc], 0x102276b4
mov ecx, 0x102276b4
call fcn.100cc560
mov byte [ebp - 4], 4
cmp dword [0x102276b0], 0
jne 0x100da1aa
push 1
call fcn.1018b705
add esp, 4
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov dword [0x102276b0], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1bc]
call fcn.100cc8a0
mov byte [ebp - 0x191], 0
cmp dword [edi + 0x10], 0
je 0x100da78b
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x100da1d4
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100da78b
mov byte [ebp - 0x191], 1
mov dword [ebp - method.Poco::Any::ValueHolder.virtual_4], 0x101f2f58
mov dword [ebp - method.RC::DM::RCFileAttribute.virtual_0], vtable.RC::DM::RCFileAttribute.0
xorps xmm0, xmm0
movlpd qword [ebp - 0x1f0], xmm0
mov byte [ebp - 0x1e8], 0
movlpd qword [ebp - 0x1e0], xmm0
movlpd qword [ebp - 0x1d8], xmm0
mov byte [ebp - 4], 7
mov dword [ebp - method.Poco::Any::ValueHolder.virtual_4], 0x101f2f58
mov dword [ebp - method.RC::DM::RCDMFilePath.virtual_0], vtable.RC::DM::RCDMFilePath.0
lea ecx, [ebp - 0x104]
call fcn.10004880
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xec]
call fcn.10004880
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
call fcn.10004880
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xbc]
call fcn.10004880
mov byte [ebp - 4], 0xb
push edi
lea ecx, [ebp - 0x108]
call fcn.100ce2d0
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x19c], 0x102276b4
mov ecx, 0x102276b4
call fcn.100cc560
mov byte [ebp - 4], 0xd
cmp dword [0x102276b0], 0
jne 0x100da2c3
push 1
call fcn.1018b705
add esp, 4
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov dword [0x102276b0], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x19c]
call fcn.100cc8a0
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100cebe0
mov eax, dword [eax]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 0xf
mov dword [ebp - method.RC::DM::RCDMFilePath.virtual_0], vtable.RC::DM::RCDMFilePath.0
lea ecx, [ebp - 0xbc]
call fcn.10004780
lea ecx, [ebp - 0xd4]
call fcn.10004780
lea ecx, [ebp - 0xec]
call fcn.10004780
lea ecx, [ebp - 0x104]
call fcn.10004780
mov byte [ebp - 4], 7
cmp dword [ebp - 0x19c], 0
je 0x100da385
mov byte [ebp - 4], 3
mov dword [ebp - method.RC::DM::RCFileAttribute.virtual_0], vtable.RC::DM::RCFileAttribute.0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x100da35c
push dword [ebp - 0x1a4]
call eax
mov eax, dword [ebp - 0x1b0]
test eax, eax
je 0x100da36d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x198]
call fcn.100a3110
mov byte [ebp - 4], 0
jmp 0x100da852
cmp dword [ebp - 0x1ec], 0
ja 0x100da45a
jb 0x100da3a4
cmp dword [ebp - 0x1f0], 0x10000
ja 0x100da45a
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.100d9d20
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
cmovae edx, dword [ebp - 0x70]
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x88]
call fcn.100d1830
add esp, 8
mov dword [ebp - 0x190], 5
mov dword [ebp - 0x190], 1
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x190], 3
lea eax, [ebp - 0x88]
cmp esi, eax
je 0x100da430
mov ecx, esi
call fcn.10004a00
movups xmm0, xmmword [ebp - 0x88]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
xor eax, eax
mov word [ebp - 0x88], ax
mov dword [ebp - 0x190], 1
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x88]
call fcn.10004780
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.100048a0
jmp 0x100da734
push 0x80
push 3
push 1
push 0x80000000
push edi
lea ecx, [ebp - 0x198]
call fcn.100a3180
mov esi, dword [ebp - 0x198]
test esi, esi
je 0x100da72e
cmp dword [esi], 0xffffffff
je 0x100da72e
lea ecx, [ebp - 0x188]
call fcn.101a2b00
mov byte [ebp - 4], 0x14
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x1f0]
shrd ecx, eax, 1
shr eax, 1
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0xffffd800
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 2
push 0x10227100
push 0x2800
call fcn.1018bdd6
add esp, 8
mov cl, byte [ebp - 0x19c]
mov byte [ebp - 0x18c], cl
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
push dword [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.100da880
mov byte [ebp - 4], 0x15
mov al, 1
mov byte [ebp - 0x18c], al
xor edi, edi
mov dword [ebp - 0x1c8], edi
cmp edi, 3
jae 0x100da5ed
mov eax, edi
add eax, eax
mov ecx, dword [ebp + eax*8 - 0x50]
mov edx, dword [ebp + eax*8 - 0x4c]
cmp dword [esi], 0xffffffff
je 0x100da5e6
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
push dword [ebp + eax*8 - 0x48]
lea eax, [ebp - 0x54]
push eax
push ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x58], eax
cmp eax, 0xffffffff
jne 0x100da57c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100da5e6
mov dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1c4]
test eax, eax
je 0x100da5e6
cmp dword [esi], 0xffffffff
je 0x100da5e6
mov dword [ebp - 0x1a0], 0
push 0
lea ecx, [ebp - 0x1a0]
push ecx
push 0x2800
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100da5e6
cmp dword [ebp - 0x1a0], 0x2800
jne 0x100da5e6
push 0x2800
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x188]
mov eax, dword [ebp - 0x188]
call dword [eax + 0x10]
inc edi
jmp 0x100da52f
mov byte [ebp - 0x18c], 0
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100da605
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100da605
mov dword [esi], 0xffffffff
cmp byte [ebp - 0x18c], 0
je 0x100da6e8
lea ecx, [ebp - 0x188]
call fcn.101a2c50
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.101a36c0
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x100da63c
mov eax, dword [eax]
push ecx
push ecx
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.100d1830
add esp, 8
mov dword [ebp - 0x190], 0x21
mov dword [ebp - 0x190], 1
mov dword [ebp - 4], 0x17
mov dword [ebp - 0x190], 0x11
lea eax, [ebp - 0xa0]
mov esi, dword [ebp - 0x1b4]
cmp esi, eax
je 0x100da6be
mov ecx, esi
call fcn.10004a00
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
xor eax, eax
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x190], 1
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xa0]
call fcn.10004780
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x120]
call fcn.100048a0
jmp 0x100da6ee
mov esi, dword [ebp - 0x1b4]
mov byte [ebp - 4], 0x19
mov edi, dword [ebp - 0x1c0]
test edi, edi
je 0x100da71d
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100da71d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x100da71d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x188]
call fcn.101a2b70
jmp 0x100da734
mov esi, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x100da746
push dword [ebp - 0x1a4]
call eax
mov byte [ebp - 4], 3
mov dword [ebp - method.RC::DM::RCFileAttribute.virtual_0], vtable.RC::DM::RCFileAttribute.0
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x100da76a
push dword [ebp - 0x1a4]
call eax
mov eax, dword [ebp - 0x1b0]
test eax, eax
je 0x100da77b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 2
mov dword [ebp - 4], 1
jmp 0x100da843
mov byte [ebp - 4], 6
jmp 0x100da34a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x198]
call fcn.100a3110
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1018b6f4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret