Function at 0x1010a9c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016b9cb
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x101bd92c]
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 edi, ecx
mov dword [ebp - 0x43c], edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x44c], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x448], ebx
call fcn.10098090
add esp, 0xc
cmp word [ebx], 0
jne 0x1010aa33
xor ecx, ecx
jmp 0x1010aa4f
mov ecx, ebx
lea edx, [ecx + 2]
jmp 0x1010aa40
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010aa40
sub ecx, edx
sar ecx, 1
push ecx
add edi, 0x2c
push ebx
mov ecx, edi
call fcn.100048b0
push 6
push str.yy.idx
mov ecx, edi
call fcn.10004660
cmp word [ebx], 0
jne 0x1010aa73
xor ecx, ecx
jmp 0x1010aa8f
mov ecx, ebx
lea edx, [ecx + 2]
jmp 0x1010aa80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010aa80
sub ecx, edx
sar ecx, 1
mov ebx, dword [ebp - 0x43c]
push ecx
push dword [ebp - 0x448]
add ebx, 0x44
mov ecx, ebx
call fcn.100048b0
push 6
push str.yy.dat
mov ecx, ebx
call fcn.10004660
push 0x4e20
push str.1.0.1.0701
push str.__GS_SYS_YY_IDX__
push 0x101917dc
lea eax, [ebp - 0x218]
push str._s_s_s_d
push eax
call fcn.10091da4
add esp, 0x18
cmp word [ebp - 0x218], 0
jne 0x1010aaea
xor ecx, ecx
jmp 0x1010ab02
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010aaf3
sub ecx, edx
sar ecx, 1
mov eax, dword [ebp - 0x43c]
push ecx
add eax, 0x5c
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
mov dword [ebp - 0x444], eax
call fcn.100048b0
push 0x4e20
push str.1.0.1.0701
push str.__GS_SYS_YY_DAT__
push 0x101917dc
lea eax, [ebp - 0x218]
push str._s_s_s_d
push eax
call fcn.10091da4
add esp, 0x18
cmp word [ebp - 0x218], 0
jne 0x1010ab56
xor ecx, ecx
jmp 0x1010ab6f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010ab60
sub ecx, edx
sar ecx, 1
mov eax, dword [ebp - 0x43c]
push ecx
add eax, 0x74
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
mov dword [ebp - 0x440], eax
call fcn.100048b0
mov eax, dword [ebp - 0x43c]
mov ecx, eax
mov byte [eax + 6], 9
call fcn.10109220
test eax, eax
jne 0x1010b0aa
cmp word [esi], ax
jne 0x1010abaf
xor ecx, ecx
jmp 0x1010abc3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010abb4
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.100048b0
push 6
push str.yy.idx
mov ecx, edi
call fcn.10004660
cmp word [esi], 0
jne 0x1010abe4
xor ecx, ecx
jmp 0x1010abff
mov ecx, esi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010abf0
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.100048b0
push 6
push str.yy.dat
mov ecx, ebx
call fcn.10004660
push 0x4e20
push str.1.0.1.0701
push str.__GS_SYS_YY_IDX__
push 0x101917dc
lea eax, [ebp - 0x218]
push str._sBACK_s_s_d
push eax
call fcn.10091da4
add esp, 0x18
cmp word [ebp - 0x218], 0
jne 0x1010ac4c
xor ecx, ecx
jmp 0x1010ac64
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010ac55
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x444]
lea eax, [ebp - 0x218]
push eax
call fcn.100048b0
push 0x4e20
push str.1.0.1.0701
push str.__GS_SYS_YY_DAT__
push 0x101917dc
lea eax, [ebp - 0x218]
push str._sBACK_s_s_d
push eax
call fcn.10091da4
add esp, 0x18
cmp word [ebp - 0x218], 0
jne 0x1010acad
xor ecx, ecx
jmp 0x1010acc5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010acb6
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x218]
push eax
call fcn.100048b0
mov ecx, dword [ebp - 0x43c]
call fcn.10109220
test eax, eax
jne 0x1010b0aa
mov esi, dword [ebp - 0x44c]
cmp word [esi], ax
jne 0x1010acfa
xor ecx, ecx
jmp 0x1010ad0f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010ad00
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.100048b0
push 6
push str.yy.idx
mov ecx, edi
call fcn.10004660
cmp word [esi], 0
jne 0x1010ad30
xor ecx, ecx
jmp 0x1010ad44
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010ad35
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.100048b0
push 6
push str.yy.dat
mov ecx, ebx
call fcn.10004660
push 0x4e20
push str.1.0.1.0701
push str.__GS_SYS_YY_IDX__
push 0x101917dc
lea eax, [ebp - 0x218]
push str._sBACK_s_s_d
push eax
call fcn.10091da4
add esp, 0x18
cmp word [ebp - 0x218], 0
jne 0x1010ad91
xor ecx, ecx
jmp 0x1010adaf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010ada0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x444]
lea eax, [ebp - 0x218]
push eax
call fcn.100048b0
push 0x4e20
push str.1.0.1.0701
push str.__GS_SYS_YY_DAT__
push 0x101917dc
lea eax, [ebp - 0x218]
push str._sBACK_s_s_d
push eax
call fcn.10091da4
add esp, 0x18
cmp word [ebp - 0x218], 0
jne 0x1010adf8
xor ecx, ecx
jmp 0x1010ae10
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010ae01
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x218]
push eax
call fcn.100048b0
mov ecx, dword [ebp - 0x43c]
call fcn.10109220
test eax, eax
jne 0x1010b0aa
mov esi, dword [ebp - 0x448]
push esi
lea ecx, [ebp - 0x438]
call fcn.10004410
push 6
push str.yy.idx
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
call fcn.10004660
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.10098090
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x420], 0
jne 0x1010ae9f
xor ecx, ecx
jmp 0x1010aebf
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
jmp 0x1010aeb0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010aeb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
mov ecx, edi
call fcn.100048b0
push 6
push str.dz.dat
mov ecx, edi
call fcn.10004660
cmp dword [edi + 0x14], 8
jb 0x1010aee4
mov edi, dword [edi]
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push edi
push eax
call fcn.1000e180
add esp, 8
cmp word [esi], 0
jne 0x1010af0c
xor ecx, ecx
jmp 0x1010af20
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010af11
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x438]
call fcn.100048b0
push 6
push str.yy.dat
lea ecx, [ebp - 0x438]
call fcn.10004660
cmp word [ebp - 0x420], 0
jne 0x1010af4d
xor ecx, ecx
jmp 0x1010af65
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010af56
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
mov ecx, ebx
call fcn.100048b0
push 6
push str.yy.dat
mov ecx, ebx
call fcn.10004660
cmp dword [ebx + 0x14], 8
jb 0x1010af8a
mov ebx, dword [ebx]
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push ebx
push eax
call fcn.1000e180
push 0x4e20
push str.1.0.1.0701
push str.__GS_SYS_YY_IDX__
push 0x101917dc
lea eax, [ebp - 0x218]
push str._sTEMP_s_s_d
push eax
call fcn.10091da4
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x1010afdb
xor ecx, ecx
jmp 0x1010aff3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010afe4
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x444]
lea eax, [ebp - 0x218]
push eax
call fcn.100048b0
push 0x4e20
push str.1.0.1.0701
push str.__GS_SYS_YY_DAT__
push 0x101917dc
lea eax, [ebp - 0x218]
push str._sTEMP_s_s_d
push eax
call fcn.10091da4
add esp, 0x18
cmp word [ebp - 0x218], 0
jne 0x1010b03c
xor ecx, ecx
jmp 0x1010b054
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010b045
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x218]
push eax
call fcn.100048b0
mov ebx, dword [ebp - 0x43c]
mov ecx, ebx
call fcn.10109220
lea ecx, [ebp - 0x438]
test eax, eax
jne 0x1010b0a3
call fcn.10004470
xor eax, eax
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.1009174c
mov esp, ebp
pop ebp
ret 0xc
call fcn.10004470
jmp 0x1010b0b0
mov ebx, dword [ebp - 0x43c]
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x1010b083
mov edi, dword [ebx + 0x24]
test edi, edi
je 0x1010b083
cmp dword [esi + 0xc], 0x4e20
jne 0x1010b083
mov ecx, str.__GS__
mov eax, esi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1010b0f0
test dl, dl
je 0x1010b0ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1010b0f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1010b0d0
xor eax, eax
jmp 0x1010b0f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1010b083
lea eax, [esi + 0x10]
mov dword [ebx + 0x20], eax
cmp dword [edi + 0xc], 0x4e20
jne 0x1010b083
mov ecx, str.__GS__
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1010b133
test dl, dl
je 0x1010b12f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1010b133
add eax, 2
add ecx, 2
test dl, dl
jne 0x1010b113
xor eax, eax
jmp 0x1010b138
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1010b083
lea eax, [edi + 0x10]
mov dword [ebx + 0x28], eax
mov byte [ebx + 5], 1
mov eax, 1
jmp 0x1010b085