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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
xor ebx, ebx
push esi
mov esi, ecx
cmp dword [esi + 0x3c], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
jbe 0x1017971
push edi
mov dword [ebp - 0xc], ebx
xor edi, edi
mov eax, dword [esi + 0x38]
cmp dword [edi + eax + 0x18], ebx
setne al
push eax
push 0x10022b4
push ebx
push ebx
push ebx
push 0x1005408
push dword [0x102256c]
push 4
call fcn.01020f34
mov eax, dword [esi + 0x38]
add eax, edi
lea ecx, [eax + 8]
push ecx
mov dword [ebp - 0x10], eax
mov eax, dword [0x1022574]
mov edx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x10]
push dword [ecx + 0x18]
push dword [ebp - 4]
push dword [esi + 0x20]
push 0x1022578
push eax
call dword [edx + 0x40]
cmp dword [ebp - 8], ebx
jl 0x10178ee
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0xc]
add eax, ecx
lea ecx, [eax + 4]
push ecx
push eax
add eax, 0x14
push eax
push 0x10053f0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov eax, dword [esi + 0x38]
push dword [edi + eax + 4]
mov ecx, 0x102204c
push dword [esi + 0x20]
call fcn.0101b0c8
cmp eax, ebx
mov dword [ebp - 8], eax
jl 0x10178ee
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0xc]
add eax, ecx
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx]
add eax, 0x18
push eax
push dword [ebp - 0x14]
push dword [0x102256c]
push 0x1022010
push ecx
call dword [edx + 0xc]
cmp eax, ebx
mov dword [ebp - 8], eax
jl 0x10178ee
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + eax + 0x1c], 1
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x100390c
push esi
mov dword [ebp - 0x10], ebx
call dword [eax]
test eax, eax
jl 0x1017848
cmp dword [ebp - 0x10], ebx
je 0x1017848
mov al, 1
jmp 0x101784a
xor al, al
push eax
push 0x1002cd8
push ebx
push ebx
push ebx
push 0x1005318
push dword [0x102256c]
push 4
call fcn.01020f34
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0xc]
add eax, ecx
mov ecx, dword [eax + 0x14]
lea edx, [eax + 8]
push edx
push dword [ebp - 4]
mov edx, dword [esi + 0x38]
push dword [esi + 0x20]
mov dword [ebp - 0x18], ecx
push dword [edi + edx + 0x18]
mov ecx, dword [ecx]
push dword [esi + 0x18]
push dword [esi + 0x24]
push dword [ebp - 0x10]
push dword [eax + 0x18]
push dword [ebp - 0x18]
call dword [ecx + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10178a8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 8], ebx
jl 0x10178ee
push dword [ebp - 8]
mov eax, dword [0x1022574]
push dword [ebp - 4]
mov ecx, dword [eax]
push dword [esi + 0x20]
push 0x1022578
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10178d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], 0x20
add edi, 0x1c
cmp eax, dword [esi + 0x3c]
jb 0x1017759
jmp 0x1017907
push dword [ebp - 8]
mov eax, dword [0x1022574]
push dword [ebp - 4]
mov ecx, dword [eax]
push dword [esi + 0x20]
push 0x1022578
push eax
call dword [ecx + 0x4c]
cmp dword [ebp - 8], ebx
jge 0x1017970
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x1017970
cmp eax, dword [esi + 0x3c]
setb al
push eax
push 0x10052d8
push ebx
push ebx
push ebx
push 0x1005200
push dword [0x102256c]
push 4
call fcn.01020f34
mov esi, dword [ebp - 0x18]
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
inc eax
push eax
mov ecx, esi
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x2c], 0x1b
mov byte [ebp - 0x2b], 2
call fcn.010140d6
push dword [ebp - 4]
lea eax, [ebp - 0x40]
push ebx
push eax
mov ecx, esi
call fcn.0101408a
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
pop edi
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret