Function at 0x100ecd60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10168afb
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
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 ebx, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x440], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x448], esi
call fcn.10098090
push 0x4e20
lea eax, [ebp - 0x218]
push 0x10191a90
push eax
call fcn.10091da4
add esp, 0x18
cmp word [esi], 0
jne 0x100ecde9
xor ecx, ecx
jmp 0x100ecdff
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ecdf0
sub ecx, edx
sar ecx, 1
push ecx
lea edi, [ebx + 0x18]
push esi
mov ecx, edi
call fcn.100048b0
push 6
push str.dz.dat
mov ecx, edi
call fcn.10004660
push 0xf
lea esi, [ebx + 0x30]
push 0x101917dc
mov ecx, esi
call fcn.100048b0
push 0x11
push str.__GS_SYS_DZ_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 0x100ece54
xor ecx, ecx
jmp 0x100ece6f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ece60
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 0x100ece92
mov eax, dword [esi]
jmp 0x100ece94
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x100ece9e
mov ecx, dword [edi]
jmp 0x100ecea0
mov ecx, edi
push eax
lea edx, [ebx + 4]
push edx
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebx + 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.1011dbd0
cmp dword [ebp - 0x43c], 0
mov dword [ebx + 0x10], eax
je 0x100ed275
mov eax, dword [ebp - 0x444]
cmp word [eax], 0
jne 0x100ecedc
xor ecx, ecx
jmp 0x100ecef6
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ecee1
mov eax, dword [ebp - 0x444]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.100048b0
push 6
push str.dz.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_DZ_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 0x100ecf53
xor ecx, ecx
jmp 0x100ecf6f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ecf60
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 0x100ecf92
mov ecx, dword [esi]
jmp 0x100ecf94
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x100ecf9e
mov eax, dword [edi]
jmp 0x100ecfa0
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 0x100ed275
mov eax, dword [ebp - 0x440]
cmp word [eax], 0
jne 0x100ecfdc
xor ecx, ecx
jmp 0x100ecff6
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ecfe1
mov eax, dword [ebp - 0x440]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.100048b0
push 6
push str.dz.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_DZ_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 0x100ed053
xor ecx, ecx
jmp 0x100ed06f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ed060
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 0x100ed092
mov ecx, dword [esi]
jmp 0x100ed094
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x100ed09e
mov eax, dword [edi]
jmp 0x100ed0a0
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 0x100ed275
push dword [ebp - 0x448]
lea ecx, [ebp - 0x438]
call fcn.10004410
push 6
push str.dz.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 0x100ed134
xor ecx, ecx
jmp 0x100ed14f
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ed140
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 0x100ed176
mov ecx, dword [edi]
jmp 0x100ed178
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_DZ_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 0x100ed1dc
xor ecx, ecx
jmp 0x100ed1f4
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ed1e5
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 0x100ed215
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x100ed21d
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 0x100ed270
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
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x100ed250
cmp dword [esi + 0xc], 0x4e20
jne 0x100ed250
mov ecx, str.__GS__
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100ed2b0
test dl, dl
je 0x100ed2ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100ed2b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100ed290
xor eax, eax
jmp 0x100ed2b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100ed250
lea eax, [esi + 0x10]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x58], 1
mov eax, 1
jmp 0x100ed252