Function at 0x1000ba80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d54e
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x1007b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x270], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x234]
mov dword [esi + 4], vtable.Network::IQMNetworkMgr2.0
mov dword [esi], vtable.Network::CQMNetworkMgr.1.0
mov dword [esi + 4], vtable.Network::CQMNetworkMgr.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
call fcn.1000b840
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test ecx, ecx
je 0x1000bb88
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x1000bb3c
push 0x5c
push 1
lea ecx, [ebp - 0x234]
call fcn.1000c280
push 0x10
push str.QMNetworkMgr.dll
lea ecx, [ebp - 0x234]
call fcn.1000c400
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000bb88
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call edi
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x1000bba4
inc eax
push eax
push dword [ebp - 0x234]
call fcn.10003020
cmp dword [esi + 0x10], 0
jne 0x1000bdfc
push 0x1c
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], 0
xorps xmm0, xmm0
push eax
push 0x1000c100
movups xmmword [ebp - 0x264], xmm0
movq qword [ebp - 0x254], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000bca1
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x1000bca1
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.10002d00
push 0x10
push str.QMNetworkMgr.dll
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.1000c400
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000bc92
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call edi
mov dword [esi + 0x10], eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0
call fcn.10002cc0
cmp dword [esi + 0x10], 0
jne 0x1000bdfc
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.1000b920
test eax, eax
jne 0x1000bcfc
mov ecx, dword [ebp - 0x238]
cmp ecx, 8
jb 0x1000be03
inc ecx
push ecx
push dword [ebp - 0x24c]
call fcn.10003020
jmp 0x1000be03
push ecx
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x264]
call fcn.1000c620
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.1000c6f0
add esp, 4
mov edi, eax
lea eax, [ebp - 0x24c]
cmp eax, edi
je 0x1000bd6f
mov eax, dword [ebp - 0x238]
cmp eax, 8
jb 0x1000bd46
inc eax
push eax
push dword [ebp - 0x24c]
call fcn.10003020
xor eax, eax
mov dword [ebp - 0x238], 7
push edi
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
call fcn.1000c340
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x1000bd87
inc eax
push eax
push dword [ebp - 0x234]
call fcn.10003020
xor eax, eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x224], 0
cmp eax, 8
jb 0x1000bdbc
inc eax
push eax
push dword [ebp - 0x264]
call fcn.10003020
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x238]
cmp eax, 8
jb 0x1000bdf6
inc eax
push eax
push dword [ebp - 0x24c]
call fcn.10003020
cmp dword [esi + 0x10], 0
je 0x1000be03
mov ecx, esi
call fcn.1000beb0
mov eax, esi
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.1005b6db
mov esp, ebp
pop ebp
ret