Function at 0x425e0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6d70
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x177b]
push edi
mov edi, 0x3e7
xor ebx, ebx
push edi
push ebx
push eax
mov byte [ebp - 0x177c], bl
call fcn.00626f50
push edi
lea eax, [ebp - 0x1f4b]
mov byte [ebp - 0x1f4c], bl
push ebx
push eax
call fcn.00626f50
push esi
mov dword [ebp - 0xc], 0x2e707466
mov dword [ebp - 8], 0x63786f
call fcn.00631510
add esp, 0x1c
cmp eax, 1
jae 0x425ead
lea eax, [ebp - 0x1f4c]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x425ea0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RecoverDirectoryOpusPasswords
push str._s_Failed_to_find_appdata_folder__Error0x_.8x
jmp 0x426363
mov eax, str._sGPSoftwareDirectory_OpusConfigFiles_s
lea esi, [ebp - 0x1f4c]
jmp 0x425eb2
mov eax, str._sConfigFiles_s
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
lea eax, [ebp - 0x177c]
push 0x3e8
push eax
call fcn.00445d6d
lea eax, [ebp - 0x177c]
push eax
push str._n_Final_file_path_is____s
call fcn.00449974
push 0x66ca20
lea eax, [ebp - 0x177c]
mov dword [ebp - 0x6d70], ebx
push eax
lea eax, [ebp - 0x6d70]
push eax
call fcn.00632119
add esp, 0x28
test eax, eax
jne 0x426352
cmp dword [ebp - 0x6d70], ebx
je 0x426352
push edi
lea eax, [ebp - 0x1393]
mov byte [ebp - 0x1394], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0xbc3]
mov byte [ebp - 0xbc4], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0xfab]
mov byte [ebp - 0xfac], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x7db]
mov byte [ebp - 0x7dc], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x3f3]
mov byte [ebp - 0x3f4], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x1b63]
mov byte [ebp - 0x1b64], bl
push ebx
push eax
call fcn.00626f50
add esp, 0x48
jmp 0x42631f
lea eax, [ebp - 0x465c]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x425fc0
lea eax, [ebp - 0x465c]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, 0x2710
jae 0x42637c
mov byte [ebp + eax - 0x465c], bl
lea eax, [ebp - 0x465c]
push eax
call fcn.00449bad
lea eax, [ebp - 0x465c]
push eax
call fcn.00449da7
lea eax, [ebp - 0x465c]
push eax
lea eax, [ebp - 0x6d6c]
push 0x2710
push eax
call fcn.006311ec
lea eax, [ebp - 0x6d6c]
push eax
call fcn.00631510
inc eax
push eax
lea eax, [ebp - 0x6d6c]
push eax
call fcn.00631711
push str._host
mov byte [ebp - 0xfac], bl
mov byte [ebp - 0x3f4], bl
mov byte [ebp - 0x7dc], bl
mov byte [ebp - 0xbc4], bl
mov byte [ebp - 0x1394], bl
call fcn.00631510
push eax
lea eax, [ebp - 0x6d6c]
push str._host
push eax
call fcn.006317d8
add esp, 0x30
test eax, eax
jne 0x42631f
lea eax, [ebp - 0x465c]
push eax
push str._n___Found_host_line___s
call fcn.00449974
lea eax, [ebp - 0x6d6c]
push str.host
push eax
call fcn.00627320
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4260eb
push str.host
call fcn.00631510
lea ecx, [ebp - 0x6d6c]
sub esi, ecx
lea ecx, [ebp - 0x465c]
add esi, ecx
add esi, eax
push 0x20
push esi
call fcn.006270b0
add esp, 0xc
test eax, eax
jne 0x4260b3
push 0x2f
push esi
call fcn.006270b0
pop ecx
pop ecx
test eax, eax
je 0x4260eb
sub eax, esi
mov edi, 0x3e8
push eax
push esi
lea eax, [ebp - 0x7dc]
push edi
push eax
call fcn.00631360
lea eax, [ebp - 0x7dc]
push eax
call fcn.00449da7
lea eax, [ebp - 0x7dc]
push eax
push str._n_Found_host_s
call fcn.00449974
add esp, 0x1c
jmp 0x4260f0
mov edi, 0x3e8
lea eax, [ebp - 0x6d6c]
push str.port
push eax
call fcn.00627320
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x426173
push str.port
call fcn.00631510
lea ecx, [ebp - 0x6d6c]
sub esi, ecx
lea ecx, [ebp - 0x465c]
add esi, ecx
add esi, eax
push 0x20
push esi
call fcn.006270b0
add esp, 0xc
test eax, eax
jne 0x426142
push 0x2f
push esi
call fcn.006270b0
pop ecx
pop ecx
test eax, eax
je 0x426173
sub eax, esi
push eax
push esi
lea eax, [ebp - 0x3f4]
push edi
push eax
call fcn.00631360
lea eax, [ebp - 0x3f4]
push eax
call fcn.00449da7
lea eax, [ebp - 0x3f4]
push eax
push str._n_Found_port_s
call fcn.00449974
add esp, 0x1c
lea eax, [ebp - 0x6d6c]
push str.user
push eax
call fcn.00627320
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4261f6
push str.user
call fcn.00631510
lea ecx, [ebp - 0x6d6c]
sub esi, ecx
lea ecx, [ebp - 0x465c]
add esi, ecx
add esi, eax
push 0x20
push esi
call fcn.006270b0
add esp, 0xc
test eax, eax
jne 0x4261c5
push 0x2f
push esi
call fcn.006270b0
pop ecx
pop ecx
test eax, eax
je 0x4261f6
sub eax, esi
push eax
push esi
lea eax, [ebp - 0xfac]
push edi
push eax
call fcn.00631360
lea eax, [ebp - 0xfac]
push eax
call fcn.00449da7
lea eax, [ebp - 0xfac]
push eax
push str._n_Found_user_s
call fcn.00449974
add esp, 0x1c
lea eax, [ebp - 0x6d6c]
push str.pass
push eax
call fcn.00627320
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42631f
push str.pass
call fcn.00631510
lea ecx, [ebp - 0x6d6c]
sub esi, ecx
lea ecx, [ebp - 0x465c]
add esi, ecx
add esi, eax
push 0x20
push esi
call fcn.006270b0
add esp, 0xc
test eax, eax
jne 0x426250
push 0x2f
push esi
call fcn.006270b0
pop ecx
pop ecx
test eax, eax
je 0x42631f
sub eax, esi
push eax
push esi
lea eax, [ebp - 0xbc4]
push edi
push eax
call fcn.00631360
lea eax, [ebp - 0xbc4]
push eax
call fcn.00449da7
lea eax, [ebp - 0xbc4]
push eax
push str._n_Found_encoded_password_s
call fcn.00449974
push edi
lea eax, [ebp - 0x1394]
push eax
lea eax, [ebp - 0xbc4]
push eax
call fcn.004079de
lea eax, [ebp - 0x1394]
push eax
call fcn.00631510
add esp, 0x2c
test eax, eax
je 0x42631f
lea eax, [ebp - 0x3f4]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x4262db
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x7dc]
push eax
push str._s:_s
lea eax, [ebp - 0x1b64]
push edi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x4262f2
lea eax, [ebp - 0x7dc]
push eax
lea eax, [ebp - 0x1b64]
push edi
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
mov esi, 0x66ae5d
lea eax, [ebp - 0x1394]
push esi
push eax
lea eax, [ebp - 0xfac]
push eax
lea eax, [ebp - 0x1b64]
push eax
push esi
push 0x14f
push 4
call fcn.00412c85
add esp, 0x20
push dword [ebp - 0x6d70]
lea eax, [ebp - 0x465c]
push 0x2710
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
jne 0x425f8f
push dword [ebp - 0x6d70]
call fcn.00637603
xor eax, eax
pop ecx
inc eax
jmp 0x42636d
lea eax, [ebp - 0x177c]
push eax
push str.RecoverDirectoryOpusPasswords
push str._s_Failed_to_open_file__s
call fcn.00449974
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret
call fcn.005fe87a
int3