Function at 0x1008d1e0
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10176987
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x101fe854]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
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 - 0x1a8], esi
mov dword [ebp - 0x190], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c4], esi
mov dword [ebp - 0x1c0], edi
mov dword [ebp - 0x184], 0
call fcn.10004710
mov dword [ebp - 4], 0
mov dword [ebp - 0x184], 1
lea ecx, [ebp - 0x18c]
call fcn.100f6cf0
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x1ac], 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 - 0x194], eax
test eax, eax
je 0x1008d2d5
lea eax, [ebp - 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x194]
test eax, eax
je 0x1008d318
cmp dword [ebp - 0x1ac], 0
je 0x1008d318
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1a4], eax
push str.Wow64DisableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x19c], eax
push str.Wow64RevertWow64FsRedirection
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x19c]
test eax, eax
je 0x1008d338
cmp dword [ebp - 0x198], 0
jne 0x1008d338
lea ecx, [ebp - 0x198]
push ecx
call eax
mov dword [ebp - 0x1b0], 0x10206d48
mov ecx, 0x10206d48
call fcn.1007eb90
mov byte [ebp - 4], 4
cmp dword [0x10206d44], 0
jne 0x1008d376
push 1
call fcn.1015f474
add esp, 4
mov dword [ebp - 0x190], eax
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov dword [0x10206d44], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b0]
call fcn.1007eeb0
mov byte [ebp - 0x185], 0
cmp dword [edi + 0x10], 0
je 0x1008d945
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x1008d3a0
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1008d945
mov byte [ebp - 0x185], 1
mov dword [ebp - method.Poco::NotificationStrategy_class_Poco::Net::ICMPEventArgs__class_Poco::AbstractDelegate_class_Poco::Net::ICMPEventArgs__.virtual_4], 0x101bc714
mov dword [ebp - method.RC::DM::RCFileAttribute.virtual_0], vtable.RC::DM::RCFileAttribute.0
xorps xmm0, xmm0
movlpd qword [ebp - 0x1e4], xmm0
mov byte [ebp - 0x1dc], 0
movlpd qword [ebp - 0x1d4], xmm0
movlpd qword [ebp - 0x1cc], xmm0
mov byte [ebp - 4], 7
mov dword [ebp - 0xfc], 0x101bc714
mov dword [ebp - 0xfc], vtable.RC::DM::RCDMFilePath.0
lea ecx, [ebp - 0xf8]
call fcn.10004710
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe0]
call fcn.10004710
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc8]
call fcn.10004710
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb0]
call fcn.10004710
mov byte [ebp - 4], 0xb
push edi
lea ecx, [ebp - 0xfc]
call fcn.10080970
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x190], 0x10206d48
mov ecx, 0x10206d48
call fcn.1007eb90
mov byte [ebp - 4], 0xd
cmp dword [0x10206d44], 0
jne 0x1008d48f
push 1
call fcn.1015f474
add esp, 4
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov dword [0x10206d44], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x190]
call fcn.1007eeb0
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10081b40
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xfc], vtable.RC::DM::RCDMFilePath.0
lea ecx, [ebp - 0xb0]
call fcn.10004610
lea ecx, [ebp - 0xc8]
call fcn.10004610
lea ecx, [ebp - 0xe0]
call fcn.10004610
lea ecx, [ebp - 0xf8]
call fcn.10004610
mov byte [ebp - 4], 7
cmp dword [ebp - 0x190], 0
je 0x1008d551
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 - 0x1a0]
test eax, eax
je 0x1008d528
push dword [ebp - 0x198]
call eax
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x1008d539
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18c]
call fcn.100f6d60
mov byte [ebp - 4], 0
jmp 0x1008da06
cmp dword [ebp - 0x1e0], 0
ja 0x1008d617
jb 0x1008d570
cmp dword [ebp - 0x1e4], 0x10000
ja 0x1008d617
mov edx, edi
lea ecx, [ebp - 0x64]
call fcn.1008cf20
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
cmovae edx, dword [ebp - 0x64]
push ecx
push dword [ebp - 0x54]
lea ecx, [ebp - 0x7c]
call fcn.10084880
add esp, 8
mov dword [ebp - 0x184], 5
mov dword [ebp - 0x184], 1
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x184], 3
lea eax, [ebp - 0x7c]
cmp esi, eax
je 0x1008d5f0
mov ecx, esi
call fcn.100047b0
movups xmm0, xmmword [ebp - 0x7c]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
xor eax, eax
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x184], 1
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x7c]
call fcn.10004610
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.10005f00
jmp 0x1008d8ee
push 0x80
push 3
push 1
push accept
push edi
lea ecx, [ebp - 0x18c]
call fcn.100f6dd0
mov esi, dword [ebp - 0x18c]
test esi, esi
je 0x1008d8e8
cmp dword [esi], 0xffffffff
je 0x1008d8e8
lea ecx, [ebp - 0x17c]
call fcn.10150150
mov byte [ebp - 4], 0x14
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0x1e4]
shrd ecx, eax, 1
shr eax, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0xffffd800
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 2
push 0x102067ec
push 0x2800
call fcn.1015f93a
add esp, 8
mov cl, byte [ebp - 0x190]
mov byte [ebp - 0x180], cl
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
push dword [ebp - 0x190]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.1007ef10
mov byte [ebp - 4], 0x15
mov al, 1
mov byte [ebp - 0x180], al
xor edi, edi
mov dword [ebp - 0x1bc], edi
cmp edi, 3
jae 0x1008d7aa
mov eax, edi
add eax, eax
mov ecx, dword [ebp + eax*8 - 0x44]
mov edx, dword [ebp + eax*8 - 0x40]
cmp dword [esi], 0xffffffff
je 0x1008d7a3
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
push dword [ebp + eax*8 - 0x3c]
lea eax, [ebp - 0x48]
push eax
push ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x4c], eax
cmp eax, 0xffffffff
jne 0x1008d739
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1008d7a3
mov dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x1b8]
test eax, eax
je 0x1008d7a3
cmp dword [esi], 0xffffffff
je 0x1008d7a3
mov dword [ebp - 0x194], 0
push 0
lea ecx, [ebp - 0x194]
push ecx
push 0x2800
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008d7a3
cmp dword [ebp - 0x194], 0x2800
jne 0x1008d7a3
push 0x2800
push dword [ebp - 0x1b8]
lea ecx, [ebp - 0x17c]
mov eax, dword [ebp - 0x17c]
call dword [eax + 0x10]
inc edi
jmp 0x1008d6ec
mov byte [ebp - 0x180], 0
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1008d7c2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1008d7c2
mov dword [esi], 0xffffffff
cmp byte [ebp - 0x180], 0
je 0x1008d8a2
lea ecx, [ebp - 0x17c]
call fcn.101502a0
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.10150cf0
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x1008d7f9
mov eax, dword [eax]
push ecx
push ecx
mov edx, eax
lea ecx, [ebp - 0x94]
call fcn.10084880
add esp, 8
mov dword [ebp - 0x184], 0x21
mov dword [ebp - 0x184], 1
mov dword [ebp - 4], 0x17
mov dword [ebp - 0x184], 0x11
lea eax, [ebp - 0x94]
mov esi, dword [ebp - 0x1a8]
cmp esi, eax
je 0x1008d878
mov ecx, esi
call fcn.100047b0
movups xmm0, xmmword [ebp - 0x94]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x84]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
xor eax, eax
mov word [ebp - 0x94], ax
mov dword [ebp - 0x184], 1
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x94]
call fcn.10004610
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x114]
call fcn.10005f00
jmp 0x1008d8a8
mov esi, dword [ebp - 0x1a8]
mov byte [ebp - 4], 0x19
mov edi, dword [ebp - 0x1b4]
test edi, edi
je 0x1008d8d7
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1008d8d7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1008d8d7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x17c]
call fcn.101501c0
jmp 0x1008d8ee
mov esi, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1a0]
test eax, eax
je 0x1008d900
push dword [ebp - 0x198]
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 - 0x1a0]
test eax, eax
je 0x1008d924
push dword [ebp - 0x198]
call eax
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x1008d935
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 2
mov dword [ebp - 4], 1
jmp 0x1008d9f7
mov byte [ebp - 4], 6
jmp 0x1008d516
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18c]
call fcn.100f6d60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1015f463
mov esp, ebp
pop ebp
ret