Function at 0x100f1410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016904b
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
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 esi, ecx
mov dword [ebp - 0x440], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x448], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x454], ebx
call fcn.10098090
push 0x4e20
lea eax, [ebp - 0x218]
push 0x10191a90
push eax
call fcn.10091da4
add esp, 0x18
cmp word [edi], 0
jne 0x100f149f
xor ecx, ecx
jmp 0x100f14b3
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f14a4
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x444]
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.100048b0
push 6
push str.lx.dat
mov ecx, edi
call fcn.10004660
push 0xf
add esi, 0x2c
push 0x101917dc
mov ecx, esi
call fcn.100048b0
push 0x11
push str.__GS_SYS_LX_DAT__
mov ecx, esi
call fcn.10004660
push 0xa
push str.1.0.1.0701
mov ecx, esi
call fcn.10004660
cmp word [ebp - 0x218], 0
jne 0x100f150d
xor ecx, ecx
jmp 0x100f1525
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f1516
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10004660
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x43c], 0
jb 0x100f1548
mov eax, dword [esi]
jmp 0x100f154a
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x100f1554
mov ecx, dword [edi]
jmp 0x100f1556
mov ecx, edi
mov edx, dword [ebp - 0x440]
push eax
lea ebx, [edx + 4]
mov dword [ebp - 0x44c], ebx
lea ebx, [edx + 8]
mov dword [ebp - 0x450], ebx
lea ebx, [edx + 0xc]
lea eax, [edx + 4]
push eax
mov dword [ebp - 0x458], ebx
lea ebx, [edx + 8]
push ebx
lea eax, [ebp - 0x43c]
push eax
lea eax, [edx + 0xc]
push eax
push ecx
mov ecx, edx
call fcn.1011dbd0
cmp dword [ebp - 0x43c], 0
mov ecx, dword [ebp - 0x440]
mov ebx, dword [ebp - 0x454]
mov dword [ecx + 0x10], eax
je 0x100f1957
cmp word [ebx], 0
jne 0x100f15b9
xor ecx, ecx
jmp 0x100f15cf
mov ecx, ebx
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f15c0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, edi
call fcn.100048b0
push 6
push str.lx.dat
mov ecx, edi
call fcn.10004660
push 0xf
push 0x101917dc
mov ecx, esi
call fcn.100048b0
push 4
push str.BACK
mov ecx, esi
call fcn.10004660
push 0x11
push str.__GS_SYS_LX_DAT__
mov ecx, esi
call fcn.10004660
push 0xa
push str.1.0.1.0701
mov ecx, esi
call fcn.10004660
cmp word [ebp - 0x218], 0
jne 0x100f162c
xor ecx, ecx
jmp 0x100f1644
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f1635
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10004660
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x43c], 0
jb 0x100f1667
mov ecx, dword [esi]
jmp 0x100f1669
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x100f1673
mov eax, dword [edi]
jmp 0x100f1675
mov eax, edi
mov ebx, dword [ebp - 0x440]
push ecx
push dword [ebp - 0x44c]
lea ecx, [ebp - 0x43c]
push dword [ebp - 0x450]
push ecx
push dword [ebp - 0x458]
mov ecx, ebx
push eax
call fcn.1011dbd0
cmp dword [ebp - 0x43c], 0
mov dword [ebx + 0x10], eax
je 0x100f1959
mov eax, dword [ebp - 0x448]
cmp word [eax], 0
jne 0x100f16bd
xor ecx, ecx
jmp 0x100f16d7
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f16c2
mov eax, dword [ebp - 0x448]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.100048b0
push 6
push str.lx.dat
mov ecx, edi
call fcn.10004660
push 0xf
push 0x101917dc
mov ecx, esi
call fcn.100048b0
push 4
push str.USER
mov ecx, esi
call fcn.10004660
push 0x11
push str.__GS_SYS_LX_DAT__
mov ecx, esi
call fcn.10004660
push 0xa
push str.1.0.1.0701
mov ecx, esi
call fcn.10004660
cmp word [ebp - 0x218], 0
jne 0x100f1734
xor ecx, ecx
jmp 0x100f174f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f1740
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10004660
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x43c], 0
jb 0x100f1772
mov ecx, dword [esi]
jmp 0x100f1774
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x100f177e
mov eax, dword [edi]
jmp 0x100f1780
mov eax, edi
push ecx
lea ecx, [ebx + 4]
push ecx
lea ecx, [ebx + 8]
push ecx
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebx + 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.1011dbd0
cmp dword [ebp - 0x43c], 0
mov dword [ebx + 0x10], eax
je 0x100f1959
push dword [ebp - 0x444]
lea ecx, [ebp - 0x438]
call fcn.10004410
push 6
push str.lx.dat
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 0x100f1814
xor ecx, ecx
jmp 0x100f182f
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f1820
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 0x100f1856
mov ecx, dword [edi]
jmp 0x100f1858
mov ecx, edi
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push ecx
push eax
call fcn.1000e180
add esp, 8
mov ecx, esi
push 0xf
push 0x101917dc
call fcn.100048b0
push 4
push str.TEMP
mov ecx, esi
call fcn.10004660
push 0x11
push str.__GS_SYS_LX_DAT__
mov ecx, esi
call fcn.10004660
push 0xa
push str.1.0.1.0701
mov ecx, esi
call fcn.10004660
cmp word [ebp - 0x218], 0
jne 0x100f18bc
xor ecx, ecx
jmp 0x100f18d4
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f18c5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10004660
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x43c], 0
jb 0x100f18f5
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x100f18fd
mov edi, dword [edi]
push esi
lea eax, [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebx + 0xc]
push eax
push edi
mov ecx, ebx
call fcn.1011dbd0
cmp dword [ebp - 0x43c], 0
mov dword [ebx + 0x10], eax
lea ecx, [ebp - 0x438]
je 0x100f1950
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 0x100f1959
mov ebx, ecx
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x100f1930
cmp dword [eax + 0xc], 0x4e20
jne 0x100f1930
mov ecx, str.__GS__
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100f1990
test dl, dl
je 0x100f198c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100f1990
add eax, 2
add ecx, 2
test dl, dl
jne 0x100f1970
xor eax, eax
jmp 0x100f1995
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100f1930
mov dword [ebx + 0x44], 1
mov eax, 1
jmp 0x100f1932