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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
shl esi, 5
add esi, dword [edi + 0x10]
xor eax, eax
cmp dword [esi + 8], eax
setne cl
movzx ecx, cl
push ecx
push 0x1009d30
push eax
push eax
push eax
push 0x1009c38
push dword [0x102e5ac]
push 4
call fcn.0102c428
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x28]
mov ecx, dword [ebp - 0x10]
cmp dword [edi + 0x6c], ecx
mov ebx, 0x1004c00
jle 0x10213d1
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x10213ce
test dword [eax + 0x9c], 0x4000
je 0x10213ce
cmp byte [eax + 0x99], 3
jb 0x10213ce
push dword [ebp + 8]
mov edx, dword [esi + 4]
push dword [edx + 0xc]
push ecx
push ebx
push 0x4c
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.0101cd9d
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x6c], ecx
push dword [ebp - 0x14]
mov ecx, dword [edi + 0x70]
push ecx
call fcn.0101e0bb
push dword [ebp - 0x18]
mov edx, eax
mov eax, dword [edi + 0x74]
push eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], eax
call fcn.0101e0bb
mov dword [ebp - 8], eax
test edx, edx
je 0x10214a9
test eax, eax
je 0x10214a7
cmp edx, ecx
je 0x102144a
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x102144f
test dword [eax + 0x9c], 0x4000
je 0x102144f
cmp byte [eax + 0x99], 3
jb 0x102144f
push dword [ebp + 8]
mov edx, dword [esi + 4]
push dword [edx + 0xc]
push ecx
push dword [ebp - 0xc]
push ebx
push 0x4e
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.0101cd1e
mov eax, dword [0x102e010]
mov ecx, dword [edi + 0x74]
cmp dword [ebp - 8], ecx
je 0x1021494
cmp eax, 0x102e010
je 0x1021494
test dword [eax + 0x9c], 0x4000
je 0x1021494
cmp byte [eax + 0x99], 3
jb 0x1021494
push dword [ebp + 8]
mov edx, dword [esi + 4]
push dword [edx + 0xc]
push ecx
push dword [ebp - 8]
push ebx
push 0x4f
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.0101cd1e
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x70], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x74], eax
xor eax, eax
jmp 0x102159d
test edx, edx
sete byte [ebp - 1]
mov eax, dword [0x102e010]
cmp eax, 0x102e010
je 0x10214f5
test dword [eax + 0x9c], 0x4000
je 0x10214f5
cmp byte [eax + 0x99], 2
jb 0x10214f5
push dword [ebp + 8]
mov edx, dword [esi + 4]
push dword [edx + 0xc]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
push ecx
push ebx
push 0x4d
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.0101cc95
mov ecx, edi
call fcn.0101f175
test al, al
jne 0x1021598
cmp dword [0x102e46c], 0
je 0x1021598
cmp byte [0x102e435], 0
mov al, byte [0x102e470]
je 0x1021527
cmp al, 2
jae 0x102155a
test al, al
jmp 0x1021558
cmp al, 2
jae 0x102152f
test al, al
jne 0x1021598
mov ecx, dword [0x102e45c]
mov edx, 0x20000000
and ecx, edx
xor eax, eax
or eax, ecx
je 0x1021598
mov ecx, dword [0x102e464]
mov eax, ecx
and eax, edx
xor edx, edx
cmp edx, dword [0x102e460]
jne 0x1021598
cmp eax, ecx
jne 0x1021598
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 0xc]
jne 0x10215a4
mov eax, dword [ebp - 8]
mov ecx, 0x1009c14
mov edx, dword [esi + 4]
push dword [edx + 0xc]
cdq
push edx
push eax
push ecx
push dword [edi + 0x24]
push 0x102e5b4
push 0x10012a4
push 0x1001428
push dword [0x102e444]
push dword [0x102e440]
call fcn.0101d3e3
mov eax, 0x80004004
pop edi
pop esi
pop ebx
leave
ret 4
mov ecx, 0x1009be8
jmp 0x102156b