Function at 0x100e55e0
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 0x101891dd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x1e8
mov eax, dword [0x10207514]
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 - 0x1a0], esi
mov dword [ebp - 0x19c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1cc], esi
mov dword [ebp - 0x1c8], edi
mov dword [ebp - 0x190], 0
call fcn.10007940
mov dword [ebp - 4], 0
mov dword [ebp - 0x190], 1
lea ecx, [ebp - 0x198]
call fcn.1010ec20
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
call fcn.100f3230
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x100e56a9
cmp dword [ebp - 0x1a8], 0
jne 0x100e56a9
lea ecx, [ebp - 0x1a8]
push ecx
call eax
mov dword [ebp - 0x1b8], 0x10212710
mov ecx, 0x10212710
call fcn.10003430
mov byte [ebp - 4], 4
cmp dword [0x1021270c], 0
jne 0x100e56e7
push 1
call fcn.10161f74
add esp, 4
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov dword [0x1021270c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b8]
call fcn.100077d0
mov byte [ebp - 0x191], 0
cmp dword [edi + 0x10], 0
je 0x100e5cc8
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x100e5711
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100e5cc8
mov byte [ebp - 0x191], 1
mov dword [ebp - method.Poco::AbstractObserver.virtual_4], vtable.RC::DM::ISerialization.0
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::AbstractObserver.virtual_4], vtable.RC::DM::ISerialization.0
mov dword [ebp - method.RC::DM::RCDMFilePath.virtual_0], vtable.RC::DM::RCDMFilePath.0
lea ecx, [ebp - 0x104]
call fcn.10007940
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xec]
call fcn.10007940
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
call fcn.10007940
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xbc]
call fcn.10007940
mov byte [ebp - 4], 0xb
push edi
lea ecx, [ebp - 0x108]
call fcn.100f1660
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x19c], 0x10212710
mov ecx, 0x10212710
call fcn.10003430
mov byte [ebp - 4], 0xd
cmp dword [0x1021270c], 0
jne 0x100e5800
push 1
call fcn.10161f74
add esp, 4
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov dword [0x1021270c], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x19c]
call fcn.100077d0
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100f0480
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.100078b0
lea ecx, [ebp - 0xd4]
call fcn.100078b0
lea ecx, [ebp - 0xec]
call fcn.100078b0
lea ecx, [ebp - 0x104]
call fcn.100078b0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x19c], 0
je 0x100e58c2
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 - 0x1b0]
test eax, eax
je 0x100e5899
push dword [ebp - 0x1a8]
call eax
mov eax, dword [ebp - 0x1b4]
test eax, eax
je 0x100e58aa
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x198]
call fcn.1010ec90
mov byte [ebp - 4], 0
jmp 0x100e5d8f
cmp dword [ebp - 0x1ec], 0
ja 0x100e5997
jb 0x100e58e1
cmp dword [ebp - 0x1f0], 0x10000
ja 0x100e5997
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.100e5300
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.100f43a0
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 0x100e596d
mov ecx, esi
call fcn.10009450
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.100078b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.10007b00
jmp 0x100e5c71
push 0x80
push 3
push 1
push 0x80000000
push edi
lea ecx, [ebp - 0x198]
call fcn.1010ed00
mov esi, dword [ebp - 0x198]
test esi, esi
je 0x100e5c6b
cmp dword [esi], 0xffffffff
je 0x100e5c6b
lea ecx, [ebp - 0x188]
call fcn.10164f90
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 0x10211cb8
push 0x2800
call fcn.10162982
add esp, 8
mov cl, byte [ebp - 0x19c]
mov byte [ebp - 0x18c], cl
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
push dword [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.100e5dc0
mov byte [ebp - 4], 0x15
mov al, 1
mov byte [ebp - 0x18c], al
xor edi, edi
mov dword [ebp - 0x1c4], edi
cmp edi, 3
jae 0x100e5b2a
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 0x100e5b23
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 0x100e5ab9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100e5b23
mov dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1c0]
test eax, eax
je 0x100e5b23
cmp dword [esi], 0xffffffff
je 0x100e5b23
mov dword [ebp - 0x1a4], 0
push 0
lea ecx, [ebp - 0x1a4]
push ecx
push 0x2800
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100e5b23
cmp dword [ebp - 0x1a4], 0x2800
jne 0x100e5b23
push 0x2800
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x188]
mov eax, dword [ebp - 0x188]
call dword [eax + 0x10]
inc edi
jmp 0x100e5a6c
mov byte [ebp - 0x18c], 0
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100e5b42
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100e5b42
mov dword [esi], 0xffffffff
cmp byte [ebp - 0x18c], 0
je 0x100e5c25
lea ecx, [ebp - 0x188]
call fcn.101650e0
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.10165b50
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x100e5b79
mov eax, dword [eax]
push ecx
push ecx
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.100f43a0
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 - 0x1a0]
cmp esi, eax
je 0x100e5bfb
mov ecx, esi
call fcn.10009450
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.100078b0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x120]
call fcn.10007b00
jmp 0x100e5c2b
mov esi, dword [ebp - 0x1a0]
mov byte [ebp - 4], 0x19
mov edi, dword [ebp - 0x1bc]
test edi, edi
je 0x100e5c5a
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100e5c5a
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x100e5c5a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x188]
call fcn.10165000
jmp 0x100e5c71
mov esi, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x1b0]
test eax, eax
je 0x100e5c83
push dword [ebp - 0x1a8]
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 - 0x1b0]
test eax, eax
je 0x100e5ca7
push dword [ebp - 0x1a8]
call eax
mov eax, dword [ebp - 0x1b4]
test eax, eax
je 0x100e5cb8
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 2
mov dword [ebp - 4], 1
jmp 0x100e5d80
mov byte [ebp - 4], 6
jmp 0x100e5887
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x198]
call fcn.1010ec90
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.10161f63
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret