Function at 0x100da190
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 0x101c176d
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.10004870
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 0x100da299
lea eax, [ebp - 0x1b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x1a0]
test eax, eax
je 0x100da2dc
cmp dword [ebp - 0x1b8], 0
je 0x100da2dc
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 0x100da2fc
cmp dword [ebp - 0x1a4], 0
jne 0x100da2fc
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 0x100da33a
push 1
call fcn.1018b785
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 0x100da91b
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x100da364
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100da91b
mov byte [ebp - 0x191], 1
mov dword [ebp - method.Poco::Any::ValueHolder.virtual_4], 0x101f2f48
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], 0x101f2f48
mov dword [ebp - method.RC::DM::RCDMFilePath.virtual_0], vtable.RC::DM::RCDMFilePath.0
lea ecx, [ebp - 0x104]
call fcn.10004870
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xec]
call fcn.10004870
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
call fcn.10004870
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xbc]
call fcn.10004870
mov byte [ebp - 4], 0xb
push edi
lea ecx, [ebp - 0x108]
call fcn.100ce300
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 0x100da453
push 1
call fcn.1018b785
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.100cec10
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.10004770
lea ecx, [ebp - 0xd4]
call fcn.10004770
lea ecx, [ebp - 0xec]
call fcn.10004770
lea ecx, [ebp - 0x104]
call fcn.10004770
mov byte [ebp - 4], 7
cmp dword [ebp - 0x19c], 0
je 0x100da515
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 0x100da4ec
push dword [ebp - 0x1a4]
call eax
mov eax, dword [ebp - 0x1b0]
test eax, eax
je 0x100da4fd
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 0x100da9e2
cmp dword [ebp - 0x1ec], 0
ja 0x100da5ea
jb 0x100da534
cmp dword [ebp - 0x1f0], 0x10000
ja 0x100da5ea
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.100d9eb0
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.100d18f0
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 0x100da5c0
mov ecx, esi
call fcn.100049f0
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.10004770
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.10004890
jmp 0x100da8c4
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 0x100da8be
cmp dword [esi], 0xffffffff
je 0x100da8be
lea ecx, [ebp - 0x188]
call fcn.101a2b80
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.1018be56
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.100cc900
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 0x100da77d
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 0x100da776
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 0x100da70c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100da776
mov dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1c4]
test eax, eax
je 0x100da776
cmp dword [esi], 0xffffffff
je 0x100da776
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 0x100da776
cmp dword [ebp - 0x1a0], 0x2800
jne 0x100da776
push 0x2800
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x188]
mov eax, dword [ebp - 0x188]
call dword [eax + 0x10]
inc edi
jmp 0x100da6bf
mov byte [ebp - 0x18c], 0
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100da795
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100da795
mov dword [esi], 0xffffffff
cmp byte [ebp - 0x18c], 0
je 0x100da878
lea ecx, [ebp - 0x188]
call fcn.101a2cd0
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.101a3740
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x100da7cc
mov eax, dword [eax]
push ecx
push ecx
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.100d18f0
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 0x100da84e
mov ecx, esi
call fcn.100049f0
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.10004770
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x120]
call fcn.10004890
jmp 0x100da87e
mov esi, dword [ebp - 0x1b4]
mov byte [ebp - 4], 0x19
mov edi, dword [ebp - 0x1c0]
test edi, edi
je 0x100da8ad
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100da8ad
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x100da8ad
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x188]
call fcn.101a2bf0
jmp 0x100da8c4
mov esi, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x100da8d6
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 0x100da8fa
push dword [ebp - 0x1a4]
call eax
mov eax, dword [ebp - 0x1b0]
test eax, eax
je 0x100da90b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 2
mov dword [ebp - 4], 1
jmp 0x100da9d3
mov byte [ebp - 4], 6
jmp 0x100da4da
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.1018b774
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret