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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x102e0a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
mov esi, 0x1008fac
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
test eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
setne al
movzx eax, al
push eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x14]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x18]
mov esi, 0x100280c
push esi
push 0x538
push 1
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x1c]
push 3
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 0x24]
push 0x1008ee8
push dword [0x102e5ac]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp + 0x2c]
push 4
mov dword [ebp - 0x30], ecx
call fcn.0102c428
cmp dword [ebp - 0x34], 0
setne al
movzx eax, al
push eax
push esi
push 0x539
xor edi, edi
inc edi
push edi
push 3
push 0x1008e20
push dword [0x102e5ac]
push 4
call fcn.0102c428
cmp dword [ebp - 0x24], 0
setne al
movzx eax, al
push eax
push esi
push 0x53a
push edi
push 3
push 0x1008d58
push dword [0x102e5ac]
push 4
call fcn.0102c428
cmp dword [ebp - 0x20], 0
setne al
movzx eax, al
push eax
push esi
push 0x53b
push edi
push 3
push 0x1008c90
push dword [0x102e5ac]
push 4
call fcn.0102c428
cmp dword [ebp - 0x28], 0
setne al
movzx eax, al
push eax
push esi
push 0x53c
push edi
push 3
push 0x1008bc8
push dword [0x102e5ac]
push 4
call fcn.0102c428
cmp dword [ebp - 0x38], 0
setne al
movzx eax, al
push eax
push esi
push 0x53d
push edi
push 3
push 0x1008b00
push dword [0x102e5ac]
push 4
call fcn.0102c428
cmp dword [ebp + 0x28], 0
setne al
movzx eax, al
push eax
push esi
push 0x53e
push edi
push 3
push 0x1008a38
push dword [0x102e5ac]
push 4
call fcn.0102c428
cmp dword [ebp - 0x30], 0
setne al
movzx eax, al
push eax
push esi
push 0x53f
push edi
push 3
push 0x1008970
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [0x102e5ac]
mov ecx, dword [eax]
lea edx, [ebx + 0x4c]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x101fa91
mov eax, dword [0x102e5ac]
mov ecx, dword [eax]
lea edx, [ebx + 0xb0]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x101fa91
mov eax, dword [0x102e5ac]
mov ecx, dword [eax]
lea edx, [ebx + 0xc8]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x101facc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x101faa5
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x101fab0
mov esi, 0x80004005
push dword [ebp - 0x1c]
call fcn.0102afb2
pop ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0102b6d8
leave
ret 0x2c
mov eax, dword [0x102e5ac]
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x7fffffff
push dword [ebp - 0x18]
call fcn.01019eeb
mov esi, eax
test esi, esi
jge 0x101fb26
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x101fab0
test dword [eax + 0x9c], 0x4000
je 0x101fab0
cmp byte [eax + 0x99], 2
jb 0x101fab0
push esi
push 0x1004c00
push 0xd
jmp 0x101ff13
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0102af97
pop ecx
mov dword [ebx + 0x20], eax
mov edi, 0x102e010
test eax, eax
jne 0x101fb88
mov eax, dword [0x102e010]
cmp eax, edi
je 0x101fb83
test dword [eax + 0x9c], 0x4000
je 0x101fb83
cmp byte [eax + 0x99], 1
jb 0x101fb83
push 0x1004c00
push 0xe
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010165d0
mov esi, 0x8007000e
test esi, esi
jl 0x101fab0
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebx + 0x20]
call fcn.01019e7c
mov esi, eax
test esi, esi
jge 0x101fbdb
mov eax, dword [0x102e010]
cmp eax, edi
je 0x101fab0
test dword [eax + 0x9c], 0x4000
je 0x101fab0
cmp byte [eax + 0x99], 2
jb 0x101fab0
push esi
push 0x1004c00
push 0xf
jmp 0x101ff13
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x7fffffff
push dword [ebp - 0x24]
call fcn.01019eeb
mov esi, eax
test esi, esi
jge 0x101fc2d
mov eax, dword [0x102e010]
cmp eax, edi
je 0x101fab0
test dword [eax + 0x9c], 0x4000
je 0x101fab0
cmp byte [eax + 0x99], 2
jb 0x101fab0
push esi
push 0x1004c00
push 0x10
jmp 0x101ff13
mov edi, dword [ebp - 0x14]
add edi, 5
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
mov dword [ebp - 0x18], edi
neg ecx
or ecx, eax
push ecx
call fcn.0102af97
pop ecx
mov dword [ebx + 0x2c], eax
test eax, eax
jne 0x101fc92
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x101fc8d
test dword [eax + 0x9c], 0x4000
je 0x101fc8d
cmp byte [eax + 0x99], 1
jb 0x101fc8d
push 0x1004c00
push 0x11
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010165d0
mov esi, 0x8007000e
test esi, esi
jl 0x101fab0
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebx + 0x2c]
call fcn.01019e7c
mov esi, eax
test esi, esi
jge 0x101fce7
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x101fab0
test dword [eax + 0x9c], 0x4000
je 0x101fab0
cmp byte [eax + 0x99], 2
jb 0x101fab0
push esi
push 0x1004c00
push 0x12
jmp 0x101ff13
push dword [ebp - 0x24]
push edi
push dword [ebx + 0x2c]
call fcn.0101735d
mov esi, eax
test esi, esi
jge 0x101fd43
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x101fab0
test dword [eax + 0x9c], 0x4000
je 0x101fab0
cmp byte [eax + 0x99], 2
jb 0x101fab0
push 0x1004c00
push 0x13
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010165d0
jmp 0x101fab0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x7fffffff
push dword [ebp - 0x20]
call fcn.01019eeb
mov esi, eax
test esi, esi
jge 0x101fd9b
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x101fda7
test dword [eax + 0x9c], 0x4000
je 0x101fda7
cmp byte [eax + 0x99], 2
jb 0x101fda7
push esi
mov edi, 0x1004c00
push edi
push 0x14
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010164b8
jmp 0x101fdac
mov ecx, dword [ebp - 0x14]
mov eax, edi
lea eax, [eax + ecx + 1]
mov dword [ebp - 0x18], eax
mov edi, 0x1004c00
test esi, esi
jl 0x101fab0
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0102af97
pop ecx
mov dword [ebx + 0x30], eax
test eax, eax
jne 0x101fe10
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x101fe0b
test dword [eax + 0x9c], 0x4000
je 0x101fe0b
cmp byte [eax + 0x99], 1
jb 0x101fe0b
push edi
push 0x15
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010165d0
mov esi, 0x8007000e
test esi, esi
jl 0x101fab0
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push dword [ebx + 0x30]
call fcn.01019e7c
mov esi, eax
test esi, esi
jge 0x101fe62
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x101fab0
test dword [eax + 0x9c], 0x4000
je 0x101fab0
cmp byte [eax + 0x99], 2
jb 0x101fab0
push esi
push edi
push 0x16
jmp 0x101ff13
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0102af97
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x101febb
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x101feb6
test dword [eax + 0x9c], 0x4000
je 0x101feb6
cmp byte [eax + 0x99], 2
jb 0x101feb6
push edi
push 0x17
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010165d0
mov esi, 0x8007000e
test esi, esi
jl 0x101fab0
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push 0x1008960
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.010173ff
mov esi, eax
add esp, 0x14
test esi, esi
jge 0x101ff29
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x101fab0
test dword [eax + 0x9c], 0x4000
je 0x101fab0
cmp byte [eax + 0x99], 2
jb 0x101fab0
push esi
push edi
push 0x18
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010164b8
jmp 0x101fab0
mov eax, dword [ebp + 0x28]
xor ecx, ecx
push 0x20
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0102af97
pop ecx
test eax, eax
je 0x101ff70
mov ecx, dword [ebp + 0x28]
push 0x101e251
push ecx
lea edi, [eax + 4]
push 0x20
push edi
mov dword [eax], ecx
call fcn.0101842c
mov eax, edi
mov edi, 0x1004c00
jmp 0x101ff72
xor eax, eax
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x101ffc0
mov esi, 0x8007000e
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x101fab0
test dword [eax + 0x9c], 0x4000
je 0x101fab0
cmp byte [eax + 0x99], 2
jb 0x101fab0
push esi
push edi
push 0x19
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010164b8
test esi, esi
jl 0x101fab0
xor eax, eax
push eax
push 0x40000000
push 3
push eax
push eax
push 0xc0000000
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x50], eax
cmp eax, 0xffffffff
jne 0x1020036
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x101fffe
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x1020036
test dword [eax + 0x9c], 0x4000
je 0x1020036
cmp byte [eax + 0x99], 2
jb 0x1020036
push esi
push edi
push 0x1a
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010164b8
test esi, esi
jl 0x101fab0
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x58], eax
mov al, byte [ebp + 0x30]
mov byte [ebx + 0xa8], al
lea eax, [ebx + 0xf0]
push eax
mov ecx, ebx
call fcn.0101d970
jmp 0x101fab9