Function at 0x4391a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7930
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x233b]
push esi
push edi
mov esi, 0x3e7
mov byte [ebp - 0x233c], 0
push esi
push 0
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x2b0b]
mov byte [ebp - 0x2b0c], 0
push 0
push eax
call fcn.00626f50
mov esi, str.profiles.txt
lea edi, [ebp - 0x14]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.00631510
add esp, 0x1c
cmp eax, 1
jae 0x439243
lea eax, [ebp - 0x2b0c]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x439236
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RecoverRazorSQLPasswords
push str._s_Failed_to_find_appdata_folder__Error0x_.8x
jmp 0x4398cb
mov eax, str._sRazorSQLdata_s
lea ebx, [ebp - 0x2b0c]
jmp 0x439248
mov eax, str._sdata_s
lea ecx, [ebp - 0x14]
mov esi, 0x3e8
push ecx
push ebx
push eax
lea eax, [ebp - 0x233c]
push esi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x233c]
push eax
push str._n_Final_file_path_is____s
call fcn.00449974
push 0x66ca20
lea eax, [ebp - 0x233c]
xor ebx, ebx
push eax
lea eax, [ebp - 0x7930]
mov dword [ebp - 0x7930], ebx
push eax
call fcn.00632119
add esp, 0x28
test eax, eax
jne 0x4398ba
cmp dword [ebp - 0x7930], ebx
je 0x4398ba
lea edi, [esi - 1]
mov byte [ebp - 0x1784], bl
push edi
lea eax, [ebp - 0x1783]
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x3fb]
mov byte [ebp - 0x3fc], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x139b]
mov byte [ebp - 0x139c], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0xbcb]
mov byte [ebp - 0xbcc], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x7e3]
mov byte [ebp - 0x7e4], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0xfb3]
mov byte [ebp - 0xfb4], bl
push ebx
push eax
call fcn.00626f50
add esp, 0x48
lea eax, [ebp - 0x521c]
push dword [ebp - 0x7930]
push 0x2710
push eax
call fcn.00631f4f
mov edi, 0x66ae5d
jmp 0x4397c7
lea eax, [ebp - 0x521c]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x439378
lea eax, [ebp - 0x521c]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, 0x2710
jae 0x4398e4
mov byte [ebp + eax - 0x521c], bl
lea eax, [ebp - 0x521c]
push eax
call fcn.00449da7
lea eax, [ebp - 0x521c]
push eax
lea eax, [ebp - 0x792c]
push 0x2710
push eax
call fcn.006311ec
lea eax, [ebp - 0x792c]
push eax
call fcn.00631510
inc eax
push eax
lea eax, [ebp - 0x792c]
push eax
call fcn.00631711
push 0x683820
call fcn.00631510
push eax
lea eax, [ebp - 0x792c]
push 0x683820
push eax
call fcn.00631760
add esp, 0x2c
test eax, eax
je 0x43969b
lea eax, [ebp - 0x792c]
push str.__z_
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
jne 0x43969b
push str.host
call fcn.00631510
push eax
lea eax, [ebp - 0x792c]
push str.host
push eax
call fcn.00631760
add esp, 0x10
test eax, eax
jne 0x439455
lea eax, [ebp - 0x521c]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0xbcc]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0xbcc]
push eax
call fcn.00449da7
lea eax, [ebp - 0xbcc]
push eax
push str._n_Found_host_s
jmp 0x439564
push str.port
call fcn.00631510
push eax
lea eax, [ebp - 0x792c]
push str.port
push eax
call fcn.00631760
add esp, 0x10
test eax, eax
jne 0x4394b2
lea eax, [ebp - 0x521c]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0x7e4]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x7e4]
push eax
call fcn.00449da7
lea eax, [ebp - 0x7e4]
push eax
push str._n_Found_port_s
jmp 0x439564
push str.databasename
call fcn.00631510
push eax
lea eax, [ebp - 0x792c]
push str.databasename
push eax
call fcn.00631760
add esp, 0x10
test eax, eax
jne 0x43950c
lea eax, [ebp - 0x521c]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0xfb4]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0xfb4]
push eax
call fcn.00449da7
lea eax, [ebp - 0xfb4]
push eax
push str._n_Found_database_s
jmp 0x439564
push str.user
call fcn.00631510
push eax
lea eax, [ebp - 0x792c]
push str.user
push eax
call fcn.00631760
add esp, 0x10
test eax, eax
jne 0x439571
lea eax, [ebp - 0x521c]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0x139c]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x139c]
push eax
call fcn.00449da7
lea eax, [ebp - 0x139c]
push eax
push str._n_Found_username_s
call fcn.00449974
add esp, 0x20
jmp 0x4397b0
push str.password
call fcn.00631510
push eax
lea eax, [ebp - 0x792c]
push str.password
push eax
call fcn.00631760
add esp, 0x10
test eax, eax
jne 0x4397b0
lea eax, [ebp - 0x521c]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0x3fc]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x3fc]
push eax
call fcn.00449da7
lea eax, [ebp - 0x3fc]
push eax
push str._n_Found_encoded_password_s
call fcn.00449974
push str.VFW
call fcn.00631510
push eax
lea eax, [ebp - 0x3fc]
push str.VFW
push eax
call fcn.006317d8
add esp, 0x30
test eax, eax
je 0x439603
lea eax, [ebp - 0x3fc]
push eax
push str._n_Pass_start_signature_does_not_match...may_be_diff_version..ignoring_now__s
jmp 0x43963b
lea eax, [ebp - 0x3f6]
push eax
lea eax, [ebp - 0x2724]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x2724]
push str.__RIG
push eax
call fcn.00627320
add esp, 0x14
test eax, eax
jne 0x439647
lea eax, [ebp - 0x3fc]
push eax
push str._n_Pass_end_signature_does_not_match...may_be_diff_version..ignoring_now__s
call fcn.00449974
pop ecx
pop ecx
jmp 0x4397b0
mov byte [eax], bl
lea eax, [ebp - 0x2724]
push eax
push str._n_Final_encoded_password_s
call fcn.00449974
push esi
lea eax, [ebp - 0x1784]
push eax
lea eax, [ebp - 0x2724]
push eax
call fcn.0040d04f
test eax, eax
lea edx, [ebp - 0x1784]
lea ecx, [ebp - 0x2724]
cmovne ecx, edx
mov edx, str._n_Successfully_decrypted_password_s
push ecx
mov ecx, str._n_Failed_to_decrypt_password_s
cmovne ecx, edx
push ecx
call fcn.00449974
add esp, 0x1c
jmp 0x4397b0
lea eax, [ebp - 0x1784]
push eax
lea eax, [ebp - 0x521c]
push eax
push str._n___Found_start_or_end_of_entry....__s__pass_s_
call fcn.00449974
lea eax, [ebp - 0x1784]
push eax
call fcn.00631510
add esp, 0x10
test eax, eax
je 0x43978c
lea eax, [ebp - 0x7e4]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x439700
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0xbcc]
push eax
push str._s:_s
lea eax, [ebp - 0x1f54]
push esi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x439717
lea eax, [ebp - 0xbcc]
push eax
lea eax, [ebp - 0x1f54]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0xfb4]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43974d
lea eax, [ebp - 0xfb4]
push eax
lea eax, [ebp - 0x139c]
push eax
push str._s__DB_s_
lea eax, [ebp - 0x1b6c]
push esi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x439764
lea eax, [ebp - 0x139c]
push eax
lea eax, [ebp - 0x1b6c]
push esi
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x1784]
push eax
lea eax, [ebp - 0x1b6c]
push eax
lea eax, [ebp - 0x1f54]
push eax
push edi
push 0x26f
push 6
call fcn.00412c85
add esp, 0x20
mov byte [ebp - 0x7e4], bl
mov byte [ebp - 0xfb4], bl
mov byte [ebp - 0x139c], bl
mov byte [ebp - 0xbcc], bl
mov byte [ebp - 0x3fc], bl
mov byte [ebp - 0x1784], bl
push dword [ebp - 0x7930]
lea eax, [ebp - 0x521c]
push 0x2710
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
jne 0x439347
push dword [ebp - 0x7930]
call fcn.00637603
lea eax, [ebp - 0x1784]
push eax
call fcn.00631510
pop ecx
pop ecx
test eax, eax
je 0x4398b5
lea eax, [ebp - 0x7e4]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x439829
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0xbcc]
push eax
push str._s:_s
lea eax, [ebp - 0x1f54]
push esi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x439840
lea eax, [ebp - 0xbcc]
push eax
lea eax, [ebp - 0x1f54]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0xfb4]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x439876
lea eax, [ebp - 0xfb4]
push eax
lea eax, [ebp - 0x139c]
push eax
push str._s__DB_s_
lea eax, [ebp - 0x1b6c]
push esi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x43988d
lea eax, [ebp - 0x139c]
push eax
lea eax, [ebp - 0x1b6c]
push esi
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x1784]
push eax
lea eax, [ebp - 0x1b6c]
push eax
lea ecx, [ebp - 0x1f54]
push ecx
push edi
push 0x26f
push 6
call fcn.00412c85
add esp, 0x20
xor eax, eax
inc eax
jmp 0x4398d5
lea eax, [ebp - 0x233c]
push eax
push str.RecoverRazorSQLPasswords
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