Function at 0x4259a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x459ce0
push eax
mov eax, 0x10a8
mov dword fs:[0], esp
call fcn.00457870
mov eax, dword [0x4631a0]
push ebx
push esi
push edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], esi
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x30], al
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov cx, word [0x468b0c]
xor eax, eax
mov word [ebp - 0x10b4], cx
mov ecx, 0x207
lea edi, [ebp - 0x10b2]
lea edx, [ebp - 0x10b4]
rep stosd dword es:[edi], eax
push 0x410
push edx
push str.linkspopmgrcfg.dat
push esi
mov byte [ebp - 4], 2
stosw word es:[edi], ax
call fcn.004083e0
mov dx, word [0x468b0c]
mov ecx, 0x103
xor eax, eax
lea edi, [ebp - 0x892]
mov word [ebp - 0x894], dx
mov word [ebp - 0x484], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x103
xor eax, eax
lea edi, [ebp - 0x482]
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4631a0]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 3
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x484]
lea eax, [ebp - 0x894]
push edx
push 0x104
push 0x464960
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x10b4]
test ecx, ecx
jne 0x425aa5
xor eax, eax
jmp 0x425ab2
lea edx, [ebp - 0x10b4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x10b4]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408770
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [ebp - 0x484]
test edx, edx
jne 0x425ad7
mov dword [ebp - 0x10], esi
jmp 0x425b13
lea eax, [ebp - 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00457870
mov esi, esp
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x484]
push 0xffffffffffffffff
push ecx
push 0
push 0
mov byte [esi], 0
call ebx
mov dword [ebp - 0x10], esi
xor esi, esi
mov eax, dword [ebp - 0x1c]
cmp eax, esi
mov dword [ebp - 0x34], eax
je 0x425b4b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00457870
mov edx, dword [ebp - 0x34]
mov esi, esp
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [esi], 0
call ebx
mov eax, dword [ebp - 0x10]
push eax
push esi
call fcn.004231a0
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x484]
add esp, 8
test edx, edx
lea esi, [ecx + 0x118]
jne 0x425b6f
xor edi, edi
jmp 0x425b7e
lea eax, [ebp - 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, esi
call fcn.00401cb0
test eax, eax
je 0x425bb2
mov eax, dword [esi]
lea ebx, [edi + edi]
lea ecx, [ebp - 0x484]
push ebx
lea edx, [edi + edi + 2]
push ecx
push edx
push eax
call fcn.00401bc0
mov ecx, dword [esi]
add esp, 0x10
mov dword [ecx - 8], edi
mov edx, dword [esi]
mov word [edx + ebx], 0
mov eax, dword [esi]
push ecx
mov dword [ebp - 0x3c], esp
mov edi, esp
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x425bcf
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x425bf0
mov eax, dword [0x4631a0]
mov dword [edi], eax
mov esi, dword [esi]
test esi, esi
jne 0x425be0
xor eax, eax
jmp 0x425be7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
mov ecx, edi
call fcn.00408770
mov edi, dword [ebp - 0x38]
lea esi, [edi + 0x12c]
mov ecx, esi
call fcn.00440000
test eax, eax
je 0x425f5c
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call fcn.00441720
mov edx, dword [eax]
mov bl, 4
mov byte [ebp - 4], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x425c6e
push ecx
mov ecx, esi
mov eax, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.00441720
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x48], esp
push ecx
mov ecx, esi
call fcn.004417f0
push ecx
lea edx, [ebp - 0x10b4]
mov ecx, esp
mov dword [ebp - 0x44], esp
push edx
mov byte [ebp - 4], 6
call fcn.004171e0
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00425480
test eax, eax
sete al
test al, al
je 0x425c6e
mov bl, 1
jmp 0x425c70
xor bl, bl
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4631a4]
mov byte [ebp - 4], 3
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x425ca1
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x425ca1
mov edx, dword [ebp - 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0044bf22
add esp, 4
test bl, bl
jne 0x425f5c
mov ecx, esi
call fcn.0043f220
xor ecx, ecx
mov dword [ebp - 0x3c], eax
test eax, eax
mov dword [ebp - 0x34], ecx
jle 0x425f5c
mov bl, 9
jmp 0x425cc7
mov edi, dword [ebp - 0x38]
add edi, 0x12c
push ecx
mov ecx, edi
call fcn.0043f230
test eax, eax
je 0x425f4a
push ecx
mov ecx, edi
mov eax, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.004413e0
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x70], esp
push ecx
mov ecx, edi
call fcn.004414b0
push ecx
lea edx, [ebp - 0x10b4]
mov ecx, esp
mov dword [ebp - 0x74], esp
push edx
mov byte [ebp - 4], 8
call fcn.004171e0
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00425480
test eax, eax
je 0x425f4a
call fcn.00422b90
test eax, eax
jne 0x425d39
call fcn.004082a0
test eax, eax
je 0x425d48
mov ecx, edi
call fcn.0043ead0
test eax, eax
je 0x425f4a
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
push eax
call fcn.00432aa0
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov esi, eax
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.00430890
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x20]
push edx
push eax
mov ecx, edi
mov dword [ebp - 0x28], esi
call fcn.00441050
mov eax, dword [ebp - 0x20]
mov edi, eax
test eax, eax
mov dword [ebp - 0x10], edi
je 0x425f4a
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x425f4a
mov ecx, dword [ebp - 0x28]
sub ecx, eax
sar ecx, 4
je 0x425f4a
lea edx, [ebp - 0x3d]
lea ecx, [ebp - 0x6c]
push edx
call fcn.0042f830
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
cmp esi, eax
mov byte [ebp - 4], bl
je 0x425ee3
mov eax, dword [esi]
push 2
push 0x464958
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x425dfd
mov eax, dword [esi]
lea ecx, [ebp - 0x11]
add eax, 4
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00426090
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.00409c90
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.00401c80
lea ecx, [ebp - 0x18]
push ecx
push 1
push esi
lea ecx, [ebp - 0x11]
call fcn.004261e0
test eax, eax
je 0x425e8b
mov eax, dword [esi + 0xc]
lea edi, [esi + 4]
test eax, eax
je 0x425e8b
lea ecx, [ebp - 0x50]
call fcn.0042e190
mov edx, dword [edi + 4]
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x4c], edx
call fcn.00409c90
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004306b0
mov eax, dword [edi + 4]
test eax, eax
mov eax, str.TRUE
jne 0x425e56
mov eax, str.FALSE
mov edx, dword [esi]
lea ecx, [ebp - 0x58]
push edx
push eax
mov eax, dword [edi]
push eax
push str._t_t_s_s:__s_n
push ecx
call fcn.00421b40
add esp, 0x14
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.00409d60
lea ecx, [ebp - 0x58]
call fcn.00401c80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x50]
jmp 0x425ecd
push 0x88
lea ecx, [ebp - 0x44]
call fcn.004171e0
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov eax, dword [eax]
push edx
push ecx
lea edx, [ebp - 0x54]
push eax
push edx
mov byte [ebp - 4], 0xb
call fcn.00421b40
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00409d60
lea ecx, [ebp - 0x54]
call fcn.00401c80
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.00401c80
mov eax, dword [ebp - 0x28]
add esi, 0x10
cmp esi, eax
jne 0x425dc0
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x10]
push eax
xor esi, esi
push ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00422010
add esp, 0xc
test eax, eax
je 0x425f09
mov esi, dword [ebp - 0x10]
mov eax, str.TRUE
test esi, esi
jne 0x425f0e
mov eax, str.FALSE
push eax
push edi
lea edx, [ebp - 0x48]
push str._t_t__s__s_n
push edx
call fcn.00421b40
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.00409d60
lea ecx, [ebp - 0x48]
call fcn.00401c80
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.0042f850
test esi, esi
jne 0x42601f
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
inc ecx
cmp ecx, eax
mov dword [ebp - 0x34], ecx
jl 0x425cc4
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x4631a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x425f89
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x425f89
mov edx, dword [ebp - 0x1c]
lea eax, [edx - 0xc]
push eax
call fcn.0044bf22
add esp, 4
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
cmp esi, edi
mov byte [ebp - 4], 1
je 0x425faa
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.004335a0
add esi, 0x10
cmp esi, edi
jne 0x425f99
jmp 0x425fac
xor ebx, ebx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044bf22
mov eax, dword [ebp - 0x20]
mov edx, dword [0x4631a4]
add esp, 4
mov dword [ebp - 0x2c], ebx
lea ecx, [eax - 0xc]
mov dword [ebp - 0x28], ebx
cmp ecx, edx
mov dword [ebp - 0x24], ebx
je 0x425fee
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x425fee
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff4
push edx
call fcn.0044bf22
add esp, 4
mov eax, dword [ebp - 0x18]
mov edx, dword [0x4631a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42601b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42601b
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff4
push edx
call fcn.0044bf22
add esp, 4
xor eax, eax
jmp 0x42606d
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x4631a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42604c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42604c
mov edx, dword [ebp - 0x1c]
lea eax, [edx - 0xc]
push eax
call fcn.0044bf22
add esp, 4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0042f890
lea ecx, [ebp - 0x20]
call fcn.00401c80
lea ecx, [ebp - 0x18]
call fcn.00401c80
mov eax, 1
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x10c0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret