Function at 0x1014783
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
push edi
xor edi, edi
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
push 4
mov dword [eax], edi
mov eax, dword [ebp + 8]
xor ecx, ecx
pop ebx
mov edx, ebx
mul edx
seto cl
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
neg ecx
or ecx, eax
push ecx
call fcn.0101fb27
cmp eax, edi
pop ecx
mov dword [ebp - 0xc], eax
jne 0x1014802
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x10147f8
test byte [eax + 0x9c], bl
je 0x10147f8
cmp byte [eax + 0x99], 2
jb 0x10147f8
push 0x100186c
push 0x3d
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010120f2
mov eax, 0x8007000e
jmp 0x10149cb
mov ecx, dword [ebp + 8]
push esi
shl ecx, 2
push ecx
push edi
push eax
call fcn.010203a4
mov ecx, dword [0x1022570]
mov esi, dword [ecx]
add esp, 0xc
push ebx
call dword [esi + 0xc]
mov ecx, dword [0x1022570]
push eax
push edi
push ebx
push edi
lea eax, [ebp - 8]
push eax
call dword [esi + 0x20]
mov esi, eax
cmp esi, edi
jge 0x101489b
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x101486d
test byte [eax + 0x9c], bl
je 0x101486d
cmp byte [eax + 0x99], 2
jb 0x101486d
push esi
push 0x100186c
push 0x3e
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.01013553
or esi, 0x10000000
cmp dword [ebp - 8], edi
mov dword [ebp - 4], esi
sete al
push eax
push 0x1002df0
push edi
push edi
push edi
push 0x1002d10
push dword [0x102256c]
push ebx
call fcn.01020f34
jmp 0x101497d
xor ebx, ebx
cmp dword [ebp + 8], edi
jbe 0x1014982
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0xc]
mov esi, eax
cmp esi, edi
jl 0x10148df
push edi
push edi
push dword [ebp - 0x10]
push 0x10138c5
push edi
push edi
call dword [0x1001070]
cmp eax, edi
mov ecx, dword [ebp - 0xc]
mov dword [ecx + ebx*4], eax
je 0x1014923
inc ebx
cmp ebx, dword [ebp + 8]
jb 0x10148a6
jmp 0x1014982
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x1014918
test word [eax + 0x9c], 0x4000
je 0x1014918
cmp byte [eax + 0x99], 2
jb 0x1014918
push esi
push 0x100186c
push 0x3f
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.01013553
or esi, 0x10000000
mov dword [ebp - 4], esi
jmp 0x101497d
call dword [fcn.0100103c]
cmp eax, edi
jle 0x1014937
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x1014975
test word [eax + 0x9c], 0x4000
je 0x1014975
cmp byte [eax + 0x99], 2
jb 0x1014975
push dword [ebp - 4]
push 0x100186c
push 0x40
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.01013553
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 4], edi
jl 0x1014994
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
jmp 0x10149c7
xor esi, esi
cmp dword [ebp + 8], edi
jbe 0x10149b2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
cmp eax, edi
je 0x10149ac
push eax
call dword [fcn.01001030]
inc esi
cmp esi, dword [ebp + 8]
jb 0x101499b
push dword [ebp - 0xc]
call fcn.0101fb42
pop ecx
mov ecx, dword [ebp - 8]
cmp ecx, edi
je 0x10149c7
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 4]
pop esi
pop edi
pop ebx
leave
ret 0xc