Function at 0x438b6e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7160
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 - 0x1b6b]
push esi
push edi
mov esi, 0x3e7
mov byte [ebp - 0x1b6c], 0
push esi
push 0
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x233b]
mov byte [ebp - 0x233c], 0
push 0
push eax
call fcn.00626f50
mov esi, str.ftp_sites.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]
movsw word es:[edi], word [esi]
call fcn.00631510
add esp, 0x1c
cmp eax, 1
jae 0x438c12
lea eax, [ebp - 0x233c]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x438c05
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RecoverRazorSQLFTPPasswords
push str._s_Failed_to_find_appdata_folder__Error0x_.8x
jmp 0x439181
mov eax, str._sRazorSQLdata_s
lea ebx, [ebp - 0x233c]
jmp 0x438c17
mov eax, str._sdata_s
lea ecx, [ebp - 0x14]
mov edi, 0x3e8
push ecx
push ebx
push eax
lea eax, [ebp - 0x1b6c]
push edi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x1b6c]
push eax
push str._n_Final_file_path_is____s
call fcn.00449974
push 0x66ca20
lea eax, [ebp - 0x1b6c]
xor ebx, ebx
push eax
lea eax, [ebp - 0x7160]
mov dword [ebp - 0x7160], ebx
push eax
call fcn.00632119
add esp, 0x28
test eax, eax
jne 0x439170
cmp dword [ebp - 0x7160], ebx
je 0x439170
lea esi, [edi - 1]
mov byte [ebp - 0xfb4], bl
push esi
lea eax, [ebp - 0xfb3]
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x3fb]
mov byte [ebp - 0x3fc], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x139b]
mov byte [ebp - 0x139c], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0xbcb]
mov byte [ebp - 0xbcc], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x7e3]
mov byte [ebp - 0x7e4], bl
push ebx
push eax
call fcn.00626f50
push dword [ebp - 0x7160]
lea eax, [ebp - 0x4a4c]
push 0x2710
push eax
call fcn.00631f4f
add esp, 0x48
mov esi, 0x66ae5d
jmp 0x4390d1
lea eax, [ebp - 0x4a4c]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x438d33
lea eax, [ebp - 0x4a4c]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, 0x2710
jae 0x43919a
mov byte [ebp + eax - 0x4a4c], bl
lea eax, [ebp - 0x4a4c]
push eax
call fcn.00449da7
lea eax, [ebp - 0x4a4c]
push eax
lea eax, [ebp - 0x715c]
push 0x2710
push eax
call fcn.006311ec
lea eax, [ebp - 0x715c]
push eax
call fcn.00631510
inc eax
push eax
lea eax, [ebp - 0x715c]
push eax
call fcn.00631711
push str.sitename
call fcn.00631510
push eax
lea eax, [ebp - 0x715c]
push str.sitename
push eax
call fcn.00631760
add esp, 0x2c
test eax, eax
je 0x438ff9
lea eax, [ebp - 0x715c]
push str.__z_
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
jne 0x438ff9
push str.host
call fcn.00631510
push eax
lea eax, [ebp - 0x715c]
push str.host
push eax
call fcn.00631760
add esp, 0x10
test eax, eax
jne 0x438e10
lea eax, [ebp - 0x4a4c]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0xbcc]
push edi
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 0x438ec2
push str.port
call fcn.00631510
push eax
lea eax, [ebp - 0x715c]
push str.port
push eax
call fcn.00631760
add esp, 0x10
test eax, eax
jne 0x438e6a
lea eax, [ebp - 0x4a4c]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0x7e4]
push edi
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 0x438ec2
push str.user
call fcn.00631510
push eax
lea eax, [ebp - 0x715c]
push str.user
push eax
call fcn.00631760
add esp, 0x10
test eax, eax
jne 0x438ecf
lea eax, [ebp - 0x4a4c]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0x139c]
push edi
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 0x4390b7
push str.password
call fcn.00631510
push eax
lea eax, [ebp - 0x715c]
push str.password
push eax
call fcn.00631760
add esp, 0x10
test eax, eax
jne 0x4390b7
lea eax, [ebp - 0x4a4c]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0x3fc]
push edi
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 0x438f61
lea eax, [ebp - 0x3fc]
push eax
push str._n_Pass_start_signature_does_not_match...may_be_diff_version..ignoring_now__s
jmp 0x438f99
lea eax, [ebp - 0x3f6]
push eax
lea eax, [ebp - 0x1f54]
push edi
push eax
call fcn.006311ec
lea eax, [ebp - 0x1f54]
push str.__RIG
push eax
call fcn.00627320
add esp, 0x14
test eax, eax
jne 0x438fa5
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 0x4390b7
mov byte [eax], bl
lea eax, [ebp - 0x1f54]
push eax
push str._n_Final_encoded_password_s
call fcn.00449974
push edi
lea eax, [ebp - 0xfb4]
push eax
lea eax, [ebp - 0x1f54]
push eax
call fcn.0040d04f
test eax, eax
lea edx, [ebp - 0xfb4]
lea ecx, [ebp - 0x1f54]
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 0x4390b7
lea eax, [ebp - 0xfb4]
push eax
lea eax, [ebp - 0x4a4c]
push eax
push str._n___Found_start_or_end_of_entry....__s__pass_s_
call fcn.00449974
lea eax, [ebp - 0xfb4]
push eax
call fcn.00631510
add esp, 0x10
test eax, eax
je 0x439099
lea eax, [ebp - 0x7e4]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43905a
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0xbcc]
push eax
push str._s:_s
lea eax, [ebp - 0x1784]
push edi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x439071
lea eax, [ebp - 0xbcc]
push eax
lea eax, [ebp - 0x1784]
push edi
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0xfb4]
push eax
lea eax, [ebp - 0x139c]
push eax
lea eax, [ebp - 0x1784]
push eax
push esi
push 0x154
push 4
call fcn.00412c85
add esp, 0x20
mov byte [ebp - 0x7e4], bl
mov byte [ebp - 0x139c], bl
mov byte [ebp - 0xbcc], bl
mov byte [ebp - 0x3fc], bl
mov byte [ebp - 0xfb4], bl
push dword [ebp - 0x7160]
lea eax, [ebp - 0x4a4c]
push 0x2710
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
jne 0x438d02
push dword [ebp - 0x7160]
call fcn.00637603
lea eax, [ebp - 0xfb4]
push eax
call fcn.00631510
pop ecx
pop ecx
test eax, eax
je 0x43916b
lea eax, [ebp - 0x7e4]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43912c
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0xbcc]
push eax
push str._s:_s
lea eax, [ebp - 0x1784]
push edi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x439143
lea eax, [ebp - 0xbcc]
push eax
lea eax, [ebp - 0x1784]
push edi
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0xfb4]
push eax
lea eax, [ebp - 0x139c]
push eax
lea ecx, [ebp - 0x1784]
push ecx
push esi
push 0x154
push 4
call fcn.00412c85
add esp, 0x20
xor eax, eax
inc eax
jmp 0x43918b
lea eax, [ebp - 0x1b6c]
push eax
push str.RecoverRazorSQLFTPPasswords
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