Function at 0x42e170
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a03b6
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x4c9890]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x854], ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
push str.CInternal::parseAPReg
push str._UNO___s___s
mov dword [ebp - 0x844], eax
call fcn.00422df0
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], 0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 4], 0
call fcn.004866f0
add esp, 0x18
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x810]
je 0x42e22a
push str.apreg.url
push esi
push str._s_s
push eax
call fcn.0042f2d0
add esp, 0x10
jmp 0x42e239
push esi
push 0x4a6650
push eax
call fcn.0042f2d0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x4a314c
push eax
call fcn.00487587
mov edi, eax
add esp, 8
test edi, edi
je 0x42e2eb
push 2
push 0
push edi
call fcn.00488a13
push edi
call fcn.00488deb
push 0
mov esi, eax
push 0
push edi
mov dword [ebp - 0x858], esi
call fcn.00488a13
add esp, 0x1c
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x850]
call fcn.0042f170
mov eax, dword [ebp - 0x84c]
mov ebx, dword [ebp - 0x850]
sub eax, ebx
jne 0x42e2a5
push str.invalid_vector_T__subscript
call fcn.00486276
lea eax, [esi + 1]
push eax
push 0
push ebx
call fcn.004866f0
push edi
push esi
push 1
push ebx
call fcn.00487977
push edi
mov esi, eax
call fcn.00487717
add esp, 0x20
cmp esi, dword [ebp - 0x858]
je 0x42e3c9
push str.CInternal::parseAPReg
push str._UNO___s__parseAPReg_error__
call fcn.00422df0
add esp, 8
xor esi, esi
jmp 0x42e523
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e2f4
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x42e312
xor ecx, ecx
jmp 0x42e32f
add esi, esi
mov eax, esi
call fcn.0048aea0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x810]
push ecx
push eax
call fcn.004264f0
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e332
sub ecx, edx
lea edi, [ecx + 1]
push edi
lea ecx, [ebp - 0x850]
call fcn.0042f170
mov eax, dword [ebp - 0x84c]
mov ebx, dword [ebp - 0x850]
sub eax, ebx
jne 0x42e364
push str.invalid_vector_T__subscript
call fcn.00486276
push edi
push 0
push ebx
call fcn.004866f0
lea ecx, [ebp - 0x810]
add esp, 0xc
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e380
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x42e39e
xor eax, eax
jmp 0x42e3b9
add esi, esi
mov eax, esi
call fcn.0048aea0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x810]
push ecx
push eax
call fcn.004264f0
push eax
push 0x4afe94
push edi
push ebx
call fcn.0048a8f4
add esp, 0x10
push 0x4afe98
push ebx
call fcn.0048a2cb
add esp, 8
test eax, eax
jne 0x42e3e2
xor esi, esi
jmp 0x42e523
mov ebx, dword [ebp - 0x854]
jmp 0x42e3f0
mov edi, dword [ebp - 0x844]
push 0x4afe9c
push 0
call fcn.0048a2cb
mov esi, eax
add esp, 8
test esi, esi
je 0x42e4ef
push 0x3d
push esi
call fcn.0048a1a0
mov edi, eax
add esp, 8
test edi, edi
je 0x42e3f0
mov byte [edi], 0
push esi
inc edi
call fcn.0048a520
xor eax, eax
add esp, 4
mov dword [ebp - 0x82c], 7
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x840]
push eax
push esi
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0042f1f0
lea eax, [ebp - 0x828]
push eax
push edi
mov ecx, ebx
call fcn.0042f1f0
mov edi, dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push eax
mov ecx, edi
call fcn.0042e8a0
cmp dword [ebp - 0x814], 8
mov byte [ebp - 4], 0
jb 0x42e4b2
push dword [ebp - 0x828]
call fcn.00486409
add esp, 4
xor eax, eax
cmp dword [ebp - 0x82c], 8
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
jb 0x42e3f6
push dword [ebp - 0x840]
call fcn.00486409
add esp, 4
jmp 0x42e3f6
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.CInternal::parseAPReg
push 0x4afea0
call fcn.00422df0
mov ebx, dword [ebp - 0x850]
add esp, 0xc
mov esi, 1
test ebx, ebx
je 0x42e530
push ebx
call fcn.00486409
add esp, 4
mov eax, esi
lea esp, [ebp - 0x868]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487c50
mov esp, ebp
pop ebp
ret 8